vendor_shipping

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 vendor shipping API

func (*Client) GetPackingSlip

func (a *Client) GetPackingSlip(params *GetPackingSlipParams, opts ...ClientOption) (*GetPackingSlipOK, error)
GetPackingSlip Returns a packing slip based on the purchaseOrderNumber that you specify.

**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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetPackingSlips

func (a *Client) GetPackingSlips(params *GetPackingSlipsParams, opts ...ClientOption) (*GetPackingSlipsOK, error)
GetPackingSlips Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days.

**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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SubmitShipmentConfirmations

func (a *Client) SubmitShipmentConfirmations(params *SubmitShipmentConfirmationsParams, opts ...ClientOption) (*SubmitShipmentConfirmationsAccepted, error)
SubmitShipmentConfirmations Submits one or more shipment confirmations for vendor orders.

**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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SubmitShipmentStatusUpdates

func (a *Client) SubmitShipmentStatusUpdates(params *SubmitShipmentStatusUpdatesParams, opts ...ClientOption) (*SubmitShipmentStatusUpdatesAccepted, error)
SubmitShipmentStatusUpdates This operation is only to be used by Vendor-Own-Carrier (VOC) vendors. Calling this API submits a shipment status update for the package that a vendor has shipped. It will provide the Amazon customer visibility on their order, when the package is outside of Amazon Network visibility.

**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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetPackingSlip(params *GetPackingSlipParams, opts ...ClientOption) (*GetPackingSlipOK, error)

	GetPackingSlips(params *GetPackingSlipsParams, opts ...ClientOption) (*GetPackingSlipsOK, error)

	SubmitShipmentConfirmations(params *SubmitShipmentConfirmationsParams, opts ...ClientOption) (*SubmitShipmentConfirmationsAccepted, error)

	SubmitShipmentStatusUpdates(params *SubmitShipmentStatusUpdatesParams, opts ...ClientOption) (*SubmitShipmentStatusUpdatesAccepted, 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 vendor shipping API client.

type GetPackingSlipBadRequest

type GetPackingSlipBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewGetPackingSlipBadRequest

func NewGetPackingSlipBadRequest() *GetPackingSlipBadRequest

NewGetPackingSlipBadRequest creates a GetPackingSlipBadRequest with default headers values

func (*GetPackingSlipBadRequest) Error

func (o *GetPackingSlipBadRequest) Error() string

func (*GetPackingSlipBadRequest) IsClientError

func (o *GetPackingSlipBadRequest) IsClientError() bool

IsClientError returns true when this get packing slip bad request response has a 4xx status code

func (*GetPackingSlipBadRequest) IsCode

func (o *GetPackingSlipBadRequest) IsCode(code int) bool

IsCode returns true when this get packing slip bad request response a status code equal to that given

func (*GetPackingSlipBadRequest) IsRedirect

func (o *GetPackingSlipBadRequest) IsRedirect() bool

IsRedirect returns true when this get packing slip bad request response has a 3xx status code

func (*GetPackingSlipBadRequest) IsServerError

func (o *GetPackingSlipBadRequest) IsServerError() bool

IsServerError returns true when this get packing slip bad request response has a 5xx status code

func (*GetPackingSlipBadRequest) IsSuccess

func (o *GetPackingSlipBadRequest) IsSuccess() bool

IsSuccess returns true when this get packing slip bad request response has a 2xx status code

func (*GetPackingSlipBadRequest) String

func (o *GetPackingSlipBadRequest) String() string

type GetPackingSlipForbidden

type GetPackingSlipForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipForbidden 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 NewGetPackingSlipForbidden

func NewGetPackingSlipForbidden() *GetPackingSlipForbidden

NewGetPackingSlipForbidden creates a GetPackingSlipForbidden with default headers values

func (*GetPackingSlipForbidden) Error

func (o *GetPackingSlipForbidden) Error() string

func (*GetPackingSlipForbidden) IsClientError

func (o *GetPackingSlipForbidden) IsClientError() bool

IsClientError returns true when this get packing slip forbidden response has a 4xx status code

func (*GetPackingSlipForbidden) IsCode

func (o *GetPackingSlipForbidden) IsCode(code int) bool

IsCode returns true when this get packing slip forbidden response a status code equal to that given

func (*GetPackingSlipForbidden) IsRedirect

func (o *GetPackingSlipForbidden) IsRedirect() bool

IsRedirect returns true when this get packing slip forbidden response has a 3xx status code

func (*GetPackingSlipForbidden) IsServerError

func (o *GetPackingSlipForbidden) IsServerError() bool

IsServerError returns true when this get packing slip forbidden response has a 5xx status code

func (*GetPackingSlipForbidden) IsSuccess

func (o *GetPackingSlipForbidden) IsSuccess() bool

IsSuccess returns true when this get packing slip forbidden response has a 2xx status code

func (*GetPackingSlipForbidden) String

func (o *GetPackingSlipForbidden) String() string

type GetPackingSlipInternalServerError

type GetPackingSlipInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewGetPackingSlipInternalServerError

func NewGetPackingSlipInternalServerError() *GetPackingSlipInternalServerError

NewGetPackingSlipInternalServerError creates a GetPackingSlipInternalServerError with default headers values

func (*GetPackingSlipInternalServerError) Error

func (*GetPackingSlipInternalServerError) GetPayload

func (*GetPackingSlipInternalServerError) IsClientError

func (o *GetPackingSlipInternalServerError) IsClientError() bool

IsClientError returns true when this get packing slip internal server error response has a 4xx status code

func (*GetPackingSlipInternalServerError) IsCode

func (o *GetPackingSlipInternalServerError) IsCode(code int) bool

IsCode returns true when this get packing slip internal server error response a status code equal to that given

func (*GetPackingSlipInternalServerError) IsRedirect

func (o *GetPackingSlipInternalServerError) IsRedirect() bool

IsRedirect returns true when this get packing slip internal server error response has a 3xx status code

func (*GetPackingSlipInternalServerError) IsServerError

func (o *GetPackingSlipInternalServerError) IsServerError() bool

IsServerError returns true when this get packing slip internal server error response has a 5xx status code

func (*GetPackingSlipInternalServerError) IsSuccess

func (o *GetPackingSlipInternalServerError) IsSuccess() bool

IsSuccess returns true when this get packing slip internal server error response has a 2xx status code

func (*GetPackingSlipInternalServerError) String

type GetPackingSlipNotFound

type GetPackingSlipNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipNotFound describes a response with status code 404, with default header values.

The resource specified does not exist.

func NewGetPackingSlipNotFound

func NewGetPackingSlipNotFound() *GetPackingSlipNotFound

NewGetPackingSlipNotFound creates a GetPackingSlipNotFound with default headers values

func (*GetPackingSlipNotFound) Error

func (o *GetPackingSlipNotFound) Error() string

func (*GetPackingSlipNotFound) IsClientError

func (o *GetPackingSlipNotFound) IsClientError() bool

IsClientError returns true when this get packing slip not found response has a 4xx status code

func (*GetPackingSlipNotFound) IsCode

func (o *GetPackingSlipNotFound) IsCode(code int) bool

IsCode returns true when this get packing slip not found response a status code equal to that given

func (*GetPackingSlipNotFound) IsRedirect

func (o *GetPackingSlipNotFound) IsRedirect() bool

IsRedirect returns true when this get packing slip not found response has a 3xx status code

func (*GetPackingSlipNotFound) IsServerError

func (o *GetPackingSlipNotFound) IsServerError() bool

IsServerError returns true when this get packing slip not found response has a 5xx status code

func (*GetPackingSlipNotFound) IsSuccess

func (o *GetPackingSlipNotFound) IsSuccess() bool

IsSuccess returns true when this get packing slip not found response has a 2xx status code

func (*GetPackingSlipNotFound) String

func (o *GetPackingSlipNotFound) String() string

type GetPackingSlipOK

type GetPackingSlipOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.PackingSlip
}

GetPackingSlipOK describes a response with status code 200, with default header values.

Success.

func NewGetPackingSlipOK

func NewGetPackingSlipOK() *GetPackingSlipOK

NewGetPackingSlipOK creates a GetPackingSlipOK with default headers values

func (*GetPackingSlipOK) Error

func (o *GetPackingSlipOK) Error() string

func (*GetPackingSlipOK) IsClientError

func (o *GetPackingSlipOK) IsClientError() bool

IsClientError returns true when this get packing slip o k response has a 4xx status code

func (*GetPackingSlipOK) IsCode

func (o *GetPackingSlipOK) IsCode(code int) bool

IsCode returns true when this get packing slip o k response a status code equal to that given

func (*GetPackingSlipOK) IsRedirect

func (o *GetPackingSlipOK) IsRedirect() bool

IsRedirect returns true when this get packing slip o k response has a 3xx status code

func (*GetPackingSlipOK) IsServerError

func (o *GetPackingSlipOK) IsServerError() bool

IsServerError returns true when this get packing slip o k response has a 5xx status code

func (*GetPackingSlipOK) IsSuccess

func (o *GetPackingSlipOK) IsSuccess() bool

IsSuccess returns true when this get packing slip o k response has a 2xx status code

func (*GetPackingSlipOK) String

func (o *GetPackingSlipOK) String() string

type GetPackingSlipParams

type GetPackingSlipParams struct {

	/* PurchaseOrderNumber.

	   The purchaseOrderNumber for the packing slip you want.
	*/
	PurchaseOrderNumber string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPackingSlipParams contains all the parameters to send to the API endpoint

for the get packing slip operation.

Typically these are written to a http.Request.

func NewGetPackingSlipParams

func NewGetPackingSlipParams() *GetPackingSlipParams

NewGetPackingSlipParams creates a new GetPackingSlipParams 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 NewGetPackingSlipParamsWithContext

func NewGetPackingSlipParamsWithContext(ctx context.Context) *GetPackingSlipParams

NewGetPackingSlipParamsWithContext creates a new GetPackingSlipParams object with the ability to set a context for a request.

func NewGetPackingSlipParamsWithHTTPClient

func NewGetPackingSlipParamsWithHTTPClient(client *http.Client) *GetPackingSlipParams

NewGetPackingSlipParamsWithHTTPClient creates a new GetPackingSlipParams object with the ability to set a custom HTTPClient for a request.

func NewGetPackingSlipParamsWithTimeout

func NewGetPackingSlipParamsWithTimeout(timeout time.Duration) *GetPackingSlipParams

NewGetPackingSlipParamsWithTimeout creates a new GetPackingSlipParams object with the ability to set a timeout on a request.

func (*GetPackingSlipParams) SetContext

func (o *GetPackingSlipParams) SetContext(ctx context.Context)

SetContext adds the context to the get packing slip params

func (*GetPackingSlipParams) SetDefaults

func (o *GetPackingSlipParams) SetDefaults()

SetDefaults hydrates default values in the get packing slip params (not the query body).

All values with no default are reset to their zero value.

func (*GetPackingSlipParams) SetHTTPClient

func (o *GetPackingSlipParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get packing slip params

func (*GetPackingSlipParams) SetPurchaseOrderNumber

func (o *GetPackingSlipParams) SetPurchaseOrderNumber(purchaseOrderNumber string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the get packing slip params

func (*GetPackingSlipParams) SetTimeout

func (o *GetPackingSlipParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get packing slip params

func (*GetPackingSlipParams) WithContext

WithContext adds the context to the get packing slip params

func (*GetPackingSlipParams) WithDefaults

func (o *GetPackingSlipParams) WithDefaults() *GetPackingSlipParams

WithDefaults hydrates default values in the get packing slip params (not the query body).

All values with no default are reset to their zero value.

func (*GetPackingSlipParams) WithHTTPClient

func (o *GetPackingSlipParams) WithHTTPClient(client *http.Client) *GetPackingSlipParams

WithHTTPClient adds the HTTPClient to the get packing slip params

func (*GetPackingSlipParams) WithPurchaseOrderNumber

func (o *GetPackingSlipParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetPackingSlipParams

WithPurchaseOrderNumber adds the purchaseOrderNumber to the get packing slip params

func (*GetPackingSlipParams) WithTimeout

func (o *GetPackingSlipParams) WithTimeout(timeout time.Duration) *GetPackingSlipParams

WithTimeout adds the timeout to the get packing slip params

func (*GetPackingSlipParams) WriteToRequest

func (o *GetPackingSlipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPackingSlipReader

type GetPackingSlipReader struct {
	// contains filtered or unexported fields
}

GetPackingSlipReader is a Reader for the GetPackingSlip structure.

func (*GetPackingSlipReader) ReadResponse

func (o *GetPackingSlipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPackingSlipServiceUnavailable

type GetPackingSlipServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewGetPackingSlipServiceUnavailable

func NewGetPackingSlipServiceUnavailable() *GetPackingSlipServiceUnavailable

NewGetPackingSlipServiceUnavailable creates a GetPackingSlipServiceUnavailable with default headers values

func (*GetPackingSlipServiceUnavailable) Error

func (*GetPackingSlipServiceUnavailable) GetPayload

func (*GetPackingSlipServiceUnavailable) IsClientError

func (o *GetPackingSlipServiceUnavailable) IsClientError() bool

IsClientError returns true when this get packing slip service unavailable response has a 4xx status code

func (*GetPackingSlipServiceUnavailable) IsCode

func (o *GetPackingSlipServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get packing slip service unavailable response a status code equal to that given

func (*GetPackingSlipServiceUnavailable) IsRedirect

func (o *GetPackingSlipServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get packing slip service unavailable response has a 3xx status code

func (*GetPackingSlipServiceUnavailable) IsServerError

func (o *GetPackingSlipServiceUnavailable) IsServerError() bool

IsServerError returns true when this get packing slip service unavailable response has a 5xx status code

func (*GetPackingSlipServiceUnavailable) IsSuccess

func (o *GetPackingSlipServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get packing slip service unavailable response has a 2xx status code

func (*GetPackingSlipServiceUnavailable) String

type GetPackingSlipTooManyRequests

type GetPackingSlipTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewGetPackingSlipTooManyRequests

func NewGetPackingSlipTooManyRequests() *GetPackingSlipTooManyRequests

NewGetPackingSlipTooManyRequests creates a GetPackingSlipTooManyRequests with default headers values

func (*GetPackingSlipTooManyRequests) Error

func (*GetPackingSlipTooManyRequests) GetPayload

func (*GetPackingSlipTooManyRequests) IsClientError

func (o *GetPackingSlipTooManyRequests) IsClientError() bool

IsClientError returns true when this get packing slip too many requests response has a 4xx status code

func (*GetPackingSlipTooManyRequests) IsCode

func (o *GetPackingSlipTooManyRequests) IsCode(code int) bool

IsCode returns true when this get packing slip too many requests response a status code equal to that given

func (*GetPackingSlipTooManyRequests) IsRedirect

func (o *GetPackingSlipTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get packing slip too many requests response has a 3xx status code

func (*GetPackingSlipTooManyRequests) IsServerError

func (o *GetPackingSlipTooManyRequests) IsServerError() bool

IsServerError returns true when this get packing slip too many requests response has a 5xx status code

func (*GetPackingSlipTooManyRequests) IsSuccess

func (o *GetPackingSlipTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get packing slip too many requests response has a 2xx status code

func (*GetPackingSlipTooManyRequests) String

type GetPackingSlipUnauthorized

type GetPackingSlipUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipUnauthorized describes a response with status code 401, with default header values.

The request's Authorization header is not formatted correctly or does not contain a valid token.

func NewGetPackingSlipUnauthorized

func NewGetPackingSlipUnauthorized() *GetPackingSlipUnauthorized

NewGetPackingSlipUnauthorized creates a GetPackingSlipUnauthorized with default headers values

func (*GetPackingSlipUnauthorized) Error

func (*GetPackingSlipUnauthorized) IsClientError

func (o *GetPackingSlipUnauthorized) IsClientError() bool

IsClientError returns true when this get packing slip unauthorized response has a 4xx status code

func (*GetPackingSlipUnauthorized) IsCode

func (o *GetPackingSlipUnauthorized) IsCode(code int) bool

IsCode returns true when this get packing slip unauthorized response a status code equal to that given

func (*GetPackingSlipUnauthorized) IsRedirect

func (o *GetPackingSlipUnauthorized) IsRedirect() bool

IsRedirect returns true when this get packing slip unauthorized response has a 3xx status code

func (*GetPackingSlipUnauthorized) IsServerError

func (o *GetPackingSlipUnauthorized) IsServerError() bool

IsServerError returns true when this get packing slip unauthorized response has a 5xx status code

func (*GetPackingSlipUnauthorized) IsSuccess

func (o *GetPackingSlipUnauthorized) IsSuccess() bool

IsSuccess returns true when this get packing slip unauthorized response has a 2xx status code

func (*GetPackingSlipUnauthorized) String

func (o *GetPackingSlipUnauthorized) String() string

type GetPackingSlipUnsupportedMediaType

type GetPackingSlipUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetPackingSlipUnsupportedMediaType

func NewGetPackingSlipUnsupportedMediaType() *GetPackingSlipUnsupportedMediaType

NewGetPackingSlipUnsupportedMediaType creates a GetPackingSlipUnsupportedMediaType with default headers values

func (*GetPackingSlipUnsupportedMediaType) Error

func (*GetPackingSlipUnsupportedMediaType) GetPayload

func (*GetPackingSlipUnsupportedMediaType) IsClientError

func (o *GetPackingSlipUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get packing slip unsupported media type response has a 4xx status code

func (*GetPackingSlipUnsupportedMediaType) IsCode

IsCode returns true when this get packing slip unsupported media type response a status code equal to that given

func (*GetPackingSlipUnsupportedMediaType) IsRedirect

func (o *GetPackingSlipUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get packing slip unsupported media type response has a 3xx status code

func (*GetPackingSlipUnsupportedMediaType) IsServerError

func (o *GetPackingSlipUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get packing slip unsupported media type response has a 5xx status code

func (*GetPackingSlipUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get packing slip unsupported media type response has a 2xx status code

func (*GetPackingSlipUnsupportedMediaType) String

type GetPackingSlipsBadRequest

type GetPackingSlipsBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewGetPackingSlipsBadRequest

func NewGetPackingSlipsBadRequest() *GetPackingSlipsBadRequest

NewGetPackingSlipsBadRequest creates a GetPackingSlipsBadRequest with default headers values

func (*GetPackingSlipsBadRequest) Error

func (o *GetPackingSlipsBadRequest) Error() string

func (*GetPackingSlipsBadRequest) IsClientError

func (o *GetPackingSlipsBadRequest) IsClientError() bool

IsClientError returns true when this get packing slips bad request response has a 4xx status code

func (*GetPackingSlipsBadRequest) IsCode

func (o *GetPackingSlipsBadRequest) IsCode(code int) bool

IsCode returns true when this get packing slips bad request response a status code equal to that given

func (*GetPackingSlipsBadRequest) IsRedirect

func (o *GetPackingSlipsBadRequest) IsRedirect() bool

IsRedirect returns true when this get packing slips bad request response has a 3xx status code

func (*GetPackingSlipsBadRequest) IsServerError

func (o *GetPackingSlipsBadRequest) IsServerError() bool

IsServerError returns true when this get packing slips bad request response has a 5xx status code

func (*GetPackingSlipsBadRequest) IsSuccess

func (o *GetPackingSlipsBadRequest) IsSuccess() bool

IsSuccess returns true when this get packing slips bad request response has a 2xx status code

func (*GetPackingSlipsBadRequest) String

func (o *GetPackingSlipsBadRequest) String() string

type GetPackingSlipsForbidden

type GetPackingSlipsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsForbidden 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 NewGetPackingSlipsForbidden

func NewGetPackingSlipsForbidden() *GetPackingSlipsForbidden

NewGetPackingSlipsForbidden creates a GetPackingSlipsForbidden with default headers values

func (*GetPackingSlipsForbidden) Error

func (o *GetPackingSlipsForbidden) Error() string

func (*GetPackingSlipsForbidden) IsClientError

func (o *GetPackingSlipsForbidden) IsClientError() bool

IsClientError returns true when this get packing slips forbidden response has a 4xx status code

func (*GetPackingSlipsForbidden) IsCode

func (o *GetPackingSlipsForbidden) IsCode(code int) bool

IsCode returns true when this get packing slips forbidden response a status code equal to that given

func (*GetPackingSlipsForbidden) IsRedirect

func (o *GetPackingSlipsForbidden) IsRedirect() bool

IsRedirect returns true when this get packing slips forbidden response has a 3xx status code

func (*GetPackingSlipsForbidden) IsServerError

func (o *GetPackingSlipsForbidden) IsServerError() bool

IsServerError returns true when this get packing slips forbidden response has a 5xx status code

func (*GetPackingSlipsForbidden) IsSuccess

func (o *GetPackingSlipsForbidden) IsSuccess() bool

IsSuccess returns true when this get packing slips forbidden response has a 2xx status code

func (*GetPackingSlipsForbidden) String

func (o *GetPackingSlipsForbidden) String() string

type GetPackingSlipsInternalServerError

type GetPackingSlipsInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewGetPackingSlipsInternalServerError

func NewGetPackingSlipsInternalServerError() *GetPackingSlipsInternalServerError

NewGetPackingSlipsInternalServerError creates a GetPackingSlipsInternalServerError with default headers values

func (*GetPackingSlipsInternalServerError) Error

func (*GetPackingSlipsInternalServerError) GetPayload

func (*GetPackingSlipsInternalServerError) IsClientError

func (o *GetPackingSlipsInternalServerError) IsClientError() bool

IsClientError returns true when this get packing slips internal server error response has a 4xx status code

func (*GetPackingSlipsInternalServerError) IsCode

IsCode returns true when this get packing slips internal server error response a status code equal to that given

func (*GetPackingSlipsInternalServerError) IsRedirect

func (o *GetPackingSlipsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get packing slips internal server error response has a 3xx status code

func (*GetPackingSlipsInternalServerError) IsServerError

func (o *GetPackingSlipsInternalServerError) IsServerError() bool

IsServerError returns true when this get packing slips internal server error response has a 5xx status code

func (*GetPackingSlipsInternalServerError) IsSuccess

IsSuccess returns true when this get packing slips internal server error response has a 2xx status code

func (*GetPackingSlipsInternalServerError) String

type GetPackingSlipsNotFound

type GetPackingSlipsNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsNotFound describes a response with status code 404, with default header values.

The resource specified does not exist.

func NewGetPackingSlipsNotFound

func NewGetPackingSlipsNotFound() *GetPackingSlipsNotFound

NewGetPackingSlipsNotFound creates a GetPackingSlipsNotFound with default headers values

func (*GetPackingSlipsNotFound) Error

func (o *GetPackingSlipsNotFound) Error() string

func (*GetPackingSlipsNotFound) IsClientError

func (o *GetPackingSlipsNotFound) IsClientError() bool

IsClientError returns true when this get packing slips not found response has a 4xx status code

func (*GetPackingSlipsNotFound) IsCode

func (o *GetPackingSlipsNotFound) IsCode(code int) bool

IsCode returns true when this get packing slips not found response a status code equal to that given

func (*GetPackingSlipsNotFound) IsRedirect

func (o *GetPackingSlipsNotFound) IsRedirect() bool

IsRedirect returns true when this get packing slips not found response has a 3xx status code

func (*GetPackingSlipsNotFound) IsServerError

func (o *GetPackingSlipsNotFound) IsServerError() bool

IsServerError returns true when this get packing slips not found response has a 5xx status code

func (*GetPackingSlipsNotFound) IsSuccess

func (o *GetPackingSlipsNotFound) IsSuccess() bool

IsSuccess returns true when this get packing slips not found response has a 2xx status code

func (*GetPackingSlipsNotFound) String

func (o *GetPackingSlipsNotFound) String() string

type GetPackingSlipsOK

type GetPackingSlipsOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.PackingSlipList
}

GetPackingSlipsOK describes a response with status code 200, with default header values.

Success.

func NewGetPackingSlipsOK

func NewGetPackingSlipsOK() *GetPackingSlipsOK

NewGetPackingSlipsOK creates a GetPackingSlipsOK with default headers values

func (*GetPackingSlipsOK) Error

func (o *GetPackingSlipsOK) Error() string

func (*GetPackingSlipsOK) IsClientError

func (o *GetPackingSlipsOK) IsClientError() bool

IsClientError returns true when this get packing slips o k response has a 4xx status code

func (*GetPackingSlipsOK) IsCode

func (o *GetPackingSlipsOK) IsCode(code int) bool

IsCode returns true when this get packing slips o k response a status code equal to that given

func (*GetPackingSlipsOK) IsRedirect

func (o *GetPackingSlipsOK) IsRedirect() bool

IsRedirect returns true when this get packing slips o k response has a 3xx status code

func (*GetPackingSlipsOK) IsServerError

func (o *GetPackingSlipsOK) IsServerError() bool

IsServerError returns true when this get packing slips o k response has a 5xx status code

func (*GetPackingSlipsOK) IsSuccess

func (o *GetPackingSlipsOK) IsSuccess() bool

IsSuccess returns true when this get packing slips o k response has a 2xx status code

func (*GetPackingSlipsOK) String

func (o *GetPackingSlipsOK) String() string

type GetPackingSlipsParams

type GetPackingSlipsParams struct {

	/* CreatedAfter.

	   Packing slips that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedAfter strfmt.DateTime

	/* CreatedBefore.

	   Packing slips that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedBefore strfmt.DateTime

	/* Limit.

	   The limit to the number of records returned
	*/
	Limit *int64

	/* NextToken.

	   Used for pagination when there are more packing slips than the specified result size limit. The token value is returned in the previous API call.
	*/
	NextToken *string

	/* ShipFromPartyID.

	   The vendor warehouseId for order fulfillment. If not specified the result will contain orders for all warehouses.
	*/
	ShipFromPartyID *string

	/* SortOrder.

	   Sort ASC or DESC by packing slip creation date.

	   Default: "ASC"
	*/
	SortOrder *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPackingSlipsParams contains all the parameters to send to the API endpoint

for the get packing slips operation.

Typically these are written to a http.Request.

func NewGetPackingSlipsParams

func NewGetPackingSlipsParams() *GetPackingSlipsParams

NewGetPackingSlipsParams creates a new GetPackingSlipsParams 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 NewGetPackingSlipsParamsWithContext

func NewGetPackingSlipsParamsWithContext(ctx context.Context) *GetPackingSlipsParams

NewGetPackingSlipsParamsWithContext creates a new GetPackingSlipsParams object with the ability to set a context for a request.

func NewGetPackingSlipsParamsWithHTTPClient

func NewGetPackingSlipsParamsWithHTTPClient(client *http.Client) *GetPackingSlipsParams

NewGetPackingSlipsParamsWithHTTPClient creates a new GetPackingSlipsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPackingSlipsParamsWithTimeout

func NewGetPackingSlipsParamsWithTimeout(timeout time.Duration) *GetPackingSlipsParams

NewGetPackingSlipsParamsWithTimeout creates a new GetPackingSlipsParams object with the ability to set a timeout on a request.

func (*GetPackingSlipsParams) SetContext

func (o *GetPackingSlipsParams) SetContext(ctx context.Context)

SetContext adds the context to the get packing slips params

func (*GetPackingSlipsParams) SetCreatedAfter

func (o *GetPackingSlipsParams) SetCreatedAfter(createdAfter strfmt.DateTime)

SetCreatedAfter adds the createdAfter to the get packing slips params

func (*GetPackingSlipsParams) SetCreatedBefore

func (o *GetPackingSlipsParams) SetCreatedBefore(createdBefore strfmt.DateTime)

SetCreatedBefore adds the createdBefore to the get packing slips params

func (*GetPackingSlipsParams) SetDefaults

func (o *GetPackingSlipsParams) SetDefaults()

SetDefaults hydrates default values in the get packing slips params (not the query body).

All values with no default are reset to their zero value.

func (*GetPackingSlipsParams) SetHTTPClient

func (o *GetPackingSlipsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get packing slips params

func (*GetPackingSlipsParams) SetLimit

func (o *GetPackingSlipsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get packing slips params

func (*GetPackingSlipsParams) SetNextToken

func (o *GetPackingSlipsParams) SetNextToken(nextToken *string)

SetNextToken adds the nextToken to the get packing slips params

func (*GetPackingSlipsParams) SetShipFromPartyID

func (o *GetPackingSlipsParams) SetShipFromPartyID(shipFromPartyID *string)

SetShipFromPartyID adds the shipFromPartyId to the get packing slips params

func (*GetPackingSlipsParams) SetSortOrder

func (o *GetPackingSlipsParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the get packing slips params

func (*GetPackingSlipsParams) SetTimeout

func (o *GetPackingSlipsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get packing slips params

func (*GetPackingSlipsParams) WithContext

WithContext adds the context to the get packing slips params

func (*GetPackingSlipsParams) WithCreatedAfter

func (o *GetPackingSlipsParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetPackingSlipsParams

WithCreatedAfter adds the createdAfter to the get packing slips params

func (*GetPackingSlipsParams) WithCreatedBefore

func (o *GetPackingSlipsParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetPackingSlipsParams

WithCreatedBefore adds the createdBefore to the get packing slips params

func (*GetPackingSlipsParams) WithDefaults

func (o *GetPackingSlipsParams) WithDefaults() *GetPackingSlipsParams

WithDefaults hydrates default values in the get packing slips params (not the query body).

All values with no default are reset to their zero value.

func (*GetPackingSlipsParams) WithHTTPClient

func (o *GetPackingSlipsParams) WithHTTPClient(client *http.Client) *GetPackingSlipsParams

WithHTTPClient adds the HTTPClient to the get packing slips params

func (*GetPackingSlipsParams) WithLimit

func (o *GetPackingSlipsParams) WithLimit(limit *int64) *GetPackingSlipsParams

WithLimit adds the limit to the get packing slips params

func (*GetPackingSlipsParams) WithNextToken

func (o *GetPackingSlipsParams) WithNextToken(nextToken *string) *GetPackingSlipsParams

WithNextToken adds the nextToken to the get packing slips params

func (*GetPackingSlipsParams) WithShipFromPartyID

func (o *GetPackingSlipsParams) WithShipFromPartyID(shipFromPartyID *string) *GetPackingSlipsParams

WithShipFromPartyID adds the shipFromPartyID to the get packing slips params

func (*GetPackingSlipsParams) WithSortOrder

func (o *GetPackingSlipsParams) WithSortOrder(sortOrder *string) *GetPackingSlipsParams

WithSortOrder adds the sortOrder to the get packing slips params

func (*GetPackingSlipsParams) WithTimeout

func (o *GetPackingSlipsParams) WithTimeout(timeout time.Duration) *GetPackingSlipsParams

WithTimeout adds the timeout to the get packing slips params

func (*GetPackingSlipsParams) WriteToRequest

func (o *GetPackingSlipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPackingSlipsReader

type GetPackingSlipsReader struct {
	// contains filtered or unexported fields
}

GetPackingSlipsReader is a Reader for the GetPackingSlips structure.

func (*GetPackingSlipsReader) ReadResponse

func (o *GetPackingSlipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPackingSlipsServiceUnavailable

type GetPackingSlipsServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewGetPackingSlipsServiceUnavailable

func NewGetPackingSlipsServiceUnavailable() *GetPackingSlipsServiceUnavailable

NewGetPackingSlipsServiceUnavailable creates a GetPackingSlipsServiceUnavailable with default headers values

func (*GetPackingSlipsServiceUnavailable) Error

func (*GetPackingSlipsServiceUnavailable) GetPayload

func (*GetPackingSlipsServiceUnavailable) IsClientError

func (o *GetPackingSlipsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get packing slips service unavailable response has a 4xx status code

func (*GetPackingSlipsServiceUnavailable) IsCode

func (o *GetPackingSlipsServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get packing slips service unavailable response a status code equal to that given

func (*GetPackingSlipsServiceUnavailable) IsRedirect

func (o *GetPackingSlipsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get packing slips service unavailable response has a 3xx status code

func (*GetPackingSlipsServiceUnavailable) IsServerError

func (o *GetPackingSlipsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get packing slips service unavailable response has a 5xx status code

func (*GetPackingSlipsServiceUnavailable) IsSuccess

func (o *GetPackingSlipsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get packing slips service unavailable response has a 2xx status code

func (*GetPackingSlipsServiceUnavailable) String

type GetPackingSlipsTooManyRequests

type GetPackingSlipsTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewGetPackingSlipsTooManyRequests

func NewGetPackingSlipsTooManyRequests() *GetPackingSlipsTooManyRequests

NewGetPackingSlipsTooManyRequests creates a GetPackingSlipsTooManyRequests with default headers values

func (*GetPackingSlipsTooManyRequests) Error

func (*GetPackingSlipsTooManyRequests) GetPayload

func (*GetPackingSlipsTooManyRequests) IsClientError

func (o *GetPackingSlipsTooManyRequests) IsClientError() bool

IsClientError returns true when this get packing slips too many requests response has a 4xx status code

func (*GetPackingSlipsTooManyRequests) IsCode

func (o *GetPackingSlipsTooManyRequests) IsCode(code int) bool

IsCode returns true when this get packing slips too many requests response a status code equal to that given

func (*GetPackingSlipsTooManyRequests) IsRedirect

func (o *GetPackingSlipsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get packing slips too many requests response has a 3xx status code

func (*GetPackingSlipsTooManyRequests) IsServerError

func (o *GetPackingSlipsTooManyRequests) IsServerError() bool

IsServerError returns true when this get packing slips too many requests response has a 5xx status code

func (*GetPackingSlipsTooManyRequests) IsSuccess

func (o *GetPackingSlipsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get packing slips too many requests response has a 2xx status code

func (*GetPackingSlipsTooManyRequests) String

type GetPackingSlipsUnauthorized

type GetPackingSlipsUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsUnauthorized describes a response with status code 401, with default header values.

The request's Authorization header is not formatted correctly or does not contain a valid token.

func NewGetPackingSlipsUnauthorized

func NewGetPackingSlipsUnauthorized() *GetPackingSlipsUnauthorized

NewGetPackingSlipsUnauthorized creates a GetPackingSlipsUnauthorized with default headers values

func (*GetPackingSlipsUnauthorized) Error

func (*GetPackingSlipsUnauthorized) IsClientError

func (o *GetPackingSlipsUnauthorized) IsClientError() bool

IsClientError returns true when this get packing slips unauthorized response has a 4xx status code

func (*GetPackingSlipsUnauthorized) IsCode

func (o *GetPackingSlipsUnauthorized) IsCode(code int) bool

IsCode returns true when this get packing slips unauthorized response a status code equal to that given

func (*GetPackingSlipsUnauthorized) IsRedirect

func (o *GetPackingSlipsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get packing slips unauthorized response has a 3xx status code

func (*GetPackingSlipsUnauthorized) IsServerError

func (o *GetPackingSlipsUnauthorized) IsServerError() bool

IsServerError returns true when this get packing slips unauthorized response has a 5xx status code

func (*GetPackingSlipsUnauthorized) IsSuccess

func (o *GetPackingSlipsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get packing slips unauthorized response has a 2xx status code

func (*GetPackingSlipsUnauthorized) String

func (o *GetPackingSlipsUnauthorized) String() string

type GetPackingSlipsUnsupportedMediaType

type GetPackingSlipsUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetPackingSlipsUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetPackingSlipsUnsupportedMediaType

func NewGetPackingSlipsUnsupportedMediaType() *GetPackingSlipsUnsupportedMediaType

NewGetPackingSlipsUnsupportedMediaType creates a GetPackingSlipsUnsupportedMediaType with default headers values

func (*GetPackingSlipsUnsupportedMediaType) Error

func (*GetPackingSlipsUnsupportedMediaType) GetPayload

func (*GetPackingSlipsUnsupportedMediaType) IsClientError

func (o *GetPackingSlipsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get packing slips unsupported media type response has a 4xx status code

func (*GetPackingSlipsUnsupportedMediaType) IsCode

IsCode returns true when this get packing slips unsupported media type response a status code equal to that given

func (*GetPackingSlipsUnsupportedMediaType) IsRedirect

func (o *GetPackingSlipsUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get packing slips unsupported media type response has a 3xx status code

func (*GetPackingSlipsUnsupportedMediaType) IsServerError

func (o *GetPackingSlipsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get packing slips unsupported media type response has a 5xx status code

func (*GetPackingSlipsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get packing slips unsupported media type response has a 2xx status code

func (*GetPackingSlipsUnsupportedMediaType) String

type SubmitShipmentConfirmationsAccepted

type SubmitShipmentConfirmationsAccepted struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.TransactionReference
}

SubmitShipmentConfirmationsAccepted describes a response with status code 202, with default header values.

Success.

func NewSubmitShipmentConfirmationsAccepted

func NewSubmitShipmentConfirmationsAccepted() *SubmitShipmentConfirmationsAccepted

NewSubmitShipmentConfirmationsAccepted creates a SubmitShipmentConfirmationsAccepted with default headers values

func (*SubmitShipmentConfirmationsAccepted) Error

func (*SubmitShipmentConfirmationsAccepted) IsClientError

func (o *SubmitShipmentConfirmationsAccepted) IsClientError() bool

IsClientError returns true when this submit shipment confirmations accepted response has a 4xx status code

func (*SubmitShipmentConfirmationsAccepted) IsCode

IsCode returns true when this submit shipment confirmations accepted response a status code equal to that given

func (*SubmitShipmentConfirmationsAccepted) IsRedirect

func (o *SubmitShipmentConfirmationsAccepted) IsRedirect() bool

IsRedirect returns true when this submit shipment confirmations accepted response has a 3xx status code

func (*SubmitShipmentConfirmationsAccepted) IsServerError

func (o *SubmitShipmentConfirmationsAccepted) IsServerError() bool

IsServerError returns true when this submit shipment confirmations accepted response has a 5xx status code

func (*SubmitShipmentConfirmationsAccepted) IsSuccess

IsSuccess returns true when this submit shipment confirmations accepted response has a 2xx status code

func (*SubmitShipmentConfirmationsAccepted) String

type SubmitShipmentConfirmationsBadRequest

type SubmitShipmentConfirmationsBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewSubmitShipmentConfirmationsBadRequest

func NewSubmitShipmentConfirmationsBadRequest() *SubmitShipmentConfirmationsBadRequest

NewSubmitShipmentConfirmationsBadRequest creates a SubmitShipmentConfirmationsBadRequest with default headers values

func (*SubmitShipmentConfirmationsBadRequest) Error

func (*SubmitShipmentConfirmationsBadRequest) GetPayload

func (*SubmitShipmentConfirmationsBadRequest) IsClientError

func (o *SubmitShipmentConfirmationsBadRequest) IsClientError() bool

IsClientError returns true when this submit shipment confirmations bad request response has a 4xx status code

func (*SubmitShipmentConfirmationsBadRequest) IsCode

IsCode returns true when this submit shipment confirmations bad request response a status code equal to that given

func (*SubmitShipmentConfirmationsBadRequest) IsRedirect

IsRedirect returns true when this submit shipment confirmations bad request response has a 3xx status code

func (*SubmitShipmentConfirmationsBadRequest) IsServerError

func (o *SubmitShipmentConfirmationsBadRequest) IsServerError() bool

IsServerError returns true when this submit shipment confirmations bad request response has a 5xx status code

func (*SubmitShipmentConfirmationsBadRequest) IsSuccess

IsSuccess returns true when this submit shipment confirmations bad request response has a 2xx status code

func (*SubmitShipmentConfirmationsBadRequest) String

type SubmitShipmentConfirmationsForbidden

type SubmitShipmentConfirmationsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsForbidden 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 NewSubmitShipmentConfirmationsForbidden

func NewSubmitShipmentConfirmationsForbidden() *SubmitShipmentConfirmationsForbidden

NewSubmitShipmentConfirmationsForbidden creates a SubmitShipmentConfirmationsForbidden with default headers values

func (*SubmitShipmentConfirmationsForbidden) Error

func (*SubmitShipmentConfirmationsForbidden) GetPayload

func (*SubmitShipmentConfirmationsForbidden) IsClientError

func (o *SubmitShipmentConfirmationsForbidden) IsClientError() bool

IsClientError returns true when this submit shipment confirmations forbidden response has a 4xx status code

func (*SubmitShipmentConfirmationsForbidden) IsCode

IsCode returns true when this submit shipment confirmations forbidden response a status code equal to that given

func (*SubmitShipmentConfirmationsForbidden) IsRedirect

IsRedirect returns true when this submit shipment confirmations forbidden response has a 3xx status code

func (*SubmitShipmentConfirmationsForbidden) IsServerError

func (o *SubmitShipmentConfirmationsForbidden) IsServerError() bool

IsServerError returns true when this submit shipment confirmations forbidden response has a 5xx status code

func (*SubmitShipmentConfirmationsForbidden) IsSuccess

IsSuccess returns true when this submit shipment confirmations forbidden response has a 2xx status code

func (*SubmitShipmentConfirmationsForbidden) String

type SubmitShipmentConfirmationsInternalServerError

type SubmitShipmentConfirmationsInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewSubmitShipmentConfirmationsInternalServerError

func NewSubmitShipmentConfirmationsInternalServerError() *SubmitShipmentConfirmationsInternalServerError

NewSubmitShipmentConfirmationsInternalServerError creates a SubmitShipmentConfirmationsInternalServerError with default headers values

func (*SubmitShipmentConfirmationsInternalServerError) Error

func (*SubmitShipmentConfirmationsInternalServerError) GetPayload

func (*SubmitShipmentConfirmationsInternalServerError) IsClientError

IsClientError returns true when this submit shipment confirmations internal server error response has a 4xx status code

func (*SubmitShipmentConfirmationsInternalServerError) IsCode

IsCode returns true when this submit shipment confirmations internal server error response a status code equal to that given

func (*SubmitShipmentConfirmationsInternalServerError) IsRedirect

IsRedirect returns true when this submit shipment confirmations internal server error response has a 3xx status code

func (*SubmitShipmentConfirmationsInternalServerError) IsServerError

IsServerError returns true when this submit shipment confirmations internal server error response has a 5xx status code

func (*SubmitShipmentConfirmationsInternalServerError) IsSuccess

IsSuccess returns true when this submit shipment confirmations internal server error response has a 2xx status code

func (*SubmitShipmentConfirmationsInternalServerError) String

type SubmitShipmentConfirmationsNotFound

type SubmitShipmentConfirmationsNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsNotFound describes a response with status code 404, with default header values.

The resource specified does not exist.

func NewSubmitShipmentConfirmationsNotFound

func NewSubmitShipmentConfirmationsNotFound() *SubmitShipmentConfirmationsNotFound

NewSubmitShipmentConfirmationsNotFound creates a SubmitShipmentConfirmationsNotFound with default headers values

func (*SubmitShipmentConfirmationsNotFound) Error

func (*SubmitShipmentConfirmationsNotFound) GetPayload

func (*SubmitShipmentConfirmationsNotFound) IsClientError

func (o *SubmitShipmentConfirmationsNotFound) IsClientError() bool

IsClientError returns true when this submit shipment confirmations not found response has a 4xx status code

func (*SubmitShipmentConfirmationsNotFound) IsCode

IsCode returns true when this submit shipment confirmations not found response a status code equal to that given

func (*SubmitShipmentConfirmationsNotFound) IsRedirect

func (o *SubmitShipmentConfirmationsNotFound) IsRedirect() bool

IsRedirect returns true when this submit shipment confirmations not found response has a 3xx status code

func (*SubmitShipmentConfirmationsNotFound) IsServerError

func (o *SubmitShipmentConfirmationsNotFound) IsServerError() bool

IsServerError returns true when this submit shipment confirmations not found response has a 5xx status code

func (*SubmitShipmentConfirmationsNotFound) IsSuccess

IsSuccess returns true when this submit shipment confirmations not found response has a 2xx status code

func (*SubmitShipmentConfirmationsNotFound) String

type SubmitShipmentConfirmationsParams

type SubmitShipmentConfirmationsParams struct {

	// Body.
	Body *vendor_direct_fulfillment_shipping_2021_12_28_models.SubmitShipmentConfirmationsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SubmitShipmentConfirmationsParams contains all the parameters to send to the API endpoint

for the submit shipment confirmations operation.

Typically these are written to a http.Request.

func NewSubmitShipmentConfirmationsParams

func NewSubmitShipmentConfirmationsParams() *SubmitShipmentConfirmationsParams

NewSubmitShipmentConfirmationsParams creates a new SubmitShipmentConfirmationsParams 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 NewSubmitShipmentConfirmationsParamsWithContext

func NewSubmitShipmentConfirmationsParamsWithContext(ctx context.Context) *SubmitShipmentConfirmationsParams

NewSubmitShipmentConfirmationsParamsWithContext creates a new SubmitShipmentConfirmationsParams object with the ability to set a context for a request.

func NewSubmitShipmentConfirmationsParamsWithHTTPClient

func NewSubmitShipmentConfirmationsParamsWithHTTPClient(client *http.Client) *SubmitShipmentConfirmationsParams

NewSubmitShipmentConfirmationsParamsWithHTTPClient creates a new SubmitShipmentConfirmationsParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitShipmentConfirmationsParamsWithTimeout

func NewSubmitShipmentConfirmationsParamsWithTimeout(timeout time.Duration) *SubmitShipmentConfirmationsParams

NewSubmitShipmentConfirmationsParamsWithTimeout creates a new SubmitShipmentConfirmationsParams object with the ability to set a timeout on a request.

func (*SubmitShipmentConfirmationsParams) SetBody

SetBody adds the body to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) SetContext

SetContext adds the context to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) SetDefaults

func (o *SubmitShipmentConfirmationsParams) SetDefaults()

SetDefaults hydrates default values in the submit shipment confirmations params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitShipmentConfirmationsParams) SetHTTPClient

func (o *SubmitShipmentConfirmationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) SetTimeout

func (o *SubmitShipmentConfirmationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) WithBody

WithBody adds the body to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) WithContext

WithContext adds the context to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) WithDefaults

WithDefaults hydrates default values in the submit shipment confirmations params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitShipmentConfirmationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) WithTimeout

WithTimeout adds the timeout to the submit shipment confirmations params

func (*SubmitShipmentConfirmationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubmitShipmentConfirmationsReader

type SubmitShipmentConfirmationsReader struct {
	// contains filtered or unexported fields
}

SubmitShipmentConfirmationsReader is a Reader for the SubmitShipmentConfirmations structure.

func (*SubmitShipmentConfirmationsReader) ReadResponse

func (o *SubmitShipmentConfirmationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SubmitShipmentConfirmationsRequestEntityTooLarge

type SubmitShipmentConfirmationsRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request size exceeded the maximum accepted size.

func NewSubmitShipmentConfirmationsRequestEntityTooLarge

func NewSubmitShipmentConfirmationsRequestEntityTooLarge() *SubmitShipmentConfirmationsRequestEntityTooLarge

NewSubmitShipmentConfirmationsRequestEntityTooLarge creates a SubmitShipmentConfirmationsRequestEntityTooLarge with default headers values

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) Error

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) GetPayload

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) IsClientError

IsClientError returns true when this submit shipment confirmations request entity too large response has a 4xx status code

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) IsCode

IsCode returns true when this submit shipment confirmations request entity too large response a status code equal to that given

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this submit shipment confirmations request entity too large response has a 3xx status code

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) IsServerError

IsServerError returns true when this submit shipment confirmations request entity too large response has a 5xx status code

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this submit shipment confirmations request entity too large response has a 2xx status code

func (*SubmitShipmentConfirmationsRequestEntityTooLarge) String

type SubmitShipmentConfirmationsServiceUnavailable

type SubmitShipmentConfirmationsServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewSubmitShipmentConfirmationsServiceUnavailable

func NewSubmitShipmentConfirmationsServiceUnavailable() *SubmitShipmentConfirmationsServiceUnavailable

NewSubmitShipmentConfirmationsServiceUnavailable creates a SubmitShipmentConfirmationsServiceUnavailable with default headers values

func (*SubmitShipmentConfirmationsServiceUnavailable) Error

func (*SubmitShipmentConfirmationsServiceUnavailable) GetPayload

func (*SubmitShipmentConfirmationsServiceUnavailable) IsClientError

IsClientError returns true when this submit shipment confirmations service unavailable response has a 4xx status code

func (*SubmitShipmentConfirmationsServiceUnavailable) IsCode

IsCode returns true when this submit shipment confirmations service unavailable response a status code equal to that given

func (*SubmitShipmentConfirmationsServiceUnavailable) IsRedirect

IsRedirect returns true when this submit shipment confirmations service unavailable response has a 3xx status code

func (*SubmitShipmentConfirmationsServiceUnavailable) IsServerError

IsServerError returns true when this submit shipment confirmations service unavailable response has a 5xx status code

func (*SubmitShipmentConfirmationsServiceUnavailable) IsSuccess

IsSuccess returns true when this submit shipment confirmations service unavailable response has a 2xx status code

func (*SubmitShipmentConfirmationsServiceUnavailable) String

type SubmitShipmentConfirmationsTooManyRequests

type SubmitShipmentConfirmationsTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewSubmitShipmentConfirmationsTooManyRequests

func NewSubmitShipmentConfirmationsTooManyRequests() *SubmitShipmentConfirmationsTooManyRequests

NewSubmitShipmentConfirmationsTooManyRequests creates a SubmitShipmentConfirmationsTooManyRequests with default headers values

func (*SubmitShipmentConfirmationsTooManyRequests) Error

func (*SubmitShipmentConfirmationsTooManyRequests) GetPayload

func (*SubmitShipmentConfirmationsTooManyRequests) IsClientError

IsClientError returns true when this submit shipment confirmations too many requests response has a 4xx status code

func (*SubmitShipmentConfirmationsTooManyRequests) IsCode

IsCode returns true when this submit shipment confirmations too many requests response a status code equal to that given

func (*SubmitShipmentConfirmationsTooManyRequests) IsRedirect

IsRedirect returns true when this submit shipment confirmations too many requests response has a 3xx status code

func (*SubmitShipmentConfirmationsTooManyRequests) IsServerError

IsServerError returns true when this submit shipment confirmations too many requests response has a 5xx status code

func (*SubmitShipmentConfirmationsTooManyRequests) IsSuccess

IsSuccess returns true when this submit shipment confirmations too many requests response has a 2xx status code

func (*SubmitShipmentConfirmationsTooManyRequests) String

type SubmitShipmentConfirmationsUnsupportedMediaType

type SubmitShipmentConfirmationsUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentConfirmationsUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewSubmitShipmentConfirmationsUnsupportedMediaType

func NewSubmitShipmentConfirmationsUnsupportedMediaType() *SubmitShipmentConfirmationsUnsupportedMediaType

NewSubmitShipmentConfirmationsUnsupportedMediaType creates a SubmitShipmentConfirmationsUnsupportedMediaType with default headers values

func (*SubmitShipmentConfirmationsUnsupportedMediaType) Error

func (*SubmitShipmentConfirmationsUnsupportedMediaType) GetPayload

func (*SubmitShipmentConfirmationsUnsupportedMediaType) IsClientError

IsClientError returns true when this submit shipment confirmations unsupported media type response has a 4xx status code

func (*SubmitShipmentConfirmationsUnsupportedMediaType) IsCode

IsCode returns true when this submit shipment confirmations unsupported media type response a status code equal to that given

func (*SubmitShipmentConfirmationsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this submit shipment confirmations unsupported media type response has a 3xx status code

func (*SubmitShipmentConfirmationsUnsupportedMediaType) IsServerError

IsServerError returns true when this submit shipment confirmations unsupported media type response has a 5xx status code

func (*SubmitShipmentConfirmationsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this submit shipment confirmations unsupported media type response has a 2xx status code

func (*SubmitShipmentConfirmationsUnsupportedMediaType) String

type SubmitShipmentStatusUpdatesAccepted

type SubmitShipmentStatusUpdatesAccepted struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.TransactionReference
}

SubmitShipmentStatusUpdatesAccepted describes a response with status code 202, with default header values.

Success.

func NewSubmitShipmentStatusUpdatesAccepted

func NewSubmitShipmentStatusUpdatesAccepted() *SubmitShipmentStatusUpdatesAccepted

NewSubmitShipmentStatusUpdatesAccepted creates a SubmitShipmentStatusUpdatesAccepted with default headers values

func (*SubmitShipmentStatusUpdatesAccepted) Error

func (*SubmitShipmentStatusUpdatesAccepted) IsClientError

func (o *SubmitShipmentStatusUpdatesAccepted) IsClientError() bool

IsClientError returns true when this submit shipment status updates accepted response has a 4xx status code

func (*SubmitShipmentStatusUpdatesAccepted) IsCode

IsCode returns true when this submit shipment status updates accepted response a status code equal to that given

func (*SubmitShipmentStatusUpdatesAccepted) IsRedirect

func (o *SubmitShipmentStatusUpdatesAccepted) IsRedirect() bool

IsRedirect returns true when this submit shipment status updates accepted response has a 3xx status code

func (*SubmitShipmentStatusUpdatesAccepted) IsServerError

func (o *SubmitShipmentStatusUpdatesAccepted) IsServerError() bool

IsServerError returns true when this submit shipment status updates accepted response has a 5xx status code

func (*SubmitShipmentStatusUpdatesAccepted) IsSuccess

IsSuccess returns true when this submit shipment status updates accepted response has a 2xx status code

func (*SubmitShipmentStatusUpdatesAccepted) String

type SubmitShipmentStatusUpdatesBadRequest

type SubmitShipmentStatusUpdatesBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewSubmitShipmentStatusUpdatesBadRequest

func NewSubmitShipmentStatusUpdatesBadRequest() *SubmitShipmentStatusUpdatesBadRequest

NewSubmitShipmentStatusUpdatesBadRequest creates a SubmitShipmentStatusUpdatesBadRequest with default headers values

func (*SubmitShipmentStatusUpdatesBadRequest) Error

func (*SubmitShipmentStatusUpdatesBadRequest) GetPayload

func (*SubmitShipmentStatusUpdatesBadRequest) IsClientError

func (o *SubmitShipmentStatusUpdatesBadRequest) IsClientError() bool

IsClientError returns true when this submit shipment status updates bad request response has a 4xx status code

func (*SubmitShipmentStatusUpdatesBadRequest) IsCode

IsCode returns true when this submit shipment status updates bad request response a status code equal to that given

func (*SubmitShipmentStatusUpdatesBadRequest) IsRedirect

IsRedirect returns true when this submit shipment status updates bad request response has a 3xx status code

func (*SubmitShipmentStatusUpdatesBadRequest) IsServerError

func (o *SubmitShipmentStatusUpdatesBadRequest) IsServerError() bool

IsServerError returns true when this submit shipment status updates bad request response has a 5xx status code

func (*SubmitShipmentStatusUpdatesBadRequest) IsSuccess

IsSuccess returns true when this submit shipment status updates bad request response has a 2xx status code

func (*SubmitShipmentStatusUpdatesBadRequest) String

type SubmitShipmentStatusUpdatesForbidden

type SubmitShipmentStatusUpdatesForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesForbidden 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 NewSubmitShipmentStatusUpdatesForbidden

func NewSubmitShipmentStatusUpdatesForbidden() *SubmitShipmentStatusUpdatesForbidden

NewSubmitShipmentStatusUpdatesForbidden creates a SubmitShipmentStatusUpdatesForbidden with default headers values

func (*SubmitShipmentStatusUpdatesForbidden) Error

func (*SubmitShipmentStatusUpdatesForbidden) GetPayload

func (*SubmitShipmentStatusUpdatesForbidden) IsClientError

func (o *SubmitShipmentStatusUpdatesForbidden) IsClientError() bool

IsClientError returns true when this submit shipment status updates forbidden response has a 4xx status code

func (*SubmitShipmentStatusUpdatesForbidden) IsCode

IsCode returns true when this submit shipment status updates forbidden response a status code equal to that given

func (*SubmitShipmentStatusUpdatesForbidden) IsRedirect

IsRedirect returns true when this submit shipment status updates forbidden response has a 3xx status code

func (*SubmitShipmentStatusUpdatesForbidden) IsServerError

func (o *SubmitShipmentStatusUpdatesForbidden) IsServerError() bool

IsServerError returns true when this submit shipment status updates forbidden response has a 5xx status code

func (*SubmitShipmentStatusUpdatesForbidden) IsSuccess

IsSuccess returns true when this submit shipment status updates forbidden response has a 2xx status code

func (*SubmitShipmentStatusUpdatesForbidden) String

type SubmitShipmentStatusUpdatesInternalServerError

type SubmitShipmentStatusUpdatesInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewSubmitShipmentStatusUpdatesInternalServerError

func NewSubmitShipmentStatusUpdatesInternalServerError() *SubmitShipmentStatusUpdatesInternalServerError

NewSubmitShipmentStatusUpdatesInternalServerError creates a SubmitShipmentStatusUpdatesInternalServerError with default headers values

func (*SubmitShipmentStatusUpdatesInternalServerError) Error

func (*SubmitShipmentStatusUpdatesInternalServerError) GetPayload

func (*SubmitShipmentStatusUpdatesInternalServerError) IsClientError

IsClientError returns true when this submit shipment status updates internal server error response has a 4xx status code

func (*SubmitShipmentStatusUpdatesInternalServerError) IsCode

IsCode returns true when this submit shipment status updates internal server error response a status code equal to that given

func (*SubmitShipmentStatusUpdatesInternalServerError) IsRedirect

IsRedirect returns true when this submit shipment status updates internal server error response has a 3xx status code

func (*SubmitShipmentStatusUpdatesInternalServerError) IsServerError

IsServerError returns true when this submit shipment status updates internal server error response has a 5xx status code

func (*SubmitShipmentStatusUpdatesInternalServerError) IsSuccess

IsSuccess returns true when this submit shipment status updates internal server error response has a 2xx status code

func (*SubmitShipmentStatusUpdatesInternalServerError) String

type SubmitShipmentStatusUpdatesNotFound

type SubmitShipmentStatusUpdatesNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesNotFound describes a response with status code 404, with default header values.

The resource specified does not exist.

func NewSubmitShipmentStatusUpdatesNotFound

func NewSubmitShipmentStatusUpdatesNotFound() *SubmitShipmentStatusUpdatesNotFound

NewSubmitShipmentStatusUpdatesNotFound creates a SubmitShipmentStatusUpdatesNotFound with default headers values

func (*SubmitShipmentStatusUpdatesNotFound) Error

func (*SubmitShipmentStatusUpdatesNotFound) GetPayload

func (*SubmitShipmentStatusUpdatesNotFound) IsClientError

func (o *SubmitShipmentStatusUpdatesNotFound) IsClientError() bool

IsClientError returns true when this submit shipment status updates not found response has a 4xx status code

func (*SubmitShipmentStatusUpdatesNotFound) IsCode

IsCode returns true when this submit shipment status updates not found response a status code equal to that given

func (*SubmitShipmentStatusUpdatesNotFound) IsRedirect

func (o *SubmitShipmentStatusUpdatesNotFound) IsRedirect() bool

IsRedirect returns true when this submit shipment status updates not found response has a 3xx status code

func (*SubmitShipmentStatusUpdatesNotFound) IsServerError

func (o *SubmitShipmentStatusUpdatesNotFound) IsServerError() bool

IsServerError returns true when this submit shipment status updates not found response has a 5xx status code

func (*SubmitShipmentStatusUpdatesNotFound) IsSuccess

IsSuccess returns true when this submit shipment status updates not found response has a 2xx status code

func (*SubmitShipmentStatusUpdatesNotFound) String

type SubmitShipmentStatusUpdatesParams

type SubmitShipmentStatusUpdatesParams struct {

	// Body.
	Body *vendor_direct_fulfillment_shipping_2021_12_28_models.SubmitShipmentStatusUpdatesRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SubmitShipmentStatusUpdatesParams contains all the parameters to send to the API endpoint

for the submit shipment status updates operation.

Typically these are written to a http.Request.

func NewSubmitShipmentStatusUpdatesParams

func NewSubmitShipmentStatusUpdatesParams() *SubmitShipmentStatusUpdatesParams

NewSubmitShipmentStatusUpdatesParams creates a new SubmitShipmentStatusUpdatesParams 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 NewSubmitShipmentStatusUpdatesParamsWithContext

func NewSubmitShipmentStatusUpdatesParamsWithContext(ctx context.Context) *SubmitShipmentStatusUpdatesParams

NewSubmitShipmentStatusUpdatesParamsWithContext creates a new SubmitShipmentStatusUpdatesParams object with the ability to set a context for a request.

func NewSubmitShipmentStatusUpdatesParamsWithHTTPClient

func NewSubmitShipmentStatusUpdatesParamsWithHTTPClient(client *http.Client) *SubmitShipmentStatusUpdatesParams

NewSubmitShipmentStatusUpdatesParamsWithHTTPClient creates a new SubmitShipmentStatusUpdatesParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitShipmentStatusUpdatesParamsWithTimeout

func NewSubmitShipmentStatusUpdatesParamsWithTimeout(timeout time.Duration) *SubmitShipmentStatusUpdatesParams

NewSubmitShipmentStatusUpdatesParamsWithTimeout creates a new SubmitShipmentStatusUpdatesParams object with the ability to set a timeout on a request.

func (*SubmitShipmentStatusUpdatesParams) SetBody

SetBody adds the body to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) SetContext

SetContext adds the context to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) SetDefaults

func (o *SubmitShipmentStatusUpdatesParams) SetDefaults()

SetDefaults hydrates default values in the submit shipment status updates params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitShipmentStatusUpdatesParams) SetHTTPClient

func (o *SubmitShipmentStatusUpdatesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) SetTimeout

func (o *SubmitShipmentStatusUpdatesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) WithBody

WithBody adds the body to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) WithContext

WithContext adds the context to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) WithDefaults

WithDefaults hydrates default values in the submit shipment status updates params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitShipmentStatusUpdatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) WithTimeout

WithTimeout adds the timeout to the submit shipment status updates params

func (*SubmitShipmentStatusUpdatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubmitShipmentStatusUpdatesReader

type SubmitShipmentStatusUpdatesReader struct {
	// contains filtered or unexported fields
}

SubmitShipmentStatusUpdatesReader is a Reader for the SubmitShipmentStatusUpdates structure.

func (*SubmitShipmentStatusUpdatesReader) ReadResponse

func (o *SubmitShipmentStatusUpdatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SubmitShipmentStatusUpdatesRequestEntityTooLarge

type SubmitShipmentStatusUpdatesRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request size exceeded the maximum accepted size.

func NewSubmitShipmentStatusUpdatesRequestEntityTooLarge

func NewSubmitShipmentStatusUpdatesRequestEntityTooLarge() *SubmitShipmentStatusUpdatesRequestEntityTooLarge

NewSubmitShipmentStatusUpdatesRequestEntityTooLarge creates a SubmitShipmentStatusUpdatesRequestEntityTooLarge with default headers values

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) Error

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) GetPayload

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) IsClientError

IsClientError returns true when this submit shipment status updates request entity too large response has a 4xx status code

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) IsCode

IsCode returns true when this submit shipment status updates request entity too large response a status code equal to that given

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this submit shipment status updates request entity too large response has a 3xx status code

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) IsServerError

IsServerError returns true when this submit shipment status updates request entity too large response has a 5xx status code

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this submit shipment status updates request entity too large response has a 2xx status code

func (*SubmitShipmentStatusUpdatesRequestEntityTooLarge) String

type SubmitShipmentStatusUpdatesServiceUnavailable

type SubmitShipmentStatusUpdatesServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewSubmitShipmentStatusUpdatesServiceUnavailable

func NewSubmitShipmentStatusUpdatesServiceUnavailable() *SubmitShipmentStatusUpdatesServiceUnavailable

NewSubmitShipmentStatusUpdatesServiceUnavailable creates a SubmitShipmentStatusUpdatesServiceUnavailable with default headers values

func (*SubmitShipmentStatusUpdatesServiceUnavailable) Error

func (*SubmitShipmentStatusUpdatesServiceUnavailable) GetPayload

func (*SubmitShipmentStatusUpdatesServiceUnavailable) IsClientError

IsClientError returns true when this submit shipment status updates service unavailable response has a 4xx status code

func (*SubmitShipmentStatusUpdatesServiceUnavailable) IsCode

IsCode returns true when this submit shipment status updates service unavailable response a status code equal to that given

func (*SubmitShipmentStatusUpdatesServiceUnavailable) IsRedirect

IsRedirect returns true when this submit shipment status updates service unavailable response has a 3xx status code

func (*SubmitShipmentStatusUpdatesServiceUnavailable) IsServerError

IsServerError returns true when this submit shipment status updates service unavailable response has a 5xx status code

func (*SubmitShipmentStatusUpdatesServiceUnavailable) IsSuccess

IsSuccess returns true when this submit shipment status updates service unavailable response has a 2xx status code

func (*SubmitShipmentStatusUpdatesServiceUnavailable) String

type SubmitShipmentStatusUpdatesTooManyRequests

type SubmitShipmentStatusUpdatesTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewSubmitShipmentStatusUpdatesTooManyRequests

func NewSubmitShipmentStatusUpdatesTooManyRequests() *SubmitShipmentStatusUpdatesTooManyRequests

NewSubmitShipmentStatusUpdatesTooManyRequests creates a SubmitShipmentStatusUpdatesTooManyRequests with default headers values

func (*SubmitShipmentStatusUpdatesTooManyRequests) Error

func (*SubmitShipmentStatusUpdatesTooManyRequests) GetPayload

func (*SubmitShipmentStatusUpdatesTooManyRequests) IsClientError

IsClientError returns true when this submit shipment status updates too many requests response has a 4xx status code

func (*SubmitShipmentStatusUpdatesTooManyRequests) IsCode

IsCode returns true when this submit shipment status updates too many requests response a status code equal to that given

func (*SubmitShipmentStatusUpdatesTooManyRequests) IsRedirect

IsRedirect returns true when this submit shipment status updates too many requests response has a 3xx status code

func (*SubmitShipmentStatusUpdatesTooManyRequests) IsServerError

IsServerError returns true when this submit shipment status updates too many requests response has a 5xx status code

func (*SubmitShipmentStatusUpdatesTooManyRequests) IsSuccess

IsSuccess returns true when this submit shipment status updates too many requests response has a 2xx status code

func (*SubmitShipmentStatusUpdatesTooManyRequests) String

type SubmitShipmentStatusUpdatesUnsupportedMediaType

type SubmitShipmentStatusUpdatesUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShipmentStatusUpdatesUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewSubmitShipmentStatusUpdatesUnsupportedMediaType

func NewSubmitShipmentStatusUpdatesUnsupportedMediaType() *SubmitShipmentStatusUpdatesUnsupportedMediaType

NewSubmitShipmentStatusUpdatesUnsupportedMediaType creates a SubmitShipmentStatusUpdatesUnsupportedMediaType with default headers values

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) Error

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) GetPayload

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) IsClientError

IsClientError returns true when this submit shipment status updates unsupported media type response has a 4xx status code

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) IsCode

IsCode returns true when this submit shipment status updates unsupported media type response a status code equal to that given

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this submit shipment status updates unsupported media type response has a 3xx status code

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) IsServerError

IsServerError returns true when this submit shipment status updates unsupported media type response has a 5xx status code

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this submit shipment status updates unsupported media type response has a 2xx status code

func (*SubmitShipmentStatusUpdatesUnsupportedMediaType) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL