Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error)
- func (a *Client) PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error)
- func (a *Client) PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteListingsItemBadRequest
- func (o *DeleteListingsItemBadRequest) Error() string
- func (o *DeleteListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemBadRequest) IsClientError() bool
- func (o *DeleteListingsItemBadRequest) IsCode(code int) bool
- func (o *DeleteListingsItemBadRequest) IsRedirect() bool
- func (o *DeleteListingsItemBadRequest) IsServerError() bool
- func (o *DeleteListingsItemBadRequest) IsSuccess() bool
- func (o *DeleteListingsItemBadRequest) String() string
- type DeleteListingsItemForbidden
- func (o *DeleteListingsItemForbidden) Error() string
- func (o *DeleteListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemForbidden) IsClientError() bool
- func (o *DeleteListingsItemForbidden) IsCode(code int) bool
- func (o *DeleteListingsItemForbidden) IsRedirect() bool
- func (o *DeleteListingsItemForbidden) IsServerError() bool
- func (o *DeleteListingsItemForbidden) IsSuccess() bool
- func (o *DeleteListingsItemForbidden) String() string
- type DeleteListingsItemInternalServerError
- func (o *DeleteListingsItemInternalServerError) Error() string
- func (o *DeleteListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemInternalServerError) IsClientError() bool
- func (o *DeleteListingsItemInternalServerError) IsCode(code int) bool
- func (o *DeleteListingsItemInternalServerError) IsRedirect() bool
- func (o *DeleteListingsItemInternalServerError) IsServerError() bool
- func (o *DeleteListingsItemInternalServerError) IsSuccess() bool
- func (o *DeleteListingsItemInternalServerError) String() string
- type DeleteListingsItemOK
- func (o *DeleteListingsItemOK) Error() string
- func (o *DeleteListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
- func (o *DeleteListingsItemOK) IsClientError() bool
- func (o *DeleteListingsItemOK) IsCode(code int) bool
- func (o *DeleteListingsItemOK) IsRedirect() bool
- func (o *DeleteListingsItemOK) IsServerError() bool
- func (o *DeleteListingsItemOK) IsSuccess() bool
- func (o *DeleteListingsItemOK) String() string
- type DeleteListingsItemParams
- func NewDeleteListingsItemParams() *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithContext(ctx context.Context) *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithHTTPClient(client *http.Client) *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithTimeout(timeout time.Duration) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) SetContext(ctx context.Context)
- func (o *DeleteListingsItemParams) SetDefaults()
- func (o *DeleteListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *DeleteListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *DeleteListingsItemParams) SetSellerID(sellerID string)
- func (o *DeleteListingsItemParams) SetSku(sku string)
- func (o *DeleteListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteListingsItemParams) WithContext(ctx context.Context) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithDefaults() *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithHTTPClient(client *http.Client) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithIssueLocale(issueLocale *string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithSellerID(sellerID string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithSku(sku string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithTimeout(timeout time.Duration) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteListingsItemReader
- type DeleteListingsItemRequestEntityTooLarge
- func (o *DeleteListingsItemRequestEntityTooLarge) Error() string
- func (o *DeleteListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) String() string
- type DeleteListingsItemServiceUnavailable
- func (o *DeleteListingsItemServiceUnavailable) Error() string
- func (o *DeleteListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemServiceUnavailable) IsClientError() bool
- func (o *DeleteListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *DeleteListingsItemServiceUnavailable) IsRedirect() bool
- func (o *DeleteListingsItemServiceUnavailable) IsServerError() bool
- func (o *DeleteListingsItemServiceUnavailable) IsSuccess() bool
- func (o *DeleteListingsItemServiceUnavailable) String() string
- type DeleteListingsItemTooManyRequests
- func (o *DeleteListingsItemTooManyRequests) Error() string
- func (o *DeleteListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemTooManyRequests) IsClientError() bool
- func (o *DeleteListingsItemTooManyRequests) IsCode(code int) bool
- func (o *DeleteListingsItemTooManyRequests) IsRedirect() bool
- func (o *DeleteListingsItemTooManyRequests) IsServerError() bool
- func (o *DeleteListingsItemTooManyRequests) IsSuccess() bool
- func (o *DeleteListingsItemTooManyRequests) String() string
- type DeleteListingsItemUnsupportedMediaType
- func (o *DeleteListingsItemUnsupportedMediaType) Error() string
- func (o *DeleteListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *DeleteListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteListingsItemUnsupportedMediaType) String() string
- type PatchListingsItemBadRequest
- func (o *PatchListingsItemBadRequest) Error() string
- func (o *PatchListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemBadRequest) IsClientError() bool
- func (o *PatchListingsItemBadRequest) IsCode(code int) bool
- func (o *PatchListingsItemBadRequest) IsRedirect() bool
- func (o *PatchListingsItemBadRequest) IsServerError() bool
- func (o *PatchListingsItemBadRequest) IsSuccess() bool
- func (o *PatchListingsItemBadRequest) String() string
- type PatchListingsItemForbidden
- func (o *PatchListingsItemForbidden) Error() string
- func (o *PatchListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemForbidden) IsClientError() bool
- func (o *PatchListingsItemForbidden) IsCode(code int) bool
- func (o *PatchListingsItemForbidden) IsRedirect() bool
- func (o *PatchListingsItemForbidden) IsServerError() bool
- func (o *PatchListingsItemForbidden) IsSuccess() bool
- func (o *PatchListingsItemForbidden) String() string
- type PatchListingsItemInternalServerError
- func (o *PatchListingsItemInternalServerError) Error() string
- func (o *PatchListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemInternalServerError) IsClientError() bool
- func (o *PatchListingsItemInternalServerError) IsCode(code int) bool
- func (o *PatchListingsItemInternalServerError) IsRedirect() bool
- func (o *PatchListingsItemInternalServerError) IsServerError() bool
- func (o *PatchListingsItemInternalServerError) IsSuccess() bool
- func (o *PatchListingsItemInternalServerError) String() string
- type PatchListingsItemOK
- func (o *PatchListingsItemOK) Error() string
- func (o *PatchListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
- func (o *PatchListingsItemOK) IsClientError() bool
- func (o *PatchListingsItemOK) IsCode(code int) bool
- func (o *PatchListingsItemOK) IsRedirect() bool
- func (o *PatchListingsItemOK) IsServerError() bool
- func (o *PatchListingsItemOK) IsSuccess() bool
- func (o *PatchListingsItemOK) String() string
- type PatchListingsItemParams
- func NewPatchListingsItemParams() *PatchListingsItemParams
- func NewPatchListingsItemParamsWithContext(ctx context.Context) *PatchListingsItemParams
- func NewPatchListingsItemParamsWithHTTPClient(client *http.Client) *PatchListingsItemParams
- func NewPatchListingsItemParamsWithTimeout(timeout time.Duration) *PatchListingsItemParams
- func (o *PatchListingsItemParams) SetBody(body *listings_items_2020_09_01_models.ListingsItemPatchRequest)
- func (o *PatchListingsItemParams) SetContext(ctx context.Context)
- func (o *PatchListingsItemParams) SetDefaults()
- func (o *PatchListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *PatchListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *PatchListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *PatchListingsItemParams) SetSellerID(sellerID string)
- func (o *PatchListingsItemParams) SetSku(sku string)
- func (o *PatchListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *PatchListingsItemParams) WithBody(body *listings_items_2020_09_01_models.ListingsItemPatchRequest) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithContext(ctx context.Context) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithDefaults() *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithHTTPClient(client *http.Client) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithIssueLocale(issueLocale *string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithSellerID(sellerID string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithSku(sku string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithTimeout(timeout time.Duration) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchListingsItemReader
- type PatchListingsItemRequestEntityTooLarge
- func (o *PatchListingsItemRequestEntityTooLarge) Error() string
- func (o *PatchListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchListingsItemRequestEntityTooLarge) String() string
- type PatchListingsItemServiceUnavailable
- func (o *PatchListingsItemServiceUnavailable) Error() string
- func (o *PatchListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemServiceUnavailable) IsClientError() bool
- func (o *PatchListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *PatchListingsItemServiceUnavailable) IsRedirect() bool
- func (o *PatchListingsItemServiceUnavailable) IsServerError() bool
- func (o *PatchListingsItemServiceUnavailable) IsSuccess() bool
- func (o *PatchListingsItemServiceUnavailable) String() string
- type PatchListingsItemTooManyRequests
- func (o *PatchListingsItemTooManyRequests) Error() string
- func (o *PatchListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemTooManyRequests) IsClientError() bool
- func (o *PatchListingsItemTooManyRequests) IsCode(code int) bool
- func (o *PatchListingsItemTooManyRequests) IsRedirect() bool
- func (o *PatchListingsItemTooManyRequests) IsServerError() bool
- func (o *PatchListingsItemTooManyRequests) IsSuccess() bool
- func (o *PatchListingsItemTooManyRequests) String() string
- type PatchListingsItemUnsupportedMediaType
- func (o *PatchListingsItemUnsupportedMediaType) Error() string
- func (o *PatchListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PatchListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *PatchListingsItemUnsupportedMediaType) String() string
- type PutListingsItemBadRequest
- func (o *PutListingsItemBadRequest) Error() string
- func (o *PutListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemBadRequest) IsClientError() bool
- func (o *PutListingsItemBadRequest) IsCode(code int) bool
- func (o *PutListingsItemBadRequest) IsRedirect() bool
- func (o *PutListingsItemBadRequest) IsServerError() bool
- func (o *PutListingsItemBadRequest) IsSuccess() bool
- func (o *PutListingsItemBadRequest) String() string
- type PutListingsItemForbidden
- func (o *PutListingsItemForbidden) Error() string
- func (o *PutListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemForbidden) IsClientError() bool
- func (o *PutListingsItemForbidden) IsCode(code int) bool
- func (o *PutListingsItemForbidden) IsRedirect() bool
- func (o *PutListingsItemForbidden) IsServerError() bool
- func (o *PutListingsItemForbidden) IsSuccess() bool
- func (o *PutListingsItemForbidden) String() string
- type PutListingsItemInternalServerError
- func (o *PutListingsItemInternalServerError) Error() string
- func (o *PutListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemInternalServerError) IsClientError() bool
- func (o *PutListingsItemInternalServerError) IsCode(code int) bool
- func (o *PutListingsItemInternalServerError) IsRedirect() bool
- func (o *PutListingsItemInternalServerError) IsServerError() bool
- func (o *PutListingsItemInternalServerError) IsSuccess() bool
- func (o *PutListingsItemInternalServerError) String() string
- type PutListingsItemOK
- func (o *PutListingsItemOK) Error() string
- func (o *PutListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
- func (o *PutListingsItemOK) IsClientError() bool
- func (o *PutListingsItemOK) IsCode(code int) bool
- func (o *PutListingsItemOK) IsRedirect() bool
- func (o *PutListingsItemOK) IsServerError() bool
- func (o *PutListingsItemOK) IsSuccess() bool
- func (o *PutListingsItemOK) String() string
- type PutListingsItemParams
- func NewPutListingsItemParams() *PutListingsItemParams
- func NewPutListingsItemParamsWithContext(ctx context.Context) *PutListingsItemParams
- func NewPutListingsItemParamsWithHTTPClient(client *http.Client) *PutListingsItemParams
- func NewPutListingsItemParamsWithTimeout(timeout time.Duration) *PutListingsItemParams
- func (o *PutListingsItemParams) SetBody(body *listings_items_2020_09_01_models.ListingsItemPutRequest)
- func (o *PutListingsItemParams) SetContext(ctx context.Context)
- func (o *PutListingsItemParams) SetDefaults()
- func (o *PutListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *PutListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *PutListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *PutListingsItemParams) SetSellerID(sellerID string)
- func (o *PutListingsItemParams) SetSku(sku string)
- func (o *PutListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *PutListingsItemParams) WithBody(body *listings_items_2020_09_01_models.ListingsItemPutRequest) *PutListingsItemParams
- func (o *PutListingsItemParams) WithContext(ctx context.Context) *PutListingsItemParams
- func (o *PutListingsItemParams) WithDefaults() *PutListingsItemParams
- func (o *PutListingsItemParams) WithHTTPClient(client *http.Client) *PutListingsItemParams
- func (o *PutListingsItemParams) WithIssueLocale(issueLocale *string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithSellerID(sellerID string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithSku(sku string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithTimeout(timeout time.Duration) *PutListingsItemParams
- func (o *PutListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutListingsItemReader
- type PutListingsItemRequestEntityTooLarge
- func (o *PutListingsItemRequestEntityTooLarge) Error() string
- func (o *PutListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *PutListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *PutListingsItemRequestEntityTooLarge) String() string
- type PutListingsItemServiceUnavailable
- func (o *PutListingsItemServiceUnavailable) Error() string
- func (o *PutListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemServiceUnavailable) IsClientError() bool
- func (o *PutListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *PutListingsItemServiceUnavailable) IsRedirect() bool
- func (o *PutListingsItemServiceUnavailable) IsServerError() bool
- func (o *PutListingsItemServiceUnavailable) IsSuccess() bool
- func (o *PutListingsItemServiceUnavailable) String() string
- type PutListingsItemTooManyRequests
- func (o *PutListingsItemTooManyRequests) Error() string
- func (o *PutListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemTooManyRequests) IsClientError() bool
- func (o *PutListingsItemTooManyRequests) IsCode(code int) bool
- func (o *PutListingsItemTooManyRequests) IsRedirect() bool
- func (o *PutListingsItemTooManyRequests) IsServerError() bool
- func (o *PutListingsItemTooManyRequests) IsSuccess() bool
- func (o *PutListingsItemTooManyRequests) String() string
- type PutListingsItemUnsupportedMediaType
- func (o *PutListingsItemUnsupportedMediaType) Error() string
- func (o *PutListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
- func (o *PutListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *PutListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *PutListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *PutListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *PutListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *PutListingsItemUnsupportedMediaType) 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 listings API
func (*Client) DeleteListingsItem ¶
func (a *Client) DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error)
DeleteListingsItem Delete a listings item for a selling partner.
**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |
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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) PatchListingsItem ¶
func (a *Client) PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error)
PatchListingsItem Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported.
**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |
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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) PutListingsItem ¶
func (a *Client) PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, error)
PutListingsItem Creates a new or fully-updates an existing listings item for a selling partner.
**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |
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](https://developer-docs.amazon.com/sp-api/docs/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 { DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error) PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error) PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, 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 listings API client.
type DeleteListingsItemBadRequest ¶
type DeleteListingsItemBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewDeleteListingsItemBadRequest ¶
func NewDeleteListingsItemBadRequest() *DeleteListingsItemBadRequest
NewDeleteListingsItemBadRequest creates a DeleteListingsItemBadRequest with default headers values
func (*DeleteListingsItemBadRequest) Error ¶
func (o *DeleteListingsItemBadRequest) Error() string
func (*DeleteListingsItemBadRequest) GetPayload ¶
func (o *DeleteListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemBadRequest) IsClientError ¶
func (o *DeleteListingsItemBadRequest) IsClientError() bool
IsClientError returns true when this delete listings item bad request response has a 4xx status code
func (*DeleteListingsItemBadRequest) IsCode ¶
func (o *DeleteListingsItemBadRequest) IsCode(code int) bool
IsCode returns true when this delete listings item bad request response a status code equal to that given
func (*DeleteListingsItemBadRequest) IsRedirect ¶
func (o *DeleteListingsItemBadRequest) IsRedirect() bool
IsRedirect returns true when this delete listings item bad request response has a 3xx status code
func (*DeleteListingsItemBadRequest) IsServerError ¶
func (o *DeleteListingsItemBadRequest) IsServerError() bool
IsServerError returns true when this delete listings item bad request response has a 5xx status code
func (*DeleteListingsItemBadRequest) IsSuccess ¶
func (o *DeleteListingsItemBadRequest) IsSuccess() bool
IsSuccess returns true when this delete listings item bad request response has a 2xx status code
func (*DeleteListingsItemBadRequest) String ¶
func (o *DeleteListingsItemBadRequest) String() string
type DeleteListingsItemForbidden ¶
type DeleteListingsItemForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemForbidden 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 NewDeleteListingsItemForbidden ¶
func NewDeleteListingsItemForbidden() *DeleteListingsItemForbidden
NewDeleteListingsItemForbidden creates a DeleteListingsItemForbidden with default headers values
func (*DeleteListingsItemForbidden) Error ¶
func (o *DeleteListingsItemForbidden) Error() string
func (*DeleteListingsItemForbidden) GetPayload ¶
func (o *DeleteListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemForbidden) IsClientError ¶
func (o *DeleteListingsItemForbidden) IsClientError() bool
IsClientError returns true when this delete listings item forbidden response has a 4xx status code
func (*DeleteListingsItemForbidden) IsCode ¶
func (o *DeleteListingsItemForbidden) IsCode(code int) bool
IsCode returns true when this delete listings item forbidden response a status code equal to that given
func (*DeleteListingsItemForbidden) IsRedirect ¶
func (o *DeleteListingsItemForbidden) IsRedirect() bool
IsRedirect returns true when this delete listings item forbidden response has a 3xx status code
func (*DeleteListingsItemForbidden) IsServerError ¶
func (o *DeleteListingsItemForbidden) IsServerError() bool
IsServerError returns true when this delete listings item forbidden response has a 5xx status code
func (*DeleteListingsItemForbidden) IsSuccess ¶
func (o *DeleteListingsItemForbidden) IsSuccess() bool
IsSuccess returns true when this delete listings item forbidden response has a 2xx status code
func (*DeleteListingsItemForbidden) String ¶
func (o *DeleteListingsItemForbidden) String() string
type DeleteListingsItemInternalServerError ¶
type DeleteListingsItemInternalServerError 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 *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewDeleteListingsItemInternalServerError ¶
func NewDeleteListingsItemInternalServerError() *DeleteListingsItemInternalServerError
NewDeleteListingsItemInternalServerError creates a DeleteListingsItemInternalServerError with default headers values
func (*DeleteListingsItemInternalServerError) Error ¶
func (o *DeleteListingsItemInternalServerError) Error() string
func (*DeleteListingsItemInternalServerError) GetPayload ¶
func (o *DeleteListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemInternalServerError) IsClientError ¶
func (o *DeleteListingsItemInternalServerError) IsClientError() bool
IsClientError returns true when this delete listings item internal server error response has a 4xx status code
func (*DeleteListingsItemInternalServerError) IsCode ¶
func (o *DeleteListingsItemInternalServerError) IsCode(code int) bool
IsCode returns true when this delete listings item internal server error response a status code equal to that given
func (*DeleteListingsItemInternalServerError) IsRedirect ¶
func (o *DeleteListingsItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete listings item internal server error response has a 3xx status code
func (*DeleteListingsItemInternalServerError) IsServerError ¶
func (o *DeleteListingsItemInternalServerError) IsServerError() bool
IsServerError returns true when this delete listings item internal server error response has a 5xx status code
func (*DeleteListingsItemInternalServerError) IsSuccess ¶
func (o *DeleteListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete listings item internal server error response has a 2xx status code
func (*DeleteListingsItemInternalServerError) String ¶
func (o *DeleteListingsItemInternalServerError) String() string
type DeleteListingsItemOK ¶
type DeleteListingsItemOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ListingsItemSubmissionResponse }
DeleteListingsItemOK describes a response with status code 200, with default header values.
Successfully understood the listings item delete request. See the response to determine whether the submission has been accepted.
func NewDeleteListingsItemOK ¶
func NewDeleteListingsItemOK() *DeleteListingsItemOK
NewDeleteListingsItemOK creates a DeleteListingsItemOK with default headers values
func (*DeleteListingsItemOK) Error ¶
func (o *DeleteListingsItemOK) Error() string
func (*DeleteListingsItemOK) GetPayload ¶
func (o *DeleteListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
func (*DeleteListingsItemOK) IsClientError ¶
func (o *DeleteListingsItemOK) IsClientError() bool
IsClientError returns true when this delete listings item o k response has a 4xx status code
func (*DeleteListingsItemOK) IsCode ¶
func (o *DeleteListingsItemOK) IsCode(code int) bool
IsCode returns true when this delete listings item o k response a status code equal to that given
func (*DeleteListingsItemOK) IsRedirect ¶
func (o *DeleteListingsItemOK) IsRedirect() bool
IsRedirect returns true when this delete listings item o k response has a 3xx status code
func (*DeleteListingsItemOK) IsServerError ¶
func (o *DeleteListingsItemOK) IsServerError() bool
IsServerError returns true when this delete listings item o k response has a 5xx status code
func (*DeleteListingsItemOK) IsSuccess ¶
func (o *DeleteListingsItemOK) IsSuccess() bool
IsSuccess returns true when this delete listings item o k response has a 2xx status code
func (*DeleteListingsItemOK) String ¶
func (o *DeleteListingsItemOK) String() string
type DeleteListingsItemParams ¶
type DeleteListingsItemParams struct { /* IssueLocale. A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a localization is not available in the specified locale. */ IssueLocale *string /* MarketplaceIds. A comma-delimited list of Amazon marketplace identifiers for the request. */ MarketplaceIds []string /* SellerID. A selling partner identifier, such as a merchant account or vendor code. */ SellerID string /* Sku. A selling partner provided identifier for an Amazon listing. */ Sku string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteListingsItemParams contains all the parameters to send to the API endpoint
for the delete listings item operation. Typically these are written to a http.Request.
func NewDeleteListingsItemParams ¶
func NewDeleteListingsItemParams() *DeleteListingsItemParams
NewDeleteListingsItemParams creates a new DeleteListingsItemParams 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 NewDeleteListingsItemParamsWithContext ¶
func NewDeleteListingsItemParamsWithContext(ctx context.Context) *DeleteListingsItemParams
NewDeleteListingsItemParamsWithContext creates a new DeleteListingsItemParams object with the ability to set a context for a request.
func NewDeleteListingsItemParamsWithHTTPClient ¶
func NewDeleteListingsItemParamsWithHTTPClient(client *http.Client) *DeleteListingsItemParams
NewDeleteListingsItemParamsWithHTTPClient creates a new DeleteListingsItemParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteListingsItemParamsWithTimeout ¶
func NewDeleteListingsItemParamsWithTimeout(timeout time.Duration) *DeleteListingsItemParams
NewDeleteListingsItemParamsWithTimeout creates a new DeleteListingsItemParams object with the ability to set a timeout on a request.
func (*DeleteListingsItemParams) SetContext ¶
func (o *DeleteListingsItemParams) SetContext(ctx context.Context)
SetContext adds the context to the delete listings item params
func (*DeleteListingsItemParams) SetDefaults ¶
func (o *DeleteListingsItemParams) SetDefaults()
SetDefaults hydrates default values in the delete listings item params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteListingsItemParams) SetHTTPClient ¶
func (o *DeleteListingsItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete listings item params
func (*DeleteListingsItemParams) SetIssueLocale ¶
func (o *DeleteListingsItemParams) SetIssueLocale(issueLocale *string)
SetIssueLocale adds the issueLocale to the delete listings item params
func (*DeleteListingsItemParams) SetMarketplaceIds ¶
func (o *DeleteListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
SetMarketplaceIds adds the marketplaceIds to the delete listings item params
func (*DeleteListingsItemParams) SetSellerID ¶
func (o *DeleteListingsItemParams) SetSellerID(sellerID string)
SetSellerID adds the sellerId to the delete listings item params
func (*DeleteListingsItemParams) SetSku ¶
func (o *DeleteListingsItemParams) SetSku(sku string)
SetSku adds the sku to the delete listings item params
func (*DeleteListingsItemParams) SetTimeout ¶
func (o *DeleteListingsItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete listings item params
func (*DeleteListingsItemParams) WithContext ¶
func (o *DeleteListingsItemParams) WithContext(ctx context.Context) *DeleteListingsItemParams
WithContext adds the context to the delete listings item params
func (*DeleteListingsItemParams) WithDefaults ¶
func (o *DeleteListingsItemParams) WithDefaults() *DeleteListingsItemParams
WithDefaults hydrates default values in the delete listings item params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteListingsItemParams) WithHTTPClient ¶
func (o *DeleteListingsItemParams) WithHTTPClient(client *http.Client) *DeleteListingsItemParams
WithHTTPClient adds the HTTPClient to the delete listings item params
func (*DeleteListingsItemParams) WithIssueLocale ¶
func (o *DeleteListingsItemParams) WithIssueLocale(issueLocale *string) *DeleteListingsItemParams
WithIssueLocale adds the issueLocale to the delete listings item params
func (*DeleteListingsItemParams) WithMarketplaceIds ¶
func (o *DeleteListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *DeleteListingsItemParams
WithMarketplaceIds adds the marketplaceIds to the delete listings item params
func (*DeleteListingsItemParams) WithSellerID ¶
func (o *DeleteListingsItemParams) WithSellerID(sellerID string) *DeleteListingsItemParams
WithSellerID adds the sellerID to the delete listings item params
func (*DeleteListingsItemParams) WithSku ¶
func (o *DeleteListingsItemParams) WithSku(sku string) *DeleteListingsItemParams
WithSku adds the sku to the delete listings item params
func (*DeleteListingsItemParams) WithTimeout ¶
func (o *DeleteListingsItemParams) WithTimeout(timeout time.Duration) *DeleteListingsItemParams
WithTimeout adds the timeout to the delete listings item params
func (*DeleteListingsItemParams) WriteToRequest ¶
func (o *DeleteListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteListingsItemReader ¶
type DeleteListingsItemReader struct {
// contains filtered or unexported fields
}
DeleteListingsItemReader is a Reader for the DeleteListingsItem structure.
func (*DeleteListingsItemReader) ReadResponse ¶
func (o *DeleteListingsItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteListingsItemRequestEntityTooLarge ¶
type DeleteListingsItemRequestEntityTooLarge 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 *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewDeleteListingsItemRequestEntityTooLarge ¶
func NewDeleteListingsItemRequestEntityTooLarge() *DeleteListingsItemRequestEntityTooLarge
NewDeleteListingsItemRequestEntityTooLarge creates a DeleteListingsItemRequestEntityTooLarge with default headers values
func (*DeleteListingsItemRequestEntityTooLarge) Error ¶
func (o *DeleteListingsItemRequestEntityTooLarge) Error() string
func (*DeleteListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *DeleteListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemRequestEntityTooLarge) IsClientError ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this delete listings item request entity too large response has a 4xx status code
func (*DeleteListingsItemRequestEntityTooLarge) IsCode ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete listings item request entity too large response a status code equal to that given
func (*DeleteListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this delete listings item request entity too large response has a 3xx status code
func (*DeleteListingsItemRequestEntityTooLarge) IsServerError ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this delete listings item request entity too large response has a 5xx status code
func (*DeleteListingsItemRequestEntityTooLarge) IsSuccess ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete listings item request entity too large response has a 2xx status code
func (*DeleteListingsItemRequestEntityTooLarge) String ¶
func (o *DeleteListingsItemRequestEntityTooLarge) String() string
type DeleteListingsItemServiceUnavailable ¶
type DeleteListingsItemServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
DeleteListingsItemServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewDeleteListingsItemServiceUnavailable ¶
func NewDeleteListingsItemServiceUnavailable() *DeleteListingsItemServiceUnavailable
NewDeleteListingsItemServiceUnavailable creates a DeleteListingsItemServiceUnavailable with default headers values
func (*DeleteListingsItemServiceUnavailable) Error ¶
func (o *DeleteListingsItemServiceUnavailable) Error() string
func (*DeleteListingsItemServiceUnavailable) GetPayload ¶
func (o *DeleteListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemServiceUnavailable) IsClientError ¶
func (o *DeleteListingsItemServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete listings item service unavailable response has a 4xx status code
func (*DeleteListingsItemServiceUnavailable) IsCode ¶
func (o *DeleteListingsItemServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete listings item service unavailable response a status code equal to that given
func (*DeleteListingsItemServiceUnavailable) IsRedirect ¶
func (o *DeleteListingsItemServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete listings item service unavailable response has a 3xx status code
func (*DeleteListingsItemServiceUnavailable) IsServerError ¶
func (o *DeleteListingsItemServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete listings item service unavailable response has a 5xx status code
func (*DeleteListingsItemServiceUnavailable) IsSuccess ¶
func (o *DeleteListingsItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete listings item service unavailable response has a 2xx status code
func (*DeleteListingsItemServiceUnavailable) String ¶
func (o *DeleteListingsItemServiceUnavailable) String() string
type DeleteListingsItemTooManyRequests ¶
type DeleteListingsItemTooManyRequests 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 *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewDeleteListingsItemTooManyRequests ¶
func NewDeleteListingsItemTooManyRequests() *DeleteListingsItemTooManyRequests
NewDeleteListingsItemTooManyRequests creates a DeleteListingsItemTooManyRequests with default headers values
func (*DeleteListingsItemTooManyRequests) Error ¶
func (o *DeleteListingsItemTooManyRequests) Error() string
func (*DeleteListingsItemTooManyRequests) GetPayload ¶
func (o *DeleteListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemTooManyRequests) IsClientError ¶
func (o *DeleteListingsItemTooManyRequests) IsClientError() bool
IsClientError returns true when this delete listings item too many requests response has a 4xx status code
func (*DeleteListingsItemTooManyRequests) IsCode ¶
func (o *DeleteListingsItemTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete listings item too many requests response a status code equal to that given
func (*DeleteListingsItemTooManyRequests) IsRedirect ¶
func (o *DeleteListingsItemTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete listings item too many requests response has a 3xx status code
func (*DeleteListingsItemTooManyRequests) IsServerError ¶
func (o *DeleteListingsItemTooManyRequests) IsServerError() bool
IsServerError returns true when this delete listings item too many requests response has a 5xx status code
func (*DeleteListingsItemTooManyRequests) IsSuccess ¶
func (o *DeleteListingsItemTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete listings item too many requests response has a 2xx status code
func (*DeleteListingsItemTooManyRequests) String ¶
func (o *DeleteListingsItemTooManyRequests) String() string
type DeleteListingsItemUnsupportedMediaType ¶
type DeleteListingsItemUnsupportedMediaType 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 *listings_items_2020_09_01_models.ErrorList }
DeleteListingsItemUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewDeleteListingsItemUnsupportedMediaType ¶
func NewDeleteListingsItemUnsupportedMediaType() *DeleteListingsItemUnsupportedMediaType
NewDeleteListingsItemUnsupportedMediaType creates a DeleteListingsItemUnsupportedMediaType with default headers values
func (*DeleteListingsItemUnsupportedMediaType) Error ¶
func (o *DeleteListingsItemUnsupportedMediaType) Error() string
func (*DeleteListingsItemUnsupportedMediaType) GetPayload ¶
func (o *DeleteListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*DeleteListingsItemUnsupportedMediaType) IsClientError ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this delete listings item unsupported media type response has a 4xx status code
func (*DeleteListingsItemUnsupportedMediaType) IsCode ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete listings item unsupported media type response a status code equal to that given
func (*DeleteListingsItemUnsupportedMediaType) IsRedirect ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this delete listings item unsupported media type response has a 3xx status code
func (*DeleteListingsItemUnsupportedMediaType) IsServerError ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this delete listings item unsupported media type response has a 5xx status code
func (*DeleteListingsItemUnsupportedMediaType) IsSuccess ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete listings item unsupported media type response has a 2xx status code
func (*DeleteListingsItemUnsupportedMediaType) String ¶
func (o *DeleteListingsItemUnsupportedMediaType) String() string
type PatchListingsItemBadRequest ¶
type PatchListingsItemBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewPatchListingsItemBadRequest ¶
func NewPatchListingsItemBadRequest() *PatchListingsItemBadRequest
NewPatchListingsItemBadRequest creates a PatchListingsItemBadRequest with default headers values
func (*PatchListingsItemBadRequest) Error ¶
func (o *PatchListingsItemBadRequest) Error() string
func (*PatchListingsItemBadRequest) GetPayload ¶
func (o *PatchListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemBadRequest) IsClientError ¶
func (o *PatchListingsItemBadRequest) IsClientError() bool
IsClientError returns true when this patch listings item bad request response has a 4xx status code
func (*PatchListingsItemBadRequest) IsCode ¶
func (o *PatchListingsItemBadRequest) IsCode(code int) bool
IsCode returns true when this patch listings item bad request response a status code equal to that given
func (*PatchListingsItemBadRequest) IsRedirect ¶
func (o *PatchListingsItemBadRequest) IsRedirect() bool
IsRedirect returns true when this patch listings item bad request response has a 3xx status code
func (*PatchListingsItemBadRequest) IsServerError ¶
func (o *PatchListingsItemBadRequest) IsServerError() bool
IsServerError returns true when this patch listings item bad request response has a 5xx status code
func (*PatchListingsItemBadRequest) IsSuccess ¶
func (o *PatchListingsItemBadRequest) IsSuccess() bool
IsSuccess returns true when this patch listings item bad request response has a 2xx status code
func (*PatchListingsItemBadRequest) String ¶
func (o *PatchListingsItemBadRequest) String() string
type PatchListingsItemForbidden ¶
type PatchListingsItemForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemForbidden 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 NewPatchListingsItemForbidden ¶
func NewPatchListingsItemForbidden() *PatchListingsItemForbidden
NewPatchListingsItemForbidden creates a PatchListingsItemForbidden with default headers values
func (*PatchListingsItemForbidden) Error ¶
func (o *PatchListingsItemForbidden) Error() string
func (*PatchListingsItemForbidden) GetPayload ¶
func (o *PatchListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemForbidden) IsClientError ¶
func (o *PatchListingsItemForbidden) IsClientError() bool
IsClientError returns true when this patch listings item forbidden response has a 4xx status code
func (*PatchListingsItemForbidden) IsCode ¶
func (o *PatchListingsItemForbidden) IsCode(code int) bool
IsCode returns true when this patch listings item forbidden response a status code equal to that given
func (*PatchListingsItemForbidden) IsRedirect ¶
func (o *PatchListingsItemForbidden) IsRedirect() bool
IsRedirect returns true when this patch listings item forbidden response has a 3xx status code
func (*PatchListingsItemForbidden) IsServerError ¶
func (o *PatchListingsItemForbidden) IsServerError() bool
IsServerError returns true when this patch listings item forbidden response has a 5xx status code
func (*PatchListingsItemForbidden) IsSuccess ¶
func (o *PatchListingsItemForbidden) IsSuccess() bool
IsSuccess returns true when this patch listings item forbidden response has a 2xx status code
func (*PatchListingsItemForbidden) String ¶
func (o *PatchListingsItemForbidden) String() string
type PatchListingsItemInternalServerError ¶
type PatchListingsItemInternalServerError 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 *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewPatchListingsItemInternalServerError ¶
func NewPatchListingsItemInternalServerError() *PatchListingsItemInternalServerError
NewPatchListingsItemInternalServerError creates a PatchListingsItemInternalServerError with default headers values
func (*PatchListingsItemInternalServerError) Error ¶
func (o *PatchListingsItemInternalServerError) Error() string
func (*PatchListingsItemInternalServerError) GetPayload ¶
func (o *PatchListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemInternalServerError) IsClientError ¶
func (o *PatchListingsItemInternalServerError) IsClientError() bool
IsClientError returns true when this patch listings item internal server error response has a 4xx status code
func (*PatchListingsItemInternalServerError) IsCode ¶
func (o *PatchListingsItemInternalServerError) IsCode(code int) bool
IsCode returns true when this patch listings item internal server error response a status code equal to that given
func (*PatchListingsItemInternalServerError) IsRedirect ¶
func (o *PatchListingsItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this patch listings item internal server error response has a 3xx status code
func (*PatchListingsItemInternalServerError) IsServerError ¶
func (o *PatchListingsItemInternalServerError) IsServerError() bool
IsServerError returns true when this patch listings item internal server error response has a 5xx status code
func (*PatchListingsItemInternalServerError) IsSuccess ¶
func (o *PatchListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch listings item internal server error response has a 2xx status code
func (*PatchListingsItemInternalServerError) String ¶
func (o *PatchListingsItemInternalServerError) String() string
type PatchListingsItemOK ¶
type PatchListingsItemOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ListingsItemSubmissionResponse }
PatchListingsItemOK describes a response with status code 200, with default header values.
Successfully understood the listings item patch request. See the response to determine if the submission was accepted.
func NewPatchListingsItemOK ¶
func NewPatchListingsItemOK() *PatchListingsItemOK
NewPatchListingsItemOK creates a PatchListingsItemOK with default headers values
func (*PatchListingsItemOK) Error ¶
func (o *PatchListingsItemOK) Error() string
func (*PatchListingsItemOK) GetPayload ¶
func (o *PatchListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
func (*PatchListingsItemOK) IsClientError ¶
func (o *PatchListingsItemOK) IsClientError() bool
IsClientError returns true when this patch listings item o k response has a 4xx status code
func (*PatchListingsItemOK) IsCode ¶
func (o *PatchListingsItemOK) IsCode(code int) bool
IsCode returns true when this patch listings item o k response a status code equal to that given
func (*PatchListingsItemOK) IsRedirect ¶
func (o *PatchListingsItemOK) IsRedirect() bool
IsRedirect returns true when this patch listings item o k response has a 3xx status code
func (*PatchListingsItemOK) IsServerError ¶
func (o *PatchListingsItemOK) IsServerError() bool
IsServerError returns true when this patch listings item o k response has a 5xx status code
func (*PatchListingsItemOK) IsSuccess ¶
func (o *PatchListingsItemOK) IsSuccess() bool
IsSuccess returns true when this patch listings item o k response has a 2xx status code
func (*PatchListingsItemOK) String ¶
func (o *PatchListingsItemOK) String() string
type PatchListingsItemParams ¶
type PatchListingsItemParams struct { /* Body. The request body schema for the patchListingsItem operation. */ Body *listings_items_2020_09_01_models.ListingsItemPatchRequest /* IssueLocale. A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a localization is not available in the specified locale. */ IssueLocale *string /* MarketplaceIds. A comma-delimited list of Amazon marketplace identifiers for the request. */ MarketplaceIds []string /* SellerID. A selling partner identifier, such as a merchant account or vendor code. */ SellerID string /* Sku. A selling partner provided identifier for an Amazon listing. */ Sku string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchListingsItemParams contains all the parameters to send to the API endpoint
for the patch listings item operation. Typically these are written to a http.Request.
func NewPatchListingsItemParams ¶
func NewPatchListingsItemParams() *PatchListingsItemParams
NewPatchListingsItemParams creates a new PatchListingsItemParams 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 NewPatchListingsItemParamsWithContext ¶
func NewPatchListingsItemParamsWithContext(ctx context.Context) *PatchListingsItemParams
NewPatchListingsItemParamsWithContext creates a new PatchListingsItemParams object with the ability to set a context for a request.
func NewPatchListingsItemParamsWithHTTPClient ¶
func NewPatchListingsItemParamsWithHTTPClient(client *http.Client) *PatchListingsItemParams
NewPatchListingsItemParamsWithHTTPClient creates a new PatchListingsItemParams object with the ability to set a custom HTTPClient for a request.
func NewPatchListingsItemParamsWithTimeout ¶
func NewPatchListingsItemParamsWithTimeout(timeout time.Duration) *PatchListingsItemParams
NewPatchListingsItemParamsWithTimeout creates a new PatchListingsItemParams object with the ability to set a timeout on a request.
func (*PatchListingsItemParams) SetBody ¶
func (o *PatchListingsItemParams) SetBody(body *listings_items_2020_09_01_models.ListingsItemPatchRequest)
SetBody adds the body to the patch listings item params
func (*PatchListingsItemParams) SetContext ¶
func (o *PatchListingsItemParams) SetContext(ctx context.Context)
SetContext adds the context to the patch listings item params
func (*PatchListingsItemParams) SetDefaults ¶
func (o *PatchListingsItemParams) SetDefaults()
SetDefaults hydrates default values in the patch listings item params (not the query body).
All values with no default are reset to their zero value.
func (*PatchListingsItemParams) SetHTTPClient ¶
func (o *PatchListingsItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch listings item params
func (*PatchListingsItemParams) SetIssueLocale ¶
func (o *PatchListingsItemParams) SetIssueLocale(issueLocale *string)
SetIssueLocale adds the issueLocale to the patch listings item params
func (*PatchListingsItemParams) SetMarketplaceIds ¶
func (o *PatchListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
SetMarketplaceIds adds the marketplaceIds to the patch listings item params
func (*PatchListingsItemParams) SetSellerID ¶
func (o *PatchListingsItemParams) SetSellerID(sellerID string)
SetSellerID adds the sellerId to the patch listings item params
func (*PatchListingsItemParams) SetSku ¶
func (o *PatchListingsItemParams) SetSku(sku string)
SetSku adds the sku to the patch listings item params
func (*PatchListingsItemParams) SetTimeout ¶
func (o *PatchListingsItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch listings item params
func (*PatchListingsItemParams) WithBody ¶
func (o *PatchListingsItemParams) WithBody(body *listings_items_2020_09_01_models.ListingsItemPatchRequest) *PatchListingsItemParams
WithBody adds the body to the patch listings item params
func (*PatchListingsItemParams) WithContext ¶
func (o *PatchListingsItemParams) WithContext(ctx context.Context) *PatchListingsItemParams
WithContext adds the context to the patch listings item params
func (*PatchListingsItemParams) WithDefaults ¶
func (o *PatchListingsItemParams) WithDefaults() *PatchListingsItemParams
WithDefaults hydrates default values in the patch listings item params (not the query body).
All values with no default are reset to their zero value.
func (*PatchListingsItemParams) WithHTTPClient ¶
func (o *PatchListingsItemParams) WithHTTPClient(client *http.Client) *PatchListingsItemParams
WithHTTPClient adds the HTTPClient to the patch listings item params
func (*PatchListingsItemParams) WithIssueLocale ¶
func (o *PatchListingsItemParams) WithIssueLocale(issueLocale *string) *PatchListingsItemParams
WithIssueLocale adds the issueLocale to the patch listings item params
func (*PatchListingsItemParams) WithMarketplaceIds ¶
func (o *PatchListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PatchListingsItemParams
WithMarketplaceIds adds the marketplaceIds to the patch listings item params
func (*PatchListingsItemParams) WithSellerID ¶
func (o *PatchListingsItemParams) WithSellerID(sellerID string) *PatchListingsItemParams
WithSellerID adds the sellerID to the patch listings item params
func (*PatchListingsItemParams) WithSku ¶
func (o *PatchListingsItemParams) WithSku(sku string) *PatchListingsItemParams
WithSku adds the sku to the patch listings item params
func (*PatchListingsItemParams) WithTimeout ¶
func (o *PatchListingsItemParams) WithTimeout(timeout time.Duration) *PatchListingsItemParams
WithTimeout adds the timeout to the patch listings item params
func (*PatchListingsItemParams) WriteToRequest ¶
func (o *PatchListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchListingsItemReader ¶
type PatchListingsItemReader struct {
// contains filtered or unexported fields
}
PatchListingsItemReader is a Reader for the PatchListingsItem structure.
func (*PatchListingsItemReader) ReadResponse ¶
func (o *PatchListingsItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchListingsItemRequestEntityTooLarge ¶
type PatchListingsItemRequestEntityTooLarge 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 *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewPatchListingsItemRequestEntityTooLarge ¶
func NewPatchListingsItemRequestEntityTooLarge() *PatchListingsItemRequestEntityTooLarge
NewPatchListingsItemRequestEntityTooLarge creates a PatchListingsItemRequestEntityTooLarge with default headers values
func (*PatchListingsItemRequestEntityTooLarge) Error ¶
func (o *PatchListingsItemRequestEntityTooLarge) Error() string
func (*PatchListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *PatchListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemRequestEntityTooLarge) IsClientError ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this patch listings item request entity too large response has a 4xx status code
func (*PatchListingsItemRequestEntityTooLarge) IsCode ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch listings item request entity too large response a status code equal to that given
func (*PatchListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this patch listings item request entity too large response has a 3xx status code
func (*PatchListingsItemRequestEntityTooLarge) IsServerError ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this patch listings item request entity too large response has a 5xx status code
func (*PatchListingsItemRequestEntityTooLarge) IsSuccess ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch listings item request entity too large response has a 2xx status code
func (*PatchListingsItemRequestEntityTooLarge) String ¶
func (o *PatchListingsItemRequestEntityTooLarge) String() string
type PatchListingsItemServiceUnavailable ¶
type PatchListingsItemServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
PatchListingsItemServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewPatchListingsItemServiceUnavailable ¶
func NewPatchListingsItemServiceUnavailable() *PatchListingsItemServiceUnavailable
NewPatchListingsItemServiceUnavailable creates a PatchListingsItemServiceUnavailable with default headers values
func (*PatchListingsItemServiceUnavailable) Error ¶
func (o *PatchListingsItemServiceUnavailable) Error() string
func (*PatchListingsItemServiceUnavailable) GetPayload ¶
func (o *PatchListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemServiceUnavailable) IsClientError ¶
func (o *PatchListingsItemServiceUnavailable) IsClientError() bool
IsClientError returns true when this patch listings item service unavailable response has a 4xx status code
func (*PatchListingsItemServiceUnavailable) IsCode ¶
func (o *PatchListingsItemServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch listings item service unavailable response a status code equal to that given
func (*PatchListingsItemServiceUnavailable) IsRedirect ¶
func (o *PatchListingsItemServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this patch listings item service unavailable response has a 3xx status code
func (*PatchListingsItemServiceUnavailable) IsServerError ¶
func (o *PatchListingsItemServiceUnavailable) IsServerError() bool
IsServerError returns true when this patch listings item service unavailable response has a 5xx status code
func (*PatchListingsItemServiceUnavailable) IsSuccess ¶
func (o *PatchListingsItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch listings item service unavailable response has a 2xx status code
func (*PatchListingsItemServiceUnavailable) String ¶
func (o *PatchListingsItemServiceUnavailable) String() string
type PatchListingsItemTooManyRequests ¶
type PatchListingsItemTooManyRequests 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 *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewPatchListingsItemTooManyRequests ¶
func NewPatchListingsItemTooManyRequests() *PatchListingsItemTooManyRequests
NewPatchListingsItemTooManyRequests creates a PatchListingsItemTooManyRequests with default headers values
func (*PatchListingsItemTooManyRequests) Error ¶
func (o *PatchListingsItemTooManyRequests) Error() string
func (*PatchListingsItemTooManyRequests) GetPayload ¶
func (o *PatchListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemTooManyRequests) IsClientError ¶
func (o *PatchListingsItemTooManyRequests) IsClientError() bool
IsClientError returns true when this patch listings item too many requests response has a 4xx status code
func (*PatchListingsItemTooManyRequests) IsCode ¶
func (o *PatchListingsItemTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch listings item too many requests response a status code equal to that given
func (*PatchListingsItemTooManyRequests) IsRedirect ¶
func (o *PatchListingsItemTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch listings item too many requests response has a 3xx status code
func (*PatchListingsItemTooManyRequests) IsServerError ¶
func (o *PatchListingsItemTooManyRequests) IsServerError() bool
IsServerError returns true when this patch listings item too many requests response has a 5xx status code
func (*PatchListingsItemTooManyRequests) IsSuccess ¶
func (o *PatchListingsItemTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch listings item too many requests response has a 2xx status code
func (*PatchListingsItemTooManyRequests) String ¶
func (o *PatchListingsItemTooManyRequests) String() string
type PatchListingsItemUnsupportedMediaType ¶
type PatchListingsItemUnsupportedMediaType 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 *listings_items_2020_09_01_models.ErrorList }
PatchListingsItemUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewPatchListingsItemUnsupportedMediaType ¶
func NewPatchListingsItemUnsupportedMediaType() *PatchListingsItemUnsupportedMediaType
NewPatchListingsItemUnsupportedMediaType creates a PatchListingsItemUnsupportedMediaType with default headers values
func (*PatchListingsItemUnsupportedMediaType) Error ¶
func (o *PatchListingsItemUnsupportedMediaType) Error() string
func (*PatchListingsItemUnsupportedMediaType) GetPayload ¶
func (o *PatchListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PatchListingsItemUnsupportedMediaType) IsClientError ¶
func (o *PatchListingsItemUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this patch listings item unsupported media type response has a 4xx status code
func (*PatchListingsItemUnsupportedMediaType) IsCode ¶
func (o *PatchListingsItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch listings item unsupported media type response a status code equal to that given
func (*PatchListingsItemUnsupportedMediaType) IsRedirect ¶
func (o *PatchListingsItemUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this patch listings item unsupported media type response has a 3xx status code
func (*PatchListingsItemUnsupportedMediaType) IsServerError ¶
func (o *PatchListingsItemUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this patch listings item unsupported media type response has a 5xx status code
func (*PatchListingsItemUnsupportedMediaType) IsSuccess ¶
func (o *PatchListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch listings item unsupported media type response has a 2xx status code
func (*PatchListingsItemUnsupportedMediaType) String ¶
func (o *PatchListingsItemUnsupportedMediaType) String() string
type PutListingsItemBadRequest ¶
type PutListingsItemBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
PutListingsItemBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewPutListingsItemBadRequest ¶
func NewPutListingsItemBadRequest() *PutListingsItemBadRequest
NewPutListingsItemBadRequest creates a PutListingsItemBadRequest with default headers values
func (*PutListingsItemBadRequest) Error ¶
func (o *PutListingsItemBadRequest) Error() string
func (*PutListingsItemBadRequest) GetPayload ¶
func (o *PutListingsItemBadRequest) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemBadRequest) IsClientError ¶
func (o *PutListingsItemBadRequest) IsClientError() bool
IsClientError returns true when this put listings item bad request response has a 4xx status code
func (*PutListingsItemBadRequest) IsCode ¶
func (o *PutListingsItemBadRequest) IsCode(code int) bool
IsCode returns true when this put listings item bad request response a status code equal to that given
func (*PutListingsItemBadRequest) IsRedirect ¶
func (o *PutListingsItemBadRequest) IsRedirect() bool
IsRedirect returns true when this put listings item bad request response has a 3xx status code
func (*PutListingsItemBadRequest) IsServerError ¶
func (o *PutListingsItemBadRequest) IsServerError() bool
IsServerError returns true when this put listings item bad request response has a 5xx status code
func (*PutListingsItemBadRequest) IsSuccess ¶
func (o *PutListingsItemBadRequest) IsSuccess() bool
IsSuccess returns true when this put listings item bad request response has a 2xx status code
func (*PutListingsItemBadRequest) String ¶
func (o *PutListingsItemBadRequest) String() string
type PutListingsItemForbidden ¶
type PutListingsItemForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ErrorList }
PutListingsItemForbidden 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 NewPutListingsItemForbidden ¶
func NewPutListingsItemForbidden() *PutListingsItemForbidden
NewPutListingsItemForbidden creates a PutListingsItemForbidden with default headers values
func (*PutListingsItemForbidden) Error ¶
func (o *PutListingsItemForbidden) Error() string
func (*PutListingsItemForbidden) GetPayload ¶
func (o *PutListingsItemForbidden) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemForbidden) IsClientError ¶
func (o *PutListingsItemForbidden) IsClientError() bool
IsClientError returns true when this put listings item forbidden response has a 4xx status code
func (*PutListingsItemForbidden) IsCode ¶
func (o *PutListingsItemForbidden) IsCode(code int) bool
IsCode returns true when this put listings item forbidden response a status code equal to that given
func (*PutListingsItemForbidden) IsRedirect ¶
func (o *PutListingsItemForbidden) IsRedirect() bool
IsRedirect returns true when this put listings item forbidden response has a 3xx status code
func (*PutListingsItemForbidden) IsServerError ¶
func (o *PutListingsItemForbidden) IsServerError() bool
IsServerError returns true when this put listings item forbidden response has a 5xx status code
func (*PutListingsItemForbidden) IsSuccess ¶
func (o *PutListingsItemForbidden) IsSuccess() bool
IsSuccess returns true when this put listings item forbidden response has a 2xx status code
func (*PutListingsItemForbidden) String ¶
func (o *PutListingsItemForbidden) String() string
type PutListingsItemInternalServerError ¶
type PutListingsItemInternalServerError 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 *listings_items_2020_09_01_models.ErrorList }
PutListingsItemInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewPutListingsItemInternalServerError ¶
func NewPutListingsItemInternalServerError() *PutListingsItemInternalServerError
NewPutListingsItemInternalServerError creates a PutListingsItemInternalServerError with default headers values
func (*PutListingsItemInternalServerError) Error ¶
func (o *PutListingsItemInternalServerError) Error() string
func (*PutListingsItemInternalServerError) GetPayload ¶
func (o *PutListingsItemInternalServerError) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemInternalServerError) IsClientError ¶
func (o *PutListingsItemInternalServerError) IsClientError() bool
IsClientError returns true when this put listings item internal server error response has a 4xx status code
func (*PutListingsItemInternalServerError) IsCode ¶
func (o *PutListingsItemInternalServerError) IsCode(code int) bool
IsCode returns true when this put listings item internal server error response a status code equal to that given
func (*PutListingsItemInternalServerError) IsRedirect ¶
func (o *PutListingsItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this put listings item internal server error response has a 3xx status code
func (*PutListingsItemInternalServerError) IsServerError ¶
func (o *PutListingsItemInternalServerError) IsServerError() bool
IsServerError returns true when this put listings item internal server error response has a 5xx status code
func (*PutListingsItemInternalServerError) IsSuccess ¶
func (o *PutListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this put listings item internal server error response has a 2xx status code
func (*PutListingsItemInternalServerError) String ¶
func (o *PutListingsItemInternalServerError) String() string
type PutListingsItemOK ¶
type PutListingsItemOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *listings_items_2020_09_01_models.ListingsItemSubmissionResponse }
PutListingsItemOK describes a response with status code 200, with default header values.
Successfully understood the request to create or fully-update a listings item. See the response to determine if the submission has been accepted.
func NewPutListingsItemOK ¶
func NewPutListingsItemOK() *PutListingsItemOK
NewPutListingsItemOK creates a PutListingsItemOK with default headers values
func (*PutListingsItemOK) Error ¶
func (o *PutListingsItemOK) Error() string
func (*PutListingsItemOK) GetPayload ¶
func (o *PutListingsItemOK) GetPayload() *listings_items_2020_09_01_models.ListingsItemSubmissionResponse
func (*PutListingsItemOK) IsClientError ¶
func (o *PutListingsItemOK) IsClientError() bool
IsClientError returns true when this put listings item o k response has a 4xx status code
func (*PutListingsItemOK) IsCode ¶
func (o *PutListingsItemOK) IsCode(code int) bool
IsCode returns true when this put listings item o k response a status code equal to that given
func (*PutListingsItemOK) IsRedirect ¶
func (o *PutListingsItemOK) IsRedirect() bool
IsRedirect returns true when this put listings item o k response has a 3xx status code
func (*PutListingsItemOK) IsServerError ¶
func (o *PutListingsItemOK) IsServerError() bool
IsServerError returns true when this put listings item o k response has a 5xx status code
func (*PutListingsItemOK) IsSuccess ¶
func (o *PutListingsItemOK) IsSuccess() bool
IsSuccess returns true when this put listings item o k response has a 2xx status code
func (*PutListingsItemOK) String ¶
func (o *PutListingsItemOK) String() string
type PutListingsItemParams ¶
type PutListingsItemParams struct { /* Body. The request body schema for the putListingsItem operation. */ Body *listings_items_2020_09_01_models.ListingsItemPutRequest /* IssueLocale. A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a localization is not available in the specified locale. */ IssueLocale *string /* MarketplaceIds. A comma-delimited list of Amazon marketplace identifiers for the request. */ MarketplaceIds []string /* SellerID. A selling partner identifier, such as a merchant account or vendor code. */ SellerID string /* Sku. A selling partner provided identifier for an Amazon listing. */ Sku string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutListingsItemParams contains all the parameters to send to the API endpoint
for the put listings item operation. Typically these are written to a http.Request.
func NewPutListingsItemParams ¶
func NewPutListingsItemParams() *PutListingsItemParams
NewPutListingsItemParams creates a new PutListingsItemParams 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 NewPutListingsItemParamsWithContext ¶
func NewPutListingsItemParamsWithContext(ctx context.Context) *PutListingsItemParams
NewPutListingsItemParamsWithContext creates a new PutListingsItemParams object with the ability to set a context for a request.
func NewPutListingsItemParamsWithHTTPClient ¶
func NewPutListingsItemParamsWithHTTPClient(client *http.Client) *PutListingsItemParams
NewPutListingsItemParamsWithHTTPClient creates a new PutListingsItemParams object with the ability to set a custom HTTPClient for a request.
func NewPutListingsItemParamsWithTimeout ¶
func NewPutListingsItemParamsWithTimeout(timeout time.Duration) *PutListingsItemParams
NewPutListingsItemParamsWithTimeout creates a new PutListingsItemParams object with the ability to set a timeout on a request.
func (*PutListingsItemParams) SetBody ¶
func (o *PutListingsItemParams) SetBody(body *listings_items_2020_09_01_models.ListingsItemPutRequest)
SetBody adds the body to the put listings item params
func (*PutListingsItemParams) SetContext ¶
func (o *PutListingsItemParams) SetContext(ctx context.Context)
SetContext adds the context to the put listings item params
func (*PutListingsItemParams) SetDefaults ¶
func (o *PutListingsItemParams) SetDefaults()
SetDefaults hydrates default values in the put listings item params (not the query body).
All values with no default are reset to their zero value.
func (*PutListingsItemParams) SetHTTPClient ¶
func (o *PutListingsItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put listings item params
func (*PutListingsItemParams) SetIssueLocale ¶
func (o *PutListingsItemParams) SetIssueLocale(issueLocale *string)
SetIssueLocale adds the issueLocale to the put listings item params
func (*PutListingsItemParams) SetMarketplaceIds ¶
func (o *PutListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
SetMarketplaceIds adds the marketplaceIds to the put listings item params
func (*PutListingsItemParams) SetSellerID ¶
func (o *PutListingsItemParams) SetSellerID(sellerID string)
SetSellerID adds the sellerId to the put listings item params
func (*PutListingsItemParams) SetSku ¶
func (o *PutListingsItemParams) SetSku(sku string)
SetSku adds the sku to the put listings item params
func (*PutListingsItemParams) SetTimeout ¶
func (o *PutListingsItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put listings item params
func (*PutListingsItemParams) WithBody ¶
func (o *PutListingsItemParams) WithBody(body *listings_items_2020_09_01_models.ListingsItemPutRequest) *PutListingsItemParams
WithBody adds the body to the put listings item params
func (*PutListingsItemParams) WithContext ¶
func (o *PutListingsItemParams) WithContext(ctx context.Context) *PutListingsItemParams
WithContext adds the context to the put listings item params
func (*PutListingsItemParams) WithDefaults ¶
func (o *PutListingsItemParams) WithDefaults() *PutListingsItemParams
WithDefaults hydrates default values in the put listings item params (not the query body).
All values with no default are reset to their zero value.
func (*PutListingsItemParams) WithHTTPClient ¶
func (o *PutListingsItemParams) WithHTTPClient(client *http.Client) *PutListingsItemParams
WithHTTPClient adds the HTTPClient to the put listings item params
func (*PutListingsItemParams) WithIssueLocale ¶
func (o *PutListingsItemParams) WithIssueLocale(issueLocale *string) *PutListingsItemParams
WithIssueLocale adds the issueLocale to the put listings item params
func (*PutListingsItemParams) WithMarketplaceIds ¶
func (o *PutListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PutListingsItemParams
WithMarketplaceIds adds the marketplaceIds to the put listings item params
func (*PutListingsItemParams) WithSellerID ¶
func (o *PutListingsItemParams) WithSellerID(sellerID string) *PutListingsItemParams
WithSellerID adds the sellerID to the put listings item params
func (*PutListingsItemParams) WithSku ¶
func (o *PutListingsItemParams) WithSku(sku string) *PutListingsItemParams
WithSku adds the sku to the put listings item params
func (*PutListingsItemParams) WithTimeout ¶
func (o *PutListingsItemParams) WithTimeout(timeout time.Duration) *PutListingsItemParams
WithTimeout adds the timeout to the put listings item params
func (*PutListingsItemParams) WriteToRequest ¶
func (o *PutListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutListingsItemReader ¶
type PutListingsItemReader struct {
// contains filtered or unexported fields
}
PutListingsItemReader is a Reader for the PutListingsItem structure.
func (*PutListingsItemReader) ReadResponse ¶
func (o *PutListingsItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutListingsItemRequestEntityTooLarge ¶
type PutListingsItemRequestEntityTooLarge 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 *listings_items_2020_09_01_models.ErrorList }
PutListingsItemRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewPutListingsItemRequestEntityTooLarge ¶
func NewPutListingsItemRequestEntityTooLarge() *PutListingsItemRequestEntityTooLarge
NewPutListingsItemRequestEntityTooLarge creates a PutListingsItemRequestEntityTooLarge with default headers values
func (*PutListingsItemRequestEntityTooLarge) Error ¶
func (o *PutListingsItemRequestEntityTooLarge) Error() string
func (*PutListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *PutListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemRequestEntityTooLarge) IsClientError ¶
func (o *PutListingsItemRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this put listings item request entity too large response has a 4xx status code
func (*PutListingsItemRequestEntityTooLarge) IsCode ¶
func (o *PutListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this put listings item request entity too large response a status code equal to that given
func (*PutListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *PutListingsItemRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this put listings item request entity too large response has a 3xx status code
func (*PutListingsItemRequestEntityTooLarge) IsServerError ¶
func (o *PutListingsItemRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this put listings item request entity too large response has a 5xx status code
func (*PutListingsItemRequestEntityTooLarge) IsSuccess ¶
func (o *PutListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this put listings item request entity too large response has a 2xx status code
func (*PutListingsItemRequestEntityTooLarge) String ¶
func (o *PutListingsItemRequestEntityTooLarge) String() string
type PutListingsItemServiceUnavailable ¶
PutListingsItemServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewPutListingsItemServiceUnavailable ¶
func NewPutListingsItemServiceUnavailable() *PutListingsItemServiceUnavailable
NewPutListingsItemServiceUnavailable creates a PutListingsItemServiceUnavailable with default headers values
func (*PutListingsItemServiceUnavailable) Error ¶
func (o *PutListingsItemServiceUnavailable) Error() string
func (*PutListingsItemServiceUnavailable) GetPayload ¶
func (o *PutListingsItemServiceUnavailable) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemServiceUnavailable) IsClientError ¶
func (o *PutListingsItemServiceUnavailable) IsClientError() bool
IsClientError returns true when this put listings item service unavailable response has a 4xx status code
func (*PutListingsItemServiceUnavailable) IsCode ¶
func (o *PutListingsItemServiceUnavailable) IsCode(code int) bool
IsCode returns true when this put listings item service unavailable response a status code equal to that given
func (*PutListingsItemServiceUnavailable) IsRedirect ¶
func (o *PutListingsItemServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this put listings item service unavailable response has a 3xx status code
func (*PutListingsItemServiceUnavailable) IsServerError ¶
func (o *PutListingsItemServiceUnavailable) IsServerError() bool
IsServerError returns true when this put listings item service unavailable response has a 5xx status code
func (*PutListingsItemServiceUnavailable) IsSuccess ¶
func (o *PutListingsItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this put listings item service unavailable response has a 2xx status code
func (*PutListingsItemServiceUnavailable) String ¶
func (o *PutListingsItemServiceUnavailable) String() string
type PutListingsItemTooManyRequests ¶
type PutListingsItemTooManyRequests 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 *listings_items_2020_09_01_models.ErrorList }
PutListingsItemTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewPutListingsItemTooManyRequests ¶
func NewPutListingsItemTooManyRequests() *PutListingsItemTooManyRequests
NewPutListingsItemTooManyRequests creates a PutListingsItemTooManyRequests with default headers values
func (*PutListingsItemTooManyRequests) Error ¶
func (o *PutListingsItemTooManyRequests) Error() string
func (*PutListingsItemTooManyRequests) GetPayload ¶
func (o *PutListingsItemTooManyRequests) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemTooManyRequests) IsClientError ¶
func (o *PutListingsItemTooManyRequests) IsClientError() bool
IsClientError returns true when this put listings item too many requests response has a 4xx status code
func (*PutListingsItemTooManyRequests) IsCode ¶
func (o *PutListingsItemTooManyRequests) IsCode(code int) bool
IsCode returns true when this put listings item too many requests response a status code equal to that given
func (*PutListingsItemTooManyRequests) IsRedirect ¶
func (o *PutListingsItemTooManyRequests) IsRedirect() bool
IsRedirect returns true when this put listings item too many requests response has a 3xx status code
func (*PutListingsItemTooManyRequests) IsServerError ¶
func (o *PutListingsItemTooManyRequests) IsServerError() bool
IsServerError returns true when this put listings item too many requests response has a 5xx status code
func (*PutListingsItemTooManyRequests) IsSuccess ¶
func (o *PutListingsItemTooManyRequests) IsSuccess() bool
IsSuccess returns true when this put listings item too many requests response has a 2xx status code
func (*PutListingsItemTooManyRequests) String ¶
func (o *PutListingsItemTooManyRequests) String() string
type PutListingsItemUnsupportedMediaType ¶
type PutListingsItemUnsupportedMediaType 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 *listings_items_2020_09_01_models.ErrorList }
PutListingsItemUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewPutListingsItemUnsupportedMediaType ¶
func NewPutListingsItemUnsupportedMediaType() *PutListingsItemUnsupportedMediaType
NewPutListingsItemUnsupportedMediaType creates a PutListingsItemUnsupportedMediaType with default headers values
func (*PutListingsItemUnsupportedMediaType) Error ¶
func (o *PutListingsItemUnsupportedMediaType) Error() string
func (*PutListingsItemUnsupportedMediaType) GetPayload ¶
func (o *PutListingsItemUnsupportedMediaType) GetPayload() *listings_items_2020_09_01_models.ErrorList
func (*PutListingsItemUnsupportedMediaType) IsClientError ¶
func (o *PutListingsItemUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this put listings item unsupported media type response has a 4xx status code
func (*PutListingsItemUnsupportedMediaType) IsCode ¶
func (o *PutListingsItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this put listings item unsupported media type response a status code equal to that given
func (*PutListingsItemUnsupportedMediaType) IsRedirect ¶
func (o *PutListingsItemUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this put listings item unsupported media type response has a 3xx status code
func (*PutListingsItemUnsupportedMediaType) IsServerError ¶
func (o *PutListingsItemUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this put listings item unsupported media type response has a 5xx status code
func (*PutListingsItemUnsupportedMediaType) IsSuccess ¶
func (o *PutListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this put listings item unsupported media type response has a 2xx status code
func (*PutListingsItemUnsupportedMediaType) String ¶
func (o *PutListingsItemUnsupportedMediaType) String() string