supply_sources

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 ArchiveSupplySourceBadRequest

type ArchiveSupplySourceBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewArchiveSupplySourceBadRequest

func NewArchiveSupplySourceBadRequest() *ArchiveSupplySourceBadRequest

NewArchiveSupplySourceBadRequest creates a ArchiveSupplySourceBadRequest with default headers values

func (*ArchiveSupplySourceBadRequest) Error

func (*ArchiveSupplySourceBadRequest) GetPayload

func (*ArchiveSupplySourceBadRequest) IsClientError

func (o *ArchiveSupplySourceBadRequest) IsClientError() bool

IsClientError returns true when this archive supply source bad request response has a 4xx status code

func (*ArchiveSupplySourceBadRequest) IsCode

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

IsCode returns true when this archive supply source bad request response a status code equal to that given

func (*ArchiveSupplySourceBadRequest) IsRedirect

func (o *ArchiveSupplySourceBadRequest) IsRedirect() bool

IsRedirect returns true when this archive supply source bad request response has a 3xx status code

func (*ArchiveSupplySourceBadRequest) IsServerError

func (o *ArchiveSupplySourceBadRequest) IsServerError() bool

IsServerError returns true when this archive supply source bad request response has a 5xx status code

func (*ArchiveSupplySourceBadRequest) IsSuccess

func (o *ArchiveSupplySourceBadRequest) IsSuccess() bool

IsSuccess returns true when this archive supply source bad request response has a 2xx status code

func (*ArchiveSupplySourceBadRequest) String

type ArchiveSupplySourceForbidden

type ArchiveSupplySourceForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

ArchiveSupplySourceForbidden 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 NewArchiveSupplySourceForbidden

func NewArchiveSupplySourceForbidden() *ArchiveSupplySourceForbidden

NewArchiveSupplySourceForbidden creates a ArchiveSupplySourceForbidden with default headers values

func (*ArchiveSupplySourceForbidden) Error

func (*ArchiveSupplySourceForbidden) GetPayload

func (*ArchiveSupplySourceForbidden) IsClientError

func (o *ArchiveSupplySourceForbidden) IsClientError() bool

IsClientError returns true when this archive supply source forbidden response has a 4xx status code

func (*ArchiveSupplySourceForbidden) IsCode

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

IsCode returns true when this archive supply source forbidden response a status code equal to that given

func (*ArchiveSupplySourceForbidden) IsRedirect

func (o *ArchiveSupplySourceForbidden) IsRedirect() bool

IsRedirect returns true when this archive supply source forbidden response has a 3xx status code

func (*ArchiveSupplySourceForbidden) IsServerError

func (o *ArchiveSupplySourceForbidden) IsServerError() bool

IsServerError returns true when this archive supply source forbidden response has a 5xx status code

func (*ArchiveSupplySourceForbidden) IsSuccess

func (o *ArchiveSupplySourceForbidden) IsSuccess() bool

IsSuccess returns true when this archive supply source forbidden response has a 2xx status code

func (*ArchiveSupplySourceForbidden) String

type ArchiveSupplySourceInternalServerError

type ArchiveSupplySourceInternalServerError 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewArchiveSupplySourceInternalServerError

func NewArchiveSupplySourceInternalServerError() *ArchiveSupplySourceInternalServerError

NewArchiveSupplySourceInternalServerError creates a ArchiveSupplySourceInternalServerError with default headers values

func (*ArchiveSupplySourceInternalServerError) Error

func (*ArchiveSupplySourceInternalServerError) GetPayload

func (*ArchiveSupplySourceInternalServerError) IsClientError

func (o *ArchiveSupplySourceInternalServerError) IsClientError() bool

IsClientError returns true when this archive supply source internal server error response has a 4xx status code

func (*ArchiveSupplySourceInternalServerError) IsCode

IsCode returns true when this archive supply source internal server error response a status code equal to that given

func (*ArchiveSupplySourceInternalServerError) IsRedirect

IsRedirect returns true when this archive supply source internal server error response has a 3xx status code

func (*ArchiveSupplySourceInternalServerError) IsServerError

func (o *ArchiveSupplySourceInternalServerError) IsServerError() bool

IsServerError returns true when this archive supply source internal server error response has a 5xx status code

func (*ArchiveSupplySourceInternalServerError) IsSuccess

IsSuccess returns true when this archive supply source internal server error response has a 2xx status code

func (*ArchiveSupplySourceInternalServerError) String

type ArchiveSupplySourceNoContent

type ArchiveSupplySourceNoContent struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

ArchiveSupplySourceNoContent describes a response with status code 204, with default header values.

Success.

func NewArchiveSupplySourceNoContent

func NewArchiveSupplySourceNoContent() *ArchiveSupplySourceNoContent

NewArchiveSupplySourceNoContent creates a ArchiveSupplySourceNoContent with default headers values

func (*ArchiveSupplySourceNoContent) Error

func (*ArchiveSupplySourceNoContent) GetPayload

func (*ArchiveSupplySourceNoContent) IsClientError

func (o *ArchiveSupplySourceNoContent) IsClientError() bool

IsClientError returns true when this archive supply source no content response has a 4xx status code

func (*ArchiveSupplySourceNoContent) IsCode

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

IsCode returns true when this archive supply source no content response a status code equal to that given

func (*ArchiveSupplySourceNoContent) IsRedirect

func (o *ArchiveSupplySourceNoContent) IsRedirect() bool

IsRedirect returns true when this archive supply source no content response has a 3xx status code

func (*ArchiveSupplySourceNoContent) IsServerError

func (o *ArchiveSupplySourceNoContent) IsServerError() bool

IsServerError returns true when this archive supply source no content response has a 5xx status code

func (*ArchiveSupplySourceNoContent) IsSuccess

func (o *ArchiveSupplySourceNoContent) IsSuccess() bool

IsSuccess returns true when this archive supply source no content response has a 2xx status code

func (*ArchiveSupplySourceNoContent) String

type ArchiveSupplySourceNotFound

type ArchiveSupplySourceNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewArchiveSupplySourceNotFound

func NewArchiveSupplySourceNotFound() *ArchiveSupplySourceNotFound

NewArchiveSupplySourceNotFound creates a ArchiveSupplySourceNotFound with default headers values

func (*ArchiveSupplySourceNotFound) Error

func (*ArchiveSupplySourceNotFound) GetPayload

func (*ArchiveSupplySourceNotFound) IsClientError

func (o *ArchiveSupplySourceNotFound) IsClientError() bool

IsClientError returns true when this archive supply source not found response has a 4xx status code

func (*ArchiveSupplySourceNotFound) IsCode

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

IsCode returns true when this archive supply source not found response a status code equal to that given

func (*ArchiveSupplySourceNotFound) IsRedirect

func (o *ArchiveSupplySourceNotFound) IsRedirect() bool

IsRedirect returns true when this archive supply source not found response has a 3xx status code

func (*ArchiveSupplySourceNotFound) IsServerError

func (o *ArchiveSupplySourceNotFound) IsServerError() bool

IsServerError returns true when this archive supply source not found response has a 5xx status code

func (*ArchiveSupplySourceNotFound) IsSuccess

func (o *ArchiveSupplySourceNotFound) IsSuccess() bool

IsSuccess returns true when this archive supply source not found response has a 2xx status code

func (*ArchiveSupplySourceNotFound) String

func (o *ArchiveSupplySourceNotFound) String() string

type ArchiveSupplySourceParams

type ArchiveSupplySourceParams struct {

	/* SupplySourceID.

	   The unique identifier of a supply source.
	*/
	SupplySourceID string

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

ArchiveSupplySourceParams contains all the parameters to send to the API endpoint

for the archive supply source operation.

Typically these are written to a http.Request.

func NewArchiveSupplySourceParams

func NewArchiveSupplySourceParams() *ArchiveSupplySourceParams

NewArchiveSupplySourceParams creates a new ArchiveSupplySourceParams 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 NewArchiveSupplySourceParamsWithContext

func NewArchiveSupplySourceParamsWithContext(ctx context.Context) *ArchiveSupplySourceParams

NewArchiveSupplySourceParamsWithContext creates a new ArchiveSupplySourceParams object with the ability to set a context for a request.

func NewArchiveSupplySourceParamsWithHTTPClient

func NewArchiveSupplySourceParamsWithHTTPClient(client *http.Client) *ArchiveSupplySourceParams

NewArchiveSupplySourceParamsWithHTTPClient creates a new ArchiveSupplySourceParams object with the ability to set a custom HTTPClient for a request.

func NewArchiveSupplySourceParamsWithTimeout

func NewArchiveSupplySourceParamsWithTimeout(timeout time.Duration) *ArchiveSupplySourceParams

NewArchiveSupplySourceParamsWithTimeout creates a new ArchiveSupplySourceParams object with the ability to set a timeout on a request.

func (*ArchiveSupplySourceParams) SetContext

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

SetContext adds the context to the archive supply source params

func (*ArchiveSupplySourceParams) SetDefaults

func (o *ArchiveSupplySourceParams) SetDefaults()

SetDefaults hydrates default values in the archive supply source params (not the query body).

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

func (*ArchiveSupplySourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the archive supply source params

func (*ArchiveSupplySourceParams) SetSupplySourceID

func (o *ArchiveSupplySourceParams) SetSupplySourceID(supplySourceID string)

SetSupplySourceID adds the supplySourceId to the archive supply source params

func (*ArchiveSupplySourceParams) SetTimeout

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

SetTimeout adds the timeout to the archive supply source params

func (*ArchiveSupplySourceParams) WithContext

WithContext adds the context to the archive supply source params

func (*ArchiveSupplySourceParams) WithDefaults

WithDefaults hydrates default values in the archive supply source params (not the query body).

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

func (*ArchiveSupplySourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the archive supply source params

func (*ArchiveSupplySourceParams) WithSupplySourceID

func (o *ArchiveSupplySourceParams) WithSupplySourceID(supplySourceID string) *ArchiveSupplySourceParams

WithSupplySourceID adds the supplySourceID to the archive supply source params

func (*ArchiveSupplySourceParams) WithTimeout

WithTimeout adds the timeout to the archive supply source params

func (*ArchiveSupplySourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ArchiveSupplySourceReader

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

ArchiveSupplySourceReader is a Reader for the ArchiveSupplySource structure.

func (*ArchiveSupplySourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ArchiveSupplySourceRequestEntityTooLarge

type ArchiveSupplySourceRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewArchiveSupplySourceRequestEntityTooLarge

func NewArchiveSupplySourceRequestEntityTooLarge() *ArchiveSupplySourceRequestEntityTooLarge

NewArchiveSupplySourceRequestEntityTooLarge creates a ArchiveSupplySourceRequestEntityTooLarge with default headers values

func (*ArchiveSupplySourceRequestEntityTooLarge) Error

func (*ArchiveSupplySourceRequestEntityTooLarge) GetPayload

func (*ArchiveSupplySourceRequestEntityTooLarge) IsClientError

IsClientError returns true when this archive supply source request entity too large response has a 4xx status code

func (*ArchiveSupplySourceRequestEntityTooLarge) IsCode

IsCode returns true when this archive supply source request entity too large response a status code equal to that given

func (*ArchiveSupplySourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this archive supply source request entity too large response has a 3xx status code

func (*ArchiveSupplySourceRequestEntityTooLarge) IsServerError

IsServerError returns true when this archive supply source request entity too large response has a 5xx status code

func (*ArchiveSupplySourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this archive supply source request entity too large response has a 2xx status code

func (*ArchiveSupplySourceRequestEntityTooLarge) String

type ArchiveSupplySourceServiceUnavailable

type ArchiveSupplySourceServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewArchiveSupplySourceServiceUnavailable

func NewArchiveSupplySourceServiceUnavailable() *ArchiveSupplySourceServiceUnavailable

NewArchiveSupplySourceServiceUnavailable creates a ArchiveSupplySourceServiceUnavailable with default headers values

func (*ArchiveSupplySourceServiceUnavailable) Error

func (*ArchiveSupplySourceServiceUnavailable) GetPayload

func (*ArchiveSupplySourceServiceUnavailable) IsClientError

func (o *ArchiveSupplySourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this archive supply source service unavailable response has a 4xx status code

func (*ArchiveSupplySourceServiceUnavailable) IsCode

IsCode returns true when this archive supply source service unavailable response a status code equal to that given

func (*ArchiveSupplySourceServiceUnavailable) IsRedirect

IsRedirect returns true when this archive supply source service unavailable response has a 3xx status code

func (*ArchiveSupplySourceServiceUnavailable) IsServerError

func (o *ArchiveSupplySourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this archive supply source service unavailable response has a 5xx status code

func (*ArchiveSupplySourceServiceUnavailable) IsSuccess

IsSuccess returns true when this archive supply source service unavailable response has a 2xx status code

func (*ArchiveSupplySourceServiceUnavailable) String

type ArchiveSupplySourceTooManyRequests

type ArchiveSupplySourceTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewArchiveSupplySourceTooManyRequests

func NewArchiveSupplySourceTooManyRequests() *ArchiveSupplySourceTooManyRequests

NewArchiveSupplySourceTooManyRequests creates a ArchiveSupplySourceTooManyRequests with default headers values

func (*ArchiveSupplySourceTooManyRequests) Error

func (*ArchiveSupplySourceTooManyRequests) GetPayload

func (*ArchiveSupplySourceTooManyRequests) IsClientError

func (o *ArchiveSupplySourceTooManyRequests) IsClientError() bool

IsClientError returns true when this archive supply source too many requests response has a 4xx status code

func (*ArchiveSupplySourceTooManyRequests) IsCode

IsCode returns true when this archive supply source too many requests response a status code equal to that given

func (*ArchiveSupplySourceTooManyRequests) IsRedirect

func (o *ArchiveSupplySourceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this archive supply source too many requests response has a 3xx status code

func (*ArchiveSupplySourceTooManyRequests) IsServerError

func (o *ArchiveSupplySourceTooManyRequests) IsServerError() bool

IsServerError returns true when this archive supply source too many requests response has a 5xx status code

func (*ArchiveSupplySourceTooManyRequests) IsSuccess

IsSuccess returns true when this archive supply source too many requests response has a 2xx status code

func (*ArchiveSupplySourceTooManyRequests) String

type ArchiveSupplySourceUnsupportedMediaType

type ArchiveSupplySourceUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewArchiveSupplySourceUnsupportedMediaType

func NewArchiveSupplySourceUnsupportedMediaType() *ArchiveSupplySourceUnsupportedMediaType

NewArchiveSupplySourceUnsupportedMediaType creates a ArchiveSupplySourceUnsupportedMediaType with default headers values

func (*ArchiveSupplySourceUnsupportedMediaType) Error

func (*ArchiveSupplySourceUnsupportedMediaType) GetPayload

func (*ArchiveSupplySourceUnsupportedMediaType) IsClientError

func (o *ArchiveSupplySourceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this archive supply source unsupported media type response has a 4xx status code

func (*ArchiveSupplySourceUnsupportedMediaType) IsCode

IsCode returns true when this archive supply source unsupported media type response a status code equal to that given

func (*ArchiveSupplySourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this archive supply source unsupported media type response has a 3xx status code

func (*ArchiveSupplySourceUnsupportedMediaType) IsServerError

func (o *ArchiveSupplySourceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this archive supply source unsupported media type response has a 5xx status code

func (*ArchiveSupplySourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this archive supply source unsupported media type response has a 2xx status code

func (*ArchiveSupplySourceUnsupportedMediaType) String

type Client

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

Client for supply sources API

func (*Client) ArchiveSupplySource

func (a *Client) ArchiveSupplySource(params *ArchiveSupplySourceParams, opts ...ClientOption) (*ArchiveSupplySourceNoContent, error)

ArchiveSupplySource Archive a supply source, making it inactive. Cannot be undone.

func (*Client) CreateSupplySource

func (a *Client) CreateSupplySource(params *CreateSupplySourceParams, opts ...ClientOption) (*CreateSupplySourceOK, error)

CreateSupplySource Create a new supply source.

func (*Client) GetSupplySource

func (a *Client) GetSupplySource(params *GetSupplySourceParams, opts ...ClientOption) (*GetSupplySourceOK, error)

GetSupplySource Retrieve a supply source.

func (*Client) GetSupplySources

func (a *Client) GetSupplySources(params *GetSupplySourcesParams, opts ...ClientOption) (*GetSupplySourcesOK, error)

GetSupplySources The path to retrieve paginated supply sources.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSupplySource

func (a *Client) UpdateSupplySource(params *UpdateSupplySourceParams, opts ...ClientOption) (*UpdateSupplySourceNoContent, error)

UpdateSupplySource Update the configuration and capabilities of a supply source.

func (*Client) UpdateSupplySourceStatus

func (a *Client) UpdateSupplySourceStatus(params *UpdateSupplySourceStatusParams, opts ...ClientOption) (*UpdateSupplySourceStatusNoContent, error)

UpdateSupplySourceStatus Update the status of a supply source.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ArchiveSupplySource(params *ArchiveSupplySourceParams, opts ...ClientOption) (*ArchiveSupplySourceNoContent, error)

	CreateSupplySource(params *CreateSupplySourceParams, opts ...ClientOption) (*CreateSupplySourceOK, error)

	GetSupplySource(params *GetSupplySourceParams, opts ...ClientOption) (*GetSupplySourceOK, error)

	GetSupplySources(params *GetSupplySourcesParams, opts ...ClientOption) (*GetSupplySourcesOK, error)

	UpdateSupplySource(params *UpdateSupplySourceParams, opts ...ClientOption) (*UpdateSupplySourceNoContent, error)

	UpdateSupplySourceStatus(params *UpdateSupplySourceStatusParams, opts ...ClientOption) (*UpdateSupplySourceStatusNoContent, 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 supply sources API client.

type CreateSupplySourceBadRequest

type CreateSupplySourceBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewCreateSupplySourceBadRequest

func NewCreateSupplySourceBadRequest() *CreateSupplySourceBadRequest

NewCreateSupplySourceBadRequest creates a CreateSupplySourceBadRequest with default headers values

func (*CreateSupplySourceBadRequest) Error

func (*CreateSupplySourceBadRequest) GetPayload

func (*CreateSupplySourceBadRequest) IsClientError

func (o *CreateSupplySourceBadRequest) IsClientError() bool

IsClientError returns true when this create supply source bad request response has a 4xx status code

func (*CreateSupplySourceBadRequest) IsCode

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

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

func (*CreateSupplySourceBadRequest) IsRedirect

func (o *CreateSupplySourceBadRequest) IsRedirect() bool

IsRedirect returns true when this create supply source bad request response has a 3xx status code

func (*CreateSupplySourceBadRequest) IsServerError

func (o *CreateSupplySourceBadRequest) IsServerError() bool

IsServerError returns true when this create supply source bad request response has a 5xx status code

func (*CreateSupplySourceBadRequest) IsSuccess

func (o *CreateSupplySourceBadRequest) IsSuccess() bool

IsSuccess returns true when this create supply source bad request response has a 2xx status code

func (*CreateSupplySourceBadRequest) String

type CreateSupplySourceForbidden

type CreateSupplySourceForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

CreateSupplySourceForbidden describes a response with status code 403, with default header values.

An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewCreateSupplySourceForbidden

func NewCreateSupplySourceForbidden() *CreateSupplySourceForbidden

NewCreateSupplySourceForbidden creates a CreateSupplySourceForbidden with default headers values

func (*CreateSupplySourceForbidden) Error

func (*CreateSupplySourceForbidden) GetPayload

func (*CreateSupplySourceForbidden) IsClientError

func (o *CreateSupplySourceForbidden) IsClientError() bool

IsClientError returns true when this create supply source forbidden response has a 4xx status code

func (*CreateSupplySourceForbidden) IsCode

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

IsCode returns true when this create supply source forbidden response a status code equal to that given

func (*CreateSupplySourceForbidden) IsRedirect

func (o *CreateSupplySourceForbidden) IsRedirect() bool

IsRedirect returns true when this create supply source forbidden response has a 3xx status code

func (*CreateSupplySourceForbidden) IsServerError

func (o *CreateSupplySourceForbidden) IsServerError() bool

IsServerError returns true when this create supply source forbidden response has a 5xx status code

func (*CreateSupplySourceForbidden) IsSuccess

func (o *CreateSupplySourceForbidden) IsSuccess() bool

IsSuccess returns true when this create supply source forbidden response has a 2xx status code

func (*CreateSupplySourceForbidden) String

func (o *CreateSupplySourceForbidden) String() string

type CreateSupplySourceInternalServerError

type CreateSupplySourceInternalServerError 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewCreateSupplySourceInternalServerError

func NewCreateSupplySourceInternalServerError() *CreateSupplySourceInternalServerError

NewCreateSupplySourceInternalServerError creates a CreateSupplySourceInternalServerError with default headers values

func (*CreateSupplySourceInternalServerError) Error

func (*CreateSupplySourceInternalServerError) GetPayload

func (*CreateSupplySourceInternalServerError) IsClientError

func (o *CreateSupplySourceInternalServerError) IsClientError() bool

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

func (*CreateSupplySourceInternalServerError) IsCode

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

func (*CreateSupplySourceInternalServerError) IsRedirect

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

func (*CreateSupplySourceInternalServerError) IsServerError

func (o *CreateSupplySourceInternalServerError) IsServerError() bool

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

func (*CreateSupplySourceInternalServerError) IsSuccess

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

func (*CreateSupplySourceInternalServerError) String

type CreateSupplySourceNotFound

type CreateSupplySourceNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewCreateSupplySourceNotFound

func NewCreateSupplySourceNotFound() *CreateSupplySourceNotFound

NewCreateSupplySourceNotFound creates a CreateSupplySourceNotFound with default headers values

func (*CreateSupplySourceNotFound) Error

func (*CreateSupplySourceNotFound) GetPayload

func (*CreateSupplySourceNotFound) IsClientError

func (o *CreateSupplySourceNotFound) IsClientError() bool

IsClientError returns true when this create supply source not found response has a 4xx status code

func (*CreateSupplySourceNotFound) IsCode

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

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

func (*CreateSupplySourceNotFound) IsRedirect

func (o *CreateSupplySourceNotFound) IsRedirect() bool

IsRedirect returns true when this create supply source not found response has a 3xx status code

func (*CreateSupplySourceNotFound) IsServerError

func (o *CreateSupplySourceNotFound) IsServerError() bool

IsServerError returns true when this create supply source not found response has a 5xx status code

func (*CreateSupplySourceNotFound) IsSuccess

func (o *CreateSupplySourceNotFound) IsSuccess() bool

IsSuccess returns true when this create supply source not found response has a 2xx status code

func (*CreateSupplySourceNotFound) String

func (o *CreateSupplySourceNotFound) String() string

type CreateSupplySourceOK

type CreateSupplySourceOK struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.CreateSupplySourceResponse
}

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

Success.

func NewCreateSupplySourceOK

func NewCreateSupplySourceOK() *CreateSupplySourceOK

NewCreateSupplySourceOK creates a CreateSupplySourceOK with default headers values

func (*CreateSupplySourceOK) Error

func (o *CreateSupplySourceOK) Error() string

func (*CreateSupplySourceOK) IsClientError

func (o *CreateSupplySourceOK) IsClientError() bool

IsClientError returns true when this create supply source o k response has a 4xx status code

func (*CreateSupplySourceOK) IsCode

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

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

func (*CreateSupplySourceOK) IsRedirect

func (o *CreateSupplySourceOK) IsRedirect() bool

IsRedirect returns true when this create supply source o k response has a 3xx status code

func (*CreateSupplySourceOK) IsServerError

func (o *CreateSupplySourceOK) IsServerError() bool

IsServerError returns true when this create supply source o k response has a 5xx status code

func (*CreateSupplySourceOK) IsSuccess

func (o *CreateSupplySourceOK) IsSuccess() bool

IsSuccess returns true when this create supply source o k response has a 2xx status code

func (*CreateSupplySourceOK) String

func (o *CreateSupplySourceOK) String() string

type CreateSupplySourceParams

type CreateSupplySourceParams struct {

	/* Payload.

	   A request to create a supply source.
	*/
	Payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest

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

CreateSupplySourceParams contains all the parameters to send to the API endpoint

for the create supply source operation.

Typically these are written to a http.Request.

func NewCreateSupplySourceParams

func NewCreateSupplySourceParams() *CreateSupplySourceParams

NewCreateSupplySourceParams creates a new CreateSupplySourceParams 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 NewCreateSupplySourceParamsWithContext

func NewCreateSupplySourceParamsWithContext(ctx context.Context) *CreateSupplySourceParams

NewCreateSupplySourceParamsWithContext creates a new CreateSupplySourceParams object with the ability to set a context for a request.

func NewCreateSupplySourceParamsWithHTTPClient

func NewCreateSupplySourceParamsWithHTTPClient(client *http.Client) *CreateSupplySourceParams

NewCreateSupplySourceParamsWithHTTPClient creates a new CreateSupplySourceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSupplySourceParamsWithTimeout

func NewCreateSupplySourceParamsWithTimeout(timeout time.Duration) *CreateSupplySourceParams

NewCreateSupplySourceParamsWithTimeout creates a new CreateSupplySourceParams object with the ability to set a timeout on a request.

func (*CreateSupplySourceParams) SetContext

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

SetContext adds the context to the create supply source params

func (*CreateSupplySourceParams) SetDefaults

func (o *CreateSupplySourceParams) SetDefaults()

SetDefaults hydrates default values in the create supply source params (not the query body).

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

func (*CreateSupplySourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create supply source params

func (*CreateSupplySourceParams) SetPayload

SetPayload adds the payload to the create supply source params

func (*CreateSupplySourceParams) SetTimeout

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

SetTimeout adds the timeout to the create supply source params

func (*CreateSupplySourceParams) WithContext

WithContext adds the context to the create supply source params

func (*CreateSupplySourceParams) WithDefaults

WithDefaults hydrates default values in the create supply source params (not the query body).

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

func (*CreateSupplySourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create supply source params

func (*CreateSupplySourceParams) WithPayload

WithPayload adds the payload to the create supply source params

func (*CreateSupplySourceParams) WithTimeout

WithTimeout adds the timeout to the create supply source params

func (*CreateSupplySourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSupplySourceReader

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

CreateSupplySourceReader is a Reader for the CreateSupplySource structure.

func (*CreateSupplySourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSupplySourceRequestEntityTooLarge

type CreateSupplySourceRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewCreateSupplySourceRequestEntityTooLarge

func NewCreateSupplySourceRequestEntityTooLarge() *CreateSupplySourceRequestEntityTooLarge

NewCreateSupplySourceRequestEntityTooLarge creates a CreateSupplySourceRequestEntityTooLarge with default headers values

func (*CreateSupplySourceRequestEntityTooLarge) Error

func (*CreateSupplySourceRequestEntityTooLarge) GetPayload

func (*CreateSupplySourceRequestEntityTooLarge) IsClientError

func (o *CreateSupplySourceRequestEntityTooLarge) IsClientError() bool

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

func (*CreateSupplySourceRequestEntityTooLarge) IsCode

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

func (*CreateSupplySourceRequestEntityTooLarge) IsRedirect

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

func (*CreateSupplySourceRequestEntityTooLarge) IsServerError

func (o *CreateSupplySourceRequestEntityTooLarge) IsServerError() bool

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

func (*CreateSupplySourceRequestEntityTooLarge) IsSuccess

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

func (*CreateSupplySourceRequestEntityTooLarge) String

type CreateSupplySourceServiceUnavailable

type CreateSupplySourceServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewCreateSupplySourceServiceUnavailable

func NewCreateSupplySourceServiceUnavailable() *CreateSupplySourceServiceUnavailable

NewCreateSupplySourceServiceUnavailable creates a CreateSupplySourceServiceUnavailable with default headers values

func (*CreateSupplySourceServiceUnavailable) Error

func (*CreateSupplySourceServiceUnavailable) GetPayload

func (*CreateSupplySourceServiceUnavailable) IsClientError

func (o *CreateSupplySourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this create supply source service unavailable response has a 4xx status code

func (*CreateSupplySourceServiceUnavailable) IsCode

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

func (*CreateSupplySourceServiceUnavailable) IsRedirect

IsRedirect returns true when this create supply source service unavailable response has a 3xx status code

func (*CreateSupplySourceServiceUnavailable) IsServerError

func (o *CreateSupplySourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this create supply source service unavailable response has a 5xx status code

func (*CreateSupplySourceServiceUnavailable) IsSuccess

IsSuccess returns true when this create supply source service unavailable response has a 2xx status code

func (*CreateSupplySourceServiceUnavailable) String

type CreateSupplySourceTooManyRequests

type CreateSupplySourceTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewCreateSupplySourceTooManyRequests

func NewCreateSupplySourceTooManyRequests() *CreateSupplySourceTooManyRequests

NewCreateSupplySourceTooManyRequests creates a CreateSupplySourceTooManyRequests with default headers values

func (*CreateSupplySourceTooManyRequests) Error

func (*CreateSupplySourceTooManyRequests) GetPayload

func (*CreateSupplySourceTooManyRequests) IsClientError

func (o *CreateSupplySourceTooManyRequests) IsClientError() bool

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

func (*CreateSupplySourceTooManyRequests) IsCode

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

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

func (*CreateSupplySourceTooManyRequests) IsRedirect

func (o *CreateSupplySourceTooManyRequests) IsRedirect() bool

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

func (*CreateSupplySourceTooManyRequests) IsServerError

func (o *CreateSupplySourceTooManyRequests) IsServerError() bool

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

func (*CreateSupplySourceTooManyRequests) IsSuccess

func (o *CreateSupplySourceTooManyRequests) IsSuccess() bool

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

func (*CreateSupplySourceTooManyRequests) String

type CreateSupplySourceUnsupportedMediaType

type CreateSupplySourceUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewCreateSupplySourceUnsupportedMediaType

func NewCreateSupplySourceUnsupportedMediaType() *CreateSupplySourceUnsupportedMediaType

NewCreateSupplySourceUnsupportedMediaType creates a CreateSupplySourceUnsupportedMediaType with default headers values

func (*CreateSupplySourceUnsupportedMediaType) Error

func (*CreateSupplySourceUnsupportedMediaType) GetPayload

func (*CreateSupplySourceUnsupportedMediaType) IsClientError

func (o *CreateSupplySourceUnsupportedMediaType) IsClientError() bool

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

func (*CreateSupplySourceUnsupportedMediaType) IsCode

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

func (*CreateSupplySourceUnsupportedMediaType) IsRedirect

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

func (*CreateSupplySourceUnsupportedMediaType) IsServerError

func (o *CreateSupplySourceUnsupportedMediaType) IsServerError() bool

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

func (*CreateSupplySourceUnsupportedMediaType) IsSuccess

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

func (*CreateSupplySourceUnsupportedMediaType) String

type GetSupplySourceBadRequest

type GetSupplySourceBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewGetSupplySourceBadRequest

func NewGetSupplySourceBadRequest() *GetSupplySourceBadRequest

NewGetSupplySourceBadRequest creates a GetSupplySourceBadRequest with default headers values

func (*GetSupplySourceBadRequest) Error

func (o *GetSupplySourceBadRequest) Error() string

func (*GetSupplySourceBadRequest) GetPayload

func (*GetSupplySourceBadRequest) IsClientError

func (o *GetSupplySourceBadRequest) IsClientError() bool

IsClientError returns true when this get supply source bad request response has a 4xx status code

func (*GetSupplySourceBadRequest) IsCode

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

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

func (*GetSupplySourceBadRequest) IsRedirect

func (o *GetSupplySourceBadRequest) IsRedirect() bool

IsRedirect returns true when this get supply source bad request response has a 3xx status code

func (*GetSupplySourceBadRequest) IsServerError

func (o *GetSupplySourceBadRequest) IsServerError() bool

IsServerError returns true when this get supply source bad request response has a 5xx status code

func (*GetSupplySourceBadRequest) IsSuccess

func (o *GetSupplySourceBadRequest) IsSuccess() bool

IsSuccess returns true when this get supply source bad request response has a 2xx status code

func (*GetSupplySourceBadRequest) String

func (o *GetSupplySourceBadRequest) String() string

type GetSupplySourceForbidden

type GetSupplySourceForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

GetSupplySourceForbidden describes a response with status code 403, with default header values.

An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetSupplySourceForbidden

func NewGetSupplySourceForbidden() *GetSupplySourceForbidden

NewGetSupplySourceForbidden creates a GetSupplySourceForbidden with default headers values

func (*GetSupplySourceForbidden) Error

func (o *GetSupplySourceForbidden) Error() string

func (*GetSupplySourceForbidden) GetPayload

func (*GetSupplySourceForbidden) IsClientError

func (o *GetSupplySourceForbidden) IsClientError() bool

IsClientError returns true when this get supply source forbidden response has a 4xx status code

func (*GetSupplySourceForbidden) IsCode

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

IsCode returns true when this get supply source forbidden response a status code equal to that given

func (*GetSupplySourceForbidden) IsRedirect

func (o *GetSupplySourceForbidden) IsRedirect() bool

IsRedirect returns true when this get supply source forbidden response has a 3xx status code

func (*GetSupplySourceForbidden) IsServerError

func (o *GetSupplySourceForbidden) IsServerError() bool

IsServerError returns true when this get supply source forbidden response has a 5xx status code

func (*GetSupplySourceForbidden) IsSuccess

func (o *GetSupplySourceForbidden) IsSuccess() bool

IsSuccess returns true when this get supply source forbidden response has a 2xx status code

func (*GetSupplySourceForbidden) String

func (o *GetSupplySourceForbidden) String() string

type GetSupplySourceInternalServerError

type GetSupplySourceInternalServerError 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewGetSupplySourceInternalServerError

func NewGetSupplySourceInternalServerError() *GetSupplySourceInternalServerError

NewGetSupplySourceInternalServerError creates a GetSupplySourceInternalServerError with default headers values

func (*GetSupplySourceInternalServerError) Error

func (*GetSupplySourceInternalServerError) GetPayload

func (*GetSupplySourceInternalServerError) IsClientError

func (o *GetSupplySourceInternalServerError) IsClientError() bool

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

func (*GetSupplySourceInternalServerError) IsCode

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

func (*GetSupplySourceInternalServerError) IsRedirect

func (o *GetSupplySourceInternalServerError) IsRedirect() bool

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

func (*GetSupplySourceInternalServerError) IsServerError

func (o *GetSupplySourceInternalServerError) IsServerError() bool

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

func (*GetSupplySourceInternalServerError) IsSuccess

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

func (*GetSupplySourceInternalServerError) String

type GetSupplySourceNotFound

type GetSupplySourceNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewGetSupplySourceNotFound

func NewGetSupplySourceNotFound() *GetSupplySourceNotFound

NewGetSupplySourceNotFound creates a GetSupplySourceNotFound with default headers values

func (*GetSupplySourceNotFound) Error

func (o *GetSupplySourceNotFound) Error() string

func (*GetSupplySourceNotFound) GetPayload

func (*GetSupplySourceNotFound) IsClientError

func (o *GetSupplySourceNotFound) IsClientError() bool

IsClientError returns true when this get supply source not found response has a 4xx status code

func (*GetSupplySourceNotFound) IsCode

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

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

func (*GetSupplySourceNotFound) IsRedirect

func (o *GetSupplySourceNotFound) IsRedirect() bool

IsRedirect returns true when this get supply source not found response has a 3xx status code

func (*GetSupplySourceNotFound) IsServerError

func (o *GetSupplySourceNotFound) IsServerError() bool

IsServerError returns true when this get supply source not found response has a 5xx status code

func (*GetSupplySourceNotFound) IsSuccess

func (o *GetSupplySourceNotFound) IsSuccess() bool

IsSuccess returns true when this get supply source not found response has a 2xx status code

func (*GetSupplySourceNotFound) String

func (o *GetSupplySourceNotFound) String() string

type GetSupplySourceOK

type GetSupplySourceOK struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.SupplySource
}

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

Success.

func NewGetSupplySourceOK

func NewGetSupplySourceOK() *GetSupplySourceOK

NewGetSupplySourceOK creates a GetSupplySourceOK with default headers values

func (*GetSupplySourceOK) Error

func (o *GetSupplySourceOK) Error() string

func (*GetSupplySourceOK) GetPayload

func (*GetSupplySourceOK) IsClientError

func (o *GetSupplySourceOK) IsClientError() bool

IsClientError returns true when this get supply source o k response has a 4xx status code

func (*GetSupplySourceOK) IsCode

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

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

func (*GetSupplySourceOK) IsRedirect

func (o *GetSupplySourceOK) IsRedirect() bool

IsRedirect returns true when this get supply source o k response has a 3xx status code

func (*GetSupplySourceOK) IsServerError

func (o *GetSupplySourceOK) IsServerError() bool

IsServerError returns true when this get supply source o k response has a 5xx status code

func (*GetSupplySourceOK) IsSuccess

func (o *GetSupplySourceOK) IsSuccess() bool

IsSuccess returns true when this get supply source o k response has a 2xx status code

func (*GetSupplySourceOK) String

func (o *GetSupplySourceOK) String() string

type GetSupplySourceParams

type GetSupplySourceParams struct {

	/* SupplySourceID.

	   The unique identifier of a supply source.
	*/
	SupplySourceID string

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

GetSupplySourceParams contains all the parameters to send to the API endpoint

for the get supply source operation.

Typically these are written to a http.Request.

func NewGetSupplySourceParams

func NewGetSupplySourceParams() *GetSupplySourceParams

NewGetSupplySourceParams creates a new GetSupplySourceParams 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 NewGetSupplySourceParamsWithContext

func NewGetSupplySourceParamsWithContext(ctx context.Context) *GetSupplySourceParams

NewGetSupplySourceParamsWithContext creates a new GetSupplySourceParams object with the ability to set a context for a request.

func NewGetSupplySourceParamsWithHTTPClient

func NewGetSupplySourceParamsWithHTTPClient(client *http.Client) *GetSupplySourceParams

NewGetSupplySourceParamsWithHTTPClient creates a new GetSupplySourceParams object with the ability to set a custom HTTPClient for a request.

func NewGetSupplySourceParamsWithTimeout

func NewGetSupplySourceParamsWithTimeout(timeout time.Duration) *GetSupplySourceParams

NewGetSupplySourceParamsWithTimeout creates a new GetSupplySourceParams object with the ability to set a timeout on a request.

func (*GetSupplySourceParams) SetContext

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

SetContext adds the context to the get supply source params

func (*GetSupplySourceParams) SetDefaults

func (o *GetSupplySourceParams) SetDefaults()

SetDefaults hydrates default values in the get supply source params (not the query body).

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

func (*GetSupplySourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get supply source params

func (*GetSupplySourceParams) SetSupplySourceID

func (o *GetSupplySourceParams) SetSupplySourceID(supplySourceID string)

SetSupplySourceID adds the supplySourceId to the get supply source params

func (*GetSupplySourceParams) SetTimeout

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

SetTimeout adds the timeout to the get supply source params

func (*GetSupplySourceParams) WithContext

WithContext adds the context to the get supply source params

func (*GetSupplySourceParams) WithDefaults

func (o *GetSupplySourceParams) WithDefaults() *GetSupplySourceParams

WithDefaults hydrates default values in the get supply source params (not the query body).

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

func (*GetSupplySourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get supply source params

func (*GetSupplySourceParams) WithSupplySourceID

func (o *GetSupplySourceParams) WithSupplySourceID(supplySourceID string) *GetSupplySourceParams

WithSupplySourceID adds the supplySourceID to the get supply source params

func (*GetSupplySourceParams) WithTimeout

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

WithTimeout adds the timeout to the get supply source params

func (*GetSupplySourceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSupplySourceReader

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

GetSupplySourceReader is a Reader for the GetSupplySource structure.

func (*GetSupplySourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSupplySourceRequestEntityTooLarge

type GetSupplySourceRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetSupplySourceRequestEntityTooLarge

func NewGetSupplySourceRequestEntityTooLarge() *GetSupplySourceRequestEntityTooLarge

NewGetSupplySourceRequestEntityTooLarge creates a GetSupplySourceRequestEntityTooLarge with default headers values

func (*GetSupplySourceRequestEntityTooLarge) Error

func (*GetSupplySourceRequestEntityTooLarge) GetPayload

func (*GetSupplySourceRequestEntityTooLarge) IsClientError

func (o *GetSupplySourceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get supply source request entity too large response has a 4xx status code

func (*GetSupplySourceRequestEntityTooLarge) IsCode

IsCode returns true when this get supply source request entity too large response a status code equal to that given

func (*GetSupplySourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get supply source request entity too large response has a 3xx status code

func (*GetSupplySourceRequestEntityTooLarge) IsServerError

func (o *GetSupplySourceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get supply source request entity too large response has a 5xx status code

func (*GetSupplySourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get supply source request entity too large response has a 2xx status code

func (*GetSupplySourceRequestEntityTooLarge) String

type GetSupplySourceServiceUnavailable

type GetSupplySourceServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewGetSupplySourceServiceUnavailable

func NewGetSupplySourceServiceUnavailable() *GetSupplySourceServiceUnavailable

NewGetSupplySourceServiceUnavailable creates a GetSupplySourceServiceUnavailable with default headers values

func (*GetSupplySourceServiceUnavailable) Error

func (*GetSupplySourceServiceUnavailable) GetPayload

func (*GetSupplySourceServiceUnavailable) IsClientError

func (o *GetSupplySourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this get supply source service unavailable response has a 4xx status code

func (*GetSupplySourceServiceUnavailable) IsCode

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

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

func (*GetSupplySourceServiceUnavailable) IsRedirect

func (o *GetSupplySourceServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get supply source service unavailable response has a 3xx status code

func (*GetSupplySourceServiceUnavailable) IsServerError

func (o *GetSupplySourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this get supply source service unavailable response has a 5xx status code

func (*GetSupplySourceServiceUnavailable) IsSuccess

func (o *GetSupplySourceServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get supply source service unavailable response has a 2xx status code

func (*GetSupplySourceServiceUnavailable) String

type GetSupplySourceTooManyRequests

type GetSupplySourceTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetSupplySourceTooManyRequests

func NewGetSupplySourceTooManyRequests() *GetSupplySourceTooManyRequests

NewGetSupplySourceTooManyRequests creates a GetSupplySourceTooManyRequests with default headers values

func (*GetSupplySourceTooManyRequests) Error

func (*GetSupplySourceTooManyRequests) GetPayload

func (*GetSupplySourceTooManyRequests) IsClientError

func (o *GetSupplySourceTooManyRequests) IsClientError() bool

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

func (*GetSupplySourceTooManyRequests) IsCode

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

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

func (*GetSupplySourceTooManyRequests) IsRedirect

func (o *GetSupplySourceTooManyRequests) IsRedirect() bool

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

func (*GetSupplySourceTooManyRequests) IsServerError

func (o *GetSupplySourceTooManyRequests) IsServerError() bool

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

func (*GetSupplySourceTooManyRequests) IsSuccess

func (o *GetSupplySourceTooManyRequests) IsSuccess() bool

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

func (*GetSupplySourceTooManyRequests) String

type GetSupplySourceUnsupportedMediaType

type GetSupplySourceUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetSupplySourceUnsupportedMediaType

func NewGetSupplySourceUnsupportedMediaType() *GetSupplySourceUnsupportedMediaType

NewGetSupplySourceUnsupportedMediaType creates a GetSupplySourceUnsupportedMediaType with default headers values

func (*GetSupplySourceUnsupportedMediaType) Error

func (*GetSupplySourceUnsupportedMediaType) GetPayload

func (*GetSupplySourceUnsupportedMediaType) IsClientError

func (o *GetSupplySourceUnsupportedMediaType) IsClientError() bool

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

func (*GetSupplySourceUnsupportedMediaType) IsCode

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

func (*GetSupplySourceUnsupportedMediaType) IsRedirect

func (o *GetSupplySourceUnsupportedMediaType) IsRedirect() bool

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

func (*GetSupplySourceUnsupportedMediaType) IsServerError

func (o *GetSupplySourceUnsupportedMediaType) IsServerError() bool

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

func (*GetSupplySourceUnsupportedMediaType) IsSuccess

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

func (*GetSupplySourceUnsupportedMediaType) String

type GetSupplySourcesBadRequest

type GetSupplySourcesBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewGetSupplySourcesBadRequest

func NewGetSupplySourcesBadRequest() *GetSupplySourcesBadRequest

NewGetSupplySourcesBadRequest creates a GetSupplySourcesBadRequest with default headers values

func (*GetSupplySourcesBadRequest) Error

func (*GetSupplySourcesBadRequest) GetPayload

func (*GetSupplySourcesBadRequest) IsClientError

func (o *GetSupplySourcesBadRequest) IsClientError() bool

IsClientError returns true when this get supply sources bad request response has a 4xx status code

func (*GetSupplySourcesBadRequest) IsCode

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

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

func (*GetSupplySourcesBadRequest) IsRedirect

func (o *GetSupplySourcesBadRequest) IsRedirect() bool

IsRedirect returns true when this get supply sources bad request response has a 3xx status code

func (*GetSupplySourcesBadRequest) IsServerError

func (o *GetSupplySourcesBadRequest) IsServerError() bool

IsServerError returns true when this get supply sources bad request response has a 5xx status code

func (*GetSupplySourcesBadRequest) IsSuccess

func (o *GetSupplySourcesBadRequest) IsSuccess() bool

IsSuccess returns true when this get supply sources bad request response has a 2xx status code

func (*GetSupplySourcesBadRequest) String

func (o *GetSupplySourcesBadRequest) String() string

type GetSupplySourcesForbidden

type GetSupplySourcesForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

GetSupplySourcesForbidden describes a response with status code 403, with default header values.

An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetSupplySourcesForbidden

func NewGetSupplySourcesForbidden() *GetSupplySourcesForbidden

NewGetSupplySourcesForbidden creates a GetSupplySourcesForbidden with default headers values

func (*GetSupplySourcesForbidden) Error

func (o *GetSupplySourcesForbidden) Error() string

func (*GetSupplySourcesForbidden) GetPayload

func (*GetSupplySourcesForbidden) IsClientError

func (o *GetSupplySourcesForbidden) IsClientError() bool

IsClientError returns true when this get supply sources forbidden response has a 4xx status code

func (*GetSupplySourcesForbidden) IsCode

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

IsCode returns true when this get supply sources forbidden response a status code equal to that given

func (*GetSupplySourcesForbidden) IsRedirect

func (o *GetSupplySourcesForbidden) IsRedirect() bool

IsRedirect returns true when this get supply sources forbidden response has a 3xx status code

func (*GetSupplySourcesForbidden) IsServerError

func (o *GetSupplySourcesForbidden) IsServerError() bool

IsServerError returns true when this get supply sources forbidden response has a 5xx status code

func (*GetSupplySourcesForbidden) IsSuccess

func (o *GetSupplySourcesForbidden) IsSuccess() bool

IsSuccess returns true when this get supply sources forbidden response has a 2xx status code

func (*GetSupplySourcesForbidden) String

func (o *GetSupplySourcesForbidden) String() string

type GetSupplySourcesInternalServerError

type GetSupplySourcesInternalServerError struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewGetSupplySourcesInternalServerError

func NewGetSupplySourcesInternalServerError() *GetSupplySourcesInternalServerError

NewGetSupplySourcesInternalServerError creates a GetSupplySourcesInternalServerError with default headers values

func (*GetSupplySourcesInternalServerError) Error

func (*GetSupplySourcesInternalServerError) GetPayload

func (*GetSupplySourcesInternalServerError) IsClientError

func (o *GetSupplySourcesInternalServerError) IsClientError() bool

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

func (*GetSupplySourcesInternalServerError) IsCode

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

func (*GetSupplySourcesInternalServerError) IsRedirect

func (o *GetSupplySourcesInternalServerError) IsRedirect() bool

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

func (*GetSupplySourcesInternalServerError) IsServerError

func (o *GetSupplySourcesInternalServerError) IsServerError() bool

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

func (*GetSupplySourcesInternalServerError) IsSuccess

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

func (*GetSupplySourcesInternalServerError) String

type GetSupplySourcesNotFound

type GetSupplySourcesNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewGetSupplySourcesNotFound

func NewGetSupplySourcesNotFound() *GetSupplySourcesNotFound

NewGetSupplySourcesNotFound creates a GetSupplySourcesNotFound with default headers values

func (*GetSupplySourcesNotFound) Error

func (o *GetSupplySourcesNotFound) Error() string

func (*GetSupplySourcesNotFound) GetPayload

func (*GetSupplySourcesNotFound) IsClientError

func (o *GetSupplySourcesNotFound) IsClientError() bool

IsClientError returns true when this get supply sources not found response has a 4xx status code

func (*GetSupplySourcesNotFound) IsCode

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

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

func (*GetSupplySourcesNotFound) IsRedirect

func (o *GetSupplySourcesNotFound) IsRedirect() bool

IsRedirect returns true when this get supply sources not found response has a 3xx status code

func (*GetSupplySourcesNotFound) IsServerError

func (o *GetSupplySourcesNotFound) IsServerError() bool

IsServerError returns true when this get supply sources not found response has a 5xx status code

func (*GetSupplySourcesNotFound) IsSuccess

func (o *GetSupplySourcesNotFound) IsSuccess() bool

IsSuccess returns true when this get supply sources not found response has a 2xx status code

func (*GetSupplySourcesNotFound) String

func (o *GetSupplySourcesNotFound) String() string

type GetSupplySourcesOK

type GetSupplySourcesOK struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.GetSupplySourcesResponse
}

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

Success.

func NewGetSupplySourcesOK

func NewGetSupplySourcesOK() *GetSupplySourcesOK

NewGetSupplySourcesOK creates a GetSupplySourcesOK with default headers values

func (*GetSupplySourcesOK) Error

func (o *GetSupplySourcesOK) Error() string

func (*GetSupplySourcesOK) IsClientError

func (o *GetSupplySourcesOK) IsClientError() bool

IsClientError returns true when this get supply sources o k response has a 4xx status code

func (*GetSupplySourcesOK) IsCode

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

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

func (*GetSupplySourcesOK) IsRedirect

func (o *GetSupplySourcesOK) IsRedirect() bool

IsRedirect returns true when this get supply sources o k response has a 3xx status code

func (*GetSupplySourcesOK) IsServerError

func (o *GetSupplySourcesOK) IsServerError() bool

IsServerError returns true when this get supply sources o k response has a 5xx status code

func (*GetSupplySourcesOK) IsSuccess

func (o *GetSupplySourcesOK) IsSuccess() bool

IsSuccess returns true when this get supply sources o k response has a 2xx status code

func (*GetSupplySourcesOK) String

func (o *GetSupplySourcesOK) String() string

type GetSupplySourcesParams

type GetSupplySourcesParams struct {

	/* NextPageToken.

	   The pagination token to retrieve a specific page of results.
	*/
	NextPageToken *string

	/* PageSize.

	   The number of supply sources to return per paginated request.

	   Default: 10
	*/
	PageSize *float64

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

GetSupplySourcesParams contains all the parameters to send to the API endpoint

for the get supply sources operation.

Typically these are written to a http.Request.

func NewGetSupplySourcesParams

func NewGetSupplySourcesParams() *GetSupplySourcesParams

NewGetSupplySourcesParams creates a new GetSupplySourcesParams 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 NewGetSupplySourcesParamsWithContext

func NewGetSupplySourcesParamsWithContext(ctx context.Context) *GetSupplySourcesParams

NewGetSupplySourcesParamsWithContext creates a new GetSupplySourcesParams object with the ability to set a context for a request.

func NewGetSupplySourcesParamsWithHTTPClient

func NewGetSupplySourcesParamsWithHTTPClient(client *http.Client) *GetSupplySourcesParams

NewGetSupplySourcesParamsWithHTTPClient creates a new GetSupplySourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetSupplySourcesParamsWithTimeout

func NewGetSupplySourcesParamsWithTimeout(timeout time.Duration) *GetSupplySourcesParams

NewGetSupplySourcesParamsWithTimeout creates a new GetSupplySourcesParams object with the ability to set a timeout on a request.

func (*GetSupplySourcesParams) SetContext

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

SetContext adds the context to the get supply sources params

func (*GetSupplySourcesParams) SetDefaults

func (o *GetSupplySourcesParams) SetDefaults()

SetDefaults hydrates default values in the get supply sources params (not the query body).

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

func (*GetSupplySourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get supply sources params

func (*GetSupplySourcesParams) SetNextPageToken

func (o *GetSupplySourcesParams) SetNextPageToken(nextPageToken *string)

SetNextPageToken adds the nextPageToken to the get supply sources params

func (*GetSupplySourcesParams) SetPageSize

func (o *GetSupplySourcesParams) SetPageSize(pageSize *float64)

SetPageSize adds the pageSize to the get supply sources params

func (*GetSupplySourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get supply sources params

func (*GetSupplySourcesParams) WithContext

WithContext adds the context to the get supply sources params

func (*GetSupplySourcesParams) WithDefaults

WithDefaults hydrates default values in the get supply sources params (not the query body).

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

func (*GetSupplySourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get supply sources params

func (*GetSupplySourcesParams) WithNextPageToken

func (o *GetSupplySourcesParams) WithNextPageToken(nextPageToken *string) *GetSupplySourcesParams

WithNextPageToken adds the nextPageToken to the get supply sources params

func (*GetSupplySourcesParams) WithPageSize

func (o *GetSupplySourcesParams) WithPageSize(pageSize *float64) *GetSupplySourcesParams

WithPageSize adds the pageSize to the get supply sources params

func (*GetSupplySourcesParams) WithTimeout

WithTimeout adds the timeout to the get supply sources params

func (*GetSupplySourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSupplySourcesReader

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

GetSupplySourcesReader is a Reader for the GetSupplySources structure.

func (*GetSupplySourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSupplySourcesRequestEntityTooLarge

type GetSupplySourcesRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetSupplySourcesRequestEntityTooLarge

func NewGetSupplySourcesRequestEntityTooLarge() *GetSupplySourcesRequestEntityTooLarge

NewGetSupplySourcesRequestEntityTooLarge creates a GetSupplySourcesRequestEntityTooLarge with default headers values

func (*GetSupplySourcesRequestEntityTooLarge) Error

func (*GetSupplySourcesRequestEntityTooLarge) GetPayload

func (*GetSupplySourcesRequestEntityTooLarge) IsClientError

func (o *GetSupplySourcesRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get supply sources request entity too large response has a 4xx status code

func (*GetSupplySourcesRequestEntityTooLarge) IsCode

IsCode returns true when this get supply sources request entity too large response a status code equal to that given

func (*GetSupplySourcesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get supply sources request entity too large response has a 3xx status code

func (*GetSupplySourcesRequestEntityTooLarge) IsServerError

func (o *GetSupplySourcesRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get supply sources request entity too large response has a 5xx status code

func (*GetSupplySourcesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get supply sources request entity too large response has a 2xx status code

func (*GetSupplySourcesRequestEntityTooLarge) String

type GetSupplySourcesServiceUnavailable

type GetSupplySourcesServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewGetSupplySourcesServiceUnavailable

func NewGetSupplySourcesServiceUnavailable() *GetSupplySourcesServiceUnavailable

NewGetSupplySourcesServiceUnavailable creates a GetSupplySourcesServiceUnavailable with default headers values

func (*GetSupplySourcesServiceUnavailable) Error

func (*GetSupplySourcesServiceUnavailable) GetPayload

func (*GetSupplySourcesServiceUnavailable) IsClientError

func (o *GetSupplySourcesServiceUnavailable) IsClientError() bool

IsClientError returns true when this get supply sources service unavailable response has a 4xx status code

func (*GetSupplySourcesServiceUnavailable) IsCode

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

func (*GetSupplySourcesServiceUnavailable) IsRedirect

func (o *GetSupplySourcesServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get supply sources service unavailable response has a 3xx status code

func (*GetSupplySourcesServiceUnavailable) IsServerError

func (o *GetSupplySourcesServiceUnavailable) IsServerError() bool

IsServerError returns true when this get supply sources service unavailable response has a 5xx status code

func (*GetSupplySourcesServiceUnavailable) IsSuccess

IsSuccess returns true when this get supply sources service unavailable response has a 2xx status code

func (*GetSupplySourcesServiceUnavailable) String

type GetSupplySourcesTooManyRequests

type GetSupplySourcesTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetSupplySourcesTooManyRequests

func NewGetSupplySourcesTooManyRequests() *GetSupplySourcesTooManyRequests

NewGetSupplySourcesTooManyRequests creates a GetSupplySourcesTooManyRequests with default headers values

func (*GetSupplySourcesTooManyRequests) Error

func (*GetSupplySourcesTooManyRequests) GetPayload

func (*GetSupplySourcesTooManyRequests) IsClientError

func (o *GetSupplySourcesTooManyRequests) IsClientError() bool

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

func (*GetSupplySourcesTooManyRequests) IsCode

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

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

func (*GetSupplySourcesTooManyRequests) IsRedirect

func (o *GetSupplySourcesTooManyRequests) IsRedirect() bool

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

func (*GetSupplySourcesTooManyRequests) IsServerError

func (o *GetSupplySourcesTooManyRequests) IsServerError() bool

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

func (*GetSupplySourcesTooManyRequests) IsSuccess

func (o *GetSupplySourcesTooManyRequests) IsSuccess() bool

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

func (*GetSupplySourcesTooManyRequests) String

type GetSupplySourcesUnsupportedMediaType

type GetSupplySourcesUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetSupplySourcesUnsupportedMediaType

func NewGetSupplySourcesUnsupportedMediaType() *GetSupplySourcesUnsupportedMediaType

NewGetSupplySourcesUnsupportedMediaType creates a GetSupplySourcesUnsupportedMediaType with default headers values

func (*GetSupplySourcesUnsupportedMediaType) Error

func (*GetSupplySourcesUnsupportedMediaType) GetPayload

func (*GetSupplySourcesUnsupportedMediaType) IsClientError

func (o *GetSupplySourcesUnsupportedMediaType) IsClientError() bool

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

func (*GetSupplySourcesUnsupportedMediaType) IsCode

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

func (*GetSupplySourcesUnsupportedMediaType) IsRedirect

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

func (*GetSupplySourcesUnsupportedMediaType) IsServerError

func (o *GetSupplySourcesUnsupportedMediaType) IsServerError() bool

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

func (*GetSupplySourcesUnsupportedMediaType) IsSuccess

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

func (*GetSupplySourcesUnsupportedMediaType) String

type UpdateSupplySourceBadRequest

type UpdateSupplySourceBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewUpdateSupplySourceBadRequest

func NewUpdateSupplySourceBadRequest() *UpdateSupplySourceBadRequest

NewUpdateSupplySourceBadRequest creates a UpdateSupplySourceBadRequest with default headers values

func (*UpdateSupplySourceBadRequest) Error

func (*UpdateSupplySourceBadRequest) GetPayload

func (*UpdateSupplySourceBadRequest) IsClientError

func (o *UpdateSupplySourceBadRequest) IsClientError() bool

IsClientError returns true when this update supply source bad request response has a 4xx status code

func (*UpdateSupplySourceBadRequest) IsCode

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

IsCode returns true when this update supply source bad request response a status code equal to that given

func (*UpdateSupplySourceBadRequest) IsRedirect

func (o *UpdateSupplySourceBadRequest) IsRedirect() bool

IsRedirect returns true when this update supply source bad request response has a 3xx status code

func (*UpdateSupplySourceBadRequest) IsServerError

func (o *UpdateSupplySourceBadRequest) IsServerError() bool

IsServerError returns true when this update supply source bad request response has a 5xx status code

func (*UpdateSupplySourceBadRequest) IsSuccess

func (o *UpdateSupplySourceBadRequest) IsSuccess() bool

IsSuccess returns true when this update supply source bad request response has a 2xx status code

func (*UpdateSupplySourceBadRequest) String

type UpdateSupplySourceForbidden

type UpdateSupplySourceForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

UpdateSupplySourceForbidden describes a response with status code 403, with default header values.

An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewUpdateSupplySourceForbidden

func NewUpdateSupplySourceForbidden() *UpdateSupplySourceForbidden

NewUpdateSupplySourceForbidden creates a UpdateSupplySourceForbidden with default headers values

func (*UpdateSupplySourceForbidden) Error

func (*UpdateSupplySourceForbidden) GetPayload

func (*UpdateSupplySourceForbidden) IsClientError

func (o *UpdateSupplySourceForbidden) IsClientError() bool

IsClientError returns true when this update supply source forbidden response has a 4xx status code

func (*UpdateSupplySourceForbidden) IsCode

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

IsCode returns true when this update supply source forbidden response a status code equal to that given

func (*UpdateSupplySourceForbidden) IsRedirect

func (o *UpdateSupplySourceForbidden) IsRedirect() bool

IsRedirect returns true when this update supply source forbidden response has a 3xx status code

func (*UpdateSupplySourceForbidden) IsServerError

func (o *UpdateSupplySourceForbidden) IsServerError() bool

IsServerError returns true when this update supply source forbidden response has a 5xx status code

func (*UpdateSupplySourceForbidden) IsSuccess

func (o *UpdateSupplySourceForbidden) IsSuccess() bool

IsSuccess returns true when this update supply source forbidden response has a 2xx status code

func (*UpdateSupplySourceForbidden) String

func (o *UpdateSupplySourceForbidden) String() string

type UpdateSupplySourceInternalServerError

type UpdateSupplySourceInternalServerError 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewUpdateSupplySourceInternalServerError

func NewUpdateSupplySourceInternalServerError() *UpdateSupplySourceInternalServerError

NewUpdateSupplySourceInternalServerError creates a UpdateSupplySourceInternalServerError with default headers values

func (*UpdateSupplySourceInternalServerError) Error

func (*UpdateSupplySourceInternalServerError) GetPayload

func (*UpdateSupplySourceInternalServerError) IsClientError

func (o *UpdateSupplySourceInternalServerError) IsClientError() bool

IsClientError returns true when this update supply source internal server error response has a 4xx status code

func (*UpdateSupplySourceInternalServerError) IsCode

IsCode returns true when this update supply source internal server error response a status code equal to that given

func (*UpdateSupplySourceInternalServerError) IsRedirect

IsRedirect returns true when this update supply source internal server error response has a 3xx status code

func (*UpdateSupplySourceInternalServerError) IsServerError

func (o *UpdateSupplySourceInternalServerError) IsServerError() bool

IsServerError returns true when this update supply source internal server error response has a 5xx status code

func (*UpdateSupplySourceInternalServerError) IsSuccess

IsSuccess returns true when this update supply source internal server error response has a 2xx status code

func (*UpdateSupplySourceInternalServerError) String

type UpdateSupplySourceNoContent

type UpdateSupplySourceNoContent struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

UpdateSupplySourceNoContent describes a response with status code 204, with default header values.

Success.

func NewUpdateSupplySourceNoContent

func NewUpdateSupplySourceNoContent() *UpdateSupplySourceNoContent

NewUpdateSupplySourceNoContent creates a UpdateSupplySourceNoContent with default headers values

func (*UpdateSupplySourceNoContent) Error

func (*UpdateSupplySourceNoContent) GetPayload

func (*UpdateSupplySourceNoContent) IsClientError

func (o *UpdateSupplySourceNoContent) IsClientError() bool

IsClientError returns true when this update supply source no content response has a 4xx status code

func (*UpdateSupplySourceNoContent) IsCode

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

IsCode returns true when this update supply source no content response a status code equal to that given

func (*UpdateSupplySourceNoContent) IsRedirect

func (o *UpdateSupplySourceNoContent) IsRedirect() bool

IsRedirect returns true when this update supply source no content response has a 3xx status code

func (*UpdateSupplySourceNoContent) IsServerError

func (o *UpdateSupplySourceNoContent) IsServerError() bool

IsServerError returns true when this update supply source no content response has a 5xx status code

func (*UpdateSupplySourceNoContent) IsSuccess

func (o *UpdateSupplySourceNoContent) IsSuccess() bool

IsSuccess returns true when this update supply source no content response has a 2xx status code

func (*UpdateSupplySourceNoContent) String

func (o *UpdateSupplySourceNoContent) String() string

type UpdateSupplySourceNotFound

type UpdateSupplySourceNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewUpdateSupplySourceNotFound

func NewUpdateSupplySourceNotFound() *UpdateSupplySourceNotFound

NewUpdateSupplySourceNotFound creates a UpdateSupplySourceNotFound with default headers values

func (*UpdateSupplySourceNotFound) Error

func (*UpdateSupplySourceNotFound) GetPayload

func (*UpdateSupplySourceNotFound) IsClientError

func (o *UpdateSupplySourceNotFound) IsClientError() bool

IsClientError returns true when this update supply source not found response has a 4xx status code

func (*UpdateSupplySourceNotFound) IsCode

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

IsCode returns true when this update supply source not found response a status code equal to that given

func (*UpdateSupplySourceNotFound) IsRedirect

func (o *UpdateSupplySourceNotFound) IsRedirect() bool

IsRedirect returns true when this update supply source not found response has a 3xx status code

func (*UpdateSupplySourceNotFound) IsServerError

func (o *UpdateSupplySourceNotFound) IsServerError() bool

IsServerError returns true when this update supply source not found response has a 5xx status code

func (*UpdateSupplySourceNotFound) IsSuccess

func (o *UpdateSupplySourceNotFound) IsSuccess() bool

IsSuccess returns true when this update supply source not found response has a 2xx status code

func (*UpdateSupplySourceNotFound) String

func (o *UpdateSupplySourceNotFound) String() string

type UpdateSupplySourceParams

type UpdateSupplySourceParams struct {

	// Payload.
	Payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest

	/* SupplySourceID.

	   The unique identitier of a supply source.
	*/
	SupplySourceID string

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

UpdateSupplySourceParams contains all the parameters to send to the API endpoint

for the update supply source operation.

Typically these are written to a http.Request.

func NewUpdateSupplySourceParams

func NewUpdateSupplySourceParams() *UpdateSupplySourceParams

NewUpdateSupplySourceParams creates a new UpdateSupplySourceParams 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 NewUpdateSupplySourceParamsWithContext

func NewUpdateSupplySourceParamsWithContext(ctx context.Context) *UpdateSupplySourceParams

NewUpdateSupplySourceParamsWithContext creates a new UpdateSupplySourceParams object with the ability to set a context for a request.

func NewUpdateSupplySourceParamsWithHTTPClient

func NewUpdateSupplySourceParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceParams

NewUpdateSupplySourceParamsWithHTTPClient creates a new UpdateSupplySourceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSupplySourceParamsWithTimeout

func NewUpdateSupplySourceParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceParams

NewUpdateSupplySourceParamsWithTimeout creates a new UpdateSupplySourceParams object with the ability to set a timeout on a request.

func (*UpdateSupplySourceParams) SetContext

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

SetContext adds the context to the update supply source params

func (*UpdateSupplySourceParams) SetDefaults

func (o *UpdateSupplySourceParams) SetDefaults()

SetDefaults hydrates default values in the update supply source params (not the query body).

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

func (*UpdateSupplySourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update supply source params

func (*UpdateSupplySourceParams) SetPayload

SetPayload adds the payload to the update supply source params

func (*UpdateSupplySourceParams) SetSupplySourceID

func (o *UpdateSupplySourceParams) SetSupplySourceID(supplySourceID string)

SetSupplySourceID adds the supplySourceId to the update supply source params

func (*UpdateSupplySourceParams) SetTimeout

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

SetTimeout adds the timeout to the update supply source params

func (*UpdateSupplySourceParams) WithContext

WithContext adds the context to the update supply source params

func (*UpdateSupplySourceParams) WithDefaults

WithDefaults hydrates default values in the update supply source params (not the query body).

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

func (*UpdateSupplySourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update supply source params

func (*UpdateSupplySourceParams) WithPayload

WithPayload adds the payload to the update supply source params

func (*UpdateSupplySourceParams) WithSupplySourceID

func (o *UpdateSupplySourceParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceParams

WithSupplySourceID adds the supplySourceID to the update supply source params

func (*UpdateSupplySourceParams) WithTimeout

WithTimeout adds the timeout to the update supply source params

func (*UpdateSupplySourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSupplySourceReader

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

UpdateSupplySourceReader is a Reader for the UpdateSupplySource structure.

func (*UpdateSupplySourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSupplySourceRequestEntityTooLarge

type UpdateSupplySourceRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewUpdateSupplySourceRequestEntityTooLarge

func NewUpdateSupplySourceRequestEntityTooLarge() *UpdateSupplySourceRequestEntityTooLarge

NewUpdateSupplySourceRequestEntityTooLarge creates a UpdateSupplySourceRequestEntityTooLarge with default headers values

func (*UpdateSupplySourceRequestEntityTooLarge) Error

func (*UpdateSupplySourceRequestEntityTooLarge) GetPayload

func (*UpdateSupplySourceRequestEntityTooLarge) IsClientError

func (o *UpdateSupplySourceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this update supply source request entity too large response has a 4xx status code

func (*UpdateSupplySourceRequestEntityTooLarge) IsCode

IsCode returns true when this update supply source request entity too large response a status code equal to that given

func (*UpdateSupplySourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this update supply source request entity too large response has a 3xx status code

func (*UpdateSupplySourceRequestEntityTooLarge) IsServerError

func (o *UpdateSupplySourceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this update supply source request entity too large response has a 5xx status code

func (*UpdateSupplySourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this update supply source request entity too large response has a 2xx status code

func (*UpdateSupplySourceRequestEntityTooLarge) String

type UpdateSupplySourceServiceUnavailable

type UpdateSupplySourceServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewUpdateSupplySourceServiceUnavailable

func NewUpdateSupplySourceServiceUnavailable() *UpdateSupplySourceServiceUnavailable

NewUpdateSupplySourceServiceUnavailable creates a UpdateSupplySourceServiceUnavailable with default headers values

func (*UpdateSupplySourceServiceUnavailable) Error

func (*UpdateSupplySourceServiceUnavailable) GetPayload

func (*UpdateSupplySourceServiceUnavailable) IsClientError

func (o *UpdateSupplySourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this update supply source service unavailable response has a 4xx status code

func (*UpdateSupplySourceServiceUnavailable) IsCode

IsCode returns true when this update supply source service unavailable response a status code equal to that given

func (*UpdateSupplySourceServiceUnavailable) IsRedirect

IsRedirect returns true when this update supply source service unavailable response has a 3xx status code

func (*UpdateSupplySourceServiceUnavailable) IsServerError

func (o *UpdateSupplySourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this update supply source service unavailable response has a 5xx status code

func (*UpdateSupplySourceServiceUnavailable) IsSuccess

IsSuccess returns true when this update supply source service unavailable response has a 2xx status code

func (*UpdateSupplySourceServiceUnavailable) String

type UpdateSupplySourceStatusBadRequest

type UpdateSupplySourceStatusBadRequest struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request has missing or invalid parameters and cannot be parsed.

func NewUpdateSupplySourceStatusBadRequest

func NewUpdateSupplySourceStatusBadRequest() *UpdateSupplySourceStatusBadRequest

NewUpdateSupplySourceStatusBadRequest creates a UpdateSupplySourceStatusBadRequest with default headers values

func (*UpdateSupplySourceStatusBadRequest) Error

func (*UpdateSupplySourceStatusBadRequest) GetPayload

func (*UpdateSupplySourceStatusBadRequest) IsClientError

func (o *UpdateSupplySourceStatusBadRequest) IsClientError() bool

IsClientError returns true when this update supply source status bad request response has a 4xx status code

func (*UpdateSupplySourceStatusBadRequest) IsCode

IsCode returns true when this update supply source status bad request response a status code equal to that given

func (*UpdateSupplySourceStatusBadRequest) IsRedirect

func (o *UpdateSupplySourceStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this update supply source status bad request response has a 3xx status code

func (*UpdateSupplySourceStatusBadRequest) IsServerError

func (o *UpdateSupplySourceStatusBadRequest) IsServerError() bool

IsServerError returns true when this update supply source status bad request response has a 5xx status code

func (*UpdateSupplySourceStatusBadRequest) IsSuccess

IsSuccess returns true when this update supply source status bad request response has a 2xx status code

func (*UpdateSupplySourceStatusBadRequest) String

type UpdateSupplySourceStatusForbidden

type UpdateSupplySourceStatusForbidden struct {

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

UpdateSupplySourceStatusForbidden 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 NewUpdateSupplySourceStatusForbidden

func NewUpdateSupplySourceStatusForbidden() *UpdateSupplySourceStatusForbidden

NewUpdateSupplySourceStatusForbidden creates a UpdateSupplySourceStatusForbidden with default headers values

func (*UpdateSupplySourceStatusForbidden) Error

func (*UpdateSupplySourceStatusForbidden) GetPayload

func (*UpdateSupplySourceStatusForbidden) IsClientError

func (o *UpdateSupplySourceStatusForbidden) IsClientError() bool

IsClientError returns true when this update supply source status forbidden response has a 4xx status code

func (*UpdateSupplySourceStatusForbidden) IsCode

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

IsCode returns true when this update supply source status forbidden response a status code equal to that given

func (*UpdateSupplySourceStatusForbidden) IsRedirect

func (o *UpdateSupplySourceStatusForbidden) IsRedirect() bool

IsRedirect returns true when this update supply source status forbidden response has a 3xx status code

func (*UpdateSupplySourceStatusForbidden) IsServerError

func (o *UpdateSupplySourceStatusForbidden) IsServerError() bool

IsServerError returns true when this update supply source status forbidden response has a 5xx status code

func (*UpdateSupplySourceStatusForbidden) IsSuccess

func (o *UpdateSupplySourceStatusForbidden) IsSuccess() bool

IsSuccess returns true when this update supply source status forbidden response has a 2xx status code

func (*UpdateSupplySourceStatusForbidden) String

type UpdateSupplySourceStatusInternalServerError

type UpdateSupplySourceStatusInternalServerError 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

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

func NewUpdateSupplySourceStatusInternalServerError

func NewUpdateSupplySourceStatusInternalServerError() *UpdateSupplySourceStatusInternalServerError

NewUpdateSupplySourceStatusInternalServerError creates a UpdateSupplySourceStatusInternalServerError with default headers values

func (*UpdateSupplySourceStatusInternalServerError) Error

func (*UpdateSupplySourceStatusInternalServerError) GetPayload

func (*UpdateSupplySourceStatusInternalServerError) IsClientError

IsClientError returns true when this update supply source status internal server error response has a 4xx status code

func (*UpdateSupplySourceStatusInternalServerError) IsCode

IsCode returns true when this update supply source status internal server error response a status code equal to that given

func (*UpdateSupplySourceStatusInternalServerError) IsRedirect

IsRedirect returns true when this update supply source status internal server error response has a 3xx status code

func (*UpdateSupplySourceStatusInternalServerError) IsServerError

IsServerError returns true when this update supply source status internal server error response has a 5xx status code

func (*UpdateSupplySourceStatusInternalServerError) IsSuccess

IsSuccess returns true when this update supply source status internal server error response has a 2xx status code

func (*UpdateSupplySourceStatusInternalServerError) String

type UpdateSupplySourceStatusNoContent

type UpdateSupplySourceStatusNoContent struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

UpdateSupplySourceStatusNoContent describes a response with status code 204, with default header values.

Success.

func NewUpdateSupplySourceStatusNoContent

func NewUpdateSupplySourceStatusNoContent() *UpdateSupplySourceStatusNoContent

NewUpdateSupplySourceStatusNoContent creates a UpdateSupplySourceStatusNoContent with default headers values

func (*UpdateSupplySourceStatusNoContent) Error

func (*UpdateSupplySourceStatusNoContent) GetPayload

func (*UpdateSupplySourceStatusNoContent) IsClientError

func (o *UpdateSupplySourceStatusNoContent) IsClientError() bool

IsClientError returns true when this update supply source status no content response has a 4xx status code

func (*UpdateSupplySourceStatusNoContent) IsCode

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

IsCode returns true when this update supply source status no content response a status code equal to that given

func (*UpdateSupplySourceStatusNoContent) IsRedirect

func (o *UpdateSupplySourceStatusNoContent) IsRedirect() bool

IsRedirect returns true when this update supply source status no content response has a 3xx status code

func (*UpdateSupplySourceStatusNoContent) IsServerError

func (o *UpdateSupplySourceStatusNoContent) IsServerError() bool

IsServerError returns true when this update supply source status no content response has a 5xx status code

func (*UpdateSupplySourceStatusNoContent) IsSuccess

func (o *UpdateSupplySourceStatusNoContent) IsSuccess() bool

IsSuccess returns true when this update supply source status no content response has a 2xx status code

func (*UpdateSupplySourceStatusNoContent) String

type UpdateSupplySourceStatusNotFound

type UpdateSupplySourceStatusNotFound struct {

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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The resource specified does not exist.

func NewUpdateSupplySourceStatusNotFound

func NewUpdateSupplySourceStatusNotFound() *UpdateSupplySourceStatusNotFound

NewUpdateSupplySourceStatusNotFound creates a UpdateSupplySourceStatusNotFound with default headers values

func (*UpdateSupplySourceStatusNotFound) Error

func (*UpdateSupplySourceStatusNotFound) GetPayload

func (*UpdateSupplySourceStatusNotFound) IsClientError

func (o *UpdateSupplySourceStatusNotFound) IsClientError() bool

IsClientError returns true when this update supply source status not found response has a 4xx status code

func (*UpdateSupplySourceStatusNotFound) IsCode

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

IsCode returns true when this update supply source status not found response a status code equal to that given

func (*UpdateSupplySourceStatusNotFound) IsRedirect

func (o *UpdateSupplySourceStatusNotFound) IsRedirect() bool

IsRedirect returns true when this update supply source status not found response has a 3xx status code

func (*UpdateSupplySourceStatusNotFound) IsServerError

func (o *UpdateSupplySourceStatusNotFound) IsServerError() bool

IsServerError returns true when this update supply source status not found response has a 5xx status code

func (*UpdateSupplySourceStatusNotFound) IsSuccess

func (o *UpdateSupplySourceStatusNotFound) IsSuccess() bool

IsSuccess returns true when this update supply source status not found response has a 2xx status code

func (*UpdateSupplySourceStatusNotFound) String

type UpdateSupplySourceStatusParams

type UpdateSupplySourceStatusParams struct {

	// Payload.
	Payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest

	/* SupplySourceID.

	   The unique identifier of a supply source.
	*/
	SupplySourceID string

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

UpdateSupplySourceStatusParams contains all the parameters to send to the API endpoint

for the update supply source status operation.

Typically these are written to a http.Request.

func NewUpdateSupplySourceStatusParams

func NewUpdateSupplySourceStatusParams() *UpdateSupplySourceStatusParams

NewUpdateSupplySourceStatusParams creates a new UpdateSupplySourceStatusParams 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 NewUpdateSupplySourceStatusParamsWithContext

func NewUpdateSupplySourceStatusParamsWithContext(ctx context.Context) *UpdateSupplySourceStatusParams

NewUpdateSupplySourceStatusParamsWithContext creates a new UpdateSupplySourceStatusParams object with the ability to set a context for a request.

func NewUpdateSupplySourceStatusParamsWithHTTPClient

func NewUpdateSupplySourceStatusParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceStatusParams

NewUpdateSupplySourceStatusParamsWithHTTPClient creates a new UpdateSupplySourceStatusParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSupplySourceStatusParamsWithTimeout

func NewUpdateSupplySourceStatusParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceStatusParams

NewUpdateSupplySourceStatusParamsWithTimeout creates a new UpdateSupplySourceStatusParams object with the ability to set a timeout on a request.

func (*UpdateSupplySourceStatusParams) SetContext

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

SetContext adds the context to the update supply source status params

func (*UpdateSupplySourceStatusParams) SetDefaults

func (o *UpdateSupplySourceStatusParams) SetDefaults()

SetDefaults hydrates default values in the update supply source status params (not the query body).

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

func (*UpdateSupplySourceStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update supply source status params

func (*UpdateSupplySourceStatusParams) SetPayload

SetPayload adds the payload to the update supply source status params

func (*UpdateSupplySourceStatusParams) SetSupplySourceID

func (o *UpdateSupplySourceStatusParams) SetSupplySourceID(supplySourceID string)

SetSupplySourceID adds the supplySourceId to the update supply source status params

func (*UpdateSupplySourceStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update supply source status params

func (*UpdateSupplySourceStatusParams) WithContext

WithContext adds the context to the update supply source status params

func (*UpdateSupplySourceStatusParams) WithDefaults

WithDefaults hydrates default values in the update supply source status params (not the query body).

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

func (*UpdateSupplySourceStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update supply source status params

func (*UpdateSupplySourceStatusParams) WithPayload

WithPayload adds the payload to the update supply source status params

func (*UpdateSupplySourceStatusParams) WithSupplySourceID

func (o *UpdateSupplySourceStatusParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceStatusParams

WithSupplySourceID adds the supplySourceID to the update supply source status params

func (*UpdateSupplySourceStatusParams) WithTimeout

WithTimeout adds the timeout to the update supply source status params

func (*UpdateSupplySourceStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSupplySourceStatusReader

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

UpdateSupplySourceStatusReader is a Reader for the UpdateSupplySourceStatus structure.

func (*UpdateSupplySourceStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSupplySourceStatusRequestEntityTooLarge

type UpdateSupplySourceStatusRequestEntityTooLarge 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewUpdateSupplySourceStatusRequestEntityTooLarge

func NewUpdateSupplySourceStatusRequestEntityTooLarge() *UpdateSupplySourceStatusRequestEntityTooLarge

NewUpdateSupplySourceStatusRequestEntityTooLarge creates a UpdateSupplySourceStatusRequestEntityTooLarge with default headers values

func (*UpdateSupplySourceStatusRequestEntityTooLarge) Error

func (*UpdateSupplySourceStatusRequestEntityTooLarge) GetPayload

func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsClientError

IsClientError returns true when this update supply source status request entity too large response has a 4xx status code

func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsCode

IsCode returns true when this update supply source status request entity too large response a status code equal to that given

func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this update supply source status request entity too large response has a 3xx status code

func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsServerError

IsServerError returns true when this update supply source status request entity too large response has a 5xx status code

func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this update supply source status request entity too large response has a 2xx status code

func (*UpdateSupplySourceStatusRequestEntityTooLarge) String

type UpdateSupplySourceStatusServiceUnavailable

type UpdateSupplySourceStatusServiceUnavailable 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The temporary overloading or maintenance of the server.

func NewUpdateSupplySourceStatusServiceUnavailable

func NewUpdateSupplySourceStatusServiceUnavailable() *UpdateSupplySourceStatusServiceUnavailable

NewUpdateSupplySourceStatusServiceUnavailable creates a UpdateSupplySourceStatusServiceUnavailable with default headers values

func (*UpdateSupplySourceStatusServiceUnavailable) Error

func (*UpdateSupplySourceStatusServiceUnavailable) GetPayload

func (*UpdateSupplySourceStatusServiceUnavailable) IsClientError

IsClientError returns true when this update supply source status service unavailable response has a 4xx status code

func (*UpdateSupplySourceStatusServiceUnavailable) IsCode

IsCode returns true when this update supply source status service unavailable response a status code equal to that given

func (*UpdateSupplySourceStatusServiceUnavailable) IsRedirect

IsRedirect returns true when this update supply source status service unavailable response has a 3xx status code

func (*UpdateSupplySourceStatusServiceUnavailable) IsServerError

IsServerError returns true when this update supply source status service unavailable response has a 5xx status code

func (*UpdateSupplySourceStatusServiceUnavailable) IsSuccess

IsSuccess returns true when this update supply source status service unavailable response has a 2xx status code

func (*UpdateSupplySourceStatusServiceUnavailable) String

type UpdateSupplySourceStatusTooManyRequests

type UpdateSupplySourceStatusTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewUpdateSupplySourceStatusTooManyRequests

func NewUpdateSupplySourceStatusTooManyRequests() *UpdateSupplySourceStatusTooManyRequests

NewUpdateSupplySourceStatusTooManyRequests creates a UpdateSupplySourceStatusTooManyRequests with default headers values

func (*UpdateSupplySourceStatusTooManyRequests) Error

func (*UpdateSupplySourceStatusTooManyRequests) GetPayload

func (*UpdateSupplySourceStatusTooManyRequests) IsClientError

func (o *UpdateSupplySourceStatusTooManyRequests) IsClientError() bool

IsClientError returns true when this update supply source status too many requests response has a 4xx status code

func (*UpdateSupplySourceStatusTooManyRequests) IsCode

IsCode returns true when this update supply source status too many requests response a status code equal to that given

func (*UpdateSupplySourceStatusTooManyRequests) IsRedirect

IsRedirect returns true when this update supply source status too many requests response has a 3xx status code

func (*UpdateSupplySourceStatusTooManyRequests) IsServerError

func (o *UpdateSupplySourceStatusTooManyRequests) IsServerError() bool

IsServerError returns true when this update supply source status too many requests response has a 5xx status code

func (*UpdateSupplySourceStatusTooManyRequests) IsSuccess

IsSuccess returns true when this update supply source status too many requests response has a 2xx status code

func (*UpdateSupplySourceStatusTooManyRequests) String

type UpdateSupplySourceStatusUnsupportedMediaType

type UpdateSupplySourceStatusUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewUpdateSupplySourceStatusUnsupportedMediaType

func NewUpdateSupplySourceStatusUnsupportedMediaType() *UpdateSupplySourceStatusUnsupportedMediaType

NewUpdateSupplySourceStatusUnsupportedMediaType creates a UpdateSupplySourceStatusUnsupportedMediaType with default headers values

func (*UpdateSupplySourceStatusUnsupportedMediaType) Error

func (*UpdateSupplySourceStatusUnsupportedMediaType) GetPayload

func (*UpdateSupplySourceStatusUnsupportedMediaType) IsClientError

IsClientError returns true when this update supply source status unsupported media type response has a 4xx status code

func (*UpdateSupplySourceStatusUnsupportedMediaType) IsCode

IsCode returns true when this update supply source status unsupported media type response a status code equal to that given

func (*UpdateSupplySourceStatusUnsupportedMediaType) IsRedirect

IsRedirect returns true when this update supply source status unsupported media type response has a 3xx status code

func (*UpdateSupplySourceStatusUnsupportedMediaType) IsServerError

IsServerError returns true when this update supply source status unsupported media type response has a 5xx status code

func (*UpdateSupplySourceStatusUnsupportedMediaType) IsSuccess

IsSuccess returns true when this update supply source status unsupported media type response has a 2xx status code

func (*UpdateSupplySourceStatusUnsupportedMediaType) String

type UpdateSupplySourceTooManyRequests

type UpdateSupplySourceTooManyRequests 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewUpdateSupplySourceTooManyRequests

func NewUpdateSupplySourceTooManyRequests() *UpdateSupplySourceTooManyRequests

NewUpdateSupplySourceTooManyRequests creates a UpdateSupplySourceTooManyRequests with default headers values

func (*UpdateSupplySourceTooManyRequests) Error

func (*UpdateSupplySourceTooManyRequests) GetPayload

func (*UpdateSupplySourceTooManyRequests) IsClientError

func (o *UpdateSupplySourceTooManyRequests) IsClientError() bool

IsClientError returns true when this update supply source too many requests response has a 4xx status code

func (*UpdateSupplySourceTooManyRequests) IsCode

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

IsCode returns true when this update supply source too many requests response a status code equal to that given

func (*UpdateSupplySourceTooManyRequests) IsRedirect

func (o *UpdateSupplySourceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update supply source too many requests response has a 3xx status code

func (*UpdateSupplySourceTooManyRequests) IsServerError

func (o *UpdateSupplySourceTooManyRequests) IsServerError() bool

IsServerError returns true when this update supply source too many requests response has a 5xx status code

func (*UpdateSupplySourceTooManyRequests) IsSuccess

func (o *UpdateSupplySourceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update supply source too many requests response has a 2xx status code

func (*UpdateSupplySourceTooManyRequests) String

type UpdateSupplySourceUnsupportedMediaType

type UpdateSupplySourceUnsupportedMediaType 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

	/* The unique request reference ID.
	 */
	XAmznRequestID string

	Payload *supply_sources_2020_07_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewUpdateSupplySourceUnsupportedMediaType

func NewUpdateSupplySourceUnsupportedMediaType() *UpdateSupplySourceUnsupportedMediaType

NewUpdateSupplySourceUnsupportedMediaType creates a UpdateSupplySourceUnsupportedMediaType with default headers values

func (*UpdateSupplySourceUnsupportedMediaType) Error

func (*UpdateSupplySourceUnsupportedMediaType) GetPayload

func (*UpdateSupplySourceUnsupportedMediaType) IsClientError

func (o *UpdateSupplySourceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this update supply source unsupported media type response has a 4xx status code

func (*UpdateSupplySourceUnsupportedMediaType) IsCode

IsCode returns true when this update supply source unsupported media type response a status code equal to that given

func (*UpdateSupplySourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this update supply source unsupported media type response has a 3xx status code

func (*UpdateSupplySourceUnsupportedMediaType) IsServerError

func (o *UpdateSupplySourceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this update supply source unsupported media type response has a 5xx status code

func (*UpdateSupplySourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this update supply source unsupported media type response has a 2xx status code

func (*UpdateSupplySourceUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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