vendor_shipping_labels

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 labels API

func (*Client) CreateShippingLabels

func (a *Client) CreateShippingLabels(params *CreateShippingLabelsParams, opts ...ClientOption) (*CreateShippingLabelsOK, error)
CreateShippingLabels Creates shipping labels for a purchase order and returns the labels.

**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) GetShippingLabel

func (a *Client) GetShippingLabel(params *GetShippingLabelParams, opts ...ClientOption) (*GetShippingLabelOK, error)
GetShippingLabel Returns a shipping label for 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) GetShippingLabels

func (a *Client) GetShippingLabels(params *GetShippingLabelsParams, opts ...ClientOption) (*GetShippingLabelsOK, error)
GetShippingLabels Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The 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) SubmitShippingLabelRequest

func (a *Client) SubmitShippingLabelRequest(params *SubmitShippingLabelRequestParams, opts ...ClientOption) (*SubmitShippingLabelRequestAccepted, error)
SubmitShippingLabelRequest Creates a shipping label for a purchase order and returns a transactionId for reference.

**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 {
	CreateShippingLabels(params *CreateShippingLabelsParams, opts ...ClientOption) (*CreateShippingLabelsOK, error)

	GetShippingLabel(params *GetShippingLabelParams, opts ...ClientOption) (*GetShippingLabelOK, error)

	GetShippingLabels(params *GetShippingLabelsParams, opts ...ClientOption) (*GetShippingLabelsOK, error)

	SubmitShippingLabelRequest(params *SubmitShippingLabelRequestParams, opts ...ClientOption) (*SubmitShippingLabelRequestAccepted, 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 labels API client.

type CreateShippingLabelsBadRequest

type CreateShippingLabelsBadRequest 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
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCreateShippingLabelsBadRequest

func NewCreateShippingLabelsBadRequest() *CreateShippingLabelsBadRequest

NewCreateShippingLabelsBadRequest creates a CreateShippingLabelsBadRequest with default headers values

func (*CreateShippingLabelsBadRequest) Error

func (*CreateShippingLabelsBadRequest) GetPayload

func (*CreateShippingLabelsBadRequest) IsClientError

func (o *CreateShippingLabelsBadRequest) IsClientError() bool

IsClientError returns true when this create shipping labels bad request response has a 4xx status code

func (*CreateShippingLabelsBadRequest) IsCode

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

IsCode returns true when this create shipping labels bad request response a status code equal to that given

func (*CreateShippingLabelsBadRequest) IsRedirect

func (o *CreateShippingLabelsBadRequest) IsRedirect() bool

IsRedirect returns true when this create shipping labels bad request response has a 3xx status code

func (*CreateShippingLabelsBadRequest) IsServerError

func (o *CreateShippingLabelsBadRequest) IsServerError() bool

IsServerError returns true when this create shipping labels bad request response has a 5xx status code

func (*CreateShippingLabelsBadRequest) IsSuccess

func (o *CreateShippingLabelsBadRequest) IsSuccess() bool

IsSuccess returns true when this create shipping labels bad request response has a 2xx status code

func (*CreateShippingLabelsBadRequest) String

type CreateShippingLabelsConflict

type CreateShippingLabelsConflict struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

CreateShippingLabelsConflict describes a response with status code 409, with default header values.

The request conflicts with the current state of the resource (shipment).

func NewCreateShippingLabelsConflict

func NewCreateShippingLabelsConflict() *CreateShippingLabelsConflict

NewCreateShippingLabelsConflict creates a CreateShippingLabelsConflict with default headers values

func (*CreateShippingLabelsConflict) Error

func (*CreateShippingLabelsConflict) IsClientError

func (o *CreateShippingLabelsConflict) IsClientError() bool

IsClientError returns true when this create shipping labels conflict response has a 4xx status code

func (*CreateShippingLabelsConflict) IsCode

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

IsCode returns true when this create shipping labels conflict response a status code equal to that given

func (*CreateShippingLabelsConflict) IsRedirect

func (o *CreateShippingLabelsConflict) IsRedirect() bool

IsRedirect returns true when this create shipping labels conflict response has a 3xx status code

func (*CreateShippingLabelsConflict) IsServerError

func (o *CreateShippingLabelsConflict) IsServerError() bool

IsServerError returns true when this create shipping labels conflict response has a 5xx status code

func (*CreateShippingLabelsConflict) IsSuccess

func (o *CreateShippingLabelsConflict) IsSuccess() bool

IsSuccess returns true when this create shipping labels conflict response has a 2xx status code

func (*CreateShippingLabelsConflict) String

type CreateShippingLabelsForbidden

type CreateShippingLabelsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

CreateShippingLabelsForbidden 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 NewCreateShippingLabelsForbidden

func NewCreateShippingLabelsForbidden() *CreateShippingLabelsForbidden

NewCreateShippingLabelsForbidden creates a CreateShippingLabelsForbidden with default headers values

func (*CreateShippingLabelsForbidden) Error

func (*CreateShippingLabelsForbidden) GetPayload

func (*CreateShippingLabelsForbidden) IsClientError

func (o *CreateShippingLabelsForbidden) IsClientError() bool

IsClientError returns true when this create shipping labels forbidden response has a 4xx status code

func (*CreateShippingLabelsForbidden) IsCode

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

IsCode returns true when this create shipping labels forbidden response a status code equal to that given

func (*CreateShippingLabelsForbidden) IsRedirect

func (o *CreateShippingLabelsForbidden) IsRedirect() bool

IsRedirect returns true when this create shipping labels forbidden response has a 3xx status code

func (*CreateShippingLabelsForbidden) IsServerError

func (o *CreateShippingLabelsForbidden) IsServerError() bool

IsServerError returns true when this create shipping labels forbidden response has a 5xx status code

func (*CreateShippingLabelsForbidden) IsSuccess

func (o *CreateShippingLabelsForbidden) IsSuccess() bool

IsSuccess returns true when this create shipping labels forbidden response has a 2xx status code

func (*CreateShippingLabelsForbidden) String

type CreateShippingLabelsInternalServerError

type CreateShippingLabelsInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

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

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

func NewCreateShippingLabelsInternalServerError

func NewCreateShippingLabelsInternalServerError() *CreateShippingLabelsInternalServerError

NewCreateShippingLabelsInternalServerError creates a CreateShippingLabelsInternalServerError with default headers values

func (*CreateShippingLabelsInternalServerError) Error

func (*CreateShippingLabelsInternalServerError) GetPayload

func (*CreateShippingLabelsInternalServerError) IsClientError

func (o *CreateShippingLabelsInternalServerError) IsClientError() bool

IsClientError returns true when this create shipping labels internal server error response has a 4xx status code

func (*CreateShippingLabelsInternalServerError) IsCode

IsCode returns true when this create shipping labels internal server error response a status code equal to that given

func (*CreateShippingLabelsInternalServerError) IsRedirect

IsRedirect returns true when this create shipping labels internal server error response has a 3xx status code

func (*CreateShippingLabelsInternalServerError) IsServerError

func (o *CreateShippingLabelsInternalServerError) IsServerError() bool

IsServerError returns true when this create shipping labels internal server error response has a 5xx status code

func (*CreateShippingLabelsInternalServerError) IsSuccess

IsSuccess returns true when this create shipping labels internal server error response has a 2xx status code

func (*CreateShippingLabelsInternalServerError) String

type CreateShippingLabelsNotFound

type CreateShippingLabelsNotFound 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
}

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

The resource specified does not exist.

func NewCreateShippingLabelsNotFound

func NewCreateShippingLabelsNotFound() *CreateShippingLabelsNotFound

NewCreateShippingLabelsNotFound creates a CreateShippingLabelsNotFound with default headers values

func (*CreateShippingLabelsNotFound) Error

func (*CreateShippingLabelsNotFound) IsClientError

func (o *CreateShippingLabelsNotFound) IsClientError() bool

IsClientError returns true when this create shipping labels not found response has a 4xx status code

func (*CreateShippingLabelsNotFound) IsCode

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

IsCode returns true when this create shipping labels not found response a status code equal to that given

func (*CreateShippingLabelsNotFound) IsRedirect

func (o *CreateShippingLabelsNotFound) IsRedirect() bool

IsRedirect returns true when this create shipping labels not found response has a 3xx status code

func (*CreateShippingLabelsNotFound) IsServerError

func (o *CreateShippingLabelsNotFound) IsServerError() bool

IsServerError returns true when this create shipping labels not found response has a 5xx status code

func (*CreateShippingLabelsNotFound) IsSuccess

func (o *CreateShippingLabelsNotFound) IsSuccess() bool

IsSuccess returns true when this create shipping labels not found response has a 2xx status code

func (*CreateShippingLabelsNotFound) String

type CreateShippingLabelsOK

type CreateShippingLabelsOK 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.ShippingLabel
}

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

Success.

func NewCreateShippingLabelsOK

func NewCreateShippingLabelsOK() *CreateShippingLabelsOK

NewCreateShippingLabelsOK creates a CreateShippingLabelsOK with default headers values

func (*CreateShippingLabelsOK) Error

func (o *CreateShippingLabelsOK) Error() string

func (*CreateShippingLabelsOK) IsClientError

func (o *CreateShippingLabelsOK) IsClientError() bool

IsClientError returns true when this create shipping labels o k response has a 4xx status code

func (*CreateShippingLabelsOK) IsCode

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

IsCode returns true when this create shipping labels o k response a status code equal to that given

func (*CreateShippingLabelsOK) IsRedirect

func (o *CreateShippingLabelsOK) IsRedirect() bool

IsRedirect returns true when this create shipping labels o k response has a 3xx status code

func (*CreateShippingLabelsOK) IsServerError

func (o *CreateShippingLabelsOK) IsServerError() bool

IsServerError returns true when this create shipping labels o k response has a 5xx status code

func (*CreateShippingLabelsOK) IsSuccess

func (o *CreateShippingLabelsOK) IsSuccess() bool

IsSuccess returns true when this create shipping labels o k response has a 2xx status code

func (*CreateShippingLabelsOK) String

func (o *CreateShippingLabelsOK) String() string

type CreateShippingLabelsParams

type CreateShippingLabelsParams struct {

	// Body.
	Body *vendor_direct_fulfillment_shipping_2021_12_28_models.CreateShippingLabelsRequest

	/* PurchaseOrderNumber.

	   The purchase order number for which you want to return the shipping labels. It should be the same purchaseOrderNumber as received in the order.
	*/
	PurchaseOrderNumber string

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

CreateShippingLabelsParams contains all the parameters to send to the API endpoint

for the create shipping labels operation.

Typically these are written to a http.Request.

func NewCreateShippingLabelsParams

func NewCreateShippingLabelsParams() *CreateShippingLabelsParams

NewCreateShippingLabelsParams creates a new CreateShippingLabelsParams 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 NewCreateShippingLabelsParamsWithContext

func NewCreateShippingLabelsParamsWithContext(ctx context.Context) *CreateShippingLabelsParams

NewCreateShippingLabelsParamsWithContext creates a new CreateShippingLabelsParams object with the ability to set a context for a request.

func NewCreateShippingLabelsParamsWithHTTPClient

func NewCreateShippingLabelsParamsWithHTTPClient(client *http.Client) *CreateShippingLabelsParams

NewCreateShippingLabelsParamsWithHTTPClient creates a new CreateShippingLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateShippingLabelsParamsWithTimeout

func NewCreateShippingLabelsParamsWithTimeout(timeout time.Duration) *CreateShippingLabelsParams

NewCreateShippingLabelsParamsWithTimeout creates a new CreateShippingLabelsParams object with the ability to set a timeout on a request.

func (*CreateShippingLabelsParams) SetBody

SetBody adds the body to the create shipping labels params

func (*CreateShippingLabelsParams) SetContext

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

SetContext adds the context to the create shipping labels params

func (*CreateShippingLabelsParams) SetDefaults

func (o *CreateShippingLabelsParams) SetDefaults()

SetDefaults hydrates default values in the create shipping labels params (not the query body).

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

func (*CreateShippingLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create shipping labels params

func (*CreateShippingLabelsParams) SetPurchaseOrderNumber

func (o *CreateShippingLabelsParams) SetPurchaseOrderNumber(purchaseOrderNumber string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the create shipping labels params

func (*CreateShippingLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the create shipping labels params

func (*CreateShippingLabelsParams) WithBody

WithBody adds the body to the create shipping labels params

func (*CreateShippingLabelsParams) WithContext

WithContext adds the context to the create shipping labels params

func (*CreateShippingLabelsParams) WithDefaults

WithDefaults hydrates default values in the create shipping labels params (not the query body).

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

func (*CreateShippingLabelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create shipping labels params

func (*CreateShippingLabelsParams) WithPurchaseOrderNumber

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

WithPurchaseOrderNumber adds the purchaseOrderNumber to the create shipping labels params

func (*CreateShippingLabelsParams) WithTimeout

WithTimeout adds the timeout to the create shipping labels params

func (*CreateShippingLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateShippingLabelsReader

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

CreateShippingLabelsReader is a Reader for the CreateShippingLabels structure.

func (*CreateShippingLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateShippingLabelsRequestEntityTooLarge

type CreateShippingLabelsRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewCreateShippingLabelsRequestEntityTooLarge

func NewCreateShippingLabelsRequestEntityTooLarge() *CreateShippingLabelsRequestEntityTooLarge

NewCreateShippingLabelsRequestEntityTooLarge creates a CreateShippingLabelsRequestEntityTooLarge with default headers values

func (*CreateShippingLabelsRequestEntityTooLarge) Error

func (*CreateShippingLabelsRequestEntityTooLarge) GetPayload

func (*CreateShippingLabelsRequestEntityTooLarge) IsClientError

IsClientError returns true when this create shipping labels request entity too large response has a 4xx status code

func (*CreateShippingLabelsRequestEntityTooLarge) IsCode

IsCode returns true when this create shipping labels request entity too large response a status code equal to that given

func (*CreateShippingLabelsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this create shipping labels request entity too large response has a 3xx status code

func (*CreateShippingLabelsRequestEntityTooLarge) IsServerError

IsServerError returns true when this create shipping labels request entity too large response has a 5xx status code

func (*CreateShippingLabelsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this create shipping labels request entity too large response has a 2xx status code

func (*CreateShippingLabelsRequestEntityTooLarge) String

type CreateShippingLabelsServiceUnavailable

type CreateShippingLabelsServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewCreateShippingLabelsServiceUnavailable

func NewCreateShippingLabelsServiceUnavailable() *CreateShippingLabelsServiceUnavailable

NewCreateShippingLabelsServiceUnavailable creates a CreateShippingLabelsServiceUnavailable with default headers values

func (*CreateShippingLabelsServiceUnavailable) Error

func (*CreateShippingLabelsServiceUnavailable) GetPayload

func (*CreateShippingLabelsServiceUnavailable) IsClientError

func (o *CreateShippingLabelsServiceUnavailable) IsClientError() bool

IsClientError returns true when this create shipping labels service unavailable response has a 4xx status code

func (*CreateShippingLabelsServiceUnavailable) IsCode

IsCode returns true when this create shipping labels service unavailable response a status code equal to that given

func (*CreateShippingLabelsServiceUnavailable) IsRedirect

IsRedirect returns true when this create shipping labels service unavailable response has a 3xx status code

func (*CreateShippingLabelsServiceUnavailable) IsServerError

func (o *CreateShippingLabelsServiceUnavailable) IsServerError() bool

IsServerError returns true when this create shipping labels service unavailable response has a 5xx status code

func (*CreateShippingLabelsServiceUnavailable) IsSuccess

IsSuccess returns true when this create shipping labels service unavailable response has a 2xx status code

func (*CreateShippingLabelsServiceUnavailable) String

type CreateShippingLabelsTooManyRequests

type CreateShippingLabelsTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewCreateShippingLabelsTooManyRequests

func NewCreateShippingLabelsTooManyRequests() *CreateShippingLabelsTooManyRequests

NewCreateShippingLabelsTooManyRequests creates a CreateShippingLabelsTooManyRequests with default headers values

func (*CreateShippingLabelsTooManyRequests) Error

func (*CreateShippingLabelsTooManyRequests) GetPayload

func (*CreateShippingLabelsTooManyRequests) IsClientError

func (o *CreateShippingLabelsTooManyRequests) IsClientError() bool

IsClientError returns true when this create shipping labels too many requests response has a 4xx status code

func (*CreateShippingLabelsTooManyRequests) IsCode

IsCode returns true when this create shipping labels too many requests response a status code equal to that given

func (*CreateShippingLabelsTooManyRequests) IsRedirect

func (o *CreateShippingLabelsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create shipping labels too many requests response has a 3xx status code

func (*CreateShippingLabelsTooManyRequests) IsServerError

func (o *CreateShippingLabelsTooManyRequests) IsServerError() bool

IsServerError returns true when this create shipping labels too many requests response has a 5xx status code

func (*CreateShippingLabelsTooManyRequests) IsSuccess

IsSuccess returns true when this create shipping labels too many requests response has a 2xx status code

func (*CreateShippingLabelsTooManyRequests) String

type CreateShippingLabelsUnsupportedMediaType

type CreateShippingLabelsUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewCreateShippingLabelsUnsupportedMediaType

func NewCreateShippingLabelsUnsupportedMediaType() *CreateShippingLabelsUnsupportedMediaType

NewCreateShippingLabelsUnsupportedMediaType creates a CreateShippingLabelsUnsupportedMediaType with default headers values

func (*CreateShippingLabelsUnsupportedMediaType) Error

func (*CreateShippingLabelsUnsupportedMediaType) GetPayload

func (*CreateShippingLabelsUnsupportedMediaType) IsClientError

IsClientError returns true when this create shipping labels unsupported media type response has a 4xx status code

func (*CreateShippingLabelsUnsupportedMediaType) IsCode

IsCode returns true when this create shipping labels unsupported media type response a status code equal to that given

func (*CreateShippingLabelsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this create shipping labels unsupported media type response has a 3xx status code

func (*CreateShippingLabelsUnsupportedMediaType) IsServerError

IsServerError returns true when this create shipping labels unsupported media type response has a 5xx status code

func (*CreateShippingLabelsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this create shipping labels unsupported media type response has a 2xx status code

func (*CreateShippingLabelsUnsupportedMediaType) String

type GetShippingLabelBadRequest

type GetShippingLabelBadRequest 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
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetShippingLabelBadRequest

func NewGetShippingLabelBadRequest() *GetShippingLabelBadRequest

NewGetShippingLabelBadRequest creates a GetShippingLabelBadRequest with default headers values

func (*GetShippingLabelBadRequest) Error

func (*GetShippingLabelBadRequest) IsClientError

func (o *GetShippingLabelBadRequest) IsClientError() bool

IsClientError returns true when this get shipping label bad request response has a 4xx status code

func (*GetShippingLabelBadRequest) IsCode

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

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

func (*GetShippingLabelBadRequest) IsRedirect

func (o *GetShippingLabelBadRequest) IsRedirect() bool

IsRedirect returns true when this get shipping label bad request response has a 3xx status code

func (*GetShippingLabelBadRequest) IsServerError

func (o *GetShippingLabelBadRequest) IsServerError() bool

IsServerError returns true when this get shipping label bad request response has a 5xx status code

func (*GetShippingLabelBadRequest) IsSuccess

func (o *GetShippingLabelBadRequest) IsSuccess() bool

IsSuccess returns true when this get shipping label bad request response has a 2xx status code

func (*GetShippingLabelBadRequest) String

func (o *GetShippingLabelBadRequest) String() string

type GetShippingLabelForbidden

type GetShippingLabelForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetShippingLabelForbidden 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 NewGetShippingLabelForbidden

func NewGetShippingLabelForbidden() *GetShippingLabelForbidden

NewGetShippingLabelForbidden creates a GetShippingLabelForbidden with default headers values

func (*GetShippingLabelForbidden) Error

func (o *GetShippingLabelForbidden) Error() string

func (*GetShippingLabelForbidden) IsClientError

func (o *GetShippingLabelForbidden) IsClientError() bool

IsClientError returns true when this get shipping label forbidden response has a 4xx status code

func (*GetShippingLabelForbidden) IsCode

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

IsCode returns true when this get shipping label forbidden response a status code equal to that given

func (*GetShippingLabelForbidden) IsRedirect

func (o *GetShippingLabelForbidden) IsRedirect() bool

IsRedirect returns true when this get shipping label forbidden response has a 3xx status code

func (*GetShippingLabelForbidden) IsServerError

func (o *GetShippingLabelForbidden) IsServerError() bool

IsServerError returns true when this get shipping label forbidden response has a 5xx status code

func (*GetShippingLabelForbidden) IsSuccess

func (o *GetShippingLabelForbidden) IsSuccess() bool

IsSuccess returns true when this get shipping label forbidden response has a 2xx status code

func (*GetShippingLabelForbidden) String

func (o *GetShippingLabelForbidden) String() string

type GetShippingLabelInternalServerError

type GetShippingLabelInternalServerError 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_shipping_2021_12_28_models.ErrorList
}

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

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

func NewGetShippingLabelInternalServerError

func NewGetShippingLabelInternalServerError() *GetShippingLabelInternalServerError

NewGetShippingLabelInternalServerError creates a GetShippingLabelInternalServerError with default headers values

func (*GetShippingLabelInternalServerError) Error

func (*GetShippingLabelInternalServerError) GetPayload

func (*GetShippingLabelInternalServerError) IsClientError

func (o *GetShippingLabelInternalServerError) IsClientError() bool

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

func (*GetShippingLabelInternalServerError) IsCode

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

func (*GetShippingLabelInternalServerError) IsRedirect

func (o *GetShippingLabelInternalServerError) IsRedirect() bool

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

func (*GetShippingLabelInternalServerError) IsServerError

func (o *GetShippingLabelInternalServerError) IsServerError() bool

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

func (*GetShippingLabelInternalServerError) IsSuccess

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

func (*GetShippingLabelInternalServerError) String

type GetShippingLabelNotFound

type GetShippingLabelNotFound 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
}

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

The resource specified does not exist.

func NewGetShippingLabelNotFound

func NewGetShippingLabelNotFound() *GetShippingLabelNotFound

NewGetShippingLabelNotFound creates a GetShippingLabelNotFound with default headers values

func (*GetShippingLabelNotFound) Error

func (o *GetShippingLabelNotFound) Error() string

func (*GetShippingLabelNotFound) IsClientError

func (o *GetShippingLabelNotFound) IsClientError() bool

IsClientError returns true when this get shipping label not found response has a 4xx status code

func (*GetShippingLabelNotFound) IsCode

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

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

func (*GetShippingLabelNotFound) IsRedirect

func (o *GetShippingLabelNotFound) IsRedirect() bool

IsRedirect returns true when this get shipping label not found response has a 3xx status code

func (*GetShippingLabelNotFound) IsServerError

func (o *GetShippingLabelNotFound) IsServerError() bool

IsServerError returns true when this get shipping label not found response has a 5xx status code

func (*GetShippingLabelNotFound) IsSuccess

func (o *GetShippingLabelNotFound) IsSuccess() bool

IsSuccess returns true when this get shipping label not found response has a 2xx status code

func (*GetShippingLabelNotFound) String

func (o *GetShippingLabelNotFound) String() string

type GetShippingLabelOK

type GetShippingLabelOK 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.ShippingLabel
}

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

Success.

func NewGetShippingLabelOK

func NewGetShippingLabelOK() *GetShippingLabelOK

NewGetShippingLabelOK creates a GetShippingLabelOK with default headers values

func (*GetShippingLabelOK) Error

func (o *GetShippingLabelOK) Error() string

func (*GetShippingLabelOK) IsClientError

func (o *GetShippingLabelOK) IsClientError() bool

IsClientError returns true when this get shipping label o k response has a 4xx status code

func (*GetShippingLabelOK) IsCode

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

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

func (*GetShippingLabelOK) IsRedirect

func (o *GetShippingLabelOK) IsRedirect() bool

IsRedirect returns true when this get shipping label o k response has a 3xx status code

func (*GetShippingLabelOK) IsServerError

func (o *GetShippingLabelOK) IsServerError() bool

IsServerError returns true when this get shipping label o k response has a 5xx status code

func (*GetShippingLabelOK) IsSuccess

func (o *GetShippingLabelOK) IsSuccess() bool

IsSuccess returns true when this get shipping label o k response has a 2xx status code

func (*GetShippingLabelOK) String

func (o *GetShippingLabelOK) String() string

type GetShippingLabelParams

type GetShippingLabelParams struct {

	/* PurchaseOrderNumber.

	   The purchase order number for which you want to return the shipping label. It should be the same purchaseOrderNumber as received in the order.
	*/
	PurchaseOrderNumber string

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

GetShippingLabelParams contains all the parameters to send to the API endpoint

for the get shipping label operation.

Typically these are written to a http.Request.

func NewGetShippingLabelParams

func NewGetShippingLabelParams() *GetShippingLabelParams

NewGetShippingLabelParams creates a new GetShippingLabelParams 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 NewGetShippingLabelParamsWithContext

func NewGetShippingLabelParamsWithContext(ctx context.Context) *GetShippingLabelParams

NewGetShippingLabelParamsWithContext creates a new GetShippingLabelParams object with the ability to set a context for a request.

func NewGetShippingLabelParamsWithHTTPClient

func NewGetShippingLabelParamsWithHTTPClient(client *http.Client) *GetShippingLabelParams

NewGetShippingLabelParamsWithHTTPClient creates a new GetShippingLabelParams object with the ability to set a custom HTTPClient for a request.

func NewGetShippingLabelParamsWithTimeout

func NewGetShippingLabelParamsWithTimeout(timeout time.Duration) *GetShippingLabelParams

NewGetShippingLabelParamsWithTimeout creates a new GetShippingLabelParams object with the ability to set a timeout on a request.

func (*GetShippingLabelParams) SetContext

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

SetContext adds the context to the get shipping label params

func (*GetShippingLabelParams) SetDefaults

func (o *GetShippingLabelParams) SetDefaults()

SetDefaults hydrates default values in the get shipping label params (not the query body).

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

func (*GetShippingLabelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get shipping label params

func (*GetShippingLabelParams) SetPurchaseOrderNumber

func (o *GetShippingLabelParams) SetPurchaseOrderNumber(purchaseOrderNumber string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the get shipping label params

func (*GetShippingLabelParams) SetTimeout

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

SetTimeout adds the timeout to the get shipping label params

func (*GetShippingLabelParams) WithContext

WithContext adds the context to the get shipping label params

func (*GetShippingLabelParams) WithDefaults

WithDefaults hydrates default values in the get shipping label params (not the query body).

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

func (*GetShippingLabelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get shipping label params

func (*GetShippingLabelParams) WithPurchaseOrderNumber

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

WithPurchaseOrderNumber adds the purchaseOrderNumber to the get shipping label params

func (*GetShippingLabelParams) WithTimeout

WithTimeout adds the timeout to the get shipping label params

func (*GetShippingLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetShippingLabelReader

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

GetShippingLabelReader is a Reader for the GetShippingLabel structure.

func (*GetShippingLabelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetShippingLabelServiceUnavailable

type GetShippingLabelServiceUnavailable 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_shipping_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetShippingLabelServiceUnavailable

func NewGetShippingLabelServiceUnavailable() *GetShippingLabelServiceUnavailable

NewGetShippingLabelServiceUnavailable creates a GetShippingLabelServiceUnavailable with default headers values

func (*GetShippingLabelServiceUnavailable) Error

func (*GetShippingLabelServiceUnavailable) GetPayload

func (*GetShippingLabelServiceUnavailable) IsClientError

func (o *GetShippingLabelServiceUnavailable) IsClientError() bool

IsClientError returns true when this get shipping label service unavailable response has a 4xx status code

func (*GetShippingLabelServiceUnavailable) IsCode

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

func (*GetShippingLabelServiceUnavailable) IsRedirect

func (o *GetShippingLabelServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get shipping label service unavailable response has a 3xx status code

func (*GetShippingLabelServiceUnavailable) IsServerError

func (o *GetShippingLabelServiceUnavailable) IsServerError() bool

IsServerError returns true when this get shipping label service unavailable response has a 5xx status code

func (*GetShippingLabelServiceUnavailable) IsSuccess

IsSuccess returns true when this get shipping label service unavailable response has a 2xx status code

func (*GetShippingLabelServiceUnavailable) String

type GetShippingLabelTooManyRequests

type GetShippingLabelTooManyRequests 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_shipping_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetShippingLabelTooManyRequests

func NewGetShippingLabelTooManyRequests() *GetShippingLabelTooManyRequests

NewGetShippingLabelTooManyRequests creates a GetShippingLabelTooManyRequests with default headers values

func (*GetShippingLabelTooManyRequests) Error

func (*GetShippingLabelTooManyRequests) GetPayload

func (*GetShippingLabelTooManyRequests) IsClientError

func (o *GetShippingLabelTooManyRequests) IsClientError() bool

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

func (*GetShippingLabelTooManyRequests) IsCode

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

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

func (*GetShippingLabelTooManyRequests) IsRedirect

func (o *GetShippingLabelTooManyRequests) IsRedirect() bool

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

func (*GetShippingLabelTooManyRequests) IsServerError

func (o *GetShippingLabelTooManyRequests) IsServerError() bool

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

func (*GetShippingLabelTooManyRequests) IsSuccess

func (o *GetShippingLabelTooManyRequests) IsSuccess() bool

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

func (*GetShippingLabelTooManyRequests) String

type GetShippingLabelUnauthorized

type GetShippingLabelUnauthorized 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_shipping_2021_12_28_models.ErrorList
}

GetShippingLabelUnauthorized 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 NewGetShippingLabelUnauthorized

func NewGetShippingLabelUnauthorized() *GetShippingLabelUnauthorized

NewGetShippingLabelUnauthorized creates a GetShippingLabelUnauthorized with default headers values

func (*GetShippingLabelUnauthorized) Error

func (*GetShippingLabelUnauthorized) IsClientError

func (o *GetShippingLabelUnauthorized) IsClientError() bool

IsClientError returns true when this get shipping label unauthorized response has a 4xx status code

func (*GetShippingLabelUnauthorized) IsCode

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

IsCode returns true when this get shipping label unauthorized response a status code equal to that given

func (*GetShippingLabelUnauthorized) IsRedirect

func (o *GetShippingLabelUnauthorized) IsRedirect() bool

IsRedirect returns true when this get shipping label unauthorized response has a 3xx status code

func (*GetShippingLabelUnauthorized) IsServerError

func (o *GetShippingLabelUnauthorized) IsServerError() bool

IsServerError returns true when this get shipping label unauthorized response has a 5xx status code

func (*GetShippingLabelUnauthorized) IsSuccess

func (o *GetShippingLabelUnauthorized) IsSuccess() bool

IsSuccess returns true when this get shipping label unauthorized response has a 2xx status code

func (*GetShippingLabelUnauthorized) String

type GetShippingLabelUnsupportedMediaType

type GetShippingLabelUnsupportedMediaType 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_shipping_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetShippingLabelUnsupportedMediaType

func NewGetShippingLabelUnsupportedMediaType() *GetShippingLabelUnsupportedMediaType

NewGetShippingLabelUnsupportedMediaType creates a GetShippingLabelUnsupportedMediaType with default headers values

func (*GetShippingLabelUnsupportedMediaType) Error

func (*GetShippingLabelUnsupportedMediaType) GetPayload

func (*GetShippingLabelUnsupportedMediaType) IsClientError

func (o *GetShippingLabelUnsupportedMediaType) IsClientError() bool

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

func (*GetShippingLabelUnsupportedMediaType) IsCode

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

func (*GetShippingLabelUnsupportedMediaType) IsRedirect

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

func (*GetShippingLabelUnsupportedMediaType) IsServerError

func (o *GetShippingLabelUnsupportedMediaType) IsServerError() bool

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

func (*GetShippingLabelUnsupportedMediaType) IsSuccess

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

func (*GetShippingLabelUnsupportedMediaType) String

type GetShippingLabelsBadRequest

type GetShippingLabelsBadRequest 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
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetShippingLabelsBadRequest

func NewGetShippingLabelsBadRequest() *GetShippingLabelsBadRequest

NewGetShippingLabelsBadRequest creates a GetShippingLabelsBadRequest with default headers values

func (*GetShippingLabelsBadRequest) Error

func (*GetShippingLabelsBadRequest) IsClientError

func (o *GetShippingLabelsBadRequest) IsClientError() bool

IsClientError returns true when this get shipping labels bad request response has a 4xx status code

func (*GetShippingLabelsBadRequest) IsCode

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

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

func (*GetShippingLabelsBadRequest) IsRedirect

func (o *GetShippingLabelsBadRequest) IsRedirect() bool

IsRedirect returns true when this get shipping labels bad request response has a 3xx status code

func (*GetShippingLabelsBadRequest) IsServerError

func (o *GetShippingLabelsBadRequest) IsServerError() bool

IsServerError returns true when this get shipping labels bad request response has a 5xx status code

func (*GetShippingLabelsBadRequest) IsSuccess

func (o *GetShippingLabelsBadRequest) IsSuccess() bool

IsSuccess returns true when this get shipping labels bad request response has a 2xx status code

func (*GetShippingLabelsBadRequest) String

func (o *GetShippingLabelsBadRequest) String() string

type GetShippingLabelsForbidden

type GetShippingLabelsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

GetShippingLabelsForbidden 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 NewGetShippingLabelsForbidden

func NewGetShippingLabelsForbidden() *GetShippingLabelsForbidden

NewGetShippingLabelsForbidden creates a GetShippingLabelsForbidden with default headers values

func (*GetShippingLabelsForbidden) Error

func (*GetShippingLabelsForbidden) IsClientError

func (o *GetShippingLabelsForbidden) IsClientError() bool

IsClientError returns true when this get shipping labels forbidden response has a 4xx status code

func (*GetShippingLabelsForbidden) IsCode

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

IsCode returns true when this get shipping labels forbidden response a status code equal to that given

func (*GetShippingLabelsForbidden) IsRedirect

func (o *GetShippingLabelsForbidden) IsRedirect() bool

IsRedirect returns true when this get shipping labels forbidden response has a 3xx status code

func (*GetShippingLabelsForbidden) IsServerError

func (o *GetShippingLabelsForbidden) IsServerError() bool

IsServerError returns true when this get shipping labels forbidden response has a 5xx status code

func (*GetShippingLabelsForbidden) IsSuccess

func (o *GetShippingLabelsForbidden) IsSuccess() bool

IsSuccess returns true when this get shipping labels forbidden response has a 2xx status code

func (*GetShippingLabelsForbidden) String

func (o *GetShippingLabelsForbidden) String() string

type GetShippingLabelsInternalServerError

type GetShippingLabelsInternalServerError 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_shipping_2021_12_28_models.ErrorList
}

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

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

func NewGetShippingLabelsInternalServerError

func NewGetShippingLabelsInternalServerError() *GetShippingLabelsInternalServerError

NewGetShippingLabelsInternalServerError creates a GetShippingLabelsInternalServerError with default headers values

func (*GetShippingLabelsInternalServerError) Error

func (*GetShippingLabelsInternalServerError) GetPayload

func (*GetShippingLabelsInternalServerError) IsClientError

func (o *GetShippingLabelsInternalServerError) IsClientError() bool

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

func (*GetShippingLabelsInternalServerError) IsCode

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

func (*GetShippingLabelsInternalServerError) IsRedirect

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

func (*GetShippingLabelsInternalServerError) IsServerError

func (o *GetShippingLabelsInternalServerError) IsServerError() bool

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

func (*GetShippingLabelsInternalServerError) IsSuccess

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

func (*GetShippingLabelsInternalServerError) String

type GetShippingLabelsNotFound

type GetShippingLabelsNotFound 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
}

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

The resource specified does not exist.

func NewGetShippingLabelsNotFound

func NewGetShippingLabelsNotFound() *GetShippingLabelsNotFound

NewGetShippingLabelsNotFound creates a GetShippingLabelsNotFound with default headers values

func (*GetShippingLabelsNotFound) Error

func (o *GetShippingLabelsNotFound) Error() string

func (*GetShippingLabelsNotFound) IsClientError

func (o *GetShippingLabelsNotFound) IsClientError() bool

IsClientError returns true when this get shipping labels not found response has a 4xx status code

func (*GetShippingLabelsNotFound) IsCode

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

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

func (*GetShippingLabelsNotFound) IsRedirect

func (o *GetShippingLabelsNotFound) IsRedirect() bool

IsRedirect returns true when this get shipping labels not found response has a 3xx status code

func (*GetShippingLabelsNotFound) IsServerError

func (o *GetShippingLabelsNotFound) IsServerError() bool

IsServerError returns true when this get shipping labels not found response has a 5xx status code

func (*GetShippingLabelsNotFound) IsSuccess

func (o *GetShippingLabelsNotFound) IsSuccess() bool

IsSuccess returns true when this get shipping labels not found response has a 2xx status code

func (*GetShippingLabelsNotFound) String

func (o *GetShippingLabelsNotFound) String() string

type GetShippingLabelsOK

type GetShippingLabelsOK 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.ShippingLabelList
}

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

Success.

func NewGetShippingLabelsOK

func NewGetShippingLabelsOK() *GetShippingLabelsOK

NewGetShippingLabelsOK creates a GetShippingLabelsOK with default headers values

func (*GetShippingLabelsOK) Error

func (o *GetShippingLabelsOK) Error() string

func (*GetShippingLabelsOK) IsClientError

func (o *GetShippingLabelsOK) IsClientError() bool

IsClientError returns true when this get shipping labels o k response has a 4xx status code

func (*GetShippingLabelsOK) IsCode

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

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

func (*GetShippingLabelsOK) IsRedirect

func (o *GetShippingLabelsOK) IsRedirect() bool

IsRedirect returns true when this get shipping labels o k response has a 3xx status code

func (*GetShippingLabelsOK) IsServerError

func (o *GetShippingLabelsOK) IsServerError() bool

IsServerError returns true when this get shipping labels o k response has a 5xx status code

func (*GetShippingLabelsOK) IsSuccess

func (o *GetShippingLabelsOK) IsSuccess() bool

IsSuccess returns true when this get shipping labels o k response has a 2xx status code

func (*GetShippingLabelsOK) String

func (o *GetShippingLabelsOK) String() string

type GetShippingLabelsParams

type GetShippingLabelsParams struct {

	/* CreatedAfter.

	   Shipping labels 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.

	   Shipping labels 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 ship labels 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 order creation date.

	   Default: "ASC"
	*/
	SortOrder *string

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

GetShippingLabelsParams contains all the parameters to send to the API endpoint

for the get shipping labels operation.

Typically these are written to a http.Request.

func NewGetShippingLabelsParams

func NewGetShippingLabelsParams() *GetShippingLabelsParams

NewGetShippingLabelsParams creates a new GetShippingLabelsParams 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 NewGetShippingLabelsParamsWithContext

func NewGetShippingLabelsParamsWithContext(ctx context.Context) *GetShippingLabelsParams

NewGetShippingLabelsParamsWithContext creates a new GetShippingLabelsParams object with the ability to set a context for a request.

func NewGetShippingLabelsParamsWithHTTPClient

func NewGetShippingLabelsParamsWithHTTPClient(client *http.Client) *GetShippingLabelsParams

NewGetShippingLabelsParamsWithHTTPClient creates a new GetShippingLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetShippingLabelsParamsWithTimeout

func NewGetShippingLabelsParamsWithTimeout(timeout time.Duration) *GetShippingLabelsParams

NewGetShippingLabelsParamsWithTimeout creates a new GetShippingLabelsParams object with the ability to set a timeout on a request.

func (*GetShippingLabelsParams) SetContext

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

SetContext adds the context to the get shipping labels params

func (*GetShippingLabelsParams) SetCreatedAfter

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

SetCreatedAfter adds the createdAfter to the get shipping labels params

func (*GetShippingLabelsParams) SetCreatedBefore

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

SetCreatedBefore adds the createdBefore to the get shipping labels params

func (*GetShippingLabelsParams) SetDefaults

func (o *GetShippingLabelsParams) SetDefaults()

SetDefaults hydrates default values in the get shipping labels params (not the query body).

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

func (*GetShippingLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get shipping labels params

func (*GetShippingLabelsParams) SetLimit

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

SetLimit adds the limit to the get shipping labels params

func (*GetShippingLabelsParams) SetNextToken

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

SetNextToken adds the nextToken to the get shipping labels params

func (*GetShippingLabelsParams) SetShipFromPartyID

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

SetShipFromPartyID adds the shipFromPartyId to the get shipping labels params

func (*GetShippingLabelsParams) SetSortOrder

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

SetSortOrder adds the sortOrder to the get shipping labels params

func (*GetShippingLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the get shipping labels params

func (*GetShippingLabelsParams) WithContext

WithContext adds the context to the get shipping labels params

func (*GetShippingLabelsParams) WithCreatedAfter

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

WithCreatedAfter adds the createdAfter to the get shipping labels params

func (*GetShippingLabelsParams) WithCreatedBefore

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

WithCreatedBefore adds the createdBefore to the get shipping labels params

func (*GetShippingLabelsParams) WithDefaults

WithDefaults hydrates default values in the get shipping labels params (not the query body).

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

func (*GetShippingLabelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get shipping labels params

func (*GetShippingLabelsParams) WithLimit

WithLimit adds the limit to the get shipping labels params

func (*GetShippingLabelsParams) WithNextToken

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

WithNextToken adds the nextToken to the get shipping labels params

func (*GetShippingLabelsParams) WithShipFromPartyID

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

WithShipFromPartyID adds the shipFromPartyID to the get shipping labels params

func (*GetShippingLabelsParams) WithSortOrder

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

WithSortOrder adds the sortOrder to the get shipping labels params

func (*GetShippingLabelsParams) WithTimeout

WithTimeout adds the timeout to the get shipping labels params

func (*GetShippingLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetShippingLabelsReader

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

GetShippingLabelsReader is a Reader for the GetShippingLabels structure.

func (*GetShippingLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetShippingLabelsServiceUnavailable

type GetShippingLabelsServiceUnavailable 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_shipping_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetShippingLabelsServiceUnavailable

func NewGetShippingLabelsServiceUnavailable() *GetShippingLabelsServiceUnavailable

NewGetShippingLabelsServiceUnavailable creates a GetShippingLabelsServiceUnavailable with default headers values

func (*GetShippingLabelsServiceUnavailable) Error

func (*GetShippingLabelsServiceUnavailable) GetPayload

func (*GetShippingLabelsServiceUnavailable) IsClientError

func (o *GetShippingLabelsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get shipping labels service unavailable response has a 4xx status code

func (*GetShippingLabelsServiceUnavailable) IsCode

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

func (*GetShippingLabelsServiceUnavailable) IsRedirect

func (o *GetShippingLabelsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get shipping labels service unavailable response has a 3xx status code

func (*GetShippingLabelsServiceUnavailable) IsServerError

func (o *GetShippingLabelsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get shipping labels service unavailable response has a 5xx status code

func (*GetShippingLabelsServiceUnavailable) IsSuccess

IsSuccess returns true when this get shipping labels service unavailable response has a 2xx status code

func (*GetShippingLabelsServiceUnavailable) String

type GetShippingLabelsTooManyRequests

type GetShippingLabelsTooManyRequests 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_shipping_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetShippingLabelsTooManyRequests

func NewGetShippingLabelsTooManyRequests() *GetShippingLabelsTooManyRequests

NewGetShippingLabelsTooManyRequests creates a GetShippingLabelsTooManyRequests with default headers values

func (*GetShippingLabelsTooManyRequests) Error

func (*GetShippingLabelsTooManyRequests) GetPayload

func (*GetShippingLabelsTooManyRequests) IsClientError

func (o *GetShippingLabelsTooManyRequests) IsClientError() bool

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

func (*GetShippingLabelsTooManyRequests) IsCode

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

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

func (*GetShippingLabelsTooManyRequests) IsRedirect

func (o *GetShippingLabelsTooManyRequests) IsRedirect() bool

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

func (*GetShippingLabelsTooManyRequests) IsServerError

func (o *GetShippingLabelsTooManyRequests) IsServerError() bool

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

func (*GetShippingLabelsTooManyRequests) IsSuccess

func (o *GetShippingLabelsTooManyRequests) IsSuccess() bool

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

func (*GetShippingLabelsTooManyRequests) String

type GetShippingLabelsUnsupportedMediaType

type GetShippingLabelsUnsupportedMediaType 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_shipping_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetShippingLabelsUnsupportedMediaType

func NewGetShippingLabelsUnsupportedMediaType() *GetShippingLabelsUnsupportedMediaType

NewGetShippingLabelsUnsupportedMediaType creates a GetShippingLabelsUnsupportedMediaType with default headers values

func (*GetShippingLabelsUnsupportedMediaType) Error

func (*GetShippingLabelsUnsupportedMediaType) GetPayload

func (*GetShippingLabelsUnsupportedMediaType) IsClientError

func (o *GetShippingLabelsUnsupportedMediaType) IsClientError() bool

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

func (*GetShippingLabelsUnsupportedMediaType) IsCode

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

func (*GetShippingLabelsUnsupportedMediaType) IsRedirect

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

func (*GetShippingLabelsUnsupportedMediaType) IsServerError

func (o *GetShippingLabelsUnsupportedMediaType) IsServerError() bool

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

func (*GetShippingLabelsUnsupportedMediaType) IsSuccess

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

func (*GetShippingLabelsUnsupportedMediaType) String

type SubmitShippingLabelRequestAccepted

type SubmitShippingLabelRequestAccepted 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
}

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

Success.

func NewSubmitShippingLabelRequestAccepted

func NewSubmitShippingLabelRequestAccepted() *SubmitShippingLabelRequestAccepted

NewSubmitShippingLabelRequestAccepted creates a SubmitShippingLabelRequestAccepted with default headers values

func (*SubmitShippingLabelRequestAccepted) Error

func (*SubmitShippingLabelRequestAccepted) IsClientError

func (o *SubmitShippingLabelRequestAccepted) IsClientError() bool

IsClientError returns true when this submit shipping label request accepted response has a 4xx status code

func (*SubmitShippingLabelRequestAccepted) IsCode

IsCode returns true when this submit shipping label request accepted response a status code equal to that given

func (*SubmitShippingLabelRequestAccepted) IsRedirect

func (o *SubmitShippingLabelRequestAccepted) IsRedirect() bool

IsRedirect returns true when this submit shipping label request accepted response has a 3xx status code

func (*SubmitShippingLabelRequestAccepted) IsServerError

func (o *SubmitShippingLabelRequestAccepted) IsServerError() bool

IsServerError returns true when this submit shipping label request accepted response has a 5xx status code

func (*SubmitShippingLabelRequestAccepted) IsSuccess

IsSuccess returns true when this submit shipping label request accepted response has a 2xx status code

func (*SubmitShippingLabelRequestAccepted) String

type SubmitShippingLabelRequestBadRequest

type SubmitShippingLabelRequestBadRequest 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
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewSubmitShippingLabelRequestBadRequest

func NewSubmitShippingLabelRequestBadRequest() *SubmitShippingLabelRequestBadRequest

NewSubmitShippingLabelRequestBadRequest creates a SubmitShippingLabelRequestBadRequest with default headers values

func (*SubmitShippingLabelRequestBadRequest) Error

func (*SubmitShippingLabelRequestBadRequest) GetPayload

func (*SubmitShippingLabelRequestBadRequest) IsClientError

func (o *SubmitShippingLabelRequestBadRequest) IsClientError() bool

IsClientError returns true when this submit shipping label request bad request response has a 4xx status code

func (*SubmitShippingLabelRequestBadRequest) IsCode

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

func (*SubmitShippingLabelRequestBadRequest) IsRedirect

IsRedirect returns true when this submit shipping label request bad request response has a 3xx status code

func (*SubmitShippingLabelRequestBadRequest) IsServerError

func (o *SubmitShippingLabelRequestBadRequest) IsServerError() bool

IsServerError returns true when this submit shipping label request bad request response has a 5xx status code

func (*SubmitShippingLabelRequestBadRequest) IsSuccess

IsSuccess returns true when this submit shipping label request bad request response has a 2xx status code

func (*SubmitShippingLabelRequestBadRequest) String

type SubmitShippingLabelRequestForbidden

type SubmitShippingLabelRequestForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
}

SubmitShippingLabelRequestForbidden 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 NewSubmitShippingLabelRequestForbidden

func NewSubmitShippingLabelRequestForbidden() *SubmitShippingLabelRequestForbidden

NewSubmitShippingLabelRequestForbidden creates a SubmitShippingLabelRequestForbidden with default headers values

func (*SubmitShippingLabelRequestForbidden) Error

func (*SubmitShippingLabelRequestForbidden) GetPayload

func (*SubmitShippingLabelRequestForbidden) IsClientError

func (o *SubmitShippingLabelRequestForbidden) IsClientError() bool

IsClientError returns true when this submit shipping label request forbidden response has a 4xx status code

func (*SubmitShippingLabelRequestForbidden) IsCode

IsCode returns true when this submit shipping label request forbidden response a status code equal to that given

func (*SubmitShippingLabelRequestForbidden) IsRedirect

func (o *SubmitShippingLabelRequestForbidden) IsRedirect() bool

IsRedirect returns true when this submit shipping label request forbidden response has a 3xx status code

func (*SubmitShippingLabelRequestForbidden) IsServerError

func (o *SubmitShippingLabelRequestForbidden) IsServerError() bool

IsServerError returns true when this submit shipping label request forbidden response has a 5xx status code

func (*SubmitShippingLabelRequestForbidden) IsSuccess

IsSuccess returns true when this submit shipping label request forbidden response has a 2xx status code

func (*SubmitShippingLabelRequestForbidden) String

type SubmitShippingLabelRequestInternalServerError

type SubmitShippingLabelRequestInternalServerError 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_shipping_2021_12_28_models.ErrorList
}

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

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

func NewSubmitShippingLabelRequestInternalServerError

func NewSubmitShippingLabelRequestInternalServerError() *SubmitShippingLabelRequestInternalServerError

NewSubmitShippingLabelRequestInternalServerError creates a SubmitShippingLabelRequestInternalServerError with default headers values

func (*SubmitShippingLabelRequestInternalServerError) Error

func (*SubmitShippingLabelRequestInternalServerError) GetPayload

func (*SubmitShippingLabelRequestInternalServerError) IsClientError

IsClientError returns true when this submit shipping label request internal server error response has a 4xx status code

func (*SubmitShippingLabelRequestInternalServerError) IsCode

IsCode returns true when this submit shipping label request internal server error response a status code equal to that given

func (*SubmitShippingLabelRequestInternalServerError) IsRedirect

IsRedirect returns true when this submit shipping label request internal server error response has a 3xx status code

func (*SubmitShippingLabelRequestInternalServerError) IsServerError

IsServerError returns true when this submit shipping label request internal server error response has a 5xx status code

func (*SubmitShippingLabelRequestInternalServerError) IsSuccess

IsSuccess returns true when this submit shipping label request internal server error response has a 2xx status code

func (*SubmitShippingLabelRequestInternalServerError) String

type SubmitShippingLabelRequestNotFound

type SubmitShippingLabelRequestNotFound 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
}

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

The resource specified does not exist.

func NewSubmitShippingLabelRequestNotFound

func NewSubmitShippingLabelRequestNotFound() *SubmitShippingLabelRequestNotFound

NewSubmitShippingLabelRequestNotFound creates a SubmitShippingLabelRequestNotFound with default headers values

func (*SubmitShippingLabelRequestNotFound) Error

func (*SubmitShippingLabelRequestNotFound) GetPayload

func (*SubmitShippingLabelRequestNotFound) IsClientError

func (o *SubmitShippingLabelRequestNotFound) IsClientError() bool

IsClientError returns true when this submit shipping label request not found response has a 4xx status code

func (*SubmitShippingLabelRequestNotFound) IsCode

IsCode returns true when this submit shipping label request not found response a status code equal to that given

func (*SubmitShippingLabelRequestNotFound) IsRedirect

func (o *SubmitShippingLabelRequestNotFound) IsRedirect() bool

IsRedirect returns true when this submit shipping label request not found response has a 3xx status code

func (*SubmitShippingLabelRequestNotFound) IsServerError

func (o *SubmitShippingLabelRequestNotFound) IsServerError() bool

IsServerError returns true when this submit shipping label request not found response has a 5xx status code

func (*SubmitShippingLabelRequestNotFound) IsSuccess

IsSuccess returns true when this submit shipping label request not found response has a 2xx status code

func (*SubmitShippingLabelRequestNotFound) String

type SubmitShippingLabelRequestParams

type SubmitShippingLabelRequestParams struct {

	// Body.
	Body *vendor_direct_fulfillment_shipping_2021_12_28_models.SubmitShippingLabelsRequest

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

SubmitShippingLabelRequestParams contains all the parameters to send to the API endpoint

for the submit shipping label request operation.

Typically these are written to a http.Request.

func NewSubmitShippingLabelRequestParams

func NewSubmitShippingLabelRequestParams() *SubmitShippingLabelRequestParams

NewSubmitShippingLabelRequestParams creates a new SubmitShippingLabelRequestParams 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 NewSubmitShippingLabelRequestParamsWithContext

func NewSubmitShippingLabelRequestParamsWithContext(ctx context.Context) *SubmitShippingLabelRequestParams

NewSubmitShippingLabelRequestParamsWithContext creates a new SubmitShippingLabelRequestParams object with the ability to set a context for a request.

func NewSubmitShippingLabelRequestParamsWithHTTPClient

func NewSubmitShippingLabelRequestParamsWithHTTPClient(client *http.Client) *SubmitShippingLabelRequestParams

NewSubmitShippingLabelRequestParamsWithHTTPClient creates a new SubmitShippingLabelRequestParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitShippingLabelRequestParamsWithTimeout

func NewSubmitShippingLabelRequestParamsWithTimeout(timeout time.Duration) *SubmitShippingLabelRequestParams

NewSubmitShippingLabelRequestParamsWithTimeout creates a new SubmitShippingLabelRequestParams object with the ability to set a timeout on a request.

func (*SubmitShippingLabelRequestParams) SetBody

SetBody adds the body to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) SetContext

SetContext adds the context to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) SetDefaults

func (o *SubmitShippingLabelRequestParams) SetDefaults()

SetDefaults hydrates default values in the submit shipping label request params (not the query body).

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

func (*SubmitShippingLabelRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) SetTimeout

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

SetTimeout adds the timeout to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) WithBody

WithBody adds the body to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) WithContext

WithContext adds the context to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) WithDefaults

WithDefaults hydrates default values in the submit shipping label request params (not the query body).

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

func (*SubmitShippingLabelRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) WithTimeout

WithTimeout adds the timeout to the submit shipping label request params

func (*SubmitShippingLabelRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubmitShippingLabelRequestReader

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

SubmitShippingLabelRequestReader is a Reader for the SubmitShippingLabelRequest structure.

func (*SubmitShippingLabelRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SubmitShippingLabelRequestRequestEntityTooLarge

type SubmitShippingLabelRequestRequestEntityTooLarge 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_shipping_2021_12_28_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewSubmitShippingLabelRequestRequestEntityTooLarge

func NewSubmitShippingLabelRequestRequestEntityTooLarge() *SubmitShippingLabelRequestRequestEntityTooLarge

NewSubmitShippingLabelRequestRequestEntityTooLarge creates a SubmitShippingLabelRequestRequestEntityTooLarge with default headers values

func (*SubmitShippingLabelRequestRequestEntityTooLarge) Error

func (*SubmitShippingLabelRequestRequestEntityTooLarge) GetPayload

func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsClientError

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

func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsCode

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

func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsRedirect

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

func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsServerError

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

func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsSuccess

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

func (*SubmitShippingLabelRequestRequestEntityTooLarge) String

type SubmitShippingLabelRequestServiceUnavailable

type SubmitShippingLabelRequestServiceUnavailable 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_shipping_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewSubmitShippingLabelRequestServiceUnavailable

func NewSubmitShippingLabelRequestServiceUnavailable() *SubmitShippingLabelRequestServiceUnavailable

NewSubmitShippingLabelRequestServiceUnavailable creates a SubmitShippingLabelRequestServiceUnavailable with default headers values

func (*SubmitShippingLabelRequestServiceUnavailable) Error

func (*SubmitShippingLabelRequestServiceUnavailable) GetPayload

func (*SubmitShippingLabelRequestServiceUnavailable) IsClientError

IsClientError returns true when this submit shipping label request service unavailable response has a 4xx status code

func (*SubmitShippingLabelRequestServiceUnavailable) IsCode

IsCode returns true when this submit shipping label request service unavailable response a status code equal to that given

func (*SubmitShippingLabelRequestServiceUnavailable) IsRedirect

IsRedirect returns true when this submit shipping label request service unavailable response has a 3xx status code

func (*SubmitShippingLabelRequestServiceUnavailable) IsServerError

IsServerError returns true when this submit shipping label request service unavailable response has a 5xx status code

func (*SubmitShippingLabelRequestServiceUnavailable) IsSuccess

IsSuccess returns true when this submit shipping label request service unavailable response has a 2xx status code

func (*SubmitShippingLabelRequestServiceUnavailable) String

type SubmitShippingLabelRequestTooManyRequests

type SubmitShippingLabelRequestTooManyRequests 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_shipping_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewSubmitShippingLabelRequestTooManyRequests

func NewSubmitShippingLabelRequestTooManyRequests() *SubmitShippingLabelRequestTooManyRequests

NewSubmitShippingLabelRequestTooManyRequests creates a SubmitShippingLabelRequestTooManyRequests with default headers values

func (*SubmitShippingLabelRequestTooManyRequests) Error

func (*SubmitShippingLabelRequestTooManyRequests) GetPayload

func (*SubmitShippingLabelRequestTooManyRequests) IsClientError

IsClientError returns true when this submit shipping label request too many requests response has a 4xx status code

func (*SubmitShippingLabelRequestTooManyRequests) IsCode

IsCode returns true when this submit shipping label request too many requests response a status code equal to that given

func (*SubmitShippingLabelRequestTooManyRequests) IsRedirect

IsRedirect returns true when this submit shipping label request too many requests response has a 3xx status code

func (*SubmitShippingLabelRequestTooManyRequests) IsServerError

IsServerError returns true when this submit shipping label request too many requests response has a 5xx status code

func (*SubmitShippingLabelRequestTooManyRequests) IsSuccess

IsSuccess returns true when this submit shipping label request too many requests response has a 2xx status code

func (*SubmitShippingLabelRequestTooManyRequests) String

type SubmitShippingLabelRequestUnsupportedMediaType

type SubmitShippingLabelRequestUnsupportedMediaType 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_shipping_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewSubmitShippingLabelRequestUnsupportedMediaType

func NewSubmitShippingLabelRequestUnsupportedMediaType() *SubmitShippingLabelRequestUnsupportedMediaType

NewSubmitShippingLabelRequestUnsupportedMediaType creates a SubmitShippingLabelRequestUnsupportedMediaType with default headers values

func (*SubmitShippingLabelRequestUnsupportedMediaType) Error

func (*SubmitShippingLabelRequestUnsupportedMediaType) GetPayload

func (*SubmitShippingLabelRequestUnsupportedMediaType) IsClientError

IsClientError returns true when this submit shipping label request unsupported media type response has a 4xx status code

func (*SubmitShippingLabelRequestUnsupportedMediaType) IsCode

IsCode returns true when this submit shipping label request unsupported media type response a status code equal to that given

func (*SubmitShippingLabelRequestUnsupportedMediaType) IsRedirect

IsRedirect returns true when this submit shipping label request unsupported media type response has a 3xx status code

func (*SubmitShippingLabelRequestUnsupportedMediaType) IsServerError

IsServerError returns true when this submit shipping label request unsupported media type response has a 5xx status code

func (*SubmitShippingLabelRequestUnsupportedMediaType) IsSuccess

IsSuccess returns true when this submit shipping label request unsupported media type response has a 2xx status code

func (*SubmitShippingLabelRequestUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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