Documentation
¶
Index ¶
- type AggregationFilter
- type AggregationSettings
- type AggregationTimePeriod
- type CreateDestinationRequest
- func (m *CreateDestinationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDestinationRequest) MarshalBinary() ([]byte, error)
- func (m *CreateDestinationRequest) UnmarshalBinary(b []byte) error
- func (m *CreateDestinationRequest) Validate(formats strfmt.Registry) error
- type CreateDestinationResponse
- func (m *CreateDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDestinationResponse) MarshalBinary() ([]byte, error)
- func (m *CreateDestinationResponse) UnmarshalBinary(b []byte) error
- func (m *CreateDestinationResponse) Validate(formats strfmt.Registry) error
- type CreateSubscriptionRequest
- func (m *CreateSubscriptionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSubscriptionRequest) MarshalBinary() ([]byte, error)
- func (m *CreateSubscriptionRequest) UnmarshalBinary(b []byte) error
- func (m *CreateSubscriptionRequest) Validate(formats strfmt.Registry) error
- type CreateSubscriptionResponse
- func (m *CreateSubscriptionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSubscriptionResponse) MarshalBinary() ([]byte, error)
- func (m *CreateSubscriptionResponse) UnmarshalBinary(b []byte) error
- func (m *CreateSubscriptionResponse) Validate(formats strfmt.Registry) error
- type DeleteDestinationResponse
- func (m *DeleteDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteDestinationResponse) MarshalBinary() ([]byte, error)
- func (m *DeleteDestinationResponse) UnmarshalBinary(b []byte) error
- func (m *DeleteDestinationResponse) Validate(formats strfmt.Registry) error
- type DeleteSubscriptionByIDResponse
- func (m *DeleteSubscriptionByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteSubscriptionByIDResponse) MarshalBinary() ([]byte, error)
- func (m *DeleteSubscriptionByIDResponse) UnmarshalBinary(b []byte) error
- func (m *DeleteSubscriptionByIDResponse) Validate(formats strfmt.Registry) error
- type Destination
- type DestinationList
- type DestinationResource
- type DestinationResourceSpecification
- func (m *DestinationResourceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DestinationResourceSpecification) MarshalBinary() ([]byte, error)
- func (m *DestinationResourceSpecification) UnmarshalBinary(b []byte) error
- func (m *DestinationResourceSpecification) Validate(formats strfmt.Registry) error
- type Error
- type ErrorList
- type EventBridgeResource
- type EventBridgeResourceSpecification
- func (m *EventBridgeResourceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventBridgeResourceSpecification) MarshalBinary() ([]byte, error)
- func (m *EventBridgeResourceSpecification) UnmarshalBinary(b []byte) error
- func (m *EventBridgeResourceSpecification) Validate(formats strfmt.Registry) error
- type EventFilter
- func (m *EventFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EventFilter) MarshalBinary() ([]byte, error)
- func (m EventFilter) MarshalJSON() ([]byte, error)
- func (m *EventFilter) UnmarshalBinary(b []byte) error
- func (m *EventFilter) UnmarshalJSON(raw []byte) error
- func (m *EventFilter) Validate(formats strfmt.Registry) error
- type GetDestinationResponse
- func (m *GetDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetDestinationResponse) MarshalBinary() ([]byte, error)
- func (m *GetDestinationResponse) UnmarshalBinary(b []byte) error
- func (m *GetDestinationResponse) Validate(formats strfmt.Registry) error
- type GetDestinationsResponse
- func (m *GetDestinationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetDestinationsResponse) MarshalBinary() ([]byte, error)
- func (m *GetDestinationsResponse) UnmarshalBinary(b []byte) error
- func (m *GetDestinationsResponse) Validate(formats strfmt.Registry) error
- type GetSubscriptionByIDResponse
- func (m *GetSubscriptionByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetSubscriptionByIDResponse) MarshalBinary() ([]byte, error)
- func (m *GetSubscriptionByIDResponse) UnmarshalBinary(b []byte) error
- func (m *GetSubscriptionByIDResponse) Validate(formats strfmt.Registry) error
- type GetSubscriptionResponse
- func (m *GetSubscriptionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetSubscriptionResponse) MarshalBinary() ([]byte, error)
- func (m *GetSubscriptionResponse) UnmarshalBinary(b []byte) error
- func (m *GetSubscriptionResponse) Validate(formats strfmt.Registry) error
- type MarketplaceFilter
- type MarketplaceIds
- type OrderChangeTypeEnum
- type OrderChangeTypeFilter
- type OrderChangeTypes
- type ProcessingDirective
- type SqsResource
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationFilter ¶
type AggregationFilter struct { // aggregation settings AggregationSettings *AggregationSettings `json:"aggregationSettings,omitempty"` }
AggregationFilter A filter used to select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications).
swagger:model AggregationFilter
func (*AggregationFilter) ContextValidate ¶
ContextValidate validate this aggregation filter based on the context it is used
func (*AggregationFilter) MarshalBinary ¶
func (m *AggregationFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AggregationFilter) UnmarshalBinary ¶
func (m *AggregationFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AggregationSettings ¶
type AggregationSettings struct { // The supported time period to use to perform marketplace-ASIN level aggregation. // Required: true AggregationTimePeriod *AggregationTimePeriod `json:"aggregationTimePeriod"` }
AggregationSettings A container that holds all of the necessary properties to configure the aggregation of notifications.
swagger:model AggregationSettings
func (*AggregationSettings) ContextValidate ¶
ContextValidate validate this aggregation settings based on the context it is used
func (*AggregationSettings) MarshalBinary ¶
func (m *AggregationSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AggregationSettings) UnmarshalBinary ¶
func (m *AggregationSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AggregationTimePeriod ¶
type AggregationTimePeriod string
AggregationTimePeriod The supported aggregation time periods. For example, if FiveMinutes is the value chosen, and 50 price updates occur for an ASIN within 5 minutes, Amazon will send only two notifications; one for the first event, and then a subsequent notification 5 minutes later with the final end state of the data. The 48 interim events will be dropped.
swagger:model AggregationTimePeriod
const ( // AggregationTimePeriodFiveMinutes captures enum value "FiveMinutes" AggregationTimePeriodFiveMinutes AggregationTimePeriod = "FiveMinutes" // AggregationTimePeriodTenMinutes captures enum value "TenMinutes" AggregationTimePeriodTenMinutes AggregationTimePeriod = "TenMinutes" )
func NewAggregationTimePeriod ¶
func NewAggregationTimePeriod(value AggregationTimePeriod) *AggregationTimePeriod
func (AggregationTimePeriod) ContextValidate ¶
ContextValidate validates this aggregation time period based on context it is used
func (AggregationTimePeriod) Pointer ¶
func (m AggregationTimePeriod) Pointer() *AggregationTimePeriod
Pointer returns a pointer to a freshly-allocated AggregationTimePeriod.
type CreateDestinationRequest ¶
type CreateDestinationRequest struct { // A developer-defined name to help identify this destination. // Required: true Name *string `json:"name"` // The information required to create a destination resource. Applications should use one resource type (sqs or eventBridge) per destination. // Required: true ResourceSpecification *DestinationResourceSpecification `json:"resourceSpecification"` }
CreateDestinationRequest The request schema for the `createDestination` operation.
swagger:model CreateDestinationRequest
func (*CreateDestinationRequest) ContextValidate ¶
func (m *CreateDestinationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create destination request based on the context it is used
func (*CreateDestinationRequest) MarshalBinary ¶
func (m *CreateDestinationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDestinationRequest) UnmarshalBinary ¶
func (m *CreateDestinationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDestinationResponse ¶
type CreateDestinationResponse struct { // One or more unexpected errors occurred during the `createDestination` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `createDestination` operation. Payload *Destination `json:"payload,omitempty"` }
CreateDestinationResponse The response schema for the createDestination operation.
swagger:model CreateDestinationResponse
func (*CreateDestinationResponse) ContextValidate ¶
func (m *CreateDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create destination response based on the context it is used
func (*CreateDestinationResponse) MarshalBinary ¶
func (m *CreateDestinationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDestinationResponse) UnmarshalBinary ¶
func (m *CreateDestinationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { // The identifier for the destination where notifications will be delivered. // Required: true DestinationID *string `json:"destinationId"` // The version of the payload object to be used in the notification. // Required: true PayloadVersion *string `json:"payloadVersion"` // processing directive ProcessingDirective *ProcessingDirective `json:"processingDirective,omitempty"` }
CreateSubscriptionRequest The request schema for the `createSubscription` operation.
swagger:model CreateSubscriptionRequest
func (*CreateSubscriptionRequest) ContextValidate ¶
func (m *CreateSubscriptionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create subscription request based on the context it is used
func (*CreateSubscriptionRequest) MarshalBinary ¶
func (m *CreateSubscriptionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSubscriptionRequest) UnmarshalBinary ¶
func (m *CreateSubscriptionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct { // One or more unexpected errors occurred during the `createSubscription` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `createSubscription` operation. Payload *Subscription `json:"payload,omitempty"` }
CreateSubscriptionResponse The response schema for the `createSubscription` operation.
swagger:model CreateSubscriptionResponse
func (*CreateSubscriptionResponse) ContextValidate ¶
func (m *CreateSubscriptionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create subscription response based on the context it is used
func (*CreateSubscriptionResponse) MarshalBinary ¶
func (m *CreateSubscriptionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSubscriptionResponse) UnmarshalBinary ¶
func (m *CreateSubscriptionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteDestinationResponse ¶
type DeleteDestinationResponse struct { // One or more unexpected errors occurred during the `deleteDestination` operation. Errors ErrorList `json:"errors,omitempty"` }
DeleteDestinationResponse The response schema for the `deleteDestination` operation.
swagger:model DeleteDestinationResponse
func (*DeleteDestinationResponse) ContextValidate ¶
func (m *DeleteDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete destination response based on the context it is used
func (*DeleteDestinationResponse) MarshalBinary ¶
func (m *DeleteDestinationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteDestinationResponse) UnmarshalBinary ¶
func (m *DeleteDestinationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteSubscriptionByIDResponse ¶
type DeleteSubscriptionByIDResponse struct { // An unexpected condition occurred during the `deleteSubscriptionById` operation. Errors ErrorList `json:"errors,omitempty"` }
DeleteSubscriptionByIDResponse The response schema for the `deleteSubscriptionById` operation.
swagger:model DeleteSubscriptionByIdResponse
func (*DeleteSubscriptionByIDResponse) ContextValidate ¶
func (m *DeleteSubscriptionByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete subscription by Id response based on the context it is used
func (*DeleteSubscriptionByIDResponse) MarshalBinary ¶
func (m *DeleteSubscriptionByIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteSubscriptionByIDResponse) UnmarshalBinary ¶
func (m *DeleteSubscriptionByIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Destination ¶
type Destination struct { // The destination identifier generated when you created the destination. // Required: true DestinationID *string `json:"destinationId"` // The developer-defined name for this destination. // Required: true // Max Length: 256 Name *string `json:"name"` // The resource that will receive notifications associated with this destination. // Required: true Resource *DestinationResource `json:"resource"` }
Destination Information about the destination created when you call the `createDestination` operation.
swagger:model Destination
func (*Destination) ContextValidate ¶
ContextValidate validate this destination based on the context it is used
func (*Destination) MarshalBinary ¶
func (m *Destination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Destination) UnmarshalBinary ¶
func (m *Destination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DestinationList ¶
type DestinationList []*Destination
DestinationList A list of destinations.
swagger:model DestinationList
func (DestinationList) ContextValidate ¶
ContextValidate validate this destination list based on the context it is used
type DestinationResource ¶
type DestinationResource struct { // An Amazon EventBridge destination. EventBridge *EventBridgeResource `json:"eventBridge,omitempty"` // An Amazon Simple Queue Service (SQS) queue destination. Sqs *SqsResource `json:"sqs,omitempty"` }
DestinationResource The destination resource types.
swagger:model DestinationResource
func (*DestinationResource) ContextValidate ¶
ContextValidate validate this destination resource based on the context it is used
func (*DestinationResource) MarshalBinary ¶
func (m *DestinationResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DestinationResource) UnmarshalBinary ¶
func (m *DestinationResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DestinationResourceSpecification ¶
type DestinationResourceSpecification struct { // The information required to create an Amazon EventBridge destination. EventBridge *EventBridgeResourceSpecification `json:"eventBridge,omitempty"` // The information required to create an Amazon Simple Queue Service (SQS) queue destination. Sqs *SqsResource `json:"sqs,omitempty"` }
DestinationResourceSpecification The information required to create a destination resource. Applications should use one resource type (sqs or eventBridge) per destination.
swagger:model DestinationResourceSpecification
func (*DestinationResourceSpecification) ContextValidate ¶
func (m *DestinationResourceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this destination resource specification based on the context it is used
func (*DestinationResourceSpecification) MarshalBinary ¶
func (m *DestinationResourceSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DestinationResourceSpecification) UnmarshalBinary ¶
func (m *DestinationResourceSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional details that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition. // Required: true Message *string `json:"message"` }
Error An error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList []*Error
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
type EventBridgeResource ¶
type EventBridgeResource struct { // The identifier for the AWS account that is responsible for charges related to receiving notifications. // Required: true AccountID *string `json:"accountId"` // The name of the partner event source associated with the destination. // Required: true // Max Length: 256 Name *string `json:"name"` // The AWS region in which you receive the notifications. For AWS regions that are supported in Amazon EventBridge, refer to [Amazon EventBridge endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/ev.html). // Required: true Region *string `json:"region"` }
EventBridgeResource The Amazon EventBridge destination.
swagger:model EventBridgeResource
func (*EventBridgeResource) ContextValidate ¶
ContextValidate validates this event bridge resource based on context it is used
func (*EventBridgeResource) MarshalBinary ¶
func (m *EventBridgeResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventBridgeResource) UnmarshalBinary ¶
func (m *EventBridgeResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventBridgeResourceSpecification ¶
type EventBridgeResourceSpecification struct { // The identifier for the AWS account that is responsible for charges related to receiving notifications. // Required: true AccountID *string `json:"accountId"` // The AWS region in which you will be receiving the notifications. // Required: true Region *string `json:"region"` }
EventBridgeResourceSpecification The information required to create an Amazon EventBridge destination.
swagger:model EventBridgeResourceSpecification
func (*EventBridgeResourceSpecification) ContextValidate ¶
func (m *EventBridgeResourceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this event bridge resource specification based on context it is used
func (*EventBridgeResourceSpecification) MarshalBinary ¶
func (m *EventBridgeResourceSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventBridgeResourceSpecification) UnmarshalBinary ¶
func (m *EventBridgeResourceSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventFilter ¶
type EventFilter struct { AggregationFilter MarketplaceFilter OrderChangeTypeFilter // An `eventFilterType` value that is supported by the specific `notificationType`. This is used by the subscription service to determine the type of event filter. Refer to [Notification Type Values](https://developer-docs.amazon.com/sp-api/docs/notification-type-values) to determine if an `eventFilterType` is supported. // Required: true // Enum: [ANY_OFFER_CHANGED ORDER_CHANGE] EventFilterType *string `json:"eventFilterType"` }
EventFilter A `notificationType` specific filter. This object contains all of the currently available filters and properties that you can use to define a `notificationType` specific filter.
swagger:model EventFilter
func (*EventFilter) ContextValidate ¶
ContextValidate validate this event filter based on the context it is used
func (*EventFilter) MarshalBinary ¶
func (m *EventFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (EventFilter) MarshalJSON ¶
func (m EventFilter) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*EventFilter) UnmarshalBinary ¶
func (m *EventFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*EventFilter) UnmarshalJSON ¶
func (m *EventFilter) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetDestinationResponse ¶
type GetDestinationResponse struct { // One or more unexpected errors occurred during the `getDestination` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getDestination` operation. Payload *Destination `json:"payload,omitempty"` }
GetDestinationResponse The response schema for the `getDestination` operation.
swagger:model GetDestinationResponse
func (*GetDestinationResponse) ContextValidate ¶
func (m *GetDestinationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get destination response based on the context it is used
func (*GetDestinationResponse) MarshalBinary ¶
func (m *GetDestinationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDestinationResponse) UnmarshalBinary ¶
func (m *GetDestinationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDestinationsResponse ¶
type GetDestinationsResponse struct { // One or more unexpected errors occurred during the `getDestinations` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getDestinations` operation. Payload DestinationList `json:"payload,omitempty"` }
GetDestinationsResponse The response schema for the `getDestinations` operation.
swagger:model GetDestinationsResponse
func (*GetDestinationsResponse) ContextValidate ¶
func (m *GetDestinationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get destinations response based on the context it is used
func (*GetDestinationsResponse) MarshalBinary ¶
func (m *GetDestinationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDestinationsResponse) UnmarshalBinary ¶
func (m *GetDestinationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSubscriptionByIDResponse ¶
type GetSubscriptionByIDResponse struct { // An unexpected condition occurred during the `getSubscriptionById` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getSubscriptionById` operation. Payload *Subscription `json:"payload,omitempty"` }
GetSubscriptionByIDResponse The response schema for the `getSubscriptionById` operation.
swagger:model GetSubscriptionByIdResponse
func (*GetSubscriptionByIDResponse) ContextValidate ¶
func (m *GetSubscriptionByIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get subscription by Id response based on the context it is used
func (*GetSubscriptionByIDResponse) MarshalBinary ¶
func (m *GetSubscriptionByIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSubscriptionByIDResponse) UnmarshalBinary ¶
func (m *GetSubscriptionByIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSubscriptionResponse ¶
type GetSubscriptionResponse struct { // One or more unexpected errors occurred during the `getSubscription` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getSubscription` operation. Payload *Subscription `json:"payload,omitempty"` }
GetSubscriptionResponse The response schema for the `getSubscription` operation.
swagger:model GetSubscriptionResponse
func (*GetSubscriptionResponse) ContextValidate ¶
func (m *GetSubscriptionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get subscription response based on the context it is used
func (*GetSubscriptionResponse) MarshalBinary ¶
func (m *GetSubscriptionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSubscriptionResponse) UnmarshalBinary ¶
func (m *GetSubscriptionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceFilter ¶
type MarketplaceFilter struct { // marketplace ids MarketplaceIds MarketplaceIds `json:"marketplaceIds,omitempty"` }
MarketplaceFilter An event filter to customize your subscription to send notifications for only the specified `marketplaceId`s.
swagger:model MarketplaceFilter
func (*MarketplaceFilter) ContextValidate ¶
ContextValidate validate this marketplace filter based on the context it is used
func (*MarketplaceFilter) MarshalBinary ¶
func (m *MarketplaceFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MarketplaceFilter) UnmarshalBinary ¶
func (m *MarketplaceFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceIds ¶
type MarketplaceIds []string
MarketplaceIds A list of marketplace identifiers to subscribe to (for example: ATVPDKIKX0DER). To receive notifications in every marketplace, do not provide this list.
swagger:model MarketplaceIds
func (MarketplaceIds) ContextValidate ¶
ContextValidate validates this marketplace ids based on context it is used
type OrderChangeTypeEnum ¶ added in v0.2.4
type OrderChangeTypeEnum string
OrderChangeTypeEnum The supported order change type of ORDER_CHANGE notification.
swagger:model OrderChangeTypeEnum
const ( // OrderChangeTypeEnumOrderStatusChange captures enum value "OrderStatusChange" OrderChangeTypeEnumOrderStatusChange OrderChangeTypeEnum = "OrderStatusChange" // OrderChangeTypeEnumBuyerRequestedChange captures enum value "BuyerRequestedChange" OrderChangeTypeEnumBuyerRequestedChange OrderChangeTypeEnum = "BuyerRequestedChange" )
func NewOrderChangeTypeEnum ¶ added in v0.2.4
func NewOrderChangeTypeEnum(value OrderChangeTypeEnum) *OrderChangeTypeEnum
func (OrderChangeTypeEnum) ContextValidate ¶ added in v0.2.4
ContextValidate validates this order change type enum based on context it is used
func (OrderChangeTypeEnum) Pointer ¶ added in v0.2.4
func (m OrderChangeTypeEnum) Pointer() *OrderChangeTypeEnum
Pointer returns a pointer to a freshly-allocated OrderChangeTypeEnum.
type OrderChangeTypeFilter ¶ added in v0.2.4
type OrderChangeTypeFilter struct { // order change types OrderChangeTypes OrderChangeTypes `json:"orderChangeTypes,omitempty"` }
OrderChangeTypeFilter An event filter to customize your subscription to send notifications for only the specified `orderChangeType`.
swagger:model OrderChangeTypeFilter
func (*OrderChangeTypeFilter) ContextValidate ¶ added in v0.2.4
ContextValidate validate this order change type filter based on the context it is used
func (*OrderChangeTypeFilter) MarshalBinary ¶ added in v0.2.4
func (m *OrderChangeTypeFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderChangeTypeFilter) UnmarshalBinary ¶ added in v0.2.4
func (m *OrderChangeTypeFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderChangeTypes ¶ added in v0.2.4
type OrderChangeTypes []OrderChangeTypeEnum
OrderChangeTypes A list of order change types to subscribe to (for example: `BuyerRequestedChange`). To receive notifications of all change types, do not provide this list.
swagger:model OrderChangeTypes
func (OrderChangeTypes) ContextValidate ¶ added in v0.2.4
ContextValidate validate this order change types based on the context it is used
type ProcessingDirective ¶
type ProcessingDirective struct { // A `notificationType` specific filter. EventFilter *EventFilter `json:"eventFilter,omitempty"` }
ProcessingDirective Additional information passed to the subscription to control the processing of notifications. For example, you can use an `eventFilter` to customize your subscription to send notifications for only the specified `marketplaceId`s, or select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications). The specific features available vary depending on the `notificationType`.
This feature is currently only supported by the `ANY_OFFER_CHANGED` and `ORDER_CHANGE` `notificationType`s.
swagger:model ProcessingDirective
func (*ProcessingDirective) ContextValidate ¶
ContextValidate validate this processing directive based on the context it is used
func (*ProcessingDirective) MarshalBinary ¶
func (m *ProcessingDirective) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProcessingDirective) UnmarshalBinary ¶
func (m *ProcessingDirective) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SqsResource ¶
type SqsResource struct { // The Amazon Resource Name (ARN) associated with the SQS queue. // Required: true // Max Length: 1000 // Pattern: ^arn:aws:sqs:\S+:\S+:\S+ Arn *string `json:"arn"` }
SqsResource The information required to create an Amazon Simple Queue Service (Amazon SQS) queue destination.
swagger:model SqsResource
func (*SqsResource) ContextValidate ¶
ContextValidate validates this sqs resource based on context it is used
func (*SqsResource) MarshalBinary ¶
func (m *SqsResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SqsResource) UnmarshalBinary ¶
func (m *SqsResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscription ¶
type Subscription struct { // The identifier for the destination where notifications will be delivered. // Required: true DestinationID *string `json:"destinationId"` // The version of the payload object to be used in the notification. // Required: true PayloadVersion *string `json:"payloadVersion"` // processing directive ProcessingDirective *ProcessingDirective `json:"processingDirective,omitempty"` // The subscription identifier generated when the subscription is created. // Required: true SubscriptionID *string `json:"subscriptionId"` }
Subscription Information about the subscription.
swagger:model Subscription
func (*Subscription) ContextValidate ¶
ContextValidate validate this subscription based on the context it is used
func (*Subscription) MarshalBinary ¶
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- aggregation_filter.go
- aggregation_settings.go
- aggregation_time_period.go
- create_destination_request.go
- create_destination_response.go
- create_subscription_request.go
- create_subscription_response.go
- delete_destination_response.go
- delete_subscription_by_id_response.go
- destination.go
- destination_list.go
- destination_resource.go
- destination_resource_specification.go
- error.go
- error_list.go
- event_bridge_resource.go
- event_bridge_resource_specification.go
- event_filter.go
- get_destination_response.go
- get_destinations_response.go
- get_subscription_by_id_response.go
- get_subscription_response.go
- marketplace_filter.go
- marketplace_ids.go
- order_change_type_enum.go
- order_change_type_filter.go
- order_change_types.go
- processing_directive.go
- sqs_resource.go
- subscription.go