Documentation ¶
Index ¶
- Constants
- type CreateFeedDocumentResponse
- func (m *CreateFeedDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFeedDocumentResponse) MarshalBinary() ([]byte, error)
- func (m *CreateFeedDocumentResponse) UnmarshalBinary(b []byte) error
- func (m *CreateFeedDocumentResponse) Validate(formats strfmt.Registry) error
- type CreateFeedDocumentSpecification
- func (m *CreateFeedDocumentSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFeedDocumentSpecification) MarshalBinary() ([]byte, error)
- func (m *CreateFeedDocumentSpecification) UnmarshalBinary(b []byte) error
- func (m *CreateFeedDocumentSpecification) Validate(formats strfmt.Registry) error
- type CreateFeedResponse
- type CreateFeedSpecification
- func (m *CreateFeedSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFeedSpecification) MarshalBinary() ([]byte, error)
- func (m *CreateFeedSpecification) UnmarshalBinary(b []byte) error
- func (m *CreateFeedSpecification) Validate(formats strfmt.Registry) error
- type Error
- type ErrorList
- type Feed
- type FeedDocument
- type FeedList
- type FeedOptions
- type GetFeedsResponse
Constants ¶
const ( // FeedProcessingStatusCANCELLED captures enum value "CANCELLED" FeedProcessingStatusCANCELLED string = "CANCELLED" // FeedProcessingStatusDONE captures enum value "DONE" FeedProcessingStatusDONE string = "DONE" // FeedProcessingStatusFATAL captures enum value "FATAL" FeedProcessingStatusFATAL string = "FATAL" // FeedProcessingStatusINPROGRESS captures enum value "IN_PROGRESS" FeedProcessingStatusINPROGRESS string = "IN_PROGRESS" // FeedProcessingStatusINQUEUE captures enum value "IN_QUEUE" FeedProcessingStatusINQUEUE string = "IN_QUEUE" )
const ( // FeedDocumentCompressionAlgorithmGZIP captures enum value "GZIP" FeedDocumentCompressionAlgorithmGZIP string = "GZIP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFeedDocumentResponse ¶
type CreateFeedDocumentResponse struct { // The identifier of the feed document. // Required: true FeedDocumentID *string `json:"feedDocumentId"` // The presigned URL for uploading the feed contents. This URL expires after 5 minutes. // Required: true URL *string `json:"url"` }
CreateFeedDocumentResponse Information required to upload a feed document's contents.
swagger:model CreateFeedDocumentResponse
func (*CreateFeedDocumentResponse) ContextValidate ¶
func (m *CreateFeedDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create feed document response based on context it is used
func (*CreateFeedDocumentResponse) MarshalBinary ¶
func (m *CreateFeedDocumentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedDocumentResponse) UnmarshalBinary ¶
func (m *CreateFeedDocumentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedDocumentSpecification ¶
type CreateFeedDocumentSpecification struct { // The content type of the feed. // Required: true ContentType *string `json:"contentType"` }
CreateFeedDocumentSpecification Specifies the content type for the createFeedDocument operation.
swagger:model CreateFeedDocumentSpecification
func (*CreateFeedDocumentSpecification) ContextValidate ¶
func (m *CreateFeedDocumentSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create feed document specification based on context it is used
func (*CreateFeedDocumentSpecification) MarshalBinary ¶
func (m *CreateFeedDocumentSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedDocumentSpecification) UnmarshalBinary ¶
func (m *CreateFeedDocumentSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedResponse ¶
type CreateFeedResponse struct { // The identifier for the feed. This identifier is unique only in combination with a seller ID. // Required: true FeedID *string `json:"feedId"` }
CreateFeedResponse Response schema.
swagger:model CreateFeedResponse
func (*CreateFeedResponse) ContextValidate ¶
ContextValidate validates this create feed response based on context it is used
func (*CreateFeedResponse) MarshalBinary ¶
func (m *CreateFeedResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedResponse) UnmarshalBinary ¶
func (m *CreateFeedResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFeedSpecification ¶
type CreateFeedSpecification struct { // feed options FeedOptions FeedOptions `json:"feedOptions,omitempty"` // The feed type. // Required: true FeedType *string `json:"feedType"` // The document identifier returned by the createFeedDocument operation. Upload the feed document contents before calling the createFeed operation. // Required: true InputFeedDocumentID *string `json:"inputFeedDocumentId"` // A list of identifiers for marketplaces that you want the feed to be applied to. // Required: true // Max Items: 25 // Min Items: 1 MarketplaceIds []string `json:"marketplaceIds"` }
CreateFeedSpecification Information required to create the feed.
swagger:model CreateFeedSpecification
func (*CreateFeedSpecification) ContextValidate ¶
func (m *CreateFeedSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create feed specification based on the context it is used
func (*CreateFeedSpecification) MarshalBinary ¶
func (m *CreateFeedSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFeedSpecification) UnmarshalBinary ¶
func (m *CreateFeedSpecification) 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 in a human-readable form. // 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 struct { // errors // Required: true Errors []*Error `json:"errors"` }
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
func (*ErrorList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Feed ¶
type Feed struct { // The date and time when the feed was created, in ISO 8601 date time format. // Required: true // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime"` // The identifier for the feed. This identifier is unique only in combination with a seller ID. // Required: true FeedID *string `json:"feedId"` // The feed type. // Required: true FeedType *string `json:"feedType"` // A list of identifiers for the marketplaces that the feed is applied to. MarketplaceIds []string `json:"marketplaceIds"` // The date and time when feed processing completed, in ISO 8601 date time format. // Format: date-time ProcessingEndTime strfmt.DateTime `json:"processingEndTime,omitempty"` // The date and time when feed processing started, in ISO 8601 date time format. // Format: date-time ProcessingStartTime strfmt.DateTime `json:"processingStartTime,omitempty"` // The processing status of the feed. // Required: true // Enum: [CANCELLED DONE FATAL IN_PROGRESS IN_QUEUE] ProcessingStatus *string `json:"processingStatus"` // The identifier for the feed document. This identifier is unique only in combination with a seller ID. ResultFeedDocumentID string `json:"resultFeedDocumentId,omitempty"` }
Feed Detailed information about the feed.
swagger:model Feed
func (*Feed) ContextValidate ¶
ContextValidate validates this feed based on context it is used
func (*Feed) MarshalBinary ¶
MarshalBinary interface implementation
func (*Feed) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FeedDocument ¶
type FeedDocument struct { // If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 7. Download the feed processing report](doc:feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided. // Enum: [GZIP] CompressionAlgorithm string `json:"compressionAlgorithm,omitempty"` // The identifier for the feed document. This identifier is unique only in combination with a seller ID. // Required: true FeedDocumentID *string `json:"feedDocumentId"` // A presigned URL for the feed document. If `compressionAlgorithm` is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes. // Required: true URL *string `json:"url"` }
FeedDocument Information required for the feed document.
swagger:model FeedDocument
func (*FeedDocument) ContextValidate ¶
ContextValidate validates this feed document based on context it is used
func (*FeedDocument) MarshalBinary ¶
func (m *FeedDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FeedDocument) UnmarshalBinary ¶
func (m *FeedDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FeedList ¶
type FeedList []*Feed
FeedList A list of feeds.
swagger:model FeedList
func (FeedList) ContextValidate ¶
ContextValidate validate this feed list based on the context it is used
type FeedOptions ¶
FeedOptions Additional options to control the feed. These vary by feed type.
swagger:model FeedOptions
func (FeedOptions) ContextValidate ¶
ContextValidate validates this feed options based on context it is used
type GetFeedsResponse ¶
type GetFeedsResponse struct { // The feeds. // Required: true Feeds FeedList `json:"feeds"` // Returned when the number of results exceeds pageSize. To get the next page of results, call the getFeeds operation with this token as the only parameter. NextToken string `json:"nextToken,omitempty"` }
GetFeedsResponse Response schema.
swagger:model GetFeedsResponse
func (*GetFeedsResponse) ContextValidate ¶
ContextValidate validate this get feeds response based on the context it is used
func (*GetFeedsResponse) MarshalBinary ¶
func (m *GetFeedsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFeedsResponse) UnmarshalBinary ¶
func (m *GetFeedsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation