Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetCatalogItemBadRequest
- func (o *GetCatalogItemBadRequest) Error() string
- func (o *GetCatalogItemBadRequest) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemBadRequest) IsClientError() bool
- func (o *GetCatalogItemBadRequest) IsCode(code int) bool
- func (o *GetCatalogItemBadRequest) IsRedirect() bool
- func (o *GetCatalogItemBadRequest) IsServerError() bool
- func (o *GetCatalogItemBadRequest) IsSuccess() bool
- func (o *GetCatalogItemBadRequest) String() string
- type GetCatalogItemForbidden
- func (o *GetCatalogItemForbidden) Error() string
- func (o *GetCatalogItemForbidden) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemForbidden) IsClientError() bool
- func (o *GetCatalogItemForbidden) IsCode(code int) bool
- func (o *GetCatalogItemForbidden) IsRedirect() bool
- func (o *GetCatalogItemForbidden) IsServerError() bool
- func (o *GetCatalogItemForbidden) IsSuccess() bool
- func (o *GetCatalogItemForbidden) String() string
- type GetCatalogItemInternalServerError
- func (o *GetCatalogItemInternalServerError) Error() string
- func (o *GetCatalogItemInternalServerError) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemInternalServerError) IsClientError() bool
- func (o *GetCatalogItemInternalServerError) IsCode(code int) bool
- func (o *GetCatalogItemInternalServerError) IsRedirect() bool
- func (o *GetCatalogItemInternalServerError) IsServerError() bool
- func (o *GetCatalogItemInternalServerError) IsSuccess() bool
- func (o *GetCatalogItemInternalServerError) String() string
- type GetCatalogItemNotFound
- func (o *GetCatalogItemNotFound) Error() string
- func (o *GetCatalogItemNotFound) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemNotFound) IsClientError() bool
- func (o *GetCatalogItemNotFound) IsCode(code int) bool
- func (o *GetCatalogItemNotFound) IsRedirect() bool
- func (o *GetCatalogItemNotFound) IsServerError() bool
- func (o *GetCatalogItemNotFound) IsSuccess() bool
- func (o *GetCatalogItemNotFound) String() string
- type GetCatalogItemOK
- func (o *GetCatalogItemOK) Error() string
- func (o *GetCatalogItemOK) GetPayload() *catalog_items_2020_12_01_models.Item
- func (o *GetCatalogItemOK) IsClientError() bool
- func (o *GetCatalogItemOK) IsCode(code int) bool
- func (o *GetCatalogItemOK) IsRedirect() bool
- func (o *GetCatalogItemOK) IsServerError() bool
- func (o *GetCatalogItemOK) IsSuccess() bool
- func (o *GetCatalogItemOK) String() string
- type GetCatalogItemParams
- func NewGetCatalogItemParams() *GetCatalogItemParams
- func NewGetCatalogItemParamsWithContext(ctx context.Context) *GetCatalogItemParams
- func NewGetCatalogItemParamsWithHTTPClient(client *http.Client) *GetCatalogItemParams
- func NewGetCatalogItemParamsWithTimeout(timeout time.Duration) *GetCatalogItemParams
- func (o *GetCatalogItemParams) SetAsin(asin string)
- func (o *GetCatalogItemParams) SetContext(ctx context.Context)
- func (o *GetCatalogItemParams) SetDefaults()
- func (o *GetCatalogItemParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogItemParams) SetIncludedData(includedData []string)
- func (o *GetCatalogItemParams) SetLocale(locale *string)
- func (o *GetCatalogItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *GetCatalogItemParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogItemParams) WithAsin(asin string) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithContext(ctx context.Context) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithDefaults() *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithHTTPClient(client *http.Client) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithIncludedData(includedData []string) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithLocale(locale *string) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithMarketplaceIds(marketplaceIds []string) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WithTimeout(timeout time.Duration) *GetCatalogItemParams
- func (o *GetCatalogItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogItemReader
- type GetCatalogItemRequestEntityTooLarge
- func (o *GetCatalogItemRequestEntityTooLarge) Error() string
- func (o *GetCatalogItemRequestEntityTooLarge) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemRequestEntityTooLarge) IsClientError() bool
- func (o *GetCatalogItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetCatalogItemRequestEntityTooLarge) IsRedirect() bool
- func (o *GetCatalogItemRequestEntityTooLarge) IsServerError() bool
- func (o *GetCatalogItemRequestEntityTooLarge) IsSuccess() bool
- func (o *GetCatalogItemRequestEntityTooLarge) String() string
- type GetCatalogItemServiceUnavailable
- func (o *GetCatalogItemServiceUnavailable) Error() string
- func (o *GetCatalogItemServiceUnavailable) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemServiceUnavailable) IsClientError() bool
- func (o *GetCatalogItemServiceUnavailable) IsCode(code int) bool
- func (o *GetCatalogItemServiceUnavailable) IsRedirect() bool
- func (o *GetCatalogItemServiceUnavailable) IsServerError() bool
- func (o *GetCatalogItemServiceUnavailable) IsSuccess() bool
- func (o *GetCatalogItemServiceUnavailable) String() string
- type GetCatalogItemTooManyRequests
- func (o *GetCatalogItemTooManyRequests) Error() string
- func (o *GetCatalogItemTooManyRequests) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemTooManyRequests) IsClientError() bool
- func (o *GetCatalogItemTooManyRequests) IsCode(code int) bool
- func (o *GetCatalogItemTooManyRequests) IsRedirect() bool
- func (o *GetCatalogItemTooManyRequests) IsServerError() bool
- func (o *GetCatalogItemTooManyRequests) IsSuccess() bool
- func (o *GetCatalogItemTooManyRequests) String() string
- type GetCatalogItemUnsupportedMediaType
- func (o *GetCatalogItemUnsupportedMediaType) Error() string
- func (o *GetCatalogItemUnsupportedMediaType) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *GetCatalogItemUnsupportedMediaType) IsClientError() bool
- func (o *GetCatalogItemUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCatalogItemUnsupportedMediaType) IsRedirect() bool
- func (o *GetCatalogItemUnsupportedMediaType) IsServerError() bool
- func (o *GetCatalogItemUnsupportedMediaType) IsSuccess() bool
- func (o *GetCatalogItemUnsupportedMediaType) String() string
- type SearchCatalogItemsBadRequest
- func (o *SearchCatalogItemsBadRequest) Error() string
- func (o *SearchCatalogItemsBadRequest) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsBadRequest) IsClientError() bool
- func (o *SearchCatalogItemsBadRequest) IsCode(code int) bool
- func (o *SearchCatalogItemsBadRequest) IsRedirect() bool
- func (o *SearchCatalogItemsBadRequest) IsServerError() bool
- func (o *SearchCatalogItemsBadRequest) IsSuccess() bool
- func (o *SearchCatalogItemsBadRequest) String() string
- type SearchCatalogItemsForbidden
- func (o *SearchCatalogItemsForbidden) Error() string
- func (o *SearchCatalogItemsForbidden) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsForbidden) IsClientError() bool
- func (o *SearchCatalogItemsForbidden) IsCode(code int) bool
- func (o *SearchCatalogItemsForbidden) IsRedirect() bool
- func (o *SearchCatalogItemsForbidden) IsServerError() bool
- func (o *SearchCatalogItemsForbidden) IsSuccess() bool
- func (o *SearchCatalogItemsForbidden) String() string
- type SearchCatalogItemsInternalServerError
- func (o *SearchCatalogItemsInternalServerError) Error() string
- func (o *SearchCatalogItemsInternalServerError) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsInternalServerError) IsClientError() bool
- func (o *SearchCatalogItemsInternalServerError) IsCode(code int) bool
- func (o *SearchCatalogItemsInternalServerError) IsRedirect() bool
- func (o *SearchCatalogItemsInternalServerError) IsServerError() bool
- func (o *SearchCatalogItemsInternalServerError) IsSuccess() bool
- func (o *SearchCatalogItemsInternalServerError) String() string
- type SearchCatalogItemsNotFound
- func (o *SearchCatalogItemsNotFound) Error() string
- func (o *SearchCatalogItemsNotFound) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsNotFound) IsClientError() bool
- func (o *SearchCatalogItemsNotFound) IsCode(code int) bool
- func (o *SearchCatalogItemsNotFound) IsRedirect() bool
- func (o *SearchCatalogItemsNotFound) IsServerError() bool
- func (o *SearchCatalogItemsNotFound) IsSuccess() bool
- func (o *SearchCatalogItemsNotFound) String() string
- type SearchCatalogItemsOK
- func (o *SearchCatalogItemsOK) Error() string
- func (o *SearchCatalogItemsOK) GetPayload() *catalog_items_2020_12_01_models.ItemSearchResults
- func (o *SearchCatalogItemsOK) IsClientError() bool
- func (o *SearchCatalogItemsOK) IsCode(code int) bool
- func (o *SearchCatalogItemsOK) IsRedirect() bool
- func (o *SearchCatalogItemsOK) IsServerError() bool
- func (o *SearchCatalogItemsOK) IsSuccess() bool
- func (o *SearchCatalogItemsOK) String() string
- type SearchCatalogItemsParams
- func NewSearchCatalogItemsParams() *SearchCatalogItemsParams
- func NewSearchCatalogItemsParamsWithContext(ctx context.Context) *SearchCatalogItemsParams
- func NewSearchCatalogItemsParamsWithHTTPClient(client *http.Client) *SearchCatalogItemsParams
- func NewSearchCatalogItemsParamsWithTimeout(timeout time.Duration) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) SetBrandNames(brandNames []string)
- func (o *SearchCatalogItemsParams) SetClassificationIds(classificationIds []string)
- func (o *SearchCatalogItemsParams) SetContext(ctx context.Context)
- func (o *SearchCatalogItemsParams) SetDefaults()
- func (o *SearchCatalogItemsParams) SetHTTPClient(client *http.Client)
- func (o *SearchCatalogItemsParams) SetIncludedData(includedData []string)
- func (o *SearchCatalogItemsParams) SetKeywords(keywords []string)
- func (o *SearchCatalogItemsParams) SetKeywordsLocale(keywordsLocale *string)
- func (o *SearchCatalogItemsParams) SetLocale(locale *string)
- func (o *SearchCatalogItemsParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *SearchCatalogItemsParams) SetPageSize(pageSize *int64)
- func (o *SearchCatalogItemsParams) SetPageToken(pageToken *string)
- func (o *SearchCatalogItemsParams) SetTimeout(timeout time.Duration)
- func (o *SearchCatalogItemsParams) WithBrandNames(brandNames []string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithClassificationIds(classificationIds []string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithContext(ctx context.Context) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithDefaults() *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithHTTPClient(client *http.Client) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithIncludedData(includedData []string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithKeywords(keywords []string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithKeywordsLocale(keywordsLocale *string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithLocale(locale *string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithMarketplaceIds(marketplaceIds []string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithPageSize(pageSize *int64) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithPageToken(pageToken *string) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WithTimeout(timeout time.Duration) *SearchCatalogItemsParams
- func (o *SearchCatalogItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchCatalogItemsReader
- type SearchCatalogItemsRequestEntityTooLarge
- func (o *SearchCatalogItemsRequestEntityTooLarge) Error() string
- func (o *SearchCatalogItemsRequestEntityTooLarge) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsRequestEntityTooLarge) IsClientError() bool
- func (o *SearchCatalogItemsRequestEntityTooLarge) IsCode(code int) bool
- func (o *SearchCatalogItemsRequestEntityTooLarge) IsRedirect() bool
- func (o *SearchCatalogItemsRequestEntityTooLarge) IsServerError() bool
- func (o *SearchCatalogItemsRequestEntityTooLarge) IsSuccess() bool
- func (o *SearchCatalogItemsRequestEntityTooLarge) String() string
- type SearchCatalogItemsServiceUnavailable
- func (o *SearchCatalogItemsServiceUnavailable) Error() string
- func (o *SearchCatalogItemsServiceUnavailable) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsServiceUnavailable) IsClientError() bool
- func (o *SearchCatalogItemsServiceUnavailable) IsCode(code int) bool
- func (o *SearchCatalogItemsServiceUnavailable) IsRedirect() bool
- func (o *SearchCatalogItemsServiceUnavailable) IsServerError() bool
- func (o *SearchCatalogItemsServiceUnavailable) IsSuccess() bool
- func (o *SearchCatalogItemsServiceUnavailable) String() string
- type SearchCatalogItemsTooManyRequests
- func (o *SearchCatalogItemsTooManyRequests) Error() string
- func (o *SearchCatalogItemsTooManyRequests) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsTooManyRequests) IsClientError() bool
- func (o *SearchCatalogItemsTooManyRequests) IsCode(code int) bool
- func (o *SearchCatalogItemsTooManyRequests) IsRedirect() bool
- func (o *SearchCatalogItemsTooManyRequests) IsServerError() bool
- func (o *SearchCatalogItemsTooManyRequests) IsSuccess() bool
- func (o *SearchCatalogItemsTooManyRequests) String() string
- type SearchCatalogItemsUnsupportedMediaType
- func (o *SearchCatalogItemsUnsupportedMediaType) Error() string
- func (o *SearchCatalogItemsUnsupportedMediaType) GetPayload() *catalog_items_2020_12_01_models.ErrorList
- func (o *SearchCatalogItemsUnsupportedMediaType) IsClientError() bool
- func (o *SearchCatalogItemsUnsupportedMediaType) IsCode(code int) bool
- func (o *SearchCatalogItemsUnsupportedMediaType) IsRedirect() bool
- func (o *SearchCatalogItemsUnsupportedMediaType) IsServerError() bool
- func (o *SearchCatalogItemsUnsupportedMediaType) IsSuccess() bool
- func (o *SearchCatalogItemsUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog API
func (*Client) GetCatalogItem ¶
func (a *Client) GetCatalogItem(params *GetCatalogItemParams, opts ...ClientOption) (*GetCatalogItemOK, error)
GetCatalogItem Retrieves details for an item in the Amazon catalog.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SearchCatalogItems ¶
func (a *Client) SearchCatalogItems(params *SearchCatalogItemsParams, opts ...ClientOption) (*SearchCatalogItemsOK, error)
SearchCatalogItems Search for and return a list of Amazon catalog items and associated information.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetCatalogItem(params *GetCatalogItemParams, opts ...ClientOption) (*GetCatalogItemOK, error) SearchCatalogItems(params *SearchCatalogItemsParams, opts ...ClientOption) (*SearchCatalogItemsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new catalog API client.
type GetCatalogItemBadRequest ¶
type GetCatalogItemBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCatalogItemBadRequest ¶
func NewGetCatalogItemBadRequest() *GetCatalogItemBadRequest
NewGetCatalogItemBadRequest creates a GetCatalogItemBadRequest with default headers values
func (*GetCatalogItemBadRequest) Error ¶
func (o *GetCatalogItemBadRequest) Error() string
func (*GetCatalogItemBadRequest) GetPayload ¶
func (o *GetCatalogItemBadRequest) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemBadRequest) IsClientError ¶
func (o *GetCatalogItemBadRequest) IsClientError() bool
IsClientError returns true when this get catalog item bad request response has a 4xx status code
func (*GetCatalogItemBadRequest) IsCode ¶
func (o *GetCatalogItemBadRequest) IsCode(code int) bool
IsCode returns true when this get catalog item bad request response a status code equal to that given
func (*GetCatalogItemBadRequest) IsRedirect ¶
func (o *GetCatalogItemBadRequest) IsRedirect() bool
IsRedirect returns true when this get catalog item bad request response has a 3xx status code
func (*GetCatalogItemBadRequest) IsServerError ¶
func (o *GetCatalogItemBadRequest) IsServerError() bool
IsServerError returns true when this get catalog item bad request response has a 5xx status code
func (*GetCatalogItemBadRequest) IsSuccess ¶
func (o *GetCatalogItemBadRequest) IsSuccess() bool
IsSuccess returns true when this get catalog item bad request response has a 2xx status code
func (*GetCatalogItemBadRequest) String ¶
func (o *GetCatalogItemBadRequest) String() string
type GetCatalogItemForbidden ¶
type GetCatalogItemForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCatalogItemForbidden ¶
func NewGetCatalogItemForbidden() *GetCatalogItemForbidden
NewGetCatalogItemForbidden creates a GetCatalogItemForbidden with default headers values
func (*GetCatalogItemForbidden) Error ¶
func (o *GetCatalogItemForbidden) Error() string
func (*GetCatalogItemForbidden) GetPayload ¶
func (o *GetCatalogItemForbidden) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemForbidden) IsClientError ¶
func (o *GetCatalogItemForbidden) IsClientError() bool
IsClientError returns true when this get catalog item forbidden response has a 4xx status code
func (*GetCatalogItemForbidden) IsCode ¶
func (o *GetCatalogItemForbidden) IsCode(code int) bool
IsCode returns true when this get catalog item forbidden response a status code equal to that given
func (*GetCatalogItemForbidden) IsRedirect ¶
func (o *GetCatalogItemForbidden) IsRedirect() bool
IsRedirect returns true when this get catalog item forbidden response has a 3xx status code
func (*GetCatalogItemForbidden) IsServerError ¶
func (o *GetCatalogItemForbidden) IsServerError() bool
IsServerError returns true when this get catalog item forbidden response has a 5xx status code
func (*GetCatalogItemForbidden) IsSuccess ¶
func (o *GetCatalogItemForbidden) IsSuccess() bool
IsSuccess returns true when this get catalog item forbidden response has a 2xx status code
func (*GetCatalogItemForbidden) String ¶
func (o *GetCatalogItemForbidden) String() string
type GetCatalogItemInternalServerError ¶
type GetCatalogItemInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCatalogItemInternalServerError ¶
func NewGetCatalogItemInternalServerError() *GetCatalogItemInternalServerError
NewGetCatalogItemInternalServerError creates a GetCatalogItemInternalServerError with default headers values
func (*GetCatalogItemInternalServerError) Error ¶
func (o *GetCatalogItemInternalServerError) Error() string
func (*GetCatalogItemInternalServerError) GetPayload ¶
func (o *GetCatalogItemInternalServerError) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemInternalServerError) IsClientError ¶
func (o *GetCatalogItemInternalServerError) IsClientError() bool
IsClientError returns true when this get catalog item internal server error response has a 4xx status code
func (*GetCatalogItemInternalServerError) IsCode ¶
func (o *GetCatalogItemInternalServerError) IsCode(code int) bool
IsCode returns true when this get catalog item internal server error response a status code equal to that given
func (*GetCatalogItemInternalServerError) IsRedirect ¶
func (o *GetCatalogItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this get catalog item internal server error response has a 3xx status code
func (*GetCatalogItemInternalServerError) IsServerError ¶
func (o *GetCatalogItemInternalServerError) IsServerError() bool
IsServerError returns true when this get catalog item internal server error response has a 5xx status code
func (*GetCatalogItemInternalServerError) IsSuccess ¶
func (o *GetCatalogItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this get catalog item internal server error response has a 2xx status code
func (*GetCatalogItemInternalServerError) String ¶
func (o *GetCatalogItemInternalServerError) String() string
type GetCatalogItemNotFound ¶
type GetCatalogItemNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCatalogItemNotFound ¶
func NewGetCatalogItemNotFound() *GetCatalogItemNotFound
NewGetCatalogItemNotFound creates a GetCatalogItemNotFound with default headers values
func (*GetCatalogItemNotFound) Error ¶
func (o *GetCatalogItemNotFound) Error() string
func (*GetCatalogItemNotFound) GetPayload ¶
func (o *GetCatalogItemNotFound) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemNotFound) IsClientError ¶
func (o *GetCatalogItemNotFound) IsClientError() bool
IsClientError returns true when this get catalog item not found response has a 4xx status code
func (*GetCatalogItemNotFound) IsCode ¶
func (o *GetCatalogItemNotFound) IsCode(code int) bool
IsCode returns true when this get catalog item not found response a status code equal to that given
func (*GetCatalogItemNotFound) IsRedirect ¶
func (o *GetCatalogItemNotFound) IsRedirect() bool
IsRedirect returns true when this get catalog item not found response has a 3xx status code
func (*GetCatalogItemNotFound) IsServerError ¶
func (o *GetCatalogItemNotFound) IsServerError() bool
IsServerError returns true when this get catalog item not found response has a 5xx status code
func (*GetCatalogItemNotFound) IsSuccess ¶
func (o *GetCatalogItemNotFound) IsSuccess() bool
IsSuccess returns true when this get catalog item not found response has a 2xx status code
func (*GetCatalogItemNotFound) String ¶
func (o *GetCatalogItemNotFound) String() string
type GetCatalogItemOK ¶
type GetCatalogItemOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.Item }
GetCatalogItemOK describes a response with status code 200, with default header values.
Success.
func NewGetCatalogItemOK ¶
func NewGetCatalogItemOK() *GetCatalogItemOK
NewGetCatalogItemOK creates a GetCatalogItemOK with default headers values
func (*GetCatalogItemOK) Error ¶
func (o *GetCatalogItemOK) Error() string
func (*GetCatalogItemOK) GetPayload ¶
func (o *GetCatalogItemOK) GetPayload() *catalog_items_2020_12_01_models.Item
func (*GetCatalogItemOK) IsClientError ¶
func (o *GetCatalogItemOK) IsClientError() bool
IsClientError returns true when this get catalog item o k response has a 4xx status code
func (*GetCatalogItemOK) IsCode ¶
func (o *GetCatalogItemOK) IsCode(code int) bool
IsCode returns true when this get catalog item o k response a status code equal to that given
func (*GetCatalogItemOK) IsRedirect ¶
func (o *GetCatalogItemOK) IsRedirect() bool
IsRedirect returns true when this get catalog item o k response has a 3xx status code
func (*GetCatalogItemOK) IsServerError ¶
func (o *GetCatalogItemOK) IsServerError() bool
IsServerError returns true when this get catalog item o k response has a 5xx status code
func (*GetCatalogItemOK) IsSuccess ¶
func (o *GetCatalogItemOK) IsSuccess() bool
IsSuccess returns true when this get catalog item o k response has a 2xx status code
func (*GetCatalogItemOK) String ¶
func (o *GetCatalogItemOK) String() string
type GetCatalogItemParams ¶
type GetCatalogItemParams struct { /* Asin. The Amazon Standard Identification Number (ASIN) of the item. */ Asin string /* IncludedData. A comma-delimited list of data sets to include in the response. Default: summaries. Default: ["summaries"] */ IncludedData []string /* Locale. Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. */ Locale *string /* MarketplaceIds. A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces. */ MarketplaceIds []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCatalogItemParams contains all the parameters to send to the API endpoint
for the get catalog item operation. Typically these are written to a http.Request.
func NewGetCatalogItemParams ¶
func NewGetCatalogItemParams() *GetCatalogItemParams
NewGetCatalogItemParams creates a new GetCatalogItemParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogItemParamsWithContext ¶
func NewGetCatalogItemParamsWithContext(ctx context.Context) *GetCatalogItemParams
NewGetCatalogItemParamsWithContext creates a new GetCatalogItemParams object with the ability to set a context for a request.
func NewGetCatalogItemParamsWithHTTPClient ¶
func NewGetCatalogItemParamsWithHTTPClient(client *http.Client) *GetCatalogItemParams
NewGetCatalogItemParamsWithHTTPClient creates a new GetCatalogItemParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogItemParamsWithTimeout ¶
func NewGetCatalogItemParamsWithTimeout(timeout time.Duration) *GetCatalogItemParams
NewGetCatalogItemParamsWithTimeout creates a new GetCatalogItemParams object with the ability to set a timeout on a request.
func (*GetCatalogItemParams) SetAsin ¶
func (o *GetCatalogItemParams) SetAsin(asin string)
SetAsin adds the asin to the get catalog item params
func (*GetCatalogItemParams) SetContext ¶
func (o *GetCatalogItemParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog item params
func (*GetCatalogItemParams) SetDefaults ¶
func (o *GetCatalogItemParams) SetDefaults()
SetDefaults hydrates default values in the get catalog item params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogItemParams) SetHTTPClient ¶
func (o *GetCatalogItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog item params
func (*GetCatalogItemParams) SetIncludedData ¶
func (o *GetCatalogItemParams) SetIncludedData(includedData []string)
SetIncludedData adds the includedData to the get catalog item params
func (*GetCatalogItemParams) SetLocale ¶
func (o *GetCatalogItemParams) SetLocale(locale *string)
SetLocale adds the locale to the get catalog item params
func (*GetCatalogItemParams) SetMarketplaceIds ¶
func (o *GetCatalogItemParams) SetMarketplaceIds(marketplaceIds []string)
SetMarketplaceIds adds the marketplaceIds to the get catalog item params
func (*GetCatalogItemParams) SetTimeout ¶
func (o *GetCatalogItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog item params
func (*GetCatalogItemParams) WithAsin ¶
func (o *GetCatalogItemParams) WithAsin(asin string) *GetCatalogItemParams
WithAsin adds the asin to the get catalog item params
func (*GetCatalogItemParams) WithContext ¶
func (o *GetCatalogItemParams) WithContext(ctx context.Context) *GetCatalogItemParams
WithContext adds the context to the get catalog item params
func (*GetCatalogItemParams) WithDefaults ¶
func (o *GetCatalogItemParams) WithDefaults() *GetCatalogItemParams
WithDefaults hydrates default values in the get catalog item params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogItemParams) WithHTTPClient ¶
func (o *GetCatalogItemParams) WithHTTPClient(client *http.Client) *GetCatalogItemParams
WithHTTPClient adds the HTTPClient to the get catalog item params
func (*GetCatalogItemParams) WithIncludedData ¶
func (o *GetCatalogItemParams) WithIncludedData(includedData []string) *GetCatalogItemParams
WithIncludedData adds the includedData to the get catalog item params
func (*GetCatalogItemParams) WithLocale ¶
func (o *GetCatalogItemParams) WithLocale(locale *string) *GetCatalogItemParams
WithLocale adds the locale to the get catalog item params
func (*GetCatalogItemParams) WithMarketplaceIds ¶
func (o *GetCatalogItemParams) WithMarketplaceIds(marketplaceIds []string) *GetCatalogItemParams
WithMarketplaceIds adds the marketplaceIds to the get catalog item params
func (*GetCatalogItemParams) WithTimeout ¶
func (o *GetCatalogItemParams) WithTimeout(timeout time.Duration) *GetCatalogItemParams
WithTimeout adds the timeout to the get catalog item params
func (*GetCatalogItemParams) WriteToRequest ¶
func (o *GetCatalogItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogItemReader ¶
type GetCatalogItemReader struct {
// contains filtered or unexported fields
}
GetCatalogItemReader is a Reader for the GetCatalogItem structure.
func (*GetCatalogItemReader) ReadResponse ¶
func (o *GetCatalogItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogItemRequestEntityTooLarge ¶
type GetCatalogItemRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetCatalogItemRequestEntityTooLarge ¶
func NewGetCatalogItemRequestEntityTooLarge() *GetCatalogItemRequestEntityTooLarge
NewGetCatalogItemRequestEntityTooLarge creates a GetCatalogItemRequestEntityTooLarge with default headers values
func (*GetCatalogItemRequestEntityTooLarge) Error ¶
func (o *GetCatalogItemRequestEntityTooLarge) Error() string
func (*GetCatalogItemRequestEntityTooLarge) GetPayload ¶
func (o *GetCatalogItemRequestEntityTooLarge) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemRequestEntityTooLarge) IsClientError ¶
func (o *GetCatalogItemRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get catalog item request entity too large response has a 4xx status code
func (*GetCatalogItemRequestEntityTooLarge) IsCode ¶
func (o *GetCatalogItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get catalog item request entity too large response a status code equal to that given
func (*GetCatalogItemRequestEntityTooLarge) IsRedirect ¶
func (o *GetCatalogItemRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get catalog item request entity too large response has a 3xx status code
func (*GetCatalogItemRequestEntityTooLarge) IsServerError ¶
func (o *GetCatalogItemRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get catalog item request entity too large response has a 5xx status code
func (*GetCatalogItemRequestEntityTooLarge) IsSuccess ¶
func (o *GetCatalogItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get catalog item request entity too large response has a 2xx status code
func (*GetCatalogItemRequestEntityTooLarge) String ¶
func (o *GetCatalogItemRequestEntityTooLarge) String() string
type GetCatalogItemServiceUnavailable ¶
GetCatalogItemServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCatalogItemServiceUnavailable ¶
func NewGetCatalogItemServiceUnavailable() *GetCatalogItemServiceUnavailable
NewGetCatalogItemServiceUnavailable creates a GetCatalogItemServiceUnavailable with default headers values
func (*GetCatalogItemServiceUnavailable) Error ¶
func (o *GetCatalogItemServiceUnavailable) Error() string
func (*GetCatalogItemServiceUnavailable) GetPayload ¶
func (o *GetCatalogItemServiceUnavailable) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemServiceUnavailable) IsClientError ¶
func (o *GetCatalogItemServiceUnavailable) IsClientError() bool
IsClientError returns true when this get catalog item service unavailable response has a 4xx status code
func (*GetCatalogItemServiceUnavailable) IsCode ¶
func (o *GetCatalogItemServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get catalog item service unavailable response a status code equal to that given
func (*GetCatalogItemServiceUnavailable) IsRedirect ¶
func (o *GetCatalogItemServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get catalog item service unavailable response has a 3xx status code
func (*GetCatalogItemServiceUnavailable) IsServerError ¶
func (o *GetCatalogItemServiceUnavailable) IsServerError() bool
IsServerError returns true when this get catalog item service unavailable response has a 5xx status code
func (*GetCatalogItemServiceUnavailable) IsSuccess ¶
func (o *GetCatalogItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get catalog item service unavailable response has a 2xx status code
func (*GetCatalogItemServiceUnavailable) String ¶
func (o *GetCatalogItemServiceUnavailable) String() string
type GetCatalogItemTooManyRequests ¶
type GetCatalogItemTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCatalogItemTooManyRequests ¶
func NewGetCatalogItemTooManyRequests() *GetCatalogItemTooManyRequests
NewGetCatalogItemTooManyRequests creates a GetCatalogItemTooManyRequests with default headers values
func (*GetCatalogItemTooManyRequests) Error ¶
func (o *GetCatalogItemTooManyRequests) Error() string
func (*GetCatalogItemTooManyRequests) GetPayload ¶
func (o *GetCatalogItemTooManyRequests) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemTooManyRequests) IsClientError ¶
func (o *GetCatalogItemTooManyRequests) IsClientError() bool
IsClientError returns true when this get catalog item too many requests response has a 4xx status code
func (*GetCatalogItemTooManyRequests) IsCode ¶
func (o *GetCatalogItemTooManyRequests) IsCode(code int) bool
IsCode returns true when this get catalog item too many requests response a status code equal to that given
func (*GetCatalogItemTooManyRequests) IsRedirect ¶
func (o *GetCatalogItemTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get catalog item too many requests response has a 3xx status code
func (*GetCatalogItemTooManyRequests) IsServerError ¶
func (o *GetCatalogItemTooManyRequests) IsServerError() bool
IsServerError returns true when this get catalog item too many requests response has a 5xx status code
func (*GetCatalogItemTooManyRequests) IsSuccess ¶
func (o *GetCatalogItemTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get catalog item too many requests response has a 2xx status code
func (*GetCatalogItemTooManyRequests) String ¶
func (o *GetCatalogItemTooManyRequests) String() string
type GetCatalogItemUnsupportedMediaType ¶
type GetCatalogItemUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
GetCatalogItemUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCatalogItemUnsupportedMediaType ¶
func NewGetCatalogItemUnsupportedMediaType() *GetCatalogItemUnsupportedMediaType
NewGetCatalogItemUnsupportedMediaType creates a GetCatalogItemUnsupportedMediaType with default headers values
func (*GetCatalogItemUnsupportedMediaType) Error ¶
func (o *GetCatalogItemUnsupportedMediaType) Error() string
func (*GetCatalogItemUnsupportedMediaType) GetPayload ¶
func (o *GetCatalogItemUnsupportedMediaType) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*GetCatalogItemUnsupportedMediaType) IsClientError ¶
func (o *GetCatalogItemUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get catalog item unsupported media type response has a 4xx status code
func (*GetCatalogItemUnsupportedMediaType) IsCode ¶
func (o *GetCatalogItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get catalog item unsupported media type response a status code equal to that given
func (*GetCatalogItemUnsupportedMediaType) IsRedirect ¶
func (o *GetCatalogItemUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get catalog item unsupported media type response has a 3xx status code
func (*GetCatalogItemUnsupportedMediaType) IsServerError ¶
func (o *GetCatalogItemUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get catalog item unsupported media type response has a 5xx status code
func (*GetCatalogItemUnsupportedMediaType) IsSuccess ¶
func (o *GetCatalogItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get catalog item unsupported media type response has a 2xx status code
func (*GetCatalogItemUnsupportedMediaType) String ¶
func (o *GetCatalogItemUnsupportedMediaType) String() string
type SearchCatalogItemsBadRequest ¶
type SearchCatalogItemsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSearchCatalogItemsBadRequest ¶
func NewSearchCatalogItemsBadRequest() *SearchCatalogItemsBadRequest
NewSearchCatalogItemsBadRequest creates a SearchCatalogItemsBadRequest with default headers values
func (*SearchCatalogItemsBadRequest) Error ¶
func (o *SearchCatalogItemsBadRequest) Error() string
func (*SearchCatalogItemsBadRequest) GetPayload ¶
func (o *SearchCatalogItemsBadRequest) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsBadRequest) IsClientError ¶
func (o *SearchCatalogItemsBadRequest) IsClientError() bool
IsClientError returns true when this search catalog items bad request response has a 4xx status code
func (*SearchCatalogItemsBadRequest) IsCode ¶
func (o *SearchCatalogItemsBadRequest) IsCode(code int) bool
IsCode returns true when this search catalog items bad request response a status code equal to that given
func (*SearchCatalogItemsBadRequest) IsRedirect ¶
func (o *SearchCatalogItemsBadRequest) IsRedirect() bool
IsRedirect returns true when this search catalog items bad request response has a 3xx status code
func (*SearchCatalogItemsBadRequest) IsServerError ¶
func (o *SearchCatalogItemsBadRequest) IsServerError() bool
IsServerError returns true when this search catalog items bad request response has a 5xx status code
func (*SearchCatalogItemsBadRequest) IsSuccess ¶
func (o *SearchCatalogItemsBadRequest) IsSuccess() bool
IsSuccess returns true when this search catalog items bad request response has a 2xx status code
func (*SearchCatalogItemsBadRequest) String ¶
func (o *SearchCatalogItemsBadRequest) String() string
type SearchCatalogItemsForbidden ¶
type SearchCatalogItemsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewSearchCatalogItemsForbidden ¶
func NewSearchCatalogItemsForbidden() *SearchCatalogItemsForbidden
NewSearchCatalogItemsForbidden creates a SearchCatalogItemsForbidden with default headers values
func (*SearchCatalogItemsForbidden) Error ¶
func (o *SearchCatalogItemsForbidden) Error() string
func (*SearchCatalogItemsForbidden) GetPayload ¶
func (o *SearchCatalogItemsForbidden) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsForbidden) IsClientError ¶
func (o *SearchCatalogItemsForbidden) IsClientError() bool
IsClientError returns true when this search catalog items forbidden response has a 4xx status code
func (*SearchCatalogItemsForbidden) IsCode ¶
func (o *SearchCatalogItemsForbidden) IsCode(code int) bool
IsCode returns true when this search catalog items forbidden response a status code equal to that given
func (*SearchCatalogItemsForbidden) IsRedirect ¶
func (o *SearchCatalogItemsForbidden) IsRedirect() bool
IsRedirect returns true when this search catalog items forbidden response has a 3xx status code
func (*SearchCatalogItemsForbidden) IsServerError ¶
func (o *SearchCatalogItemsForbidden) IsServerError() bool
IsServerError returns true when this search catalog items forbidden response has a 5xx status code
func (*SearchCatalogItemsForbidden) IsSuccess ¶
func (o *SearchCatalogItemsForbidden) IsSuccess() bool
IsSuccess returns true when this search catalog items forbidden response has a 2xx status code
func (*SearchCatalogItemsForbidden) String ¶
func (o *SearchCatalogItemsForbidden) String() string
type SearchCatalogItemsInternalServerError ¶
type SearchCatalogItemsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewSearchCatalogItemsInternalServerError ¶
func NewSearchCatalogItemsInternalServerError() *SearchCatalogItemsInternalServerError
NewSearchCatalogItemsInternalServerError creates a SearchCatalogItemsInternalServerError with default headers values
func (*SearchCatalogItemsInternalServerError) Error ¶
func (o *SearchCatalogItemsInternalServerError) Error() string
func (*SearchCatalogItemsInternalServerError) GetPayload ¶
func (o *SearchCatalogItemsInternalServerError) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsInternalServerError) IsClientError ¶
func (o *SearchCatalogItemsInternalServerError) IsClientError() bool
IsClientError returns true when this search catalog items internal server error response has a 4xx status code
func (*SearchCatalogItemsInternalServerError) IsCode ¶
func (o *SearchCatalogItemsInternalServerError) IsCode(code int) bool
IsCode returns true when this search catalog items internal server error response a status code equal to that given
func (*SearchCatalogItemsInternalServerError) IsRedirect ¶
func (o *SearchCatalogItemsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search catalog items internal server error response has a 3xx status code
func (*SearchCatalogItemsInternalServerError) IsServerError ¶
func (o *SearchCatalogItemsInternalServerError) IsServerError() bool
IsServerError returns true when this search catalog items internal server error response has a 5xx status code
func (*SearchCatalogItemsInternalServerError) IsSuccess ¶
func (o *SearchCatalogItemsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search catalog items internal server error response has a 2xx status code
func (*SearchCatalogItemsInternalServerError) String ¶
func (o *SearchCatalogItemsInternalServerError) String() string
type SearchCatalogItemsNotFound ¶
type SearchCatalogItemsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSearchCatalogItemsNotFound ¶
func NewSearchCatalogItemsNotFound() *SearchCatalogItemsNotFound
NewSearchCatalogItemsNotFound creates a SearchCatalogItemsNotFound with default headers values
func (*SearchCatalogItemsNotFound) Error ¶
func (o *SearchCatalogItemsNotFound) Error() string
func (*SearchCatalogItemsNotFound) GetPayload ¶
func (o *SearchCatalogItemsNotFound) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsNotFound) IsClientError ¶
func (o *SearchCatalogItemsNotFound) IsClientError() bool
IsClientError returns true when this search catalog items not found response has a 4xx status code
func (*SearchCatalogItemsNotFound) IsCode ¶
func (o *SearchCatalogItemsNotFound) IsCode(code int) bool
IsCode returns true when this search catalog items not found response a status code equal to that given
func (*SearchCatalogItemsNotFound) IsRedirect ¶
func (o *SearchCatalogItemsNotFound) IsRedirect() bool
IsRedirect returns true when this search catalog items not found response has a 3xx status code
func (*SearchCatalogItemsNotFound) IsServerError ¶
func (o *SearchCatalogItemsNotFound) IsServerError() bool
IsServerError returns true when this search catalog items not found response has a 5xx status code
func (*SearchCatalogItemsNotFound) IsSuccess ¶
func (o *SearchCatalogItemsNotFound) IsSuccess() bool
IsSuccess returns true when this search catalog items not found response has a 2xx status code
func (*SearchCatalogItemsNotFound) String ¶
func (o *SearchCatalogItemsNotFound) String() string
type SearchCatalogItemsOK ¶
type SearchCatalogItemsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ItemSearchResults }
SearchCatalogItemsOK describes a response with status code 200, with default header values.
Success.
func NewSearchCatalogItemsOK ¶
func NewSearchCatalogItemsOK() *SearchCatalogItemsOK
NewSearchCatalogItemsOK creates a SearchCatalogItemsOK with default headers values
func (*SearchCatalogItemsOK) Error ¶
func (o *SearchCatalogItemsOK) Error() string
func (*SearchCatalogItemsOK) GetPayload ¶
func (o *SearchCatalogItemsOK) GetPayload() *catalog_items_2020_12_01_models.ItemSearchResults
func (*SearchCatalogItemsOK) IsClientError ¶
func (o *SearchCatalogItemsOK) IsClientError() bool
IsClientError returns true when this search catalog items o k response has a 4xx status code
func (*SearchCatalogItemsOK) IsCode ¶
func (o *SearchCatalogItemsOK) IsCode(code int) bool
IsCode returns true when this search catalog items o k response a status code equal to that given
func (*SearchCatalogItemsOK) IsRedirect ¶
func (o *SearchCatalogItemsOK) IsRedirect() bool
IsRedirect returns true when this search catalog items o k response has a 3xx status code
func (*SearchCatalogItemsOK) IsServerError ¶
func (o *SearchCatalogItemsOK) IsServerError() bool
IsServerError returns true when this search catalog items o k response has a 5xx status code
func (*SearchCatalogItemsOK) IsSuccess ¶
func (o *SearchCatalogItemsOK) IsSuccess() bool
IsSuccess returns true when this search catalog items o k response has a 2xx status code
func (*SearchCatalogItemsOK) String ¶
func (o *SearchCatalogItemsOK) String() string
type SearchCatalogItemsParams ¶
type SearchCatalogItemsParams struct { /* BrandNames. A comma-delimited list of brand names to limit the search to. */ BrandNames []string /* ClassificationIds. A comma-delimited list of classification identifiers to limit the search to. */ ClassificationIds []string /* IncludedData. A comma-delimited list of data sets to include in the response. Default: summaries. Default: ["summaries"] */ IncludedData []string /* Keywords. A comma-delimited list of words or item identifiers to search the Amazon catalog for. */ Keywords []string /* KeywordsLocale. The language the keywords are provided in. Defaults to the primary locale of the marketplace. */ KeywordsLocale *string /* Locale. Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. */ Locale *string /* MarketplaceIds. A comma-delimited list of Amazon marketplace identifiers for the request. */ MarketplaceIds []string /* PageSize. Number of results to be returned per page. Default: 10 */ PageSize *int64 /* PageToken. A token to fetch a certain page when there are multiple pages worth of results. */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchCatalogItemsParams contains all the parameters to send to the API endpoint
for the search catalog items operation. Typically these are written to a http.Request.
func NewSearchCatalogItemsParams ¶
func NewSearchCatalogItemsParams() *SearchCatalogItemsParams
NewSearchCatalogItemsParams creates a new SearchCatalogItemsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchCatalogItemsParamsWithContext ¶
func NewSearchCatalogItemsParamsWithContext(ctx context.Context) *SearchCatalogItemsParams
NewSearchCatalogItemsParamsWithContext creates a new SearchCatalogItemsParams object with the ability to set a context for a request.
func NewSearchCatalogItemsParamsWithHTTPClient ¶
func NewSearchCatalogItemsParamsWithHTTPClient(client *http.Client) *SearchCatalogItemsParams
NewSearchCatalogItemsParamsWithHTTPClient creates a new SearchCatalogItemsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchCatalogItemsParamsWithTimeout ¶
func NewSearchCatalogItemsParamsWithTimeout(timeout time.Duration) *SearchCatalogItemsParams
NewSearchCatalogItemsParamsWithTimeout creates a new SearchCatalogItemsParams object with the ability to set a timeout on a request.
func (*SearchCatalogItemsParams) SetBrandNames ¶
func (o *SearchCatalogItemsParams) SetBrandNames(brandNames []string)
SetBrandNames adds the brandNames to the search catalog items params
func (*SearchCatalogItemsParams) SetClassificationIds ¶
func (o *SearchCatalogItemsParams) SetClassificationIds(classificationIds []string)
SetClassificationIds adds the classificationIds to the search catalog items params
func (*SearchCatalogItemsParams) SetContext ¶
func (o *SearchCatalogItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the search catalog items params
func (*SearchCatalogItemsParams) SetDefaults ¶
func (o *SearchCatalogItemsParams) SetDefaults()
SetDefaults hydrates default values in the search catalog items params (not the query body).
All values with no default are reset to their zero value.
func (*SearchCatalogItemsParams) SetHTTPClient ¶
func (o *SearchCatalogItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search catalog items params
func (*SearchCatalogItemsParams) SetIncludedData ¶
func (o *SearchCatalogItemsParams) SetIncludedData(includedData []string)
SetIncludedData adds the includedData to the search catalog items params
func (*SearchCatalogItemsParams) SetKeywords ¶
func (o *SearchCatalogItemsParams) SetKeywords(keywords []string)
SetKeywords adds the keywords to the search catalog items params
func (*SearchCatalogItemsParams) SetKeywordsLocale ¶
func (o *SearchCatalogItemsParams) SetKeywordsLocale(keywordsLocale *string)
SetKeywordsLocale adds the keywordsLocale to the search catalog items params
func (*SearchCatalogItemsParams) SetLocale ¶
func (o *SearchCatalogItemsParams) SetLocale(locale *string)
SetLocale adds the locale to the search catalog items params
func (*SearchCatalogItemsParams) SetMarketplaceIds ¶
func (o *SearchCatalogItemsParams) SetMarketplaceIds(marketplaceIds []string)
SetMarketplaceIds adds the marketplaceIds to the search catalog items params
func (*SearchCatalogItemsParams) SetPageSize ¶
func (o *SearchCatalogItemsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the search catalog items params
func (*SearchCatalogItemsParams) SetPageToken ¶
func (o *SearchCatalogItemsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the search catalog items params
func (*SearchCatalogItemsParams) SetTimeout ¶
func (o *SearchCatalogItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search catalog items params
func (*SearchCatalogItemsParams) WithBrandNames ¶
func (o *SearchCatalogItemsParams) WithBrandNames(brandNames []string) *SearchCatalogItemsParams
WithBrandNames adds the brandNames to the search catalog items params
func (*SearchCatalogItemsParams) WithClassificationIds ¶
func (o *SearchCatalogItemsParams) WithClassificationIds(classificationIds []string) *SearchCatalogItemsParams
WithClassificationIds adds the classificationIds to the search catalog items params
func (*SearchCatalogItemsParams) WithContext ¶
func (o *SearchCatalogItemsParams) WithContext(ctx context.Context) *SearchCatalogItemsParams
WithContext adds the context to the search catalog items params
func (*SearchCatalogItemsParams) WithDefaults ¶
func (o *SearchCatalogItemsParams) WithDefaults() *SearchCatalogItemsParams
WithDefaults hydrates default values in the search catalog items params (not the query body).
All values with no default are reset to their zero value.
func (*SearchCatalogItemsParams) WithHTTPClient ¶
func (o *SearchCatalogItemsParams) WithHTTPClient(client *http.Client) *SearchCatalogItemsParams
WithHTTPClient adds the HTTPClient to the search catalog items params
func (*SearchCatalogItemsParams) WithIncludedData ¶
func (o *SearchCatalogItemsParams) WithIncludedData(includedData []string) *SearchCatalogItemsParams
WithIncludedData adds the includedData to the search catalog items params
func (*SearchCatalogItemsParams) WithKeywords ¶
func (o *SearchCatalogItemsParams) WithKeywords(keywords []string) *SearchCatalogItemsParams
WithKeywords adds the keywords to the search catalog items params
func (*SearchCatalogItemsParams) WithKeywordsLocale ¶
func (o *SearchCatalogItemsParams) WithKeywordsLocale(keywordsLocale *string) *SearchCatalogItemsParams
WithKeywordsLocale adds the keywordsLocale to the search catalog items params
func (*SearchCatalogItemsParams) WithLocale ¶
func (o *SearchCatalogItemsParams) WithLocale(locale *string) *SearchCatalogItemsParams
WithLocale adds the locale to the search catalog items params
func (*SearchCatalogItemsParams) WithMarketplaceIds ¶
func (o *SearchCatalogItemsParams) WithMarketplaceIds(marketplaceIds []string) *SearchCatalogItemsParams
WithMarketplaceIds adds the marketplaceIds to the search catalog items params
func (*SearchCatalogItemsParams) WithPageSize ¶
func (o *SearchCatalogItemsParams) WithPageSize(pageSize *int64) *SearchCatalogItemsParams
WithPageSize adds the pageSize to the search catalog items params
func (*SearchCatalogItemsParams) WithPageToken ¶
func (o *SearchCatalogItemsParams) WithPageToken(pageToken *string) *SearchCatalogItemsParams
WithPageToken adds the pageToken to the search catalog items params
func (*SearchCatalogItemsParams) WithTimeout ¶
func (o *SearchCatalogItemsParams) WithTimeout(timeout time.Duration) *SearchCatalogItemsParams
WithTimeout adds the timeout to the search catalog items params
func (*SearchCatalogItemsParams) WriteToRequest ¶
func (o *SearchCatalogItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchCatalogItemsReader ¶
type SearchCatalogItemsReader struct {
// contains filtered or unexported fields
}
SearchCatalogItemsReader is a Reader for the SearchCatalogItems structure.
func (*SearchCatalogItemsReader) ReadResponse ¶
func (o *SearchCatalogItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchCatalogItemsRequestEntityTooLarge ¶
type SearchCatalogItemsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewSearchCatalogItemsRequestEntityTooLarge ¶
func NewSearchCatalogItemsRequestEntityTooLarge() *SearchCatalogItemsRequestEntityTooLarge
NewSearchCatalogItemsRequestEntityTooLarge creates a SearchCatalogItemsRequestEntityTooLarge with default headers values
func (*SearchCatalogItemsRequestEntityTooLarge) Error ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) Error() string
func (*SearchCatalogItemsRequestEntityTooLarge) GetPayload ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsRequestEntityTooLarge) IsClientError ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this search catalog items request entity too large response has a 4xx status code
func (*SearchCatalogItemsRequestEntityTooLarge) IsCode ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this search catalog items request entity too large response a status code equal to that given
func (*SearchCatalogItemsRequestEntityTooLarge) IsRedirect ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this search catalog items request entity too large response has a 3xx status code
func (*SearchCatalogItemsRequestEntityTooLarge) IsServerError ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this search catalog items request entity too large response has a 5xx status code
func (*SearchCatalogItemsRequestEntityTooLarge) IsSuccess ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this search catalog items request entity too large response has a 2xx status code
func (*SearchCatalogItemsRequestEntityTooLarge) String ¶
func (o *SearchCatalogItemsRequestEntityTooLarge) String() string
type SearchCatalogItemsServiceUnavailable ¶
type SearchCatalogItemsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
SearchCatalogItemsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSearchCatalogItemsServiceUnavailable ¶
func NewSearchCatalogItemsServiceUnavailable() *SearchCatalogItemsServiceUnavailable
NewSearchCatalogItemsServiceUnavailable creates a SearchCatalogItemsServiceUnavailable with default headers values
func (*SearchCatalogItemsServiceUnavailable) Error ¶
func (o *SearchCatalogItemsServiceUnavailable) Error() string
func (*SearchCatalogItemsServiceUnavailable) GetPayload ¶
func (o *SearchCatalogItemsServiceUnavailable) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsServiceUnavailable) IsClientError ¶
func (o *SearchCatalogItemsServiceUnavailable) IsClientError() bool
IsClientError returns true when this search catalog items service unavailable response has a 4xx status code
func (*SearchCatalogItemsServiceUnavailable) IsCode ¶
func (o *SearchCatalogItemsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this search catalog items service unavailable response a status code equal to that given
func (*SearchCatalogItemsServiceUnavailable) IsRedirect ¶
func (o *SearchCatalogItemsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this search catalog items service unavailable response has a 3xx status code
func (*SearchCatalogItemsServiceUnavailable) IsServerError ¶
func (o *SearchCatalogItemsServiceUnavailable) IsServerError() bool
IsServerError returns true when this search catalog items service unavailable response has a 5xx status code
func (*SearchCatalogItemsServiceUnavailable) IsSuccess ¶
func (o *SearchCatalogItemsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this search catalog items service unavailable response has a 2xx status code
func (*SearchCatalogItemsServiceUnavailable) String ¶
func (o *SearchCatalogItemsServiceUnavailable) String() string
type SearchCatalogItemsTooManyRequests ¶
type SearchCatalogItemsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSearchCatalogItemsTooManyRequests ¶
func NewSearchCatalogItemsTooManyRequests() *SearchCatalogItemsTooManyRequests
NewSearchCatalogItemsTooManyRequests creates a SearchCatalogItemsTooManyRequests with default headers values
func (*SearchCatalogItemsTooManyRequests) Error ¶
func (o *SearchCatalogItemsTooManyRequests) Error() string
func (*SearchCatalogItemsTooManyRequests) GetPayload ¶
func (o *SearchCatalogItemsTooManyRequests) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsTooManyRequests) IsClientError ¶
func (o *SearchCatalogItemsTooManyRequests) IsClientError() bool
IsClientError returns true when this search catalog items too many requests response has a 4xx status code
func (*SearchCatalogItemsTooManyRequests) IsCode ¶
func (o *SearchCatalogItemsTooManyRequests) IsCode(code int) bool
IsCode returns true when this search catalog items too many requests response a status code equal to that given
func (*SearchCatalogItemsTooManyRequests) IsRedirect ¶
func (o *SearchCatalogItemsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this search catalog items too many requests response has a 3xx status code
func (*SearchCatalogItemsTooManyRequests) IsServerError ¶
func (o *SearchCatalogItemsTooManyRequests) IsServerError() bool
IsServerError returns true when this search catalog items too many requests response has a 5xx status code
func (*SearchCatalogItemsTooManyRequests) IsSuccess ¶
func (o *SearchCatalogItemsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this search catalog items too many requests response has a 2xx status code
func (*SearchCatalogItemsTooManyRequests) String ¶
func (o *SearchCatalogItemsTooManyRequests) String() string
type SearchCatalogItemsUnsupportedMediaType ¶
type SearchCatalogItemsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *catalog_items_2020_12_01_models.ErrorList }
SearchCatalogItemsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSearchCatalogItemsUnsupportedMediaType ¶
func NewSearchCatalogItemsUnsupportedMediaType() *SearchCatalogItemsUnsupportedMediaType
NewSearchCatalogItemsUnsupportedMediaType creates a SearchCatalogItemsUnsupportedMediaType with default headers values
func (*SearchCatalogItemsUnsupportedMediaType) Error ¶
func (o *SearchCatalogItemsUnsupportedMediaType) Error() string
func (*SearchCatalogItemsUnsupportedMediaType) GetPayload ¶
func (o *SearchCatalogItemsUnsupportedMediaType) GetPayload() *catalog_items_2020_12_01_models.ErrorList
func (*SearchCatalogItemsUnsupportedMediaType) IsClientError ¶
func (o *SearchCatalogItemsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this search catalog items unsupported media type response has a 4xx status code
func (*SearchCatalogItemsUnsupportedMediaType) IsCode ¶
func (o *SearchCatalogItemsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this search catalog items unsupported media type response a status code equal to that given
func (*SearchCatalogItemsUnsupportedMediaType) IsRedirect ¶
func (o *SearchCatalogItemsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this search catalog items unsupported media type response has a 3xx status code
func (*SearchCatalogItemsUnsupportedMediaType) IsServerError ¶
func (o *SearchCatalogItemsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this search catalog items unsupported media type response has a 5xx status code
func (*SearchCatalogItemsUnsupportedMediaType) IsSuccess ¶
func (o *SearchCatalogItemsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this search catalog items unsupported media type response has a 2xx status code
func (*SearchCatalogItemsUnsupportedMediaType) String ¶
func (o *SearchCatalogItemsUnsupportedMediaType) String() string