notifications

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for notifications API

func (*Client) CreateDestination

func (a *Client) CreateDestination(params *CreateDestinationParams, opts ...ClientOption) (*CreateDestinationOK, error)
CreateDestination Creates a destination resource to receive notifications. The `createDestination` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) CreateSubscription

func (a *Client) CreateSubscription(params *CreateSubscriptionParams, opts ...ClientOption) (*CreateSubscriptionOK, error)
CreateSubscription Creates a subscription for the specified notification type to be delivered to the specified destination. Before you can subscribe, you must first create the destination by calling the `createDestination` operation. In cases where the specified notification type supports multiple payload versions, you can utilize this API to subscribe to a different payload version if you already have an existing subscription for a different payload version.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) DeleteDestination

func (a *Client) DeleteDestination(params *DeleteDestinationParams, opts ...ClientOption) (*DeleteDestinationOK, error)
DeleteDestination Deletes the destination that you specify. The `deleteDestination` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) DeleteSubscriptionByID

func (a *Client) DeleteSubscriptionByID(params *DeleteSubscriptionByIDParams, opts ...ClientOption) (*DeleteSubscriptionByIDOK, error)
DeleteSubscriptionByID Deletes the subscription indicated by the subscription identifier and notification type that you specify. The subscription identifier can be for any subscription associated with your application. After you successfully call this operation, notifications will stop being sent for the associated subscription. The `deleteSubscriptionById` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetDestination

func (a *Client) GetDestination(params *GetDestinationParams, opts ...ClientOption) (*GetDestinationOK, error)
GetDestination Returns information about the destination that you specify. The `getDestination` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetDestinations

func (a *Client) GetDestinations(params *GetDestinationsParams, opts ...ClientOption) (*GetDestinationsOK, error)
GetDestinations Returns information about all destinations. The `getDestinations` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetSubscription

func (a *Client) GetSubscription(params *GetSubscriptionParams, opts ...ClientOption) (*GetSubscriptionOK, error)
GetSubscription Returns information about subscription of the specified notification type and payload version. `payloadVersion` is an optional parameter. When `payloadVersion` is not provided, it will return latest payload version subscription's information. You can use this API to get subscription information when you do not have a subscription identifier.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetSubscriptionByID

func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams, opts ...ClientOption) (*GetSubscriptionByIDOK, error)
GetSubscriptionByID Returns information about a subscription for the specified notification type. The `getSubscriptionById` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations) in the Selling Partner API Developer Guide.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateDestination(params *CreateDestinationParams, opts ...ClientOption) (*CreateDestinationOK, error)

	CreateSubscription(params *CreateSubscriptionParams, opts ...ClientOption) (*CreateSubscriptionOK, error)

	DeleteDestination(params *DeleteDestinationParams, opts ...ClientOption) (*DeleteDestinationOK, error)

	DeleteSubscriptionByID(params *DeleteSubscriptionByIDParams, opts ...ClientOption) (*DeleteSubscriptionByIDOK, error)

	GetDestination(params *GetDestinationParams, opts ...ClientOption) (*GetDestinationOK, error)

	GetDestinations(params *GetDestinationsParams, opts ...ClientOption) (*GetDestinationsOK, error)

	GetSubscription(params *GetSubscriptionParams, opts ...ClientOption) (*GetSubscriptionOK, error)

	GetSubscriptionByID(params *GetSubscriptionByIDParams, opts ...ClientOption) (*GetSubscriptionByIDOK, 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 notifications API client.

type CreateDestinationBadRequest

type CreateDestinationBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCreateDestinationBadRequest

func NewCreateDestinationBadRequest() *CreateDestinationBadRequest

NewCreateDestinationBadRequest creates a CreateDestinationBadRequest with default headers values

func (*CreateDestinationBadRequest) Error

func (*CreateDestinationBadRequest) GetPayload

func (*CreateDestinationBadRequest) IsClientError

func (o *CreateDestinationBadRequest) IsClientError() bool

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

func (*CreateDestinationBadRequest) IsCode

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

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

func (*CreateDestinationBadRequest) IsRedirect

func (o *CreateDestinationBadRequest) IsRedirect() bool

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

func (*CreateDestinationBadRequest) IsServerError

func (o *CreateDestinationBadRequest) IsServerError() bool

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

func (*CreateDestinationBadRequest) IsSuccess

func (o *CreateDestinationBadRequest) IsSuccess() bool

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

func (*CreateDestinationBadRequest) String

func (o *CreateDestinationBadRequest) String() string

type CreateDestinationConflict

type CreateDestinationConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

The resource specified conflicts with the current state.

func NewCreateDestinationConflict

func NewCreateDestinationConflict() *CreateDestinationConflict

NewCreateDestinationConflict creates a CreateDestinationConflict with default headers values

func (*CreateDestinationConflict) Error

func (o *CreateDestinationConflict) Error() string

func (*CreateDestinationConflict) GetPayload

func (*CreateDestinationConflict) IsClientError

func (o *CreateDestinationConflict) IsClientError() bool

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

func (*CreateDestinationConflict) IsCode

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

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

func (*CreateDestinationConflict) IsRedirect

func (o *CreateDestinationConflict) IsRedirect() bool

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

func (*CreateDestinationConflict) IsServerError

func (o *CreateDestinationConflict) IsServerError() bool

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

func (*CreateDestinationConflict) IsSuccess

func (o *CreateDestinationConflict) IsSuccess() bool

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

func (*CreateDestinationConflict) String

func (o *CreateDestinationConflict) String() string

type CreateDestinationForbidden

type CreateDestinationForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

CreateDestinationForbidden 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 NewCreateDestinationForbidden

func NewCreateDestinationForbidden() *CreateDestinationForbidden

NewCreateDestinationForbidden creates a CreateDestinationForbidden with default headers values

func (*CreateDestinationForbidden) Error

func (*CreateDestinationForbidden) GetPayload

func (*CreateDestinationForbidden) IsClientError

func (o *CreateDestinationForbidden) IsClientError() bool

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

func (*CreateDestinationForbidden) IsCode

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

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

func (*CreateDestinationForbidden) IsRedirect

func (o *CreateDestinationForbidden) IsRedirect() bool

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

func (*CreateDestinationForbidden) IsServerError

func (o *CreateDestinationForbidden) IsServerError() bool

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

func (*CreateDestinationForbidden) IsSuccess

func (o *CreateDestinationForbidden) IsSuccess() bool

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

func (*CreateDestinationForbidden) String

func (o *CreateDestinationForbidden) String() string

type CreateDestinationInternalServerError

type CreateDestinationInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

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

func NewCreateDestinationInternalServerError

func NewCreateDestinationInternalServerError() *CreateDestinationInternalServerError

NewCreateDestinationInternalServerError creates a CreateDestinationInternalServerError with default headers values

func (*CreateDestinationInternalServerError) Error

func (*CreateDestinationInternalServerError) GetPayload

func (*CreateDestinationInternalServerError) IsClientError

func (o *CreateDestinationInternalServerError) IsClientError() bool

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

func (*CreateDestinationInternalServerError) IsCode

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

func (*CreateDestinationInternalServerError) IsRedirect

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

func (*CreateDestinationInternalServerError) IsServerError

func (o *CreateDestinationInternalServerError) IsServerError() bool

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

func (*CreateDestinationInternalServerError) IsSuccess

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

func (*CreateDestinationInternalServerError) String

type CreateDestinationNotFound

type CreateDestinationNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

The resource specified does not exist.

func NewCreateDestinationNotFound

func NewCreateDestinationNotFound() *CreateDestinationNotFound

NewCreateDestinationNotFound creates a CreateDestinationNotFound with default headers values

func (*CreateDestinationNotFound) Error

func (o *CreateDestinationNotFound) Error() string

func (*CreateDestinationNotFound) GetPayload

func (*CreateDestinationNotFound) IsClientError

func (o *CreateDestinationNotFound) IsClientError() bool

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

func (*CreateDestinationNotFound) IsCode

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

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

func (*CreateDestinationNotFound) IsRedirect

func (o *CreateDestinationNotFound) IsRedirect() bool

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

func (*CreateDestinationNotFound) IsServerError

func (o *CreateDestinationNotFound) IsServerError() bool

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

func (*CreateDestinationNotFound) IsSuccess

func (o *CreateDestinationNotFound) IsSuccess() bool

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

func (*CreateDestinationNotFound) String

func (o *CreateDestinationNotFound) String() string

type CreateDestinationOK

type CreateDestinationOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

Success.

func NewCreateDestinationOK

func NewCreateDestinationOK() *CreateDestinationOK

NewCreateDestinationOK creates a CreateDestinationOK with default headers values

func (*CreateDestinationOK) Error

func (o *CreateDestinationOK) Error() string

func (*CreateDestinationOK) GetPayload

func (*CreateDestinationOK) IsClientError

func (o *CreateDestinationOK) IsClientError() bool

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

func (*CreateDestinationOK) IsCode

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

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

func (*CreateDestinationOK) IsRedirect

func (o *CreateDestinationOK) IsRedirect() bool

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

func (*CreateDestinationOK) IsServerError

func (o *CreateDestinationOK) IsServerError() bool

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

func (*CreateDestinationOK) IsSuccess

func (o *CreateDestinationOK) IsSuccess() bool

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

func (*CreateDestinationOK) String

func (o *CreateDestinationOK) String() string

type CreateDestinationParams

type CreateDestinationParams struct {

	// Body.
	Body *notifications_models.CreateDestinationRequest

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

CreateDestinationParams contains all the parameters to send to the API endpoint

for the create destination operation.

Typically these are written to a http.Request.

func NewCreateDestinationParams

func NewCreateDestinationParams() *CreateDestinationParams

NewCreateDestinationParams creates a new CreateDestinationParams 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 NewCreateDestinationParamsWithContext

func NewCreateDestinationParamsWithContext(ctx context.Context) *CreateDestinationParams

NewCreateDestinationParamsWithContext creates a new CreateDestinationParams object with the ability to set a context for a request.

func NewCreateDestinationParamsWithHTTPClient

func NewCreateDestinationParamsWithHTTPClient(client *http.Client) *CreateDestinationParams

NewCreateDestinationParamsWithHTTPClient creates a new CreateDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDestinationParamsWithTimeout

func NewCreateDestinationParamsWithTimeout(timeout time.Duration) *CreateDestinationParams

NewCreateDestinationParamsWithTimeout creates a new CreateDestinationParams object with the ability to set a timeout on a request.

func (*CreateDestinationParams) SetBody

SetBody adds the body to the create destination params

func (*CreateDestinationParams) SetContext

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

SetContext adds the context to the create destination params

func (*CreateDestinationParams) SetDefaults

func (o *CreateDestinationParams) SetDefaults()

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

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

func (*CreateDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create destination params

func (*CreateDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the create destination params

func (*CreateDestinationParams) WithBody

WithBody adds the body to the create destination params

func (*CreateDestinationParams) WithContext

WithContext adds the context to the create destination params

func (*CreateDestinationParams) WithDefaults

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

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

func (*CreateDestinationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create destination params

func (*CreateDestinationParams) WithTimeout

WithTimeout adds the timeout to the create destination params

func (*CreateDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDestinationReader

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

CreateDestinationReader is a Reader for the CreateDestination structure.

func (*CreateDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDestinationRequestEntityTooLarge

type CreateDestinationRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

The request size exceeded the maximum accepted size.

func NewCreateDestinationRequestEntityTooLarge

func NewCreateDestinationRequestEntityTooLarge() *CreateDestinationRequestEntityTooLarge

NewCreateDestinationRequestEntityTooLarge creates a CreateDestinationRequestEntityTooLarge with default headers values

func (*CreateDestinationRequestEntityTooLarge) Error

func (*CreateDestinationRequestEntityTooLarge) GetPayload

func (*CreateDestinationRequestEntityTooLarge) IsClientError

func (o *CreateDestinationRequestEntityTooLarge) IsClientError() bool

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

func (*CreateDestinationRequestEntityTooLarge) IsCode

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

func (*CreateDestinationRequestEntityTooLarge) IsRedirect

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

func (*CreateDestinationRequestEntityTooLarge) IsServerError

func (o *CreateDestinationRequestEntityTooLarge) IsServerError() bool

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

func (*CreateDestinationRequestEntityTooLarge) IsSuccess

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

func (*CreateDestinationRequestEntityTooLarge) String

type CreateDestinationServiceUnavailable

type CreateDestinationServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

Temporary overloading or maintenance of the server.

func NewCreateDestinationServiceUnavailable

func NewCreateDestinationServiceUnavailable() *CreateDestinationServiceUnavailable

NewCreateDestinationServiceUnavailable creates a CreateDestinationServiceUnavailable with default headers values

func (*CreateDestinationServiceUnavailable) Error

func (*CreateDestinationServiceUnavailable) GetPayload

func (*CreateDestinationServiceUnavailable) IsClientError

func (o *CreateDestinationServiceUnavailable) IsClientError() bool

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

func (*CreateDestinationServiceUnavailable) IsCode

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

func (*CreateDestinationServiceUnavailable) IsRedirect

func (o *CreateDestinationServiceUnavailable) IsRedirect() bool

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

func (*CreateDestinationServiceUnavailable) IsServerError

func (o *CreateDestinationServiceUnavailable) IsServerError() bool

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

func (*CreateDestinationServiceUnavailable) IsSuccess

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

func (*CreateDestinationServiceUnavailable) String

type CreateDestinationTooManyRequests

type CreateDestinationTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

The frequency of requests was greater than allowed.

func NewCreateDestinationTooManyRequests

func NewCreateDestinationTooManyRequests() *CreateDestinationTooManyRequests

NewCreateDestinationTooManyRequests creates a CreateDestinationTooManyRequests with default headers values

func (*CreateDestinationTooManyRequests) Error

func (*CreateDestinationTooManyRequests) GetPayload

func (*CreateDestinationTooManyRequests) IsClientError

func (o *CreateDestinationTooManyRequests) IsClientError() bool

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

func (*CreateDestinationTooManyRequests) IsCode

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

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

func (*CreateDestinationTooManyRequests) IsRedirect

func (o *CreateDestinationTooManyRequests) IsRedirect() bool

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

func (*CreateDestinationTooManyRequests) IsServerError

func (o *CreateDestinationTooManyRequests) IsServerError() bool

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

func (*CreateDestinationTooManyRequests) IsSuccess

func (o *CreateDestinationTooManyRequests) IsSuccess() bool

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

func (*CreateDestinationTooManyRequests) String

type CreateDestinationUnsupportedMediaType

type CreateDestinationUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateDestinationResponse
}

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

The request payload is in an unsupported format.

func NewCreateDestinationUnsupportedMediaType

func NewCreateDestinationUnsupportedMediaType() *CreateDestinationUnsupportedMediaType

NewCreateDestinationUnsupportedMediaType creates a CreateDestinationUnsupportedMediaType with default headers values

func (*CreateDestinationUnsupportedMediaType) Error

func (*CreateDestinationUnsupportedMediaType) GetPayload

func (*CreateDestinationUnsupportedMediaType) IsClientError

func (o *CreateDestinationUnsupportedMediaType) IsClientError() bool

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

func (*CreateDestinationUnsupportedMediaType) IsCode

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

func (*CreateDestinationUnsupportedMediaType) IsRedirect

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

func (*CreateDestinationUnsupportedMediaType) IsServerError

func (o *CreateDestinationUnsupportedMediaType) IsServerError() bool

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

func (*CreateDestinationUnsupportedMediaType) IsSuccess

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

func (*CreateDestinationUnsupportedMediaType) String

type CreateSubscriptionBadRequest

type CreateSubscriptionBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCreateSubscriptionBadRequest

func NewCreateSubscriptionBadRequest() *CreateSubscriptionBadRequest

NewCreateSubscriptionBadRequest creates a CreateSubscriptionBadRequest with default headers values

func (*CreateSubscriptionBadRequest) Error

func (*CreateSubscriptionBadRequest) GetPayload

func (*CreateSubscriptionBadRequest) IsClientError

func (o *CreateSubscriptionBadRequest) IsClientError() bool

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

func (*CreateSubscriptionBadRequest) IsCode

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

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

func (*CreateSubscriptionBadRequest) IsRedirect

func (o *CreateSubscriptionBadRequest) IsRedirect() bool

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

func (*CreateSubscriptionBadRequest) IsServerError

func (o *CreateSubscriptionBadRequest) IsServerError() bool

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

func (*CreateSubscriptionBadRequest) IsSuccess

func (o *CreateSubscriptionBadRequest) IsSuccess() bool

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

func (*CreateSubscriptionBadRequest) String

type CreateSubscriptionConflict

type CreateSubscriptionConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

The resource specified conflicts with the current state.

func NewCreateSubscriptionConflict

func NewCreateSubscriptionConflict() *CreateSubscriptionConflict

NewCreateSubscriptionConflict creates a CreateSubscriptionConflict with default headers values

func (*CreateSubscriptionConflict) Error

func (*CreateSubscriptionConflict) GetPayload

func (*CreateSubscriptionConflict) IsClientError

func (o *CreateSubscriptionConflict) IsClientError() bool

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

func (*CreateSubscriptionConflict) IsCode

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

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

func (*CreateSubscriptionConflict) IsRedirect

func (o *CreateSubscriptionConflict) IsRedirect() bool

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

func (*CreateSubscriptionConflict) IsServerError

func (o *CreateSubscriptionConflict) IsServerError() bool

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

func (*CreateSubscriptionConflict) IsSuccess

func (o *CreateSubscriptionConflict) IsSuccess() bool

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

func (*CreateSubscriptionConflict) String

func (o *CreateSubscriptionConflict) String() string

type CreateSubscriptionForbidden

type CreateSubscriptionForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

CreateSubscriptionForbidden 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 NewCreateSubscriptionForbidden

func NewCreateSubscriptionForbidden() *CreateSubscriptionForbidden

NewCreateSubscriptionForbidden creates a CreateSubscriptionForbidden with default headers values

func (*CreateSubscriptionForbidden) Error

func (*CreateSubscriptionForbidden) GetPayload

func (*CreateSubscriptionForbidden) IsClientError

func (o *CreateSubscriptionForbidden) IsClientError() bool

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

func (*CreateSubscriptionForbidden) IsCode

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

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

func (*CreateSubscriptionForbidden) IsRedirect

func (o *CreateSubscriptionForbidden) IsRedirect() bool

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

func (*CreateSubscriptionForbidden) IsServerError

func (o *CreateSubscriptionForbidden) IsServerError() bool

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

func (*CreateSubscriptionForbidden) IsSuccess

func (o *CreateSubscriptionForbidden) IsSuccess() bool

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

func (*CreateSubscriptionForbidden) String

func (o *CreateSubscriptionForbidden) String() string

type CreateSubscriptionInternalServerError

type CreateSubscriptionInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

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

func NewCreateSubscriptionInternalServerError

func NewCreateSubscriptionInternalServerError() *CreateSubscriptionInternalServerError

NewCreateSubscriptionInternalServerError creates a CreateSubscriptionInternalServerError with default headers values

func (*CreateSubscriptionInternalServerError) Error

func (*CreateSubscriptionInternalServerError) GetPayload

func (*CreateSubscriptionInternalServerError) IsClientError

func (o *CreateSubscriptionInternalServerError) IsClientError() bool

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

func (*CreateSubscriptionInternalServerError) IsCode

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

func (*CreateSubscriptionInternalServerError) IsRedirect

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

func (*CreateSubscriptionInternalServerError) IsServerError

func (o *CreateSubscriptionInternalServerError) IsServerError() bool

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

func (*CreateSubscriptionInternalServerError) IsSuccess

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

func (*CreateSubscriptionInternalServerError) String

type CreateSubscriptionNotFound

type CreateSubscriptionNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

The resource specified does not exist.

func NewCreateSubscriptionNotFound

func NewCreateSubscriptionNotFound() *CreateSubscriptionNotFound

NewCreateSubscriptionNotFound creates a CreateSubscriptionNotFound with default headers values

func (*CreateSubscriptionNotFound) Error

func (*CreateSubscriptionNotFound) GetPayload

func (*CreateSubscriptionNotFound) IsClientError

func (o *CreateSubscriptionNotFound) IsClientError() bool

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

func (*CreateSubscriptionNotFound) IsCode

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

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

func (*CreateSubscriptionNotFound) IsRedirect

func (o *CreateSubscriptionNotFound) IsRedirect() bool

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

func (*CreateSubscriptionNotFound) IsServerError

func (o *CreateSubscriptionNotFound) IsServerError() bool

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

func (*CreateSubscriptionNotFound) IsSuccess

func (o *CreateSubscriptionNotFound) IsSuccess() bool

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

func (*CreateSubscriptionNotFound) String

func (o *CreateSubscriptionNotFound) String() string

type CreateSubscriptionOK

type CreateSubscriptionOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

Success.

func NewCreateSubscriptionOK

func NewCreateSubscriptionOK() *CreateSubscriptionOK

NewCreateSubscriptionOK creates a CreateSubscriptionOK with default headers values

func (*CreateSubscriptionOK) Error

func (o *CreateSubscriptionOK) Error() string

func (*CreateSubscriptionOK) GetPayload

func (*CreateSubscriptionOK) IsClientError

func (o *CreateSubscriptionOK) IsClientError() bool

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

func (*CreateSubscriptionOK) IsCode

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

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

func (*CreateSubscriptionOK) IsRedirect

func (o *CreateSubscriptionOK) IsRedirect() bool

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

func (*CreateSubscriptionOK) IsServerError

func (o *CreateSubscriptionOK) IsServerError() bool

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

func (*CreateSubscriptionOK) IsSuccess

func (o *CreateSubscriptionOK) IsSuccess() bool

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

func (*CreateSubscriptionOK) String

func (o *CreateSubscriptionOK) String() string

type CreateSubscriptionParams

type CreateSubscriptionParams struct {

	// Body.
	Body *notifications_models.CreateSubscriptionRequest

	/* NotificationType.

	    The type of notification.

	For more information about notification types, refer to [the Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
	*/
	NotificationType string

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

CreateSubscriptionParams contains all the parameters to send to the API endpoint

for the create subscription operation.

Typically these are written to a http.Request.

func NewCreateSubscriptionParams

func NewCreateSubscriptionParams() *CreateSubscriptionParams

NewCreateSubscriptionParams creates a new CreateSubscriptionParams 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 NewCreateSubscriptionParamsWithContext

func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithContext creates a new CreateSubscriptionParams object with the ability to set a context for a request.

func NewCreateSubscriptionParamsWithHTTPClient

func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithHTTPClient creates a new CreateSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSubscriptionParamsWithTimeout

func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams

NewCreateSubscriptionParamsWithTimeout creates a new CreateSubscriptionParams object with the ability to set a timeout on a request.

func (*CreateSubscriptionParams) SetBody

SetBody adds the body to the create subscription params

func (*CreateSubscriptionParams) SetContext

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

SetContext adds the context to the create subscription params

func (*CreateSubscriptionParams) SetDefaults

func (o *CreateSubscriptionParams) SetDefaults()

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

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

func (*CreateSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) SetNotificationType

func (o *CreateSubscriptionParams) SetNotificationType(notificationType string)

SetNotificationType adds the notificationType to the create subscription params

func (*CreateSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WithBody

WithBody adds the body to the create subscription params

func (*CreateSubscriptionParams) WithContext

WithContext adds the context to the create subscription params

func (*CreateSubscriptionParams) WithDefaults

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

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

func (*CreateSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create subscription params

func (*CreateSubscriptionParams) WithNotificationType

func (o *CreateSubscriptionParams) WithNotificationType(notificationType string) *CreateSubscriptionParams

WithNotificationType adds the notificationType to the create subscription params

func (*CreateSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create subscription params

func (*CreateSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionReader

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

CreateSubscriptionReader is a Reader for the CreateSubscription structure.

func (*CreateSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionRequestEntityTooLarge

type CreateSubscriptionRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

The request size exceeded the maximum accepted size.

func NewCreateSubscriptionRequestEntityTooLarge

func NewCreateSubscriptionRequestEntityTooLarge() *CreateSubscriptionRequestEntityTooLarge

NewCreateSubscriptionRequestEntityTooLarge creates a CreateSubscriptionRequestEntityTooLarge with default headers values

func (*CreateSubscriptionRequestEntityTooLarge) Error

func (*CreateSubscriptionRequestEntityTooLarge) GetPayload

func (*CreateSubscriptionRequestEntityTooLarge) IsClientError

func (o *CreateSubscriptionRequestEntityTooLarge) IsClientError() bool

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

func (*CreateSubscriptionRequestEntityTooLarge) IsCode

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

func (*CreateSubscriptionRequestEntityTooLarge) IsRedirect

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

func (*CreateSubscriptionRequestEntityTooLarge) IsServerError

func (o *CreateSubscriptionRequestEntityTooLarge) IsServerError() bool

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

func (*CreateSubscriptionRequestEntityTooLarge) IsSuccess

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

func (*CreateSubscriptionRequestEntityTooLarge) String

type CreateSubscriptionServiceUnavailable

type CreateSubscriptionServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

Temporary overloading or maintenance of the server.

func NewCreateSubscriptionServiceUnavailable

func NewCreateSubscriptionServiceUnavailable() *CreateSubscriptionServiceUnavailable

NewCreateSubscriptionServiceUnavailable creates a CreateSubscriptionServiceUnavailable with default headers values

func (*CreateSubscriptionServiceUnavailable) Error

func (*CreateSubscriptionServiceUnavailable) GetPayload

func (*CreateSubscriptionServiceUnavailable) IsClientError

func (o *CreateSubscriptionServiceUnavailable) IsClientError() bool

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

func (*CreateSubscriptionServiceUnavailable) IsCode

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

func (*CreateSubscriptionServiceUnavailable) IsRedirect

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

func (*CreateSubscriptionServiceUnavailable) IsServerError

func (o *CreateSubscriptionServiceUnavailable) IsServerError() bool

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

func (*CreateSubscriptionServiceUnavailable) IsSuccess

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

func (*CreateSubscriptionServiceUnavailable) String

type CreateSubscriptionTooManyRequests

type CreateSubscriptionTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

The frequency of requests was greater than allowed.

func NewCreateSubscriptionTooManyRequests

func NewCreateSubscriptionTooManyRequests() *CreateSubscriptionTooManyRequests

NewCreateSubscriptionTooManyRequests creates a CreateSubscriptionTooManyRequests with default headers values

func (*CreateSubscriptionTooManyRequests) Error

func (*CreateSubscriptionTooManyRequests) GetPayload

func (*CreateSubscriptionTooManyRequests) IsClientError

func (o *CreateSubscriptionTooManyRequests) IsClientError() bool

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

func (*CreateSubscriptionTooManyRequests) IsCode

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

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

func (*CreateSubscriptionTooManyRequests) IsRedirect

func (o *CreateSubscriptionTooManyRequests) IsRedirect() bool

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

func (*CreateSubscriptionTooManyRequests) IsServerError

func (o *CreateSubscriptionTooManyRequests) IsServerError() bool

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

func (*CreateSubscriptionTooManyRequests) IsSuccess

func (o *CreateSubscriptionTooManyRequests) IsSuccess() bool

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

func (*CreateSubscriptionTooManyRequests) String

type CreateSubscriptionUnsupportedMediaType

type CreateSubscriptionUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.CreateSubscriptionResponse
}

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

The request payload is in an unsupported format.

func NewCreateSubscriptionUnsupportedMediaType

func NewCreateSubscriptionUnsupportedMediaType() *CreateSubscriptionUnsupportedMediaType

NewCreateSubscriptionUnsupportedMediaType creates a CreateSubscriptionUnsupportedMediaType with default headers values

func (*CreateSubscriptionUnsupportedMediaType) Error

func (*CreateSubscriptionUnsupportedMediaType) GetPayload

func (*CreateSubscriptionUnsupportedMediaType) IsClientError

func (o *CreateSubscriptionUnsupportedMediaType) IsClientError() bool

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

func (*CreateSubscriptionUnsupportedMediaType) IsCode

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

func (*CreateSubscriptionUnsupportedMediaType) IsRedirect

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

func (*CreateSubscriptionUnsupportedMediaType) IsServerError

func (o *CreateSubscriptionUnsupportedMediaType) IsServerError() bool

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

func (*CreateSubscriptionUnsupportedMediaType) IsSuccess

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

func (*CreateSubscriptionUnsupportedMediaType) String

type DeleteDestinationBadRequest

type DeleteDestinationBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewDeleteDestinationBadRequest

func NewDeleteDestinationBadRequest() *DeleteDestinationBadRequest

NewDeleteDestinationBadRequest creates a DeleteDestinationBadRequest with default headers values

func (*DeleteDestinationBadRequest) Error

func (*DeleteDestinationBadRequest) GetPayload

func (*DeleteDestinationBadRequest) IsClientError

func (o *DeleteDestinationBadRequest) IsClientError() bool

IsClientError returns true when this delete destination bad request response has a 4xx status code

func (*DeleteDestinationBadRequest) IsCode

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

IsCode returns true when this delete destination bad request response a status code equal to that given

func (*DeleteDestinationBadRequest) IsRedirect

func (o *DeleteDestinationBadRequest) IsRedirect() bool

IsRedirect returns true when this delete destination bad request response has a 3xx status code

func (*DeleteDestinationBadRequest) IsServerError

func (o *DeleteDestinationBadRequest) IsServerError() bool

IsServerError returns true when this delete destination bad request response has a 5xx status code

func (*DeleteDestinationBadRequest) IsSuccess

func (o *DeleteDestinationBadRequest) IsSuccess() bool

IsSuccess returns true when this delete destination bad request response has a 2xx status code

func (*DeleteDestinationBadRequest) String

func (o *DeleteDestinationBadRequest) String() string

type DeleteDestinationConflict

type DeleteDestinationConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

The resource specified conflicts with the current state.

func NewDeleteDestinationConflict

func NewDeleteDestinationConflict() *DeleteDestinationConflict

NewDeleteDestinationConflict creates a DeleteDestinationConflict with default headers values

func (*DeleteDestinationConflict) Error

func (o *DeleteDestinationConflict) Error() string

func (*DeleteDestinationConflict) GetPayload

func (*DeleteDestinationConflict) IsClientError

func (o *DeleteDestinationConflict) IsClientError() bool

IsClientError returns true when this delete destination conflict response has a 4xx status code

func (*DeleteDestinationConflict) IsCode

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

IsCode returns true when this delete destination conflict response a status code equal to that given

func (*DeleteDestinationConflict) IsRedirect

func (o *DeleteDestinationConflict) IsRedirect() bool

IsRedirect returns true when this delete destination conflict response has a 3xx status code

func (*DeleteDestinationConflict) IsServerError

func (o *DeleteDestinationConflict) IsServerError() bool

IsServerError returns true when this delete destination conflict response has a 5xx status code

func (*DeleteDestinationConflict) IsSuccess

func (o *DeleteDestinationConflict) IsSuccess() bool

IsSuccess returns true when this delete destination conflict response has a 2xx status code

func (*DeleteDestinationConflict) String

func (o *DeleteDestinationConflict) String() string

type DeleteDestinationForbidden

type DeleteDestinationForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

DeleteDestinationForbidden 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 NewDeleteDestinationForbidden

func NewDeleteDestinationForbidden() *DeleteDestinationForbidden

NewDeleteDestinationForbidden creates a DeleteDestinationForbidden with default headers values

func (*DeleteDestinationForbidden) Error

func (*DeleteDestinationForbidden) GetPayload

func (*DeleteDestinationForbidden) IsClientError

func (o *DeleteDestinationForbidden) IsClientError() bool

IsClientError returns true when this delete destination forbidden response has a 4xx status code

func (*DeleteDestinationForbidden) IsCode

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

IsCode returns true when this delete destination forbidden response a status code equal to that given

func (*DeleteDestinationForbidden) IsRedirect

func (o *DeleteDestinationForbidden) IsRedirect() bool

IsRedirect returns true when this delete destination forbidden response has a 3xx status code

func (*DeleteDestinationForbidden) IsServerError

func (o *DeleteDestinationForbidden) IsServerError() bool

IsServerError returns true when this delete destination forbidden response has a 5xx status code

func (*DeleteDestinationForbidden) IsSuccess

func (o *DeleteDestinationForbidden) IsSuccess() bool

IsSuccess returns true when this delete destination forbidden response has a 2xx status code

func (*DeleteDestinationForbidden) String

func (o *DeleteDestinationForbidden) String() string

type DeleteDestinationInternalServerError

type DeleteDestinationInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

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

func NewDeleteDestinationInternalServerError

func NewDeleteDestinationInternalServerError() *DeleteDestinationInternalServerError

NewDeleteDestinationInternalServerError creates a DeleteDestinationInternalServerError with default headers values

func (*DeleteDestinationInternalServerError) Error

func (*DeleteDestinationInternalServerError) GetPayload

func (*DeleteDestinationInternalServerError) IsClientError

func (o *DeleteDestinationInternalServerError) IsClientError() bool

IsClientError returns true when this delete destination internal server error response has a 4xx status code

func (*DeleteDestinationInternalServerError) IsCode

IsCode returns true when this delete destination internal server error response a status code equal to that given

func (*DeleteDestinationInternalServerError) IsRedirect

IsRedirect returns true when this delete destination internal server error response has a 3xx status code

func (*DeleteDestinationInternalServerError) IsServerError

func (o *DeleteDestinationInternalServerError) IsServerError() bool

IsServerError returns true when this delete destination internal server error response has a 5xx status code

func (*DeleteDestinationInternalServerError) IsSuccess

IsSuccess returns true when this delete destination internal server error response has a 2xx status code

func (*DeleteDestinationInternalServerError) String

type DeleteDestinationNotFound

type DeleteDestinationNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

The resource specified does not exist.

func NewDeleteDestinationNotFound

func NewDeleteDestinationNotFound() *DeleteDestinationNotFound

NewDeleteDestinationNotFound creates a DeleteDestinationNotFound with default headers values

func (*DeleteDestinationNotFound) Error

func (o *DeleteDestinationNotFound) Error() string

func (*DeleteDestinationNotFound) GetPayload

func (*DeleteDestinationNotFound) IsClientError

func (o *DeleteDestinationNotFound) IsClientError() bool

IsClientError returns true when this delete destination not found response has a 4xx status code

func (*DeleteDestinationNotFound) IsCode

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

IsCode returns true when this delete destination not found response a status code equal to that given

func (*DeleteDestinationNotFound) IsRedirect

func (o *DeleteDestinationNotFound) IsRedirect() bool

IsRedirect returns true when this delete destination not found response has a 3xx status code

func (*DeleteDestinationNotFound) IsServerError

func (o *DeleteDestinationNotFound) IsServerError() bool

IsServerError returns true when this delete destination not found response has a 5xx status code

func (*DeleteDestinationNotFound) IsSuccess

func (o *DeleteDestinationNotFound) IsSuccess() bool

IsSuccess returns true when this delete destination not found response has a 2xx status code

func (*DeleteDestinationNotFound) String

func (o *DeleteDestinationNotFound) String() string

type DeleteDestinationOK

type DeleteDestinationOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

Success.

func NewDeleteDestinationOK

func NewDeleteDestinationOK() *DeleteDestinationOK

NewDeleteDestinationOK creates a DeleteDestinationOK with default headers values

func (*DeleteDestinationOK) Error

func (o *DeleteDestinationOK) Error() string

func (*DeleteDestinationOK) GetPayload

func (*DeleteDestinationOK) IsClientError

func (o *DeleteDestinationOK) IsClientError() bool

IsClientError returns true when this delete destination o k response has a 4xx status code

func (*DeleteDestinationOK) IsCode

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

IsCode returns true when this delete destination o k response a status code equal to that given

func (*DeleteDestinationOK) IsRedirect

func (o *DeleteDestinationOK) IsRedirect() bool

IsRedirect returns true when this delete destination o k response has a 3xx status code

func (*DeleteDestinationOK) IsServerError

func (o *DeleteDestinationOK) IsServerError() bool

IsServerError returns true when this delete destination o k response has a 5xx status code

func (*DeleteDestinationOK) IsSuccess

func (o *DeleteDestinationOK) IsSuccess() bool

IsSuccess returns true when this delete destination o k response has a 2xx status code

func (*DeleteDestinationOK) String

func (o *DeleteDestinationOK) String() string

type DeleteDestinationParams

type DeleteDestinationParams struct {

	/* DestinationID.

	   The identifier for the destination that you want to delete.
	*/
	DestinationID string

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

DeleteDestinationParams contains all the parameters to send to the API endpoint

for the delete destination operation.

Typically these are written to a http.Request.

func NewDeleteDestinationParams

func NewDeleteDestinationParams() *DeleteDestinationParams

NewDeleteDestinationParams creates a new DeleteDestinationParams 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 NewDeleteDestinationParamsWithContext

func NewDeleteDestinationParamsWithContext(ctx context.Context) *DeleteDestinationParams

NewDeleteDestinationParamsWithContext creates a new DeleteDestinationParams object with the ability to set a context for a request.

func NewDeleteDestinationParamsWithHTTPClient

func NewDeleteDestinationParamsWithHTTPClient(client *http.Client) *DeleteDestinationParams

NewDeleteDestinationParamsWithHTTPClient creates a new DeleteDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDestinationParamsWithTimeout

func NewDeleteDestinationParamsWithTimeout(timeout time.Duration) *DeleteDestinationParams

NewDeleteDestinationParamsWithTimeout creates a new DeleteDestinationParams object with the ability to set a timeout on a request.

func (*DeleteDestinationParams) SetContext

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

SetContext adds the context to the delete destination params

func (*DeleteDestinationParams) SetDefaults

func (o *DeleteDestinationParams) SetDefaults()

SetDefaults hydrates default values in the delete destination params (not the query body).

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

func (*DeleteDestinationParams) SetDestinationID

func (o *DeleteDestinationParams) SetDestinationID(destinationID string)

SetDestinationID adds the destinationId to the delete destination params

func (*DeleteDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete destination params

func (*DeleteDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the delete destination params

func (*DeleteDestinationParams) WithContext

WithContext adds the context to the delete destination params

func (*DeleteDestinationParams) WithDefaults

WithDefaults hydrates default values in the delete destination params (not the query body).

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

func (*DeleteDestinationParams) WithDestinationID

func (o *DeleteDestinationParams) WithDestinationID(destinationID string) *DeleteDestinationParams

WithDestinationID adds the destinationID to the delete destination params

func (*DeleteDestinationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete destination params

func (*DeleteDestinationParams) WithTimeout

WithTimeout adds the timeout to the delete destination params

func (*DeleteDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDestinationReader

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

DeleteDestinationReader is a Reader for the DeleteDestination structure.

func (*DeleteDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDestinationRequestEntityTooLarge

type DeleteDestinationRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

The request size exceeded the maximum accepted size.

func NewDeleteDestinationRequestEntityTooLarge

func NewDeleteDestinationRequestEntityTooLarge() *DeleteDestinationRequestEntityTooLarge

NewDeleteDestinationRequestEntityTooLarge creates a DeleteDestinationRequestEntityTooLarge with default headers values

func (*DeleteDestinationRequestEntityTooLarge) Error

func (*DeleteDestinationRequestEntityTooLarge) GetPayload

func (*DeleteDestinationRequestEntityTooLarge) IsClientError

func (o *DeleteDestinationRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this delete destination request entity too large response has a 4xx status code

func (*DeleteDestinationRequestEntityTooLarge) IsCode

IsCode returns true when this delete destination request entity too large response a status code equal to that given

func (*DeleteDestinationRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete destination request entity too large response has a 3xx status code

func (*DeleteDestinationRequestEntityTooLarge) IsServerError

func (o *DeleteDestinationRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this delete destination request entity too large response has a 5xx status code

func (*DeleteDestinationRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete destination request entity too large response has a 2xx status code

func (*DeleteDestinationRequestEntityTooLarge) String

type DeleteDestinationServiceUnavailable

type DeleteDestinationServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

Temporary overloading or maintenance of the server.

func NewDeleteDestinationServiceUnavailable

func NewDeleteDestinationServiceUnavailable() *DeleteDestinationServiceUnavailable

NewDeleteDestinationServiceUnavailable creates a DeleteDestinationServiceUnavailable with default headers values

func (*DeleteDestinationServiceUnavailable) Error

func (*DeleteDestinationServiceUnavailable) GetPayload

func (*DeleteDestinationServiceUnavailable) IsClientError

func (o *DeleteDestinationServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete destination service unavailable response has a 4xx status code

func (*DeleteDestinationServiceUnavailable) IsCode

IsCode returns true when this delete destination service unavailable response a status code equal to that given

func (*DeleteDestinationServiceUnavailable) IsRedirect

func (o *DeleteDestinationServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete destination service unavailable response has a 3xx status code

func (*DeleteDestinationServiceUnavailable) IsServerError

func (o *DeleteDestinationServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete destination service unavailable response has a 5xx status code

func (*DeleteDestinationServiceUnavailable) IsSuccess

IsSuccess returns true when this delete destination service unavailable response has a 2xx status code

func (*DeleteDestinationServiceUnavailable) String

type DeleteDestinationTooManyRequests

type DeleteDestinationTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

The frequency of requests was greater than allowed.

func NewDeleteDestinationTooManyRequests

func NewDeleteDestinationTooManyRequests() *DeleteDestinationTooManyRequests

NewDeleteDestinationTooManyRequests creates a DeleteDestinationTooManyRequests with default headers values

func (*DeleteDestinationTooManyRequests) Error

func (*DeleteDestinationTooManyRequests) GetPayload

func (*DeleteDestinationTooManyRequests) IsClientError

func (o *DeleteDestinationTooManyRequests) IsClientError() bool

IsClientError returns true when this delete destination too many requests response has a 4xx status code

func (*DeleteDestinationTooManyRequests) IsCode

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

IsCode returns true when this delete destination too many requests response a status code equal to that given

func (*DeleteDestinationTooManyRequests) IsRedirect

func (o *DeleteDestinationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete destination too many requests response has a 3xx status code

func (*DeleteDestinationTooManyRequests) IsServerError

func (o *DeleteDestinationTooManyRequests) IsServerError() bool

IsServerError returns true when this delete destination too many requests response has a 5xx status code

func (*DeleteDestinationTooManyRequests) IsSuccess

func (o *DeleteDestinationTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete destination too many requests response has a 2xx status code

func (*DeleteDestinationTooManyRequests) String

type DeleteDestinationUnsupportedMediaType

type DeleteDestinationUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteDestinationResponse
}

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

The request payload is in an unsupported format.

func NewDeleteDestinationUnsupportedMediaType

func NewDeleteDestinationUnsupportedMediaType() *DeleteDestinationUnsupportedMediaType

NewDeleteDestinationUnsupportedMediaType creates a DeleteDestinationUnsupportedMediaType with default headers values

func (*DeleteDestinationUnsupportedMediaType) Error

func (*DeleteDestinationUnsupportedMediaType) GetPayload

func (*DeleteDestinationUnsupportedMediaType) IsClientError

func (o *DeleteDestinationUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this delete destination unsupported media type response has a 4xx status code

func (*DeleteDestinationUnsupportedMediaType) IsCode

IsCode returns true when this delete destination unsupported media type response a status code equal to that given

func (*DeleteDestinationUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete destination unsupported media type response has a 3xx status code

func (*DeleteDestinationUnsupportedMediaType) IsServerError

func (o *DeleteDestinationUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this delete destination unsupported media type response has a 5xx status code

func (*DeleteDestinationUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete destination unsupported media type response has a 2xx status code

func (*DeleteDestinationUnsupportedMediaType) String

type DeleteSubscriptionByIDBadRequest

type DeleteSubscriptionByIDBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewDeleteSubscriptionByIDBadRequest

func NewDeleteSubscriptionByIDBadRequest() *DeleteSubscriptionByIDBadRequest

NewDeleteSubscriptionByIDBadRequest creates a DeleteSubscriptionByIDBadRequest with default headers values

func (*DeleteSubscriptionByIDBadRequest) Error

func (*DeleteSubscriptionByIDBadRequest) GetPayload

func (*DeleteSubscriptionByIDBadRequest) IsClientError

func (o *DeleteSubscriptionByIDBadRequest) IsClientError() bool

IsClientError returns true when this delete subscription by Id bad request response has a 4xx status code

func (*DeleteSubscriptionByIDBadRequest) IsCode

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

IsCode returns true when this delete subscription by Id bad request response a status code equal to that given

func (*DeleteSubscriptionByIDBadRequest) IsRedirect

func (o *DeleteSubscriptionByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this delete subscription by Id bad request response has a 3xx status code

func (*DeleteSubscriptionByIDBadRequest) IsServerError

func (o *DeleteSubscriptionByIDBadRequest) IsServerError() bool

IsServerError returns true when this delete subscription by Id bad request response has a 5xx status code

func (*DeleteSubscriptionByIDBadRequest) IsSuccess

func (o *DeleteSubscriptionByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this delete subscription by Id bad request response has a 2xx status code

func (*DeleteSubscriptionByIDBadRequest) String

type DeleteSubscriptionByIDConflict

type DeleteSubscriptionByIDConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

The resource specified conflicts with the current state.

func NewDeleteSubscriptionByIDConflict

func NewDeleteSubscriptionByIDConflict() *DeleteSubscriptionByIDConflict

NewDeleteSubscriptionByIDConflict creates a DeleteSubscriptionByIDConflict with default headers values

func (*DeleteSubscriptionByIDConflict) Error

func (*DeleteSubscriptionByIDConflict) GetPayload

func (*DeleteSubscriptionByIDConflict) IsClientError

func (o *DeleteSubscriptionByIDConflict) IsClientError() bool

IsClientError returns true when this delete subscription by Id conflict response has a 4xx status code

func (*DeleteSubscriptionByIDConflict) IsCode

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

IsCode returns true when this delete subscription by Id conflict response a status code equal to that given

func (*DeleteSubscriptionByIDConflict) IsRedirect

func (o *DeleteSubscriptionByIDConflict) IsRedirect() bool

IsRedirect returns true when this delete subscription by Id conflict response has a 3xx status code

func (*DeleteSubscriptionByIDConflict) IsServerError

func (o *DeleteSubscriptionByIDConflict) IsServerError() bool

IsServerError returns true when this delete subscription by Id conflict response has a 5xx status code

func (*DeleteSubscriptionByIDConflict) IsSuccess

func (o *DeleteSubscriptionByIDConflict) IsSuccess() bool

IsSuccess returns true when this delete subscription by Id conflict response has a 2xx status code

func (*DeleteSubscriptionByIDConflict) String

type DeleteSubscriptionByIDForbidden

type DeleteSubscriptionByIDForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

DeleteSubscriptionByIDForbidden 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 NewDeleteSubscriptionByIDForbidden

func NewDeleteSubscriptionByIDForbidden() *DeleteSubscriptionByIDForbidden

NewDeleteSubscriptionByIDForbidden creates a DeleteSubscriptionByIDForbidden with default headers values

func (*DeleteSubscriptionByIDForbidden) Error

func (*DeleteSubscriptionByIDForbidden) GetPayload

func (*DeleteSubscriptionByIDForbidden) IsClientError

func (o *DeleteSubscriptionByIDForbidden) IsClientError() bool

IsClientError returns true when this delete subscription by Id forbidden response has a 4xx status code

func (*DeleteSubscriptionByIDForbidden) IsCode

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

IsCode returns true when this delete subscription by Id forbidden response a status code equal to that given

func (*DeleteSubscriptionByIDForbidden) IsRedirect

func (o *DeleteSubscriptionByIDForbidden) IsRedirect() bool

IsRedirect returns true when this delete subscription by Id forbidden response has a 3xx status code

func (*DeleteSubscriptionByIDForbidden) IsServerError

func (o *DeleteSubscriptionByIDForbidden) IsServerError() bool

IsServerError returns true when this delete subscription by Id forbidden response has a 5xx status code

func (*DeleteSubscriptionByIDForbidden) IsSuccess

func (o *DeleteSubscriptionByIDForbidden) IsSuccess() bool

IsSuccess returns true when this delete subscription by Id forbidden response has a 2xx status code

func (*DeleteSubscriptionByIDForbidden) String

type DeleteSubscriptionByIDInternalServerError

type DeleteSubscriptionByIDInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

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

func NewDeleteSubscriptionByIDInternalServerError

func NewDeleteSubscriptionByIDInternalServerError() *DeleteSubscriptionByIDInternalServerError

NewDeleteSubscriptionByIDInternalServerError creates a DeleteSubscriptionByIDInternalServerError with default headers values

func (*DeleteSubscriptionByIDInternalServerError) Error

func (*DeleteSubscriptionByIDInternalServerError) GetPayload

func (*DeleteSubscriptionByIDInternalServerError) IsClientError

IsClientError returns true when this delete subscription by Id internal server error response has a 4xx status code

func (*DeleteSubscriptionByIDInternalServerError) IsCode

IsCode returns true when this delete subscription by Id internal server error response a status code equal to that given

func (*DeleteSubscriptionByIDInternalServerError) IsRedirect

IsRedirect returns true when this delete subscription by Id internal server error response has a 3xx status code

func (*DeleteSubscriptionByIDInternalServerError) IsServerError

IsServerError returns true when this delete subscription by Id internal server error response has a 5xx status code

func (*DeleteSubscriptionByIDInternalServerError) IsSuccess

IsSuccess returns true when this delete subscription by Id internal server error response has a 2xx status code

func (*DeleteSubscriptionByIDInternalServerError) String

type DeleteSubscriptionByIDNotFound

type DeleteSubscriptionByIDNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

The resource specified does not exist.

func NewDeleteSubscriptionByIDNotFound

func NewDeleteSubscriptionByIDNotFound() *DeleteSubscriptionByIDNotFound

NewDeleteSubscriptionByIDNotFound creates a DeleteSubscriptionByIDNotFound with default headers values

func (*DeleteSubscriptionByIDNotFound) Error

func (*DeleteSubscriptionByIDNotFound) GetPayload

func (*DeleteSubscriptionByIDNotFound) IsClientError

func (o *DeleteSubscriptionByIDNotFound) IsClientError() bool

IsClientError returns true when this delete subscription by Id not found response has a 4xx status code

func (*DeleteSubscriptionByIDNotFound) IsCode

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

IsCode returns true when this delete subscription by Id not found response a status code equal to that given

func (*DeleteSubscriptionByIDNotFound) IsRedirect

func (o *DeleteSubscriptionByIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete subscription by Id not found response has a 3xx status code

func (*DeleteSubscriptionByIDNotFound) IsServerError

func (o *DeleteSubscriptionByIDNotFound) IsServerError() bool

IsServerError returns true when this delete subscription by Id not found response has a 5xx status code

func (*DeleteSubscriptionByIDNotFound) IsSuccess

func (o *DeleteSubscriptionByIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete subscription by Id not found response has a 2xx status code

func (*DeleteSubscriptionByIDNotFound) String

type DeleteSubscriptionByIDOK

type DeleteSubscriptionByIDOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

Success.

func NewDeleteSubscriptionByIDOK

func NewDeleteSubscriptionByIDOK() *DeleteSubscriptionByIDOK

NewDeleteSubscriptionByIDOK creates a DeleteSubscriptionByIDOK with default headers values

func (*DeleteSubscriptionByIDOK) Error

func (o *DeleteSubscriptionByIDOK) Error() string

func (*DeleteSubscriptionByIDOK) GetPayload

func (*DeleteSubscriptionByIDOK) IsClientError

func (o *DeleteSubscriptionByIDOK) IsClientError() bool

IsClientError returns true when this delete subscription by Id o k response has a 4xx status code

func (*DeleteSubscriptionByIDOK) IsCode

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

IsCode returns true when this delete subscription by Id o k response a status code equal to that given

func (*DeleteSubscriptionByIDOK) IsRedirect

func (o *DeleteSubscriptionByIDOK) IsRedirect() bool

IsRedirect returns true when this delete subscription by Id o k response has a 3xx status code

func (*DeleteSubscriptionByIDOK) IsServerError

func (o *DeleteSubscriptionByIDOK) IsServerError() bool

IsServerError returns true when this delete subscription by Id o k response has a 5xx status code

func (*DeleteSubscriptionByIDOK) IsSuccess

func (o *DeleteSubscriptionByIDOK) IsSuccess() bool

IsSuccess returns true when this delete subscription by Id o k response has a 2xx status code

func (*DeleteSubscriptionByIDOK) String

func (o *DeleteSubscriptionByIDOK) String() string

type DeleteSubscriptionByIDParams

type DeleteSubscriptionByIDParams struct {

	/* NotificationType.

	    The type of notification.

	For more information about notification types, refer to [the Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
	*/
	NotificationType string

	/* SubscriptionID.

	   The identifier for the subscription that you want to delete.
	*/
	SubscriptionID string

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

DeleteSubscriptionByIDParams contains all the parameters to send to the API endpoint

for the delete subscription by Id operation.

Typically these are written to a http.Request.

func NewDeleteSubscriptionByIDParams

func NewDeleteSubscriptionByIDParams() *DeleteSubscriptionByIDParams

NewDeleteSubscriptionByIDParams creates a new DeleteSubscriptionByIDParams 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 NewDeleteSubscriptionByIDParamsWithContext

func NewDeleteSubscriptionByIDParamsWithContext(ctx context.Context) *DeleteSubscriptionByIDParams

NewDeleteSubscriptionByIDParamsWithContext creates a new DeleteSubscriptionByIDParams object with the ability to set a context for a request.

func NewDeleteSubscriptionByIDParamsWithHTTPClient

func NewDeleteSubscriptionByIDParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionByIDParams

NewDeleteSubscriptionByIDParamsWithHTTPClient creates a new DeleteSubscriptionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSubscriptionByIDParamsWithTimeout

func NewDeleteSubscriptionByIDParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionByIDParams

NewDeleteSubscriptionByIDParamsWithTimeout creates a new DeleteSubscriptionByIDParams object with the ability to set a timeout on a request.

func (*DeleteSubscriptionByIDParams) SetContext

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

SetContext adds the context to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) SetDefaults

func (o *DeleteSubscriptionByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete subscription by Id params (not the query body).

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

func (*DeleteSubscriptionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) SetNotificationType

func (o *DeleteSubscriptionByIDParams) SetNotificationType(notificationType string)

SetNotificationType adds the notificationType to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) SetSubscriptionID

func (o *DeleteSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WithContext

WithContext adds the context to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WithDefaults

WithDefaults hydrates default values in the delete subscription by Id params (not the query body).

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

func (*DeleteSubscriptionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WithNotificationType

func (o *DeleteSubscriptionByIDParams) WithNotificationType(notificationType string) *DeleteSubscriptionByIDParams

WithNotificationType adds the notificationType to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WithSubscriptionID

func (o *DeleteSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *DeleteSubscriptionByIDParams

WithSubscriptionID adds the subscriptionID to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the delete subscription by Id params

func (*DeleteSubscriptionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionByIDReader

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

DeleteSubscriptionByIDReader is a Reader for the DeleteSubscriptionByID structure.

func (*DeleteSubscriptionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionByIDRequestEntityTooLarge

type DeleteSubscriptionByIDRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

The request size exceeded the maximum accepted size.

func NewDeleteSubscriptionByIDRequestEntityTooLarge

func NewDeleteSubscriptionByIDRequestEntityTooLarge() *DeleteSubscriptionByIDRequestEntityTooLarge

NewDeleteSubscriptionByIDRequestEntityTooLarge creates a DeleteSubscriptionByIDRequestEntityTooLarge with default headers values

func (*DeleteSubscriptionByIDRequestEntityTooLarge) Error

func (*DeleteSubscriptionByIDRequestEntityTooLarge) GetPayload

func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete subscription by Id request entity too large response has a 4xx status code

func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsCode

IsCode returns true when this delete subscription by Id request entity too large response a status code equal to that given

func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete subscription by Id request entity too large response has a 3xx status code

func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete subscription by Id request entity too large response has a 5xx status code

func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete subscription by Id request entity too large response has a 2xx status code

func (*DeleteSubscriptionByIDRequestEntityTooLarge) String

type DeleteSubscriptionByIDServiceUnavailable

type DeleteSubscriptionByIDServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

Temporary overloading or maintenance of the server.

func NewDeleteSubscriptionByIDServiceUnavailable

func NewDeleteSubscriptionByIDServiceUnavailable() *DeleteSubscriptionByIDServiceUnavailable

NewDeleteSubscriptionByIDServiceUnavailable creates a DeleteSubscriptionByIDServiceUnavailable with default headers values

func (*DeleteSubscriptionByIDServiceUnavailable) Error

func (*DeleteSubscriptionByIDServiceUnavailable) GetPayload

func (*DeleteSubscriptionByIDServiceUnavailable) IsClientError

IsClientError returns true when this delete subscription by Id service unavailable response has a 4xx status code

func (*DeleteSubscriptionByIDServiceUnavailable) IsCode

IsCode returns true when this delete subscription by Id service unavailable response a status code equal to that given

func (*DeleteSubscriptionByIDServiceUnavailable) IsRedirect

IsRedirect returns true when this delete subscription by Id service unavailable response has a 3xx status code

func (*DeleteSubscriptionByIDServiceUnavailable) IsServerError

IsServerError returns true when this delete subscription by Id service unavailable response has a 5xx status code

func (*DeleteSubscriptionByIDServiceUnavailable) IsSuccess

IsSuccess returns true when this delete subscription by Id service unavailable response has a 2xx status code

func (*DeleteSubscriptionByIDServiceUnavailable) String

type DeleteSubscriptionByIDTooManyRequests

type DeleteSubscriptionByIDTooManyRequests struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

The frequency of requests was greater than allowed.

func NewDeleteSubscriptionByIDTooManyRequests

func NewDeleteSubscriptionByIDTooManyRequests() *DeleteSubscriptionByIDTooManyRequests

NewDeleteSubscriptionByIDTooManyRequests creates a DeleteSubscriptionByIDTooManyRequests with default headers values

func (*DeleteSubscriptionByIDTooManyRequests) Error

func (*DeleteSubscriptionByIDTooManyRequests) GetPayload

func (*DeleteSubscriptionByIDTooManyRequests) IsClientError

func (o *DeleteSubscriptionByIDTooManyRequests) IsClientError() bool

IsClientError returns true when this delete subscription by Id too many requests response has a 4xx status code

func (*DeleteSubscriptionByIDTooManyRequests) IsCode

IsCode returns true when this delete subscription by Id too many requests response a status code equal to that given

func (*DeleteSubscriptionByIDTooManyRequests) IsRedirect

IsRedirect returns true when this delete subscription by Id too many requests response has a 3xx status code

func (*DeleteSubscriptionByIDTooManyRequests) IsServerError

func (o *DeleteSubscriptionByIDTooManyRequests) IsServerError() bool

IsServerError returns true when this delete subscription by Id too many requests response has a 5xx status code

func (*DeleteSubscriptionByIDTooManyRequests) IsSuccess

IsSuccess returns true when this delete subscription by Id too many requests response has a 2xx status code

func (*DeleteSubscriptionByIDTooManyRequests) String

type DeleteSubscriptionByIDUnsupportedMediaType

type DeleteSubscriptionByIDUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.DeleteSubscriptionByIDResponse
}

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

The request payload is in an unsupported format.

func NewDeleteSubscriptionByIDUnsupportedMediaType

func NewDeleteSubscriptionByIDUnsupportedMediaType() *DeleteSubscriptionByIDUnsupportedMediaType

NewDeleteSubscriptionByIDUnsupportedMediaType creates a DeleteSubscriptionByIDUnsupportedMediaType with default headers values

func (*DeleteSubscriptionByIDUnsupportedMediaType) Error

func (*DeleteSubscriptionByIDUnsupportedMediaType) GetPayload

func (*DeleteSubscriptionByIDUnsupportedMediaType) IsClientError

IsClientError returns true when this delete subscription by Id unsupported media type response has a 4xx status code

func (*DeleteSubscriptionByIDUnsupportedMediaType) IsCode

IsCode returns true when this delete subscription by Id unsupported media type response a status code equal to that given

func (*DeleteSubscriptionByIDUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete subscription by Id unsupported media type response has a 3xx status code

func (*DeleteSubscriptionByIDUnsupportedMediaType) IsServerError

IsServerError returns true when this delete subscription by Id unsupported media type response has a 5xx status code

func (*DeleteSubscriptionByIDUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete subscription by Id unsupported media type response has a 2xx status code

func (*DeleteSubscriptionByIDUnsupportedMediaType) String

type GetDestinationBadRequest

type GetDestinationBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetDestinationBadRequest

func NewGetDestinationBadRequest() *GetDestinationBadRequest

NewGetDestinationBadRequest creates a GetDestinationBadRequest with default headers values

func (*GetDestinationBadRequest) Error

func (o *GetDestinationBadRequest) Error() string

func (*GetDestinationBadRequest) GetPayload

func (*GetDestinationBadRequest) IsClientError

func (o *GetDestinationBadRequest) IsClientError() bool

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

func (*GetDestinationBadRequest) IsCode

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

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

func (*GetDestinationBadRequest) IsRedirect

func (o *GetDestinationBadRequest) IsRedirect() bool

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

func (*GetDestinationBadRequest) IsServerError

func (o *GetDestinationBadRequest) IsServerError() bool

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

func (*GetDestinationBadRequest) IsSuccess

func (o *GetDestinationBadRequest) IsSuccess() bool

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

func (*GetDestinationBadRequest) String

func (o *GetDestinationBadRequest) String() string

type GetDestinationConflict

type GetDestinationConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

The resource specified conflicts with the current state.

func NewGetDestinationConflict

func NewGetDestinationConflict() *GetDestinationConflict

NewGetDestinationConflict creates a GetDestinationConflict with default headers values

func (*GetDestinationConflict) Error

func (o *GetDestinationConflict) Error() string

func (*GetDestinationConflict) GetPayload

func (*GetDestinationConflict) IsClientError

func (o *GetDestinationConflict) IsClientError() bool

IsClientError returns true when this get destination conflict response has a 4xx status code

func (*GetDestinationConflict) IsCode

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

IsCode returns true when this get destination conflict response a status code equal to that given

func (*GetDestinationConflict) IsRedirect

func (o *GetDestinationConflict) IsRedirect() bool

IsRedirect returns true when this get destination conflict response has a 3xx status code

func (*GetDestinationConflict) IsServerError

func (o *GetDestinationConflict) IsServerError() bool

IsServerError returns true when this get destination conflict response has a 5xx status code

func (*GetDestinationConflict) IsSuccess

func (o *GetDestinationConflict) IsSuccess() bool

IsSuccess returns true when this get destination conflict response has a 2xx status code

func (*GetDestinationConflict) String

func (o *GetDestinationConflict) String() string

type GetDestinationForbidden

type GetDestinationForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

GetDestinationForbidden 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 NewGetDestinationForbidden

func NewGetDestinationForbidden() *GetDestinationForbidden

NewGetDestinationForbidden creates a GetDestinationForbidden with default headers values

func (*GetDestinationForbidden) Error

func (o *GetDestinationForbidden) Error() string

func (*GetDestinationForbidden) GetPayload

func (*GetDestinationForbidden) IsClientError

func (o *GetDestinationForbidden) IsClientError() bool

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

func (*GetDestinationForbidden) IsCode

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

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

func (*GetDestinationForbidden) IsRedirect

func (o *GetDestinationForbidden) IsRedirect() bool

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

func (*GetDestinationForbidden) IsServerError

func (o *GetDestinationForbidden) IsServerError() bool

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

func (*GetDestinationForbidden) IsSuccess

func (o *GetDestinationForbidden) IsSuccess() bool

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

func (*GetDestinationForbidden) String

func (o *GetDestinationForbidden) String() string

type GetDestinationInternalServerError

type GetDestinationInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

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

func NewGetDestinationInternalServerError

func NewGetDestinationInternalServerError() *GetDestinationInternalServerError

NewGetDestinationInternalServerError creates a GetDestinationInternalServerError with default headers values

func (*GetDestinationInternalServerError) Error

func (*GetDestinationInternalServerError) GetPayload

func (*GetDestinationInternalServerError) IsClientError

func (o *GetDestinationInternalServerError) IsClientError() bool

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

func (*GetDestinationInternalServerError) IsCode

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

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

func (*GetDestinationInternalServerError) IsRedirect

func (o *GetDestinationInternalServerError) IsRedirect() bool

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

func (*GetDestinationInternalServerError) IsServerError

func (o *GetDestinationInternalServerError) IsServerError() bool

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

func (*GetDestinationInternalServerError) IsSuccess

func (o *GetDestinationInternalServerError) IsSuccess() bool

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

func (*GetDestinationInternalServerError) String

type GetDestinationNotFound

type GetDestinationNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

The resource specified does not exist.

func NewGetDestinationNotFound

func NewGetDestinationNotFound() *GetDestinationNotFound

NewGetDestinationNotFound creates a GetDestinationNotFound with default headers values

func (*GetDestinationNotFound) Error

func (o *GetDestinationNotFound) Error() string

func (*GetDestinationNotFound) GetPayload

func (*GetDestinationNotFound) IsClientError

func (o *GetDestinationNotFound) IsClientError() bool

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

func (*GetDestinationNotFound) IsCode

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

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

func (*GetDestinationNotFound) IsRedirect

func (o *GetDestinationNotFound) IsRedirect() bool

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

func (*GetDestinationNotFound) IsServerError

func (o *GetDestinationNotFound) IsServerError() bool

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

func (*GetDestinationNotFound) IsSuccess

func (o *GetDestinationNotFound) IsSuccess() bool

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

func (*GetDestinationNotFound) String

func (o *GetDestinationNotFound) String() string

type GetDestinationOK

type GetDestinationOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

Success.

func NewGetDestinationOK

func NewGetDestinationOK() *GetDestinationOK

NewGetDestinationOK creates a GetDestinationOK with default headers values

func (*GetDestinationOK) Error

func (o *GetDestinationOK) Error() string

func (*GetDestinationOK) GetPayload

func (*GetDestinationOK) IsClientError

func (o *GetDestinationOK) IsClientError() bool

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

func (*GetDestinationOK) IsCode

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

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

func (*GetDestinationOK) IsRedirect

func (o *GetDestinationOK) IsRedirect() bool

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

func (*GetDestinationOK) IsServerError

func (o *GetDestinationOK) IsServerError() bool

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

func (*GetDestinationOK) IsSuccess

func (o *GetDestinationOK) IsSuccess() bool

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

func (*GetDestinationOK) String

func (o *GetDestinationOK) String() string

type GetDestinationParams

type GetDestinationParams struct {

	/* DestinationID.

	   The identifier generated when you created the destination.
	*/
	DestinationID string

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

GetDestinationParams contains all the parameters to send to the API endpoint

for the get destination operation.

Typically these are written to a http.Request.

func NewGetDestinationParams

func NewGetDestinationParams() *GetDestinationParams

NewGetDestinationParams creates a new GetDestinationParams 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 NewGetDestinationParamsWithContext

func NewGetDestinationParamsWithContext(ctx context.Context) *GetDestinationParams

NewGetDestinationParamsWithContext creates a new GetDestinationParams object with the ability to set a context for a request.

func NewGetDestinationParamsWithHTTPClient

func NewGetDestinationParamsWithHTTPClient(client *http.Client) *GetDestinationParams

NewGetDestinationParamsWithHTTPClient creates a new GetDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewGetDestinationParamsWithTimeout

func NewGetDestinationParamsWithTimeout(timeout time.Duration) *GetDestinationParams

NewGetDestinationParamsWithTimeout creates a new GetDestinationParams object with the ability to set a timeout on a request.

func (*GetDestinationParams) SetContext

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

SetContext adds the context to the get destination params

func (*GetDestinationParams) SetDefaults

func (o *GetDestinationParams) SetDefaults()

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

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

func (*GetDestinationParams) SetDestinationID

func (o *GetDestinationParams) SetDestinationID(destinationID string)

SetDestinationID adds the destinationId to the get destination params

func (*GetDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get destination params

func (*GetDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the get destination params

func (*GetDestinationParams) WithContext

WithContext adds the context to the get destination params

func (*GetDestinationParams) WithDefaults

func (o *GetDestinationParams) WithDefaults() *GetDestinationParams

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

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

func (*GetDestinationParams) WithDestinationID

func (o *GetDestinationParams) WithDestinationID(destinationID string) *GetDestinationParams

WithDestinationID adds the destinationID to the get destination params

func (*GetDestinationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get destination params

func (*GetDestinationParams) WithTimeout

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

WithTimeout adds the timeout to the get destination params

func (*GetDestinationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDestinationReader

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

GetDestinationReader is a Reader for the GetDestination structure.

func (*GetDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDestinationRequestEntityTooLarge

type GetDestinationRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

The request size exceeded the maximum accepted size.

func NewGetDestinationRequestEntityTooLarge

func NewGetDestinationRequestEntityTooLarge() *GetDestinationRequestEntityTooLarge

NewGetDestinationRequestEntityTooLarge creates a GetDestinationRequestEntityTooLarge with default headers values

func (*GetDestinationRequestEntityTooLarge) Error

func (*GetDestinationRequestEntityTooLarge) GetPayload

func (*GetDestinationRequestEntityTooLarge) IsClientError

func (o *GetDestinationRequestEntityTooLarge) IsClientError() bool

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

func (*GetDestinationRequestEntityTooLarge) IsCode

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

func (*GetDestinationRequestEntityTooLarge) IsRedirect

func (o *GetDestinationRequestEntityTooLarge) IsRedirect() bool

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

func (*GetDestinationRequestEntityTooLarge) IsServerError

func (o *GetDestinationRequestEntityTooLarge) IsServerError() bool

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

func (*GetDestinationRequestEntityTooLarge) IsSuccess

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

func (*GetDestinationRequestEntityTooLarge) String

type GetDestinationServiceUnavailable

type GetDestinationServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetDestinationServiceUnavailable

func NewGetDestinationServiceUnavailable() *GetDestinationServiceUnavailable

NewGetDestinationServiceUnavailable creates a GetDestinationServiceUnavailable with default headers values

func (*GetDestinationServiceUnavailable) Error

func (*GetDestinationServiceUnavailable) GetPayload

func (*GetDestinationServiceUnavailable) IsClientError

func (o *GetDestinationServiceUnavailable) IsClientError() bool

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

func (*GetDestinationServiceUnavailable) IsCode

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

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

func (*GetDestinationServiceUnavailable) IsRedirect

func (o *GetDestinationServiceUnavailable) IsRedirect() bool

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

func (*GetDestinationServiceUnavailable) IsServerError

func (o *GetDestinationServiceUnavailable) IsServerError() bool

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

func (*GetDestinationServiceUnavailable) IsSuccess

func (o *GetDestinationServiceUnavailable) IsSuccess() bool

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

func (*GetDestinationServiceUnavailable) String

type GetDestinationTooManyRequests

type GetDestinationTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

The frequency of requests was greater than allowed.

func NewGetDestinationTooManyRequests

func NewGetDestinationTooManyRequests() *GetDestinationTooManyRequests

NewGetDestinationTooManyRequests creates a GetDestinationTooManyRequests with default headers values

func (*GetDestinationTooManyRequests) Error

func (*GetDestinationTooManyRequests) GetPayload

func (*GetDestinationTooManyRequests) IsClientError

func (o *GetDestinationTooManyRequests) IsClientError() bool

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

func (*GetDestinationTooManyRequests) IsCode

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

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

func (*GetDestinationTooManyRequests) IsRedirect

func (o *GetDestinationTooManyRequests) IsRedirect() bool

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

func (*GetDestinationTooManyRequests) IsServerError

func (o *GetDestinationTooManyRequests) IsServerError() bool

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

func (*GetDestinationTooManyRequests) IsSuccess

func (o *GetDestinationTooManyRequests) IsSuccess() bool

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

func (*GetDestinationTooManyRequests) String

type GetDestinationUnsupportedMediaType

type GetDestinationUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationResponse
}

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

The request payload is in an unsupported format.

func NewGetDestinationUnsupportedMediaType

func NewGetDestinationUnsupportedMediaType() *GetDestinationUnsupportedMediaType

NewGetDestinationUnsupportedMediaType creates a GetDestinationUnsupportedMediaType with default headers values

func (*GetDestinationUnsupportedMediaType) Error

func (*GetDestinationUnsupportedMediaType) GetPayload

func (*GetDestinationUnsupportedMediaType) IsClientError

func (o *GetDestinationUnsupportedMediaType) IsClientError() bool

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

func (*GetDestinationUnsupportedMediaType) IsCode

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

func (*GetDestinationUnsupportedMediaType) IsRedirect

func (o *GetDestinationUnsupportedMediaType) IsRedirect() bool

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

func (*GetDestinationUnsupportedMediaType) IsServerError

func (o *GetDestinationUnsupportedMediaType) IsServerError() bool

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

func (*GetDestinationUnsupportedMediaType) IsSuccess

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

func (*GetDestinationUnsupportedMediaType) String

type GetDestinationsBadRequest

type GetDestinationsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetDestinationsBadRequest

func NewGetDestinationsBadRequest() *GetDestinationsBadRequest

NewGetDestinationsBadRequest creates a GetDestinationsBadRequest with default headers values

func (*GetDestinationsBadRequest) Error

func (o *GetDestinationsBadRequest) Error() string

func (*GetDestinationsBadRequest) GetPayload

func (*GetDestinationsBadRequest) IsClientError

func (o *GetDestinationsBadRequest) IsClientError() bool

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

func (*GetDestinationsBadRequest) IsCode

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

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

func (*GetDestinationsBadRequest) IsRedirect

func (o *GetDestinationsBadRequest) IsRedirect() bool

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

func (*GetDestinationsBadRequest) IsServerError

func (o *GetDestinationsBadRequest) IsServerError() bool

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

func (*GetDestinationsBadRequest) IsSuccess

func (o *GetDestinationsBadRequest) IsSuccess() bool

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

func (*GetDestinationsBadRequest) String

func (o *GetDestinationsBadRequest) String() string

type GetDestinationsConflict

type GetDestinationsConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

The resource specified conflicts with the current state.

func NewGetDestinationsConflict

func NewGetDestinationsConflict() *GetDestinationsConflict

NewGetDestinationsConflict creates a GetDestinationsConflict with default headers values

func (*GetDestinationsConflict) Error

func (o *GetDestinationsConflict) Error() string

func (*GetDestinationsConflict) GetPayload

func (*GetDestinationsConflict) IsClientError

func (o *GetDestinationsConflict) IsClientError() bool

IsClientError returns true when this get destinations conflict response has a 4xx status code

func (*GetDestinationsConflict) IsCode

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

IsCode returns true when this get destinations conflict response a status code equal to that given

func (*GetDestinationsConflict) IsRedirect

func (o *GetDestinationsConflict) IsRedirect() bool

IsRedirect returns true when this get destinations conflict response has a 3xx status code

func (*GetDestinationsConflict) IsServerError

func (o *GetDestinationsConflict) IsServerError() bool

IsServerError returns true when this get destinations conflict response has a 5xx status code

func (*GetDestinationsConflict) IsSuccess

func (o *GetDestinationsConflict) IsSuccess() bool

IsSuccess returns true when this get destinations conflict response has a 2xx status code

func (*GetDestinationsConflict) String

func (o *GetDestinationsConflict) String() string

type GetDestinationsForbidden

type GetDestinationsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

GetDestinationsForbidden 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 NewGetDestinationsForbidden

func NewGetDestinationsForbidden() *GetDestinationsForbidden

NewGetDestinationsForbidden creates a GetDestinationsForbidden with default headers values

func (*GetDestinationsForbidden) Error

func (o *GetDestinationsForbidden) Error() string

func (*GetDestinationsForbidden) GetPayload

func (*GetDestinationsForbidden) IsClientError

func (o *GetDestinationsForbidden) IsClientError() bool

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

func (*GetDestinationsForbidden) IsCode

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

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

func (*GetDestinationsForbidden) IsRedirect

func (o *GetDestinationsForbidden) IsRedirect() bool

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

func (*GetDestinationsForbidden) IsServerError

func (o *GetDestinationsForbidden) IsServerError() bool

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

func (*GetDestinationsForbidden) IsSuccess

func (o *GetDestinationsForbidden) IsSuccess() bool

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

func (*GetDestinationsForbidden) String

func (o *GetDestinationsForbidden) String() string

type GetDestinationsInternalServerError

type GetDestinationsInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

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

func NewGetDestinationsInternalServerError

func NewGetDestinationsInternalServerError() *GetDestinationsInternalServerError

NewGetDestinationsInternalServerError creates a GetDestinationsInternalServerError with default headers values

func (*GetDestinationsInternalServerError) Error

func (*GetDestinationsInternalServerError) GetPayload

func (*GetDestinationsInternalServerError) IsClientError

func (o *GetDestinationsInternalServerError) IsClientError() bool

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

func (*GetDestinationsInternalServerError) IsCode

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

func (*GetDestinationsInternalServerError) IsRedirect

func (o *GetDestinationsInternalServerError) IsRedirect() bool

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

func (*GetDestinationsInternalServerError) IsServerError

func (o *GetDestinationsInternalServerError) IsServerError() bool

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

func (*GetDestinationsInternalServerError) IsSuccess

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

func (*GetDestinationsInternalServerError) String

type GetDestinationsNotFound

type GetDestinationsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

The resource specified does not exist.

func NewGetDestinationsNotFound

func NewGetDestinationsNotFound() *GetDestinationsNotFound

NewGetDestinationsNotFound creates a GetDestinationsNotFound with default headers values

func (*GetDestinationsNotFound) Error

func (o *GetDestinationsNotFound) Error() string

func (*GetDestinationsNotFound) GetPayload

func (*GetDestinationsNotFound) IsClientError

func (o *GetDestinationsNotFound) IsClientError() bool

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

func (*GetDestinationsNotFound) IsCode

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

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

func (*GetDestinationsNotFound) IsRedirect

func (o *GetDestinationsNotFound) IsRedirect() bool

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

func (*GetDestinationsNotFound) IsServerError

func (o *GetDestinationsNotFound) IsServerError() bool

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

func (*GetDestinationsNotFound) IsSuccess

func (o *GetDestinationsNotFound) IsSuccess() bool

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

func (*GetDestinationsNotFound) String

func (o *GetDestinationsNotFound) String() string

type GetDestinationsOK

type GetDestinationsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

Success.

func NewGetDestinationsOK

func NewGetDestinationsOK() *GetDestinationsOK

NewGetDestinationsOK creates a GetDestinationsOK with default headers values

func (*GetDestinationsOK) Error

func (o *GetDestinationsOK) Error() string

func (*GetDestinationsOK) GetPayload

func (*GetDestinationsOK) IsClientError

func (o *GetDestinationsOK) IsClientError() bool

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

func (*GetDestinationsOK) IsCode

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

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

func (*GetDestinationsOK) IsRedirect

func (o *GetDestinationsOK) IsRedirect() bool

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

func (*GetDestinationsOK) IsServerError

func (o *GetDestinationsOK) IsServerError() bool

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

func (*GetDestinationsOK) IsSuccess

func (o *GetDestinationsOK) IsSuccess() bool

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

func (*GetDestinationsOK) String

func (o *GetDestinationsOK) String() string

type GetDestinationsParams

type GetDestinationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDestinationsParams contains all the parameters to send to the API endpoint

for the get destinations operation.

Typically these are written to a http.Request.

func NewGetDestinationsParams

func NewGetDestinationsParams() *GetDestinationsParams

NewGetDestinationsParams creates a new GetDestinationsParams 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 NewGetDestinationsParamsWithContext

func NewGetDestinationsParamsWithContext(ctx context.Context) *GetDestinationsParams

NewGetDestinationsParamsWithContext creates a new GetDestinationsParams object with the ability to set a context for a request.

func NewGetDestinationsParamsWithHTTPClient

func NewGetDestinationsParamsWithHTTPClient(client *http.Client) *GetDestinationsParams

NewGetDestinationsParamsWithHTTPClient creates a new GetDestinationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDestinationsParamsWithTimeout

func NewGetDestinationsParamsWithTimeout(timeout time.Duration) *GetDestinationsParams

NewGetDestinationsParamsWithTimeout creates a new GetDestinationsParams object with the ability to set a timeout on a request.

func (*GetDestinationsParams) SetContext

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

SetContext adds the context to the get destinations params

func (*GetDestinationsParams) SetDefaults

func (o *GetDestinationsParams) SetDefaults()

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

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

func (*GetDestinationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get destinations params

func (*GetDestinationsParams) SetTimeout

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

SetTimeout adds the timeout to the get destinations params

func (*GetDestinationsParams) WithContext

WithContext adds the context to the get destinations params

func (*GetDestinationsParams) WithDefaults

func (o *GetDestinationsParams) WithDefaults() *GetDestinationsParams

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

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

func (*GetDestinationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get destinations params

func (*GetDestinationsParams) WithTimeout

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

WithTimeout adds the timeout to the get destinations params

func (*GetDestinationsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDestinationsReader

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

GetDestinationsReader is a Reader for the GetDestinations structure.

func (*GetDestinationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDestinationsRequestEntityTooLarge

type GetDestinationsRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

The request size exceeded the maximum accepted size.

func NewGetDestinationsRequestEntityTooLarge

func NewGetDestinationsRequestEntityTooLarge() *GetDestinationsRequestEntityTooLarge

NewGetDestinationsRequestEntityTooLarge creates a GetDestinationsRequestEntityTooLarge with default headers values

func (*GetDestinationsRequestEntityTooLarge) Error

func (*GetDestinationsRequestEntityTooLarge) GetPayload

func (*GetDestinationsRequestEntityTooLarge) IsClientError

func (o *GetDestinationsRequestEntityTooLarge) IsClientError() bool

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

func (*GetDestinationsRequestEntityTooLarge) IsCode

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

func (*GetDestinationsRequestEntityTooLarge) IsRedirect

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

func (*GetDestinationsRequestEntityTooLarge) IsServerError

func (o *GetDestinationsRequestEntityTooLarge) IsServerError() bool

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

func (*GetDestinationsRequestEntityTooLarge) IsSuccess

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

func (*GetDestinationsRequestEntityTooLarge) String

type GetDestinationsServiceUnavailable

type GetDestinationsServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetDestinationsServiceUnavailable

func NewGetDestinationsServiceUnavailable() *GetDestinationsServiceUnavailable

NewGetDestinationsServiceUnavailable creates a GetDestinationsServiceUnavailable with default headers values

func (*GetDestinationsServiceUnavailable) Error

func (*GetDestinationsServiceUnavailable) GetPayload

func (*GetDestinationsServiceUnavailable) IsClientError

func (o *GetDestinationsServiceUnavailable) IsClientError() bool

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

func (*GetDestinationsServiceUnavailable) IsCode

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

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

func (*GetDestinationsServiceUnavailable) IsRedirect

func (o *GetDestinationsServiceUnavailable) IsRedirect() bool

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

func (*GetDestinationsServiceUnavailable) IsServerError

func (o *GetDestinationsServiceUnavailable) IsServerError() bool

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

func (*GetDestinationsServiceUnavailable) IsSuccess

func (o *GetDestinationsServiceUnavailable) IsSuccess() bool

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

func (*GetDestinationsServiceUnavailable) String

type GetDestinationsTooManyRequests

type GetDestinationsTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

The frequency of requests was greater than allowed.

func NewGetDestinationsTooManyRequests

func NewGetDestinationsTooManyRequests() *GetDestinationsTooManyRequests

NewGetDestinationsTooManyRequests creates a GetDestinationsTooManyRequests with default headers values

func (*GetDestinationsTooManyRequests) Error

func (*GetDestinationsTooManyRequests) GetPayload

func (*GetDestinationsTooManyRequests) IsClientError

func (o *GetDestinationsTooManyRequests) IsClientError() bool

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

func (*GetDestinationsTooManyRequests) IsCode

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

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

func (*GetDestinationsTooManyRequests) IsRedirect

func (o *GetDestinationsTooManyRequests) IsRedirect() bool

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

func (*GetDestinationsTooManyRequests) IsServerError

func (o *GetDestinationsTooManyRequests) IsServerError() bool

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

func (*GetDestinationsTooManyRequests) IsSuccess

func (o *GetDestinationsTooManyRequests) IsSuccess() bool

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

func (*GetDestinationsTooManyRequests) String

type GetDestinationsUnsupportedMediaType

type GetDestinationsUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetDestinationsResponse
}

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

The request payload is in an unsupported format.

func NewGetDestinationsUnsupportedMediaType

func NewGetDestinationsUnsupportedMediaType() *GetDestinationsUnsupportedMediaType

NewGetDestinationsUnsupportedMediaType creates a GetDestinationsUnsupportedMediaType with default headers values

func (*GetDestinationsUnsupportedMediaType) Error

func (*GetDestinationsUnsupportedMediaType) GetPayload

func (*GetDestinationsUnsupportedMediaType) IsClientError

func (o *GetDestinationsUnsupportedMediaType) IsClientError() bool

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

func (*GetDestinationsUnsupportedMediaType) IsCode

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

func (*GetDestinationsUnsupportedMediaType) IsRedirect

func (o *GetDestinationsUnsupportedMediaType) IsRedirect() bool

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

func (*GetDestinationsUnsupportedMediaType) IsServerError

func (o *GetDestinationsUnsupportedMediaType) IsServerError() bool

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

func (*GetDestinationsUnsupportedMediaType) IsSuccess

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

func (*GetDestinationsUnsupportedMediaType) String

type GetSubscriptionBadRequest

type GetSubscriptionBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetSubscriptionBadRequest

func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest

NewGetSubscriptionBadRequest creates a GetSubscriptionBadRequest with default headers values

func (*GetSubscriptionBadRequest) Error

func (o *GetSubscriptionBadRequest) Error() string

func (*GetSubscriptionBadRequest) GetPayload

func (*GetSubscriptionBadRequest) IsClientError

func (o *GetSubscriptionBadRequest) IsClientError() bool

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

func (*GetSubscriptionBadRequest) IsCode

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

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

func (*GetSubscriptionBadRequest) IsRedirect

func (o *GetSubscriptionBadRequest) IsRedirect() bool

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

func (*GetSubscriptionBadRequest) IsServerError

func (o *GetSubscriptionBadRequest) IsServerError() bool

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

func (*GetSubscriptionBadRequest) IsSuccess

func (o *GetSubscriptionBadRequest) IsSuccess() bool

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

func (*GetSubscriptionBadRequest) String

func (o *GetSubscriptionBadRequest) String() string

type GetSubscriptionByIDBadRequest

type GetSubscriptionByIDBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetSubscriptionByIDBadRequest

func NewGetSubscriptionByIDBadRequest() *GetSubscriptionByIDBadRequest

NewGetSubscriptionByIDBadRequest creates a GetSubscriptionByIDBadRequest with default headers values

func (*GetSubscriptionByIDBadRequest) Error

func (*GetSubscriptionByIDBadRequest) GetPayload

func (*GetSubscriptionByIDBadRequest) IsClientError

func (o *GetSubscriptionByIDBadRequest) IsClientError() bool

IsClientError returns true when this get subscription by Id bad request response has a 4xx status code

func (*GetSubscriptionByIDBadRequest) IsCode

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

IsCode returns true when this get subscription by Id bad request response a status code equal to that given

func (*GetSubscriptionByIDBadRequest) IsRedirect

func (o *GetSubscriptionByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get subscription by Id bad request response has a 3xx status code

func (*GetSubscriptionByIDBadRequest) IsServerError

func (o *GetSubscriptionByIDBadRequest) IsServerError() bool

IsServerError returns true when this get subscription by Id bad request response has a 5xx status code

func (*GetSubscriptionByIDBadRequest) IsSuccess

func (o *GetSubscriptionByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get subscription by Id bad request response has a 2xx status code

func (*GetSubscriptionByIDBadRequest) String

type GetSubscriptionByIDConflict

type GetSubscriptionByIDConflict struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

The resource specified conflicts with the current state.

func NewGetSubscriptionByIDConflict

func NewGetSubscriptionByIDConflict() *GetSubscriptionByIDConflict

NewGetSubscriptionByIDConflict creates a GetSubscriptionByIDConflict with default headers values

func (*GetSubscriptionByIDConflict) Error

func (*GetSubscriptionByIDConflict) GetPayload

func (*GetSubscriptionByIDConflict) IsClientError

func (o *GetSubscriptionByIDConflict) IsClientError() bool

IsClientError returns true when this get subscription by Id conflict response has a 4xx status code

func (*GetSubscriptionByIDConflict) IsCode

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

IsCode returns true when this get subscription by Id conflict response a status code equal to that given

func (*GetSubscriptionByIDConflict) IsRedirect

func (o *GetSubscriptionByIDConflict) IsRedirect() bool

IsRedirect returns true when this get subscription by Id conflict response has a 3xx status code

func (*GetSubscriptionByIDConflict) IsServerError

func (o *GetSubscriptionByIDConflict) IsServerError() bool

IsServerError returns true when this get subscription by Id conflict response has a 5xx status code

func (*GetSubscriptionByIDConflict) IsSuccess

func (o *GetSubscriptionByIDConflict) IsSuccess() bool

IsSuccess returns true when this get subscription by Id conflict response has a 2xx status code

func (*GetSubscriptionByIDConflict) String

func (o *GetSubscriptionByIDConflict) String() string

type GetSubscriptionByIDForbidden

type GetSubscriptionByIDForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

GetSubscriptionByIDForbidden 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 NewGetSubscriptionByIDForbidden

func NewGetSubscriptionByIDForbidden() *GetSubscriptionByIDForbidden

NewGetSubscriptionByIDForbidden creates a GetSubscriptionByIDForbidden with default headers values

func (*GetSubscriptionByIDForbidden) Error

func (*GetSubscriptionByIDForbidden) GetPayload

func (*GetSubscriptionByIDForbidden) IsClientError

func (o *GetSubscriptionByIDForbidden) IsClientError() bool

IsClientError returns true when this get subscription by Id forbidden response has a 4xx status code

func (*GetSubscriptionByIDForbidden) IsCode

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

IsCode returns true when this get subscription by Id forbidden response a status code equal to that given

func (*GetSubscriptionByIDForbidden) IsRedirect

func (o *GetSubscriptionByIDForbidden) IsRedirect() bool

IsRedirect returns true when this get subscription by Id forbidden response has a 3xx status code

func (*GetSubscriptionByIDForbidden) IsServerError

func (o *GetSubscriptionByIDForbidden) IsServerError() bool

IsServerError returns true when this get subscription by Id forbidden response has a 5xx status code

func (*GetSubscriptionByIDForbidden) IsSuccess

func (o *GetSubscriptionByIDForbidden) IsSuccess() bool

IsSuccess returns true when this get subscription by Id forbidden response has a 2xx status code

func (*GetSubscriptionByIDForbidden) String

type GetSubscriptionByIDInternalServerError

type GetSubscriptionByIDInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

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

func NewGetSubscriptionByIDInternalServerError

func NewGetSubscriptionByIDInternalServerError() *GetSubscriptionByIDInternalServerError

NewGetSubscriptionByIDInternalServerError creates a GetSubscriptionByIDInternalServerError with default headers values

func (*GetSubscriptionByIDInternalServerError) Error

func (*GetSubscriptionByIDInternalServerError) GetPayload

func (*GetSubscriptionByIDInternalServerError) IsClientError

func (o *GetSubscriptionByIDInternalServerError) IsClientError() bool

IsClientError returns true when this get subscription by Id internal server error response has a 4xx status code

func (*GetSubscriptionByIDInternalServerError) IsCode

IsCode returns true when this get subscription by Id internal server error response a status code equal to that given

func (*GetSubscriptionByIDInternalServerError) IsRedirect

IsRedirect returns true when this get subscription by Id internal server error response has a 3xx status code

func (*GetSubscriptionByIDInternalServerError) IsServerError

func (o *GetSubscriptionByIDInternalServerError) IsServerError() bool

IsServerError returns true when this get subscription by Id internal server error response has a 5xx status code

func (*GetSubscriptionByIDInternalServerError) IsSuccess

IsSuccess returns true when this get subscription by Id internal server error response has a 2xx status code

func (*GetSubscriptionByIDInternalServerError) String

type GetSubscriptionByIDNotFound

type GetSubscriptionByIDNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

The resource specified does not exist.

func NewGetSubscriptionByIDNotFound

func NewGetSubscriptionByIDNotFound() *GetSubscriptionByIDNotFound

NewGetSubscriptionByIDNotFound creates a GetSubscriptionByIDNotFound with default headers values

func (*GetSubscriptionByIDNotFound) Error

func (*GetSubscriptionByIDNotFound) GetPayload

func (*GetSubscriptionByIDNotFound) IsClientError

func (o *GetSubscriptionByIDNotFound) IsClientError() bool

IsClientError returns true when this get subscription by Id not found response has a 4xx status code

func (*GetSubscriptionByIDNotFound) IsCode

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

IsCode returns true when this get subscription by Id not found response a status code equal to that given

func (*GetSubscriptionByIDNotFound) IsRedirect

func (o *GetSubscriptionByIDNotFound) IsRedirect() bool

IsRedirect returns true when this get subscription by Id not found response has a 3xx status code

func (*GetSubscriptionByIDNotFound) IsServerError

func (o *GetSubscriptionByIDNotFound) IsServerError() bool

IsServerError returns true when this get subscription by Id not found response has a 5xx status code

func (*GetSubscriptionByIDNotFound) IsSuccess

func (o *GetSubscriptionByIDNotFound) IsSuccess() bool

IsSuccess returns true when this get subscription by Id not found response has a 2xx status code

func (*GetSubscriptionByIDNotFound) String

func (o *GetSubscriptionByIDNotFound) String() string

type GetSubscriptionByIDOK

type GetSubscriptionByIDOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

Success.

func NewGetSubscriptionByIDOK

func NewGetSubscriptionByIDOK() *GetSubscriptionByIDOK

NewGetSubscriptionByIDOK creates a GetSubscriptionByIDOK with default headers values

func (*GetSubscriptionByIDOK) Error

func (o *GetSubscriptionByIDOK) Error() string

func (*GetSubscriptionByIDOK) GetPayload

func (*GetSubscriptionByIDOK) IsClientError

func (o *GetSubscriptionByIDOK) IsClientError() bool

IsClientError returns true when this get subscription by Id o k response has a 4xx status code

func (*GetSubscriptionByIDOK) IsCode

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

IsCode returns true when this get subscription by Id o k response a status code equal to that given

func (*GetSubscriptionByIDOK) IsRedirect

func (o *GetSubscriptionByIDOK) IsRedirect() bool

IsRedirect returns true when this get subscription by Id o k response has a 3xx status code

func (*GetSubscriptionByIDOK) IsServerError

func (o *GetSubscriptionByIDOK) IsServerError() bool

IsServerError returns true when this get subscription by Id o k response has a 5xx status code

func (*GetSubscriptionByIDOK) IsSuccess

func (o *GetSubscriptionByIDOK) IsSuccess() bool

IsSuccess returns true when this get subscription by Id o k response has a 2xx status code

func (*GetSubscriptionByIDOK) String

func (o *GetSubscriptionByIDOK) String() string

type GetSubscriptionByIDParams

type GetSubscriptionByIDParams struct {

	/* NotificationType.

	    The type of notification.

	For more information about notification types, refer to [the Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
	*/
	NotificationType string

	/* SubscriptionID.

	   The identifier for the subscription that you want to get.
	*/
	SubscriptionID string

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

GetSubscriptionByIDParams contains all the parameters to send to the API endpoint

for the get subscription by Id operation.

Typically these are written to a http.Request.

func NewGetSubscriptionByIDParams

func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams

NewGetSubscriptionByIDParams creates a new GetSubscriptionByIDParams 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 NewGetSubscriptionByIDParamsWithContext

func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithContext creates a new GetSubscriptionByIDParams object with the ability to set a context for a request.

func NewGetSubscriptionByIDParamsWithHTTPClient

func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithHTTPClient creates a new GetSubscriptionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubscriptionByIDParamsWithTimeout

func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams

NewGetSubscriptionByIDParamsWithTimeout creates a new GetSubscriptionByIDParams object with the ability to set a timeout on a request.

func (*GetSubscriptionByIDParams) SetContext

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

SetContext adds the context to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetDefaults

func (o *GetSubscriptionByIDParams) SetDefaults()

SetDefaults hydrates default values in the get subscription by Id params (not the query body).

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

func (*GetSubscriptionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetNotificationType

func (o *GetSubscriptionByIDParams) SetNotificationType(notificationType string)

SetNotificationType adds the notificationType to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetSubscriptionID

func (o *GetSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the get subscription by Id params

func (*GetSubscriptionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithContext

WithContext adds the context to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithDefaults

WithDefaults hydrates default values in the get subscription by Id params (not the query body).

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

func (*GetSubscriptionByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithNotificationType

func (o *GetSubscriptionByIDParams) WithNotificationType(notificationType string) *GetSubscriptionByIDParams

WithNotificationType adds the notificationType to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithSubscriptionID

func (o *GetSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *GetSubscriptionByIDParams

WithSubscriptionID adds the subscriptionID to the get subscription by Id params

func (*GetSubscriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the get subscription by Id params

func (*GetSubscriptionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionByIDReader

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

GetSubscriptionByIDReader is a Reader for the GetSubscriptionByID structure.

func (*GetSubscriptionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionByIDRequestEntityTooLarge

type GetSubscriptionByIDRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

The request size exceeded the maximum accepted size.

func NewGetSubscriptionByIDRequestEntityTooLarge

func NewGetSubscriptionByIDRequestEntityTooLarge() *GetSubscriptionByIDRequestEntityTooLarge

NewGetSubscriptionByIDRequestEntityTooLarge creates a GetSubscriptionByIDRequestEntityTooLarge with default headers values

func (*GetSubscriptionByIDRequestEntityTooLarge) Error

func (*GetSubscriptionByIDRequestEntityTooLarge) GetPayload

func (*GetSubscriptionByIDRequestEntityTooLarge) IsClientError

IsClientError returns true when this get subscription by Id request entity too large response has a 4xx status code

func (*GetSubscriptionByIDRequestEntityTooLarge) IsCode

IsCode returns true when this get subscription by Id request entity too large response a status code equal to that given

func (*GetSubscriptionByIDRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get subscription by Id request entity too large response has a 3xx status code

func (*GetSubscriptionByIDRequestEntityTooLarge) IsServerError

IsServerError returns true when this get subscription by Id request entity too large response has a 5xx status code

func (*GetSubscriptionByIDRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get subscription by Id request entity too large response has a 2xx status code

func (*GetSubscriptionByIDRequestEntityTooLarge) String

type GetSubscriptionByIDServiceUnavailable

type GetSubscriptionByIDServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetSubscriptionByIDServiceUnavailable

func NewGetSubscriptionByIDServiceUnavailable() *GetSubscriptionByIDServiceUnavailable

NewGetSubscriptionByIDServiceUnavailable creates a GetSubscriptionByIDServiceUnavailable with default headers values

func (*GetSubscriptionByIDServiceUnavailable) Error

func (*GetSubscriptionByIDServiceUnavailable) GetPayload

func (*GetSubscriptionByIDServiceUnavailable) IsClientError

func (o *GetSubscriptionByIDServiceUnavailable) IsClientError() bool

IsClientError returns true when this get subscription by Id service unavailable response has a 4xx status code

func (*GetSubscriptionByIDServiceUnavailable) IsCode

IsCode returns true when this get subscription by Id service unavailable response a status code equal to that given

func (*GetSubscriptionByIDServiceUnavailable) IsRedirect

IsRedirect returns true when this get subscription by Id service unavailable response has a 3xx status code

func (*GetSubscriptionByIDServiceUnavailable) IsServerError

func (o *GetSubscriptionByIDServiceUnavailable) IsServerError() bool

IsServerError returns true when this get subscription by Id service unavailable response has a 5xx status code

func (*GetSubscriptionByIDServiceUnavailable) IsSuccess

IsSuccess returns true when this get subscription by Id service unavailable response has a 2xx status code

func (*GetSubscriptionByIDServiceUnavailable) String

type GetSubscriptionByIDTooManyRequests

type GetSubscriptionByIDTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

The frequency of requests was greater than allowed.

func NewGetSubscriptionByIDTooManyRequests

func NewGetSubscriptionByIDTooManyRequests() *GetSubscriptionByIDTooManyRequests

NewGetSubscriptionByIDTooManyRequests creates a GetSubscriptionByIDTooManyRequests with default headers values

func (*GetSubscriptionByIDTooManyRequests) Error

func (*GetSubscriptionByIDTooManyRequests) GetPayload

func (*GetSubscriptionByIDTooManyRequests) IsClientError

func (o *GetSubscriptionByIDTooManyRequests) IsClientError() bool

IsClientError returns true when this get subscription by Id too many requests response has a 4xx status code

func (*GetSubscriptionByIDTooManyRequests) IsCode

IsCode returns true when this get subscription by Id too many requests response a status code equal to that given

func (*GetSubscriptionByIDTooManyRequests) IsRedirect

func (o *GetSubscriptionByIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get subscription by Id too many requests response has a 3xx status code

func (*GetSubscriptionByIDTooManyRequests) IsServerError

func (o *GetSubscriptionByIDTooManyRequests) IsServerError() bool

IsServerError returns true when this get subscription by Id too many requests response has a 5xx status code

func (*GetSubscriptionByIDTooManyRequests) IsSuccess

IsSuccess returns true when this get subscription by Id too many requests response has a 2xx status code

func (*GetSubscriptionByIDTooManyRequests) String

type GetSubscriptionByIDUnsupportedMediaType

type GetSubscriptionByIDUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionByIDResponse
}

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

The request payload is in an unsupported format.

func NewGetSubscriptionByIDUnsupportedMediaType

func NewGetSubscriptionByIDUnsupportedMediaType() *GetSubscriptionByIDUnsupportedMediaType

NewGetSubscriptionByIDUnsupportedMediaType creates a GetSubscriptionByIDUnsupportedMediaType with default headers values

func (*GetSubscriptionByIDUnsupportedMediaType) Error

func (*GetSubscriptionByIDUnsupportedMediaType) GetPayload

func (*GetSubscriptionByIDUnsupportedMediaType) IsClientError

func (o *GetSubscriptionByIDUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get subscription by Id unsupported media type response has a 4xx status code

func (*GetSubscriptionByIDUnsupportedMediaType) IsCode

IsCode returns true when this get subscription by Id unsupported media type response a status code equal to that given

func (*GetSubscriptionByIDUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get subscription by Id unsupported media type response has a 3xx status code

func (*GetSubscriptionByIDUnsupportedMediaType) IsServerError

func (o *GetSubscriptionByIDUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get subscription by Id unsupported media type response has a 5xx status code

func (*GetSubscriptionByIDUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get subscription by Id unsupported media type response has a 2xx status code

func (*GetSubscriptionByIDUnsupportedMediaType) String

type GetSubscriptionForbidden

type GetSubscriptionForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

GetSubscriptionForbidden 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 NewGetSubscriptionForbidden

func NewGetSubscriptionForbidden() *GetSubscriptionForbidden

NewGetSubscriptionForbidden creates a GetSubscriptionForbidden with default headers values

func (*GetSubscriptionForbidden) Error

func (o *GetSubscriptionForbidden) Error() string

func (*GetSubscriptionForbidden) GetPayload

func (*GetSubscriptionForbidden) IsClientError

func (o *GetSubscriptionForbidden) IsClientError() bool

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

func (*GetSubscriptionForbidden) IsCode

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

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

func (*GetSubscriptionForbidden) IsRedirect

func (o *GetSubscriptionForbidden) IsRedirect() bool

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

func (*GetSubscriptionForbidden) IsServerError

func (o *GetSubscriptionForbidden) IsServerError() bool

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

func (*GetSubscriptionForbidden) IsSuccess

func (o *GetSubscriptionForbidden) IsSuccess() bool

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

func (*GetSubscriptionForbidden) String

func (o *GetSubscriptionForbidden) String() string

type GetSubscriptionInternalServerError

type GetSubscriptionInternalServerError struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

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

func NewGetSubscriptionInternalServerError

func NewGetSubscriptionInternalServerError() *GetSubscriptionInternalServerError

NewGetSubscriptionInternalServerError creates a GetSubscriptionInternalServerError with default headers values

func (*GetSubscriptionInternalServerError) Error

func (*GetSubscriptionInternalServerError) GetPayload

func (*GetSubscriptionInternalServerError) IsClientError

func (o *GetSubscriptionInternalServerError) IsClientError() bool

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

func (*GetSubscriptionInternalServerError) IsCode

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

func (*GetSubscriptionInternalServerError) IsRedirect

func (o *GetSubscriptionInternalServerError) IsRedirect() bool

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

func (*GetSubscriptionInternalServerError) IsServerError

func (o *GetSubscriptionInternalServerError) IsServerError() bool

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

func (*GetSubscriptionInternalServerError) IsSuccess

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

func (*GetSubscriptionInternalServerError) String

type GetSubscriptionNotFound

type GetSubscriptionNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

The resource specified does not exist.

func NewGetSubscriptionNotFound

func NewGetSubscriptionNotFound() *GetSubscriptionNotFound

NewGetSubscriptionNotFound creates a GetSubscriptionNotFound with default headers values

func (*GetSubscriptionNotFound) Error

func (o *GetSubscriptionNotFound) Error() string

func (*GetSubscriptionNotFound) GetPayload

func (*GetSubscriptionNotFound) IsClientError

func (o *GetSubscriptionNotFound) IsClientError() bool

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

func (*GetSubscriptionNotFound) IsCode

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

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

func (*GetSubscriptionNotFound) IsRedirect

func (o *GetSubscriptionNotFound) IsRedirect() bool

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

func (*GetSubscriptionNotFound) IsServerError

func (o *GetSubscriptionNotFound) IsServerError() bool

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

func (*GetSubscriptionNotFound) IsSuccess

func (o *GetSubscriptionNotFound) IsSuccess() bool

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

func (*GetSubscriptionNotFound) String

func (o *GetSubscriptionNotFound) String() string

type GetSubscriptionOK

type GetSubscriptionOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

Success.

func NewGetSubscriptionOK

func NewGetSubscriptionOK() *GetSubscriptionOK

NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values

func (*GetSubscriptionOK) Error

func (o *GetSubscriptionOK) Error() string

func (*GetSubscriptionOK) GetPayload

func (*GetSubscriptionOK) IsClientError

func (o *GetSubscriptionOK) IsClientError() bool

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

func (*GetSubscriptionOK) IsCode

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

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

func (*GetSubscriptionOK) IsRedirect

func (o *GetSubscriptionOK) IsRedirect() bool

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

func (*GetSubscriptionOK) IsServerError

func (o *GetSubscriptionOK) IsServerError() bool

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

func (*GetSubscriptionOK) IsSuccess

func (o *GetSubscriptionOK) IsSuccess() bool

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

func (*GetSubscriptionOK) String

func (o *GetSubscriptionOK) String() string

type GetSubscriptionParams

type GetSubscriptionParams struct {

	/* NotificationType.

	    The type of notification.

	For more information about notification types, refer to [the Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
	*/
	NotificationType string

	/* PayloadVersion.

	   The version of the payload object to be used in the notification.
	*/
	PayloadVersion *string

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

GetSubscriptionParams contains all the parameters to send to the API endpoint

for the get subscription operation.

Typically these are written to a http.Request.

func NewGetSubscriptionParams

func NewGetSubscriptionParams() *GetSubscriptionParams

NewGetSubscriptionParams creates a new GetSubscriptionParams 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 NewGetSubscriptionParamsWithContext

func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams

NewGetSubscriptionParamsWithContext creates a new GetSubscriptionParams object with the ability to set a context for a request.

func NewGetSubscriptionParamsWithHTTPClient

func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams

NewGetSubscriptionParamsWithHTTPClient creates a new GetSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubscriptionParamsWithTimeout

func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams

NewGetSubscriptionParamsWithTimeout creates a new GetSubscriptionParams object with the ability to set a timeout on a request.

func (*GetSubscriptionParams) SetContext

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

SetContext adds the context to the get subscription params

func (*GetSubscriptionParams) SetDefaults

func (o *GetSubscriptionParams) SetDefaults()

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

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

func (*GetSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) SetNotificationType

func (o *GetSubscriptionParams) SetNotificationType(notificationType string)

SetNotificationType adds the notificationType to the get subscription params

func (*GetSubscriptionParams) SetPayloadVersion added in v0.3.0

func (o *GetSubscriptionParams) SetPayloadVersion(payloadVersion *string)

SetPayloadVersion adds the payloadVersion to the get subscription params

func (*GetSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) WithContext

WithContext adds the context to the get subscription params

func (*GetSubscriptionParams) WithDefaults

func (o *GetSubscriptionParams) WithDefaults() *GetSubscriptionParams

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

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

func (*GetSubscriptionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get subscription params

func (*GetSubscriptionParams) WithNotificationType

func (o *GetSubscriptionParams) WithNotificationType(notificationType string) *GetSubscriptionParams

WithNotificationType adds the notificationType to the get subscription params

func (*GetSubscriptionParams) WithPayloadVersion added in v0.3.0

func (o *GetSubscriptionParams) WithPayloadVersion(payloadVersion *string) *GetSubscriptionParams

WithPayloadVersion adds the payloadVersion to the get subscription params

func (*GetSubscriptionParams) WithTimeout

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

WithTimeout adds the timeout to the get subscription params

func (*GetSubscriptionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSubscriptionReader

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

GetSubscriptionReader is a Reader for the GetSubscription structure.

func (*GetSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionRequestEntityTooLarge

type GetSubscriptionRequestEntityTooLarge struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

The request size exceeded the maximum accepted size.

func NewGetSubscriptionRequestEntityTooLarge

func NewGetSubscriptionRequestEntityTooLarge() *GetSubscriptionRequestEntityTooLarge

NewGetSubscriptionRequestEntityTooLarge creates a GetSubscriptionRequestEntityTooLarge with default headers values

func (*GetSubscriptionRequestEntityTooLarge) Error

func (*GetSubscriptionRequestEntityTooLarge) GetPayload

func (*GetSubscriptionRequestEntityTooLarge) IsClientError

func (o *GetSubscriptionRequestEntityTooLarge) IsClientError() bool

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

func (*GetSubscriptionRequestEntityTooLarge) IsCode

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

func (*GetSubscriptionRequestEntityTooLarge) IsRedirect

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

func (*GetSubscriptionRequestEntityTooLarge) IsServerError

func (o *GetSubscriptionRequestEntityTooLarge) IsServerError() bool

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

func (*GetSubscriptionRequestEntityTooLarge) IsSuccess

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

func (*GetSubscriptionRequestEntityTooLarge) String

type GetSubscriptionServiceUnavailable

type GetSubscriptionServiceUnavailable struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetSubscriptionServiceUnavailable

func NewGetSubscriptionServiceUnavailable() *GetSubscriptionServiceUnavailable

NewGetSubscriptionServiceUnavailable creates a GetSubscriptionServiceUnavailable with default headers values

func (*GetSubscriptionServiceUnavailable) Error

func (*GetSubscriptionServiceUnavailable) GetPayload

func (*GetSubscriptionServiceUnavailable) IsClientError

func (o *GetSubscriptionServiceUnavailable) IsClientError() bool

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

func (*GetSubscriptionServiceUnavailable) IsCode

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

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

func (*GetSubscriptionServiceUnavailable) IsRedirect

func (o *GetSubscriptionServiceUnavailable) IsRedirect() bool

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

func (*GetSubscriptionServiceUnavailable) IsServerError

func (o *GetSubscriptionServiceUnavailable) IsServerError() bool

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

func (*GetSubscriptionServiceUnavailable) IsSuccess

func (o *GetSubscriptionServiceUnavailable) IsSuccess() bool

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

func (*GetSubscriptionServiceUnavailable) String

type GetSubscriptionTooManyRequests

type GetSubscriptionTooManyRequests struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

The frequency of requests was greater than allowed.

func NewGetSubscriptionTooManyRequests

func NewGetSubscriptionTooManyRequests() *GetSubscriptionTooManyRequests

NewGetSubscriptionTooManyRequests creates a GetSubscriptionTooManyRequests with default headers values

func (*GetSubscriptionTooManyRequests) Error

func (*GetSubscriptionTooManyRequests) GetPayload

func (*GetSubscriptionTooManyRequests) IsClientError

func (o *GetSubscriptionTooManyRequests) IsClientError() bool

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

func (*GetSubscriptionTooManyRequests) IsCode

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

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

func (*GetSubscriptionTooManyRequests) IsRedirect

func (o *GetSubscriptionTooManyRequests) IsRedirect() bool

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

func (*GetSubscriptionTooManyRequests) IsServerError

func (o *GetSubscriptionTooManyRequests) IsServerError() bool

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

func (*GetSubscriptionTooManyRequests) IsSuccess

func (o *GetSubscriptionTooManyRequests) IsSuccess() bool

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

func (*GetSubscriptionTooManyRequests) String

type GetSubscriptionUnsupportedMediaType

type GetSubscriptionUnsupportedMediaType struct {

	/* Your rate limit (requests per second) for this operation.
	_Note:_ For this status code, the rate limit header is deprecated and no longer returned.
	*/
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *notifications_models.GetSubscriptionResponse
}

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

The request payload is in an unsupported format.

func NewGetSubscriptionUnsupportedMediaType

func NewGetSubscriptionUnsupportedMediaType() *GetSubscriptionUnsupportedMediaType

NewGetSubscriptionUnsupportedMediaType creates a GetSubscriptionUnsupportedMediaType with default headers values

func (*GetSubscriptionUnsupportedMediaType) Error

func (*GetSubscriptionUnsupportedMediaType) GetPayload

func (*GetSubscriptionUnsupportedMediaType) IsClientError

func (o *GetSubscriptionUnsupportedMediaType) IsClientError() bool

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

func (*GetSubscriptionUnsupportedMediaType) IsCode

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

func (*GetSubscriptionUnsupportedMediaType) IsRedirect

func (o *GetSubscriptionUnsupportedMediaType) IsRedirect() bool

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

func (*GetSubscriptionUnsupportedMediaType) IsServerError

func (o *GetSubscriptionUnsupportedMediaType) IsServerError() bool

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

func (*GetSubscriptionUnsupportedMediaType) IsSuccess

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

func (*GetSubscriptionUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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