Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type SubmitInventoryUpdateAccepted
- func (o *SubmitInventoryUpdateAccepted) Error() string
- func (o *SubmitInventoryUpdateAccepted) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateAccepted) IsClientError() bool
- func (o *SubmitInventoryUpdateAccepted) IsCode(code int) bool
- func (o *SubmitInventoryUpdateAccepted) IsRedirect() bool
- func (o *SubmitInventoryUpdateAccepted) IsServerError() bool
- func (o *SubmitInventoryUpdateAccepted) IsSuccess() bool
- func (o *SubmitInventoryUpdateAccepted) String() string
- type SubmitInventoryUpdateBadRequest
- func (o *SubmitInventoryUpdateBadRequest) Error() string
- func (o *SubmitInventoryUpdateBadRequest) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateBadRequest) IsClientError() bool
- func (o *SubmitInventoryUpdateBadRequest) IsCode(code int) bool
- func (o *SubmitInventoryUpdateBadRequest) IsRedirect() bool
- func (o *SubmitInventoryUpdateBadRequest) IsServerError() bool
- func (o *SubmitInventoryUpdateBadRequest) IsSuccess() bool
- func (o *SubmitInventoryUpdateBadRequest) String() string
- type SubmitInventoryUpdateForbidden
- func (o *SubmitInventoryUpdateForbidden) Error() string
- func (o *SubmitInventoryUpdateForbidden) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateForbidden) IsClientError() bool
- func (o *SubmitInventoryUpdateForbidden) IsCode(code int) bool
- func (o *SubmitInventoryUpdateForbidden) IsRedirect() bool
- func (o *SubmitInventoryUpdateForbidden) IsServerError() bool
- func (o *SubmitInventoryUpdateForbidden) IsSuccess() bool
- func (o *SubmitInventoryUpdateForbidden) String() string
- type SubmitInventoryUpdateInternalServerError
- func (o *SubmitInventoryUpdateInternalServerError) Error() string
- func (o *SubmitInventoryUpdateInternalServerError) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateInternalServerError) IsClientError() bool
- func (o *SubmitInventoryUpdateInternalServerError) IsCode(code int) bool
- func (o *SubmitInventoryUpdateInternalServerError) IsRedirect() bool
- func (o *SubmitInventoryUpdateInternalServerError) IsServerError() bool
- func (o *SubmitInventoryUpdateInternalServerError) IsSuccess() bool
- func (o *SubmitInventoryUpdateInternalServerError) String() string
- type SubmitInventoryUpdateNotFound
- func (o *SubmitInventoryUpdateNotFound) Error() string
- func (o *SubmitInventoryUpdateNotFound) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateNotFound) IsClientError() bool
- func (o *SubmitInventoryUpdateNotFound) IsCode(code int) bool
- func (o *SubmitInventoryUpdateNotFound) IsRedirect() bool
- func (o *SubmitInventoryUpdateNotFound) IsServerError() bool
- func (o *SubmitInventoryUpdateNotFound) IsSuccess() bool
- func (o *SubmitInventoryUpdateNotFound) String() string
- type SubmitInventoryUpdateParams
- func NewSubmitInventoryUpdateParams() *SubmitInventoryUpdateParams
- func NewSubmitInventoryUpdateParamsWithContext(ctx context.Context) *SubmitInventoryUpdateParams
- func NewSubmitInventoryUpdateParamsWithHTTPClient(client *http.Client) *SubmitInventoryUpdateParams
- func NewSubmitInventoryUpdateParamsWithTimeout(timeout time.Duration) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) SetBody(...)
- func (o *SubmitInventoryUpdateParams) SetContext(ctx context.Context)
- func (o *SubmitInventoryUpdateParams) SetDefaults()
- func (o *SubmitInventoryUpdateParams) SetHTTPClient(client *http.Client)
- func (o *SubmitInventoryUpdateParams) SetTimeout(timeout time.Duration)
- func (o *SubmitInventoryUpdateParams) SetWarehouseID(warehouseID string)
- func (o *SubmitInventoryUpdateParams) WithBody(...) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WithContext(ctx context.Context) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WithDefaults() *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WithHTTPClient(client *http.Client) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WithTimeout(timeout time.Duration) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WithWarehouseID(warehouseID string) *SubmitInventoryUpdateParams
- func (o *SubmitInventoryUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitInventoryUpdateReader
- type SubmitInventoryUpdateRequestEntityTooLarge
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) Error() string
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsClientError() bool
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsCode(code int) bool
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsRedirect() bool
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsServerError() bool
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsSuccess() bool
- func (o *SubmitInventoryUpdateRequestEntityTooLarge) String() string
- type SubmitInventoryUpdateServiceUnavailable
- func (o *SubmitInventoryUpdateServiceUnavailable) Error() string
- func (o *SubmitInventoryUpdateServiceUnavailable) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateServiceUnavailable) IsClientError() bool
- func (o *SubmitInventoryUpdateServiceUnavailable) IsCode(code int) bool
- func (o *SubmitInventoryUpdateServiceUnavailable) IsRedirect() bool
- func (o *SubmitInventoryUpdateServiceUnavailable) IsServerError() bool
- func (o *SubmitInventoryUpdateServiceUnavailable) IsSuccess() bool
- func (o *SubmitInventoryUpdateServiceUnavailable) String() string
- type SubmitInventoryUpdateTooManyRequests
- func (o *SubmitInventoryUpdateTooManyRequests) Error() string
- func (o *SubmitInventoryUpdateTooManyRequests) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateTooManyRequests) IsClientError() bool
- func (o *SubmitInventoryUpdateTooManyRequests) IsCode(code int) bool
- func (o *SubmitInventoryUpdateTooManyRequests) IsRedirect() bool
- func (o *SubmitInventoryUpdateTooManyRequests) IsServerError() bool
- func (o *SubmitInventoryUpdateTooManyRequests) IsSuccess() bool
- func (o *SubmitInventoryUpdateTooManyRequests) String() string
- type SubmitInventoryUpdateUnsupportedMediaType
- func (o *SubmitInventoryUpdateUnsupportedMediaType) Error() string
- func (o *SubmitInventoryUpdateUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
- func (o *SubmitInventoryUpdateUnsupportedMediaType) IsClientError() bool
- func (o *SubmitInventoryUpdateUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitInventoryUpdateUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitInventoryUpdateUnsupportedMediaType) IsServerError() bool
- func (o *SubmitInventoryUpdateUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitInventoryUpdateUnsupportedMediaType) 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 update inventory API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SubmitInventoryUpdate ¶
func (a *Client) SubmitInventoryUpdate(params *SubmitInventoryUpdateParams, opts ...ClientOption) (*SubmitInventoryUpdateAccepted, error)
SubmitInventoryUpdate Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SubmitInventoryUpdate(params *SubmitInventoryUpdateParams, opts ...ClientOption) (*SubmitInventoryUpdateAccepted, 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 update inventory API client.
type SubmitInventoryUpdateAccepted ¶
type SubmitInventoryUpdateAccepted struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateAccepted describes a response with status code 202, with default header values.
Success.
func NewSubmitInventoryUpdateAccepted ¶
func NewSubmitInventoryUpdateAccepted() *SubmitInventoryUpdateAccepted
NewSubmitInventoryUpdateAccepted creates a SubmitInventoryUpdateAccepted with default headers values
func (*SubmitInventoryUpdateAccepted) Error ¶
func (o *SubmitInventoryUpdateAccepted) Error() string
func (*SubmitInventoryUpdateAccepted) GetPayload ¶
func (o *SubmitInventoryUpdateAccepted) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
func (*SubmitInventoryUpdateAccepted) IsClientError ¶
func (o *SubmitInventoryUpdateAccepted) IsClientError() bool
IsClientError returns true when this submit inventory update accepted response has a 4xx status code
func (*SubmitInventoryUpdateAccepted) IsCode ¶
func (o *SubmitInventoryUpdateAccepted) IsCode(code int) bool
IsCode returns true when this submit inventory update accepted response a status code equal to that given
func (*SubmitInventoryUpdateAccepted) IsRedirect ¶
func (o *SubmitInventoryUpdateAccepted) IsRedirect() bool
IsRedirect returns true when this submit inventory update accepted response has a 3xx status code
func (*SubmitInventoryUpdateAccepted) IsServerError ¶
func (o *SubmitInventoryUpdateAccepted) IsServerError() bool
IsServerError returns true when this submit inventory update accepted response has a 5xx status code
func (*SubmitInventoryUpdateAccepted) IsSuccess ¶
func (o *SubmitInventoryUpdateAccepted) IsSuccess() bool
IsSuccess returns true when this submit inventory update accepted response has a 2xx status code
func (*SubmitInventoryUpdateAccepted) String ¶
func (o *SubmitInventoryUpdateAccepted) String() string
type SubmitInventoryUpdateBadRequest ¶
type SubmitInventoryUpdateBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSubmitInventoryUpdateBadRequest ¶
func NewSubmitInventoryUpdateBadRequest() *SubmitInventoryUpdateBadRequest
NewSubmitInventoryUpdateBadRequest creates a SubmitInventoryUpdateBadRequest with default headers values
func (*SubmitInventoryUpdateBadRequest) Error ¶
func (o *SubmitInventoryUpdateBadRequest) Error() string
func (*SubmitInventoryUpdateBadRequest) GetPayload ¶
func (*SubmitInventoryUpdateBadRequest) IsClientError ¶
func (o *SubmitInventoryUpdateBadRequest) IsClientError() bool
IsClientError returns true when this submit inventory update bad request response has a 4xx status code
func (*SubmitInventoryUpdateBadRequest) IsCode ¶
func (o *SubmitInventoryUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this submit inventory update bad request response a status code equal to that given
func (*SubmitInventoryUpdateBadRequest) IsRedirect ¶
func (o *SubmitInventoryUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this submit inventory update bad request response has a 3xx status code
func (*SubmitInventoryUpdateBadRequest) IsServerError ¶
func (o *SubmitInventoryUpdateBadRequest) IsServerError() bool
IsServerError returns true when this submit inventory update bad request response has a 5xx status code
func (*SubmitInventoryUpdateBadRequest) IsSuccess ¶
func (o *SubmitInventoryUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this submit inventory update bad request response has a 2xx status code
func (*SubmitInventoryUpdateBadRequest) String ¶
func (o *SubmitInventoryUpdateBadRequest) String() string
type SubmitInventoryUpdateForbidden ¶
type SubmitInventoryUpdateForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateForbidden 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 NewSubmitInventoryUpdateForbidden ¶
func NewSubmitInventoryUpdateForbidden() *SubmitInventoryUpdateForbidden
NewSubmitInventoryUpdateForbidden creates a SubmitInventoryUpdateForbidden with default headers values
func (*SubmitInventoryUpdateForbidden) Error ¶
func (o *SubmitInventoryUpdateForbidden) Error() string
func (*SubmitInventoryUpdateForbidden) GetPayload ¶
func (o *SubmitInventoryUpdateForbidden) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
func (*SubmitInventoryUpdateForbidden) IsClientError ¶
func (o *SubmitInventoryUpdateForbidden) IsClientError() bool
IsClientError returns true when this submit inventory update forbidden response has a 4xx status code
func (*SubmitInventoryUpdateForbidden) IsCode ¶
func (o *SubmitInventoryUpdateForbidden) IsCode(code int) bool
IsCode returns true when this submit inventory update forbidden response a status code equal to that given
func (*SubmitInventoryUpdateForbidden) IsRedirect ¶
func (o *SubmitInventoryUpdateForbidden) IsRedirect() bool
IsRedirect returns true when this submit inventory update forbidden response has a 3xx status code
func (*SubmitInventoryUpdateForbidden) IsServerError ¶
func (o *SubmitInventoryUpdateForbidden) IsServerError() bool
IsServerError returns true when this submit inventory update forbidden response has a 5xx status code
func (*SubmitInventoryUpdateForbidden) IsSuccess ¶
func (o *SubmitInventoryUpdateForbidden) IsSuccess() bool
IsSuccess returns true when this submit inventory update forbidden response has a 2xx status code
func (*SubmitInventoryUpdateForbidden) String ¶
func (o *SubmitInventoryUpdateForbidden) String() string
type SubmitInventoryUpdateInternalServerError ¶
type SubmitInventoryUpdateInternalServerError 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 *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewSubmitInventoryUpdateInternalServerError ¶
func NewSubmitInventoryUpdateInternalServerError() *SubmitInventoryUpdateInternalServerError
NewSubmitInventoryUpdateInternalServerError creates a SubmitInventoryUpdateInternalServerError with default headers values
func (*SubmitInventoryUpdateInternalServerError) Error ¶
func (o *SubmitInventoryUpdateInternalServerError) Error() string
func (*SubmitInventoryUpdateInternalServerError) GetPayload ¶
func (*SubmitInventoryUpdateInternalServerError) IsClientError ¶
func (o *SubmitInventoryUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this submit inventory update internal server error response has a 4xx status code
func (*SubmitInventoryUpdateInternalServerError) IsCode ¶
func (o *SubmitInventoryUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this submit inventory update internal server error response a status code equal to that given
func (*SubmitInventoryUpdateInternalServerError) IsRedirect ¶
func (o *SubmitInventoryUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit inventory update internal server error response has a 3xx status code
func (*SubmitInventoryUpdateInternalServerError) IsServerError ¶
func (o *SubmitInventoryUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this submit inventory update internal server error response has a 5xx status code
func (*SubmitInventoryUpdateInternalServerError) IsSuccess ¶
func (o *SubmitInventoryUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit inventory update internal server error response has a 2xx status code
func (*SubmitInventoryUpdateInternalServerError) String ¶
func (o *SubmitInventoryUpdateInternalServerError) String() string
type SubmitInventoryUpdateNotFound ¶
type SubmitInventoryUpdateNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSubmitInventoryUpdateNotFound ¶
func NewSubmitInventoryUpdateNotFound() *SubmitInventoryUpdateNotFound
NewSubmitInventoryUpdateNotFound creates a SubmitInventoryUpdateNotFound with default headers values
func (*SubmitInventoryUpdateNotFound) Error ¶
func (o *SubmitInventoryUpdateNotFound) Error() string
func (*SubmitInventoryUpdateNotFound) GetPayload ¶
func (o *SubmitInventoryUpdateNotFound) GetPayload() *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse
func (*SubmitInventoryUpdateNotFound) IsClientError ¶
func (o *SubmitInventoryUpdateNotFound) IsClientError() bool
IsClientError returns true when this submit inventory update not found response has a 4xx status code
func (*SubmitInventoryUpdateNotFound) IsCode ¶
func (o *SubmitInventoryUpdateNotFound) IsCode(code int) bool
IsCode returns true when this submit inventory update not found response a status code equal to that given
func (*SubmitInventoryUpdateNotFound) IsRedirect ¶
func (o *SubmitInventoryUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this submit inventory update not found response has a 3xx status code
func (*SubmitInventoryUpdateNotFound) IsServerError ¶
func (o *SubmitInventoryUpdateNotFound) IsServerError() bool
IsServerError returns true when this submit inventory update not found response has a 5xx status code
func (*SubmitInventoryUpdateNotFound) IsSuccess ¶
func (o *SubmitInventoryUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this submit inventory update not found response has a 2xx status code
func (*SubmitInventoryUpdateNotFound) String ¶
func (o *SubmitInventoryUpdateNotFound) String() string
type SubmitInventoryUpdateParams ¶
type SubmitInventoryUpdateParams struct { // Body. Body *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateRequest /* WarehouseID. Identifier for the warehouse for which to update inventory. */ WarehouseID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitInventoryUpdateParams contains all the parameters to send to the API endpoint
for the submit inventory update operation. Typically these are written to a http.Request.
func NewSubmitInventoryUpdateParams ¶
func NewSubmitInventoryUpdateParams() *SubmitInventoryUpdateParams
NewSubmitInventoryUpdateParams creates a new SubmitInventoryUpdateParams 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 NewSubmitInventoryUpdateParamsWithContext ¶
func NewSubmitInventoryUpdateParamsWithContext(ctx context.Context) *SubmitInventoryUpdateParams
NewSubmitInventoryUpdateParamsWithContext creates a new SubmitInventoryUpdateParams object with the ability to set a context for a request.
func NewSubmitInventoryUpdateParamsWithHTTPClient ¶
func NewSubmitInventoryUpdateParamsWithHTTPClient(client *http.Client) *SubmitInventoryUpdateParams
NewSubmitInventoryUpdateParamsWithHTTPClient creates a new SubmitInventoryUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitInventoryUpdateParamsWithTimeout ¶
func NewSubmitInventoryUpdateParamsWithTimeout(timeout time.Duration) *SubmitInventoryUpdateParams
NewSubmitInventoryUpdateParamsWithTimeout creates a new SubmitInventoryUpdateParams object with the ability to set a timeout on a request.
func (*SubmitInventoryUpdateParams) SetBody ¶
func (o *SubmitInventoryUpdateParams) SetBody(body *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateRequest)
SetBody adds the body to the submit inventory update params
func (*SubmitInventoryUpdateParams) SetContext ¶
func (o *SubmitInventoryUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the submit inventory update params
func (*SubmitInventoryUpdateParams) SetDefaults ¶
func (o *SubmitInventoryUpdateParams) SetDefaults()
SetDefaults hydrates default values in the submit inventory update params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInventoryUpdateParams) SetHTTPClient ¶
func (o *SubmitInventoryUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit inventory update params
func (*SubmitInventoryUpdateParams) SetTimeout ¶
func (o *SubmitInventoryUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit inventory update params
func (*SubmitInventoryUpdateParams) SetWarehouseID ¶
func (o *SubmitInventoryUpdateParams) SetWarehouseID(warehouseID string)
SetWarehouseID adds the warehouseId to the submit inventory update params
func (*SubmitInventoryUpdateParams) WithBody ¶
func (o *SubmitInventoryUpdateParams) WithBody(body *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateRequest) *SubmitInventoryUpdateParams
WithBody adds the body to the submit inventory update params
func (*SubmitInventoryUpdateParams) WithContext ¶
func (o *SubmitInventoryUpdateParams) WithContext(ctx context.Context) *SubmitInventoryUpdateParams
WithContext adds the context to the submit inventory update params
func (*SubmitInventoryUpdateParams) WithDefaults ¶
func (o *SubmitInventoryUpdateParams) WithDefaults() *SubmitInventoryUpdateParams
WithDefaults hydrates default values in the submit inventory update params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInventoryUpdateParams) WithHTTPClient ¶
func (o *SubmitInventoryUpdateParams) WithHTTPClient(client *http.Client) *SubmitInventoryUpdateParams
WithHTTPClient adds the HTTPClient to the submit inventory update params
func (*SubmitInventoryUpdateParams) WithTimeout ¶
func (o *SubmitInventoryUpdateParams) WithTimeout(timeout time.Duration) *SubmitInventoryUpdateParams
WithTimeout adds the timeout to the submit inventory update params
func (*SubmitInventoryUpdateParams) WithWarehouseID ¶
func (o *SubmitInventoryUpdateParams) WithWarehouseID(warehouseID string) *SubmitInventoryUpdateParams
WithWarehouseID adds the warehouseID to the submit inventory update params
func (*SubmitInventoryUpdateParams) WriteToRequest ¶
func (o *SubmitInventoryUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitInventoryUpdateReader ¶
type SubmitInventoryUpdateReader struct {
// contains filtered or unexported fields
}
SubmitInventoryUpdateReader is a Reader for the SubmitInventoryUpdate structure.
func (*SubmitInventoryUpdateReader) ReadResponse ¶
func (o *SubmitInventoryUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitInventoryUpdateRequestEntityTooLarge ¶
type SubmitInventoryUpdateRequestEntityTooLarge 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 *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewSubmitInventoryUpdateRequestEntityTooLarge ¶
func NewSubmitInventoryUpdateRequestEntityTooLarge() *SubmitInventoryUpdateRequestEntityTooLarge
NewSubmitInventoryUpdateRequestEntityTooLarge creates a SubmitInventoryUpdateRequestEntityTooLarge with default headers values
func (*SubmitInventoryUpdateRequestEntityTooLarge) Error ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) Error() string
func (*SubmitInventoryUpdateRequestEntityTooLarge) GetPayload ¶
func (*SubmitInventoryUpdateRequestEntityTooLarge) IsClientError ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this submit inventory update request entity too large response has a 4xx status code
func (*SubmitInventoryUpdateRequestEntityTooLarge) IsCode ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this submit inventory update request entity too large response a status code equal to that given
func (*SubmitInventoryUpdateRequestEntityTooLarge) IsRedirect ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this submit inventory update request entity too large response has a 3xx status code
func (*SubmitInventoryUpdateRequestEntityTooLarge) IsServerError ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this submit inventory update request entity too large response has a 5xx status code
func (*SubmitInventoryUpdateRequestEntityTooLarge) IsSuccess ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this submit inventory update request entity too large response has a 2xx status code
func (*SubmitInventoryUpdateRequestEntityTooLarge) String ¶
func (o *SubmitInventoryUpdateRequestEntityTooLarge) String() string
type SubmitInventoryUpdateServiceUnavailable ¶
type SubmitInventoryUpdateServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
SubmitInventoryUpdateServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSubmitInventoryUpdateServiceUnavailable ¶
func NewSubmitInventoryUpdateServiceUnavailable() *SubmitInventoryUpdateServiceUnavailable
NewSubmitInventoryUpdateServiceUnavailable creates a SubmitInventoryUpdateServiceUnavailable with default headers values
func (*SubmitInventoryUpdateServiceUnavailable) Error ¶
func (o *SubmitInventoryUpdateServiceUnavailable) Error() string
func (*SubmitInventoryUpdateServiceUnavailable) GetPayload ¶
func (*SubmitInventoryUpdateServiceUnavailable) IsClientError ¶
func (o *SubmitInventoryUpdateServiceUnavailable) IsClientError() bool
IsClientError returns true when this submit inventory update service unavailable response has a 4xx status code
func (*SubmitInventoryUpdateServiceUnavailable) IsCode ¶
func (o *SubmitInventoryUpdateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit inventory update service unavailable response a status code equal to that given
func (*SubmitInventoryUpdateServiceUnavailable) IsRedirect ¶
func (o *SubmitInventoryUpdateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this submit inventory update service unavailable response has a 3xx status code
func (*SubmitInventoryUpdateServiceUnavailable) IsServerError ¶
func (o *SubmitInventoryUpdateServiceUnavailable) IsServerError() bool
IsServerError returns true when this submit inventory update service unavailable response has a 5xx status code
func (*SubmitInventoryUpdateServiceUnavailable) IsSuccess ¶
func (o *SubmitInventoryUpdateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit inventory update service unavailable response has a 2xx status code
func (*SubmitInventoryUpdateServiceUnavailable) String ¶
func (o *SubmitInventoryUpdateServiceUnavailable) String() string
type SubmitInventoryUpdateTooManyRequests ¶
type SubmitInventoryUpdateTooManyRequests 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 *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSubmitInventoryUpdateTooManyRequests ¶
func NewSubmitInventoryUpdateTooManyRequests() *SubmitInventoryUpdateTooManyRequests
NewSubmitInventoryUpdateTooManyRequests creates a SubmitInventoryUpdateTooManyRequests with default headers values
func (*SubmitInventoryUpdateTooManyRequests) Error ¶
func (o *SubmitInventoryUpdateTooManyRequests) Error() string
func (*SubmitInventoryUpdateTooManyRequests) GetPayload ¶
func (*SubmitInventoryUpdateTooManyRequests) IsClientError ¶
func (o *SubmitInventoryUpdateTooManyRequests) IsClientError() bool
IsClientError returns true when this submit inventory update too many requests response has a 4xx status code
func (*SubmitInventoryUpdateTooManyRequests) IsCode ¶
func (o *SubmitInventoryUpdateTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit inventory update too many requests response a status code equal to that given
func (*SubmitInventoryUpdateTooManyRequests) IsRedirect ¶
func (o *SubmitInventoryUpdateTooManyRequests) IsRedirect() bool
IsRedirect returns true when this submit inventory update too many requests response has a 3xx status code
func (*SubmitInventoryUpdateTooManyRequests) IsServerError ¶
func (o *SubmitInventoryUpdateTooManyRequests) IsServerError() bool
IsServerError returns true when this submit inventory update too many requests response has a 5xx status code
func (*SubmitInventoryUpdateTooManyRequests) IsSuccess ¶
func (o *SubmitInventoryUpdateTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit inventory update too many requests response has a 2xx status code
func (*SubmitInventoryUpdateTooManyRequests) String ¶
func (o *SubmitInventoryUpdateTooManyRequests) String() string
type SubmitInventoryUpdateUnsupportedMediaType ¶
type SubmitInventoryUpdateUnsupportedMediaType 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 *vendor_direct_fulfillment_inventory_v1_models.SubmitInventoryUpdateResponse }
SubmitInventoryUpdateUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSubmitInventoryUpdateUnsupportedMediaType ¶
func NewSubmitInventoryUpdateUnsupportedMediaType() *SubmitInventoryUpdateUnsupportedMediaType
NewSubmitInventoryUpdateUnsupportedMediaType creates a SubmitInventoryUpdateUnsupportedMediaType with default headers values
func (*SubmitInventoryUpdateUnsupportedMediaType) Error ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) Error() string
func (*SubmitInventoryUpdateUnsupportedMediaType) GetPayload ¶
func (*SubmitInventoryUpdateUnsupportedMediaType) IsClientError ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit inventory update unsupported media type response has a 4xx status code
func (*SubmitInventoryUpdateUnsupportedMediaType) IsCode ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit inventory update unsupported media type response a status code equal to that given
func (*SubmitInventoryUpdateUnsupportedMediaType) IsRedirect ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit inventory update unsupported media type response has a 3xx status code
func (*SubmitInventoryUpdateUnsupportedMediaType) IsServerError ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit inventory update unsupported media type response has a 5xx status code
func (*SubmitInventoryUpdateUnsupportedMediaType) IsSuccess ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit inventory update unsupported media type response has a 2xx status code
func (*SubmitInventoryUpdateUnsupportedMediaType) String ¶
func (o *SubmitInventoryUpdateUnsupportedMediaType) String() string