Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDestination(params *CreateDestinationParams, opts ...ClientOption) (*CreateDestinationOK, error)
- func (a *Client) CreateSubscription(params *CreateSubscriptionParams, opts ...ClientOption) (*CreateSubscriptionOK, error)
- func (a *Client) DeleteDestination(params *DeleteDestinationParams, opts ...ClientOption) (*DeleteDestinationOK, error)
- func (a *Client) DeleteSubscriptionByID(params *DeleteSubscriptionByIDParams, opts ...ClientOption) (*DeleteSubscriptionByIDOK, error)
- func (a *Client) GetDestination(params *GetDestinationParams, opts ...ClientOption) (*GetDestinationOK, error)
- func (a *Client) GetDestinations(params *GetDestinationsParams, opts ...ClientOption) (*GetDestinationsOK, error)
- func (a *Client) GetSubscription(params *GetSubscriptionParams, opts ...ClientOption) (*GetSubscriptionOK, error)
- func (a *Client) GetSubscriptionByID(params *GetSubscriptionByIDParams, opts ...ClientOption) (*GetSubscriptionByIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDestinationBadRequest
- func (o *CreateDestinationBadRequest) Error() string
- func (o *CreateDestinationBadRequest) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationBadRequest) IsClientError() bool
- func (o *CreateDestinationBadRequest) IsCode(code int) bool
- func (o *CreateDestinationBadRequest) IsRedirect() bool
- func (o *CreateDestinationBadRequest) IsServerError() bool
- func (o *CreateDestinationBadRequest) IsSuccess() bool
- func (o *CreateDestinationBadRequest) String() string
- type CreateDestinationConflict
- func (o *CreateDestinationConflict) Error() string
- func (o *CreateDestinationConflict) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationConflict) IsClientError() bool
- func (o *CreateDestinationConflict) IsCode(code int) bool
- func (o *CreateDestinationConflict) IsRedirect() bool
- func (o *CreateDestinationConflict) IsServerError() bool
- func (o *CreateDestinationConflict) IsSuccess() bool
- func (o *CreateDestinationConflict) String() string
- type CreateDestinationForbidden
- func (o *CreateDestinationForbidden) Error() string
- func (o *CreateDestinationForbidden) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationForbidden) IsClientError() bool
- func (o *CreateDestinationForbidden) IsCode(code int) bool
- func (o *CreateDestinationForbidden) IsRedirect() bool
- func (o *CreateDestinationForbidden) IsServerError() bool
- func (o *CreateDestinationForbidden) IsSuccess() bool
- func (o *CreateDestinationForbidden) String() string
- type CreateDestinationInternalServerError
- func (o *CreateDestinationInternalServerError) Error() string
- func (o *CreateDestinationInternalServerError) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationInternalServerError) IsClientError() bool
- func (o *CreateDestinationInternalServerError) IsCode(code int) bool
- func (o *CreateDestinationInternalServerError) IsRedirect() bool
- func (o *CreateDestinationInternalServerError) IsServerError() bool
- func (o *CreateDestinationInternalServerError) IsSuccess() bool
- func (o *CreateDestinationInternalServerError) String() string
- type CreateDestinationNotFound
- func (o *CreateDestinationNotFound) Error() string
- func (o *CreateDestinationNotFound) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationNotFound) IsClientError() bool
- func (o *CreateDestinationNotFound) IsCode(code int) bool
- func (o *CreateDestinationNotFound) IsRedirect() bool
- func (o *CreateDestinationNotFound) IsServerError() bool
- func (o *CreateDestinationNotFound) IsSuccess() bool
- func (o *CreateDestinationNotFound) String() string
- type CreateDestinationOK
- func (o *CreateDestinationOK) Error() string
- func (o *CreateDestinationOK) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationOK) IsClientError() bool
- func (o *CreateDestinationOK) IsCode(code int) bool
- func (o *CreateDestinationOK) IsRedirect() bool
- func (o *CreateDestinationOK) IsServerError() bool
- func (o *CreateDestinationOK) IsSuccess() bool
- func (o *CreateDestinationOK) String() string
- type CreateDestinationParams
- func NewCreateDestinationParams() *CreateDestinationParams
- func NewCreateDestinationParamsWithContext(ctx context.Context) *CreateDestinationParams
- func NewCreateDestinationParamsWithHTTPClient(client *http.Client) *CreateDestinationParams
- func NewCreateDestinationParamsWithTimeout(timeout time.Duration) *CreateDestinationParams
- func (o *CreateDestinationParams) SetBody(body *notifications_models.CreateDestinationRequest)
- func (o *CreateDestinationParams) SetContext(ctx context.Context)
- func (o *CreateDestinationParams) SetDefaults()
- func (o *CreateDestinationParams) SetHTTPClient(client *http.Client)
- func (o *CreateDestinationParams) SetTimeout(timeout time.Duration)
- func (o *CreateDestinationParams) WithBody(body *notifications_models.CreateDestinationRequest) *CreateDestinationParams
- func (o *CreateDestinationParams) WithContext(ctx context.Context) *CreateDestinationParams
- func (o *CreateDestinationParams) WithDefaults() *CreateDestinationParams
- func (o *CreateDestinationParams) WithHTTPClient(client *http.Client) *CreateDestinationParams
- func (o *CreateDestinationParams) WithTimeout(timeout time.Duration) *CreateDestinationParams
- func (o *CreateDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDestinationReader
- type CreateDestinationRequestEntityTooLarge
- func (o *CreateDestinationRequestEntityTooLarge) Error() string
- func (o *CreateDestinationRequestEntityTooLarge) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationRequestEntityTooLarge) IsClientError() bool
- func (o *CreateDestinationRequestEntityTooLarge) IsCode(code int) bool
- func (o *CreateDestinationRequestEntityTooLarge) IsRedirect() bool
- func (o *CreateDestinationRequestEntityTooLarge) IsServerError() bool
- func (o *CreateDestinationRequestEntityTooLarge) IsSuccess() bool
- func (o *CreateDestinationRequestEntityTooLarge) String() string
- type CreateDestinationServiceUnavailable
- func (o *CreateDestinationServiceUnavailable) Error() string
- func (o *CreateDestinationServiceUnavailable) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationServiceUnavailable) IsClientError() bool
- func (o *CreateDestinationServiceUnavailable) IsCode(code int) bool
- func (o *CreateDestinationServiceUnavailable) IsRedirect() bool
- func (o *CreateDestinationServiceUnavailable) IsServerError() bool
- func (o *CreateDestinationServiceUnavailable) IsSuccess() bool
- func (o *CreateDestinationServiceUnavailable) String() string
- type CreateDestinationTooManyRequests
- func (o *CreateDestinationTooManyRequests) Error() string
- func (o *CreateDestinationTooManyRequests) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationTooManyRequests) IsClientError() bool
- func (o *CreateDestinationTooManyRequests) IsCode(code int) bool
- func (o *CreateDestinationTooManyRequests) IsRedirect() bool
- func (o *CreateDestinationTooManyRequests) IsServerError() bool
- func (o *CreateDestinationTooManyRequests) IsSuccess() bool
- func (o *CreateDestinationTooManyRequests) String() string
- type CreateDestinationUnsupportedMediaType
- func (o *CreateDestinationUnsupportedMediaType) Error() string
- func (o *CreateDestinationUnsupportedMediaType) GetPayload() *notifications_models.CreateDestinationResponse
- func (o *CreateDestinationUnsupportedMediaType) IsClientError() bool
- func (o *CreateDestinationUnsupportedMediaType) IsCode(code int) bool
- func (o *CreateDestinationUnsupportedMediaType) IsRedirect() bool
- func (o *CreateDestinationUnsupportedMediaType) IsServerError() bool
- func (o *CreateDestinationUnsupportedMediaType) IsSuccess() bool
- func (o *CreateDestinationUnsupportedMediaType) String() string
- type CreateSubscriptionBadRequest
- func (o *CreateSubscriptionBadRequest) Error() string
- func (o *CreateSubscriptionBadRequest) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionBadRequest) IsClientError() bool
- func (o *CreateSubscriptionBadRequest) IsCode(code int) bool
- func (o *CreateSubscriptionBadRequest) IsRedirect() bool
- func (o *CreateSubscriptionBadRequest) IsServerError() bool
- func (o *CreateSubscriptionBadRequest) IsSuccess() bool
- func (o *CreateSubscriptionBadRequest) String() string
- type CreateSubscriptionConflict
- func (o *CreateSubscriptionConflict) Error() string
- func (o *CreateSubscriptionConflict) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionConflict) IsClientError() bool
- func (o *CreateSubscriptionConflict) IsCode(code int) bool
- func (o *CreateSubscriptionConflict) IsRedirect() bool
- func (o *CreateSubscriptionConflict) IsServerError() bool
- func (o *CreateSubscriptionConflict) IsSuccess() bool
- func (o *CreateSubscriptionConflict) String() string
- type CreateSubscriptionForbidden
- func (o *CreateSubscriptionForbidden) Error() string
- func (o *CreateSubscriptionForbidden) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionForbidden) IsClientError() bool
- func (o *CreateSubscriptionForbidden) IsCode(code int) bool
- func (o *CreateSubscriptionForbidden) IsRedirect() bool
- func (o *CreateSubscriptionForbidden) IsServerError() bool
- func (o *CreateSubscriptionForbidden) IsSuccess() bool
- func (o *CreateSubscriptionForbidden) String() string
- type CreateSubscriptionInternalServerError
- func (o *CreateSubscriptionInternalServerError) Error() string
- func (o *CreateSubscriptionInternalServerError) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionInternalServerError) IsClientError() bool
- func (o *CreateSubscriptionInternalServerError) IsCode(code int) bool
- func (o *CreateSubscriptionInternalServerError) IsRedirect() bool
- func (o *CreateSubscriptionInternalServerError) IsServerError() bool
- func (o *CreateSubscriptionInternalServerError) IsSuccess() bool
- func (o *CreateSubscriptionInternalServerError) String() string
- type CreateSubscriptionNotFound
- func (o *CreateSubscriptionNotFound) Error() string
- func (o *CreateSubscriptionNotFound) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionNotFound) IsClientError() bool
- func (o *CreateSubscriptionNotFound) IsCode(code int) bool
- func (o *CreateSubscriptionNotFound) IsRedirect() bool
- func (o *CreateSubscriptionNotFound) IsServerError() bool
- func (o *CreateSubscriptionNotFound) IsSuccess() bool
- func (o *CreateSubscriptionNotFound) String() string
- type CreateSubscriptionOK
- func (o *CreateSubscriptionOK) Error() string
- func (o *CreateSubscriptionOK) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionOK) IsClientError() bool
- func (o *CreateSubscriptionOK) IsCode(code int) bool
- func (o *CreateSubscriptionOK) IsRedirect() bool
- func (o *CreateSubscriptionOK) IsServerError() bool
- func (o *CreateSubscriptionOK) IsSuccess() bool
- func (o *CreateSubscriptionOK) String() string
- type CreateSubscriptionParams
- func NewCreateSubscriptionParams() *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) SetBody(body *notifications_models.CreateSubscriptionRequest)
- func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionParams) SetDefaults()
- func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionParams) SetNotificationType(notificationType string)
- func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionParams) WithBody(body *notifications_models.CreateSubscriptionRequest) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithDefaults() *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithNotificationType(notificationType string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionReader
- type CreateSubscriptionRequestEntityTooLarge
- func (o *CreateSubscriptionRequestEntityTooLarge) Error() string
- func (o *CreateSubscriptionRequestEntityTooLarge) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionRequestEntityTooLarge) IsClientError() bool
- func (o *CreateSubscriptionRequestEntityTooLarge) IsCode(code int) bool
- func (o *CreateSubscriptionRequestEntityTooLarge) IsRedirect() bool
- func (o *CreateSubscriptionRequestEntityTooLarge) IsServerError() bool
- func (o *CreateSubscriptionRequestEntityTooLarge) IsSuccess() bool
- func (o *CreateSubscriptionRequestEntityTooLarge) String() string
- type CreateSubscriptionServiceUnavailable
- func (o *CreateSubscriptionServiceUnavailable) Error() string
- func (o *CreateSubscriptionServiceUnavailable) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionServiceUnavailable) IsClientError() bool
- func (o *CreateSubscriptionServiceUnavailable) IsCode(code int) bool
- func (o *CreateSubscriptionServiceUnavailable) IsRedirect() bool
- func (o *CreateSubscriptionServiceUnavailable) IsServerError() bool
- func (o *CreateSubscriptionServiceUnavailable) IsSuccess() bool
- func (o *CreateSubscriptionServiceUnavailable) String() string
- type CreateSubscriptionTooManyRequests
- func (o *CreateSubscriptionTooManyRequests) Error() string
- func (o *CreateSubscriptionTooManyRequests) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionTooManyRequests) IsClientError() bool
- func (o *CreateSubscriptionTooManyRequests) IsCode(code int) bool
- func (o *CreateSubscriptionTooManyRequests) IsRedirect() bool
- func (o *CreateSubscriptionTooManyRequests) IsServerError() bool
- func (o *CreateSubscriptionTooManyRequests) IsSuccess() bool
- func (o *CreateSubscriptionTooManyRequests) String() string
- type CreateSubscriptionUnsupportedMediaType
- func (o *CreateSubscriptionUnsupportedMediaType) Error() string
- func (o *CreateSubscriptionUnsupportedMediaType) GetPayload() *notifications_models.CreateSubscriptionResponse
- func (o *CreateSubscriptionUnsupportedMediaType) IsClientError() bool
- func (o *CreateSubscriptionUnsupportedMediaType) IsCode(code int) bool
- func (o *CreateSubscriptionUnsupportedMediaType) IsRedirect() bool
- func (o *CreateSubscriptionUnsupportedMediaType) IsServerError() bool
- func (o *CreateSubscriptionUnsupportedMediaType) IsSuccess() bool
- func (o *CreateSubscriptionUnsupportedMediaType) String() string
- type DeleteDestinationBadRequest
- func (o *DeleteDestinationBadRequest) Error() string
- func (o *DeleteDestinationBadRequest) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationBadRequest) IsClientError() bool
- func (o *DeleteDestinationBadRequest) IsCode(code int) bool
- func (o *DeleteDestinationBadRequest) IsRedirect() bool
- func (o *DeleteDestinationBadRequest) IsServerError() bool
- func (o *DeleteDestinationBadRequest) IsSuccess() bool
- func (o *DeleteDestinationBadRequest) String() string
- type DeleteDestinationConflict
- func (o *DeleteDestinationConflict) Error() string
- func (o *DeleteDestinationConflict) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationConflict) IsClientError() bool
- func (o *DeleteDestinationConflict) IsCode(code int) bool
- func (o *DeleteDestinationConflict) IsRedirect() bool
- func (o *DeleteDestinationConflict) IsServerError() bool
- func (o *DeleteDestinationConflict) IsSuccess() bool
- func (o *DeleteDestinationConflict) String() string
- type DeleteDestinationForbidden
- func (o *DeleteDestinationForbidden) Error() string
- func (o *DeleteDestinationForbidden) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationForbidden) IsClientError() bool
- func (o *DeleteDestinationForbidden) IsCode(code int) bool
- func (o *DeleteDestinationForbidden) IsRedirect() bool
- func (o *DeleteDestinationForbidden) IsServerError() bool
- func (o *DeleteDestinationForbidden) IsSuccess() bool
- func (o *DeleteDestinationForbidden) String() string
- type DeleteDestinationInternalServerError
- func (o *DeleteDestinationInternalServerError) Error() string
- func (o *DeleteDestinationInternalServerError) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationInternalServerError) IsClientError() bool
- func (o *DeleteDestinationInternalServerError) IsCode(code int) bool
- func (o *DeleteDestinationInternalServerError) IsRedirect() bool
- func (o *DeleteDestinationInternalServerError) IsServerError() bool
- func (o *DeleteDestinationInternalServerError) IsSuccess() bool
- func (o *DeleteDestinationInternalServerError) String() string
- type DeleteDestinationNotFound
- func (o *DeleteDestinationNotFound) Error() string
- func (o *DeleteDestinationNotFound) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationNotFound) IsClientError() bool
- func (o *DeleteDestinationNotFound) IsCode(code int) bool
- func (o *DeleteDestinationNotFound) IsRedirect() bool
- func (o *DeleteDestinationNotFound) IsServerError() bool
- func (o *DeleteDestinationNotFound) IsSuccess() bool
- func (o *DeleteDestinationNotFound) String() string
- type DeleteDestinationOK
- func (o *DeleteDestinationOK) Error() string
- func (o *DeleteDestinationOK) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationOK) IsClientError() bool
- func (o *DeleteDestinationOK) IsCode(code int) bool
- func (o *DeleteDestinationOK) IsRedirect() bool
- func (o *DeleteDestinationOK) IsServerError() bool
- func (o *DeleteDestinationOK) IsSuccess() bool
- func (o *DeleteDestinationOK) String() string
- type DeleteDestinationParams
- func NewDeleteDestinationParams() *DeleteDestinationParams
- func NewDeleteDestinationParamsWithContext(ctx context.Context) *DeleteDestinationParams
- func NewDeleteDestinationParamsWithHTTPClient(client *http.Client) *DeleteDestinationParams
- func NewDeleteDestinationParamsWithTimeout(timeout time.Duration) *DeleteDestinationParams
- func (o *DeleteDestinationParams) SetContext(ctx context.Context)
- func (o *DeleteDestinationParams) SetDefaults()
- func (o *DeleteDestinationParams) SetDestinationID(destinationID string)
- func (o *DeleteDestinationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDestinationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDestinationParams) WithContext(ctx context.Context) *DeleteDestinationParams
- func (o *DeleteDestinationParams) WithDefaults() *DeleteDestinationParams
- func (o *DeleteDestinationParams) WithDestinationID(destinationID string) *DeleteDestinationParams
- func (o *DeleteDestinationParams) WithHTTPClient(client *http.Client) *DeleteDestinationParams
- func (o *DeleteDestinationParams) WithTimeout(timeout time.Duration) *DeleteDestinationParams
- func (o *DeleteDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDestinationReader
- type DeleteDestinationRequestEntityTooLarge
- func (o *DeleteDestinationRequestEntityTooLarge) Error() string
- func (o *DeleteDestinationRequestEntityTooLarge) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteDestinationRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteDestinationRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteDestinationRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteDestinationRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteDestinationRequestEntityTooLarge) String() string
- type DeleteDestinationServiceUnavailable
- func (o *DeleteDestinationServiceUnavailable) Error() string
- func (o *DeleteDestinationServiceUnavailable) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationServiceUnavailable) IsClientError() bool
- func (o *DeleteDestinationServiceUnavailable) IsCode(code int) bool
- func (o *DeleteDestinationServiceUnavailable) IsRedirect() bool
- func (o *DeleteDestinationServiceUnavailable) IsServerError() bool
- func (o *DeleteDestinationServiceUnavailable) IsSuccess() bool
- func (o *DeleteDestinationServiceUnavailable) String() string
- type DeleteDestinationTooManyRequests
- func (o *DeleteDestinationTooManyRequests) Error() string
- func (o *DeleteDestinationTooManyRequests) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationTooManyRequests) IsClientError() bool
- func (o *DeleteDestinationTooManyRequests) IsCode(code int) bool
- func (o *DeleteDestinationTooManyRequests) IsRedirect() bool
- func (o *DeleteDestinationTooManyRequests) IsServerError() bool
- func (o *DeleteDestinationTooManyRequests) IsSuccess() bool
- func (o *DeleteDestinationTooManyRequests) String() string
- type DeleteDestinationUnsupportedMediaType
- func (o *DeleteDestinationUnsupportedMediaType) Error() string
- func (o *DeleteDestinationUnsupportedMediaType) GetPayload() *notifications_models.DeleteDestinationResponse
- func (o *DeleteDestinationUnsupportedMediaType) IsClientError() bool
- func (o *DeleteDestinationUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteDestinationUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteDestinationUnsupportedMediaType) IsServerError() bool
- func (o *DeleteDestinationUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteDestinationUnsupportedMediaType) String() string
- type DeleteSubscriptionByIDBadRequest
- func (o *DeleteSubscriptionByIDBadRequest) Error() string
- func (o *DeleteSubscriptionByIDBadRequest) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDBadRequest) IsClientError() bool
- func (o *DeleteSubscriptionByIDBadRequest) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDBadRequest) IsRedirect() bool
- func (o *DeleteSubscriptionByIDBadRequest) IsServerError() bool
- func (o *DeleteSubscriptionByIDBadRequest) IsSuccess() bool
- func (o *DeleteSubscriptionByIDBadRequest) String() string
- type DeleteSubscriptionByIDConflict
- func (o *DeleteSubscriptionByIDConflict) Error() string
- func (o *DeleteSubscriptionByIDConflict) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDConflict) IsClientError() bool
- func (o *DeleteSubscriptionByIDConflict) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDConflict) IsRedirect() bool
- func (o *DeleteSubscriptionByIDConflict) IsServerError() bool
- func (o *DeleteSubscriptionByIDConflict) IsSuccess() bool
- func (o *DeleteSubscriptionByIDConflict) String() string
- type DeleteSubscriptionByIDForbidden
- func (o *DeleteSubscriptionByIDForbidden) Error() string
- func (o *DeleteSubscriptionByIDForbidden) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDForbidden) IsClientError() bool
- func (o *DeleteSubscriptionByIDForbidden) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDForbidden) IsRedirect() bool
- func (o *DeleteSubscriptionByIDForbidden) IsServerError() bool
- func (o *DeleteSubscriptionByIDForbidden) IsSuccess() bool
- func (o *DeleteSubscriptionByIDForbidden) String() string
- type DeleteSubscriptionByIDInternalServerError
- func (o *DeleteSubscriptionByIDInternalServerError) Error() string
- func (o *DeleteSubscriptionByIDInternalServerError) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDInternalServerError) IsClientError() bool
- func (o *DeleteSubscriptionByIDInternalServerError) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDInternalServerError) IsRedirect() bool
- func (o *DeleteSubscriptionByIDInternalServerError) IsServerError() bool
- func (o *DeleteSubscriptionByIDInternalServerError) IsSuccess() bool
- func (o *DeleteSubscriptionByIDInternalServerError) String() string
- type DeleteSubscriptionByIDNotFound
- func (o *DeleteSubscriptionByIDNotFound) Error() string
- func (o *DeleteSubscriptionByIDNotFound) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDNotFound) IsClientError() bool
- func (o *DeleteSubscriptionByIDNotFound) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDNotFound) IsRedirect() bool
- func (o *DeleteSubscriptionByIDNotFound) IsServerError() bool
- func (o *DeleteSubscriptionByIDNotFound) IsSuccess() bool
- func (o *DeleteSubscriptionByIDNotFound) String() string
- type DeleteSubscriptionByIDOK
- func (o *DeleteSubscriptionByIDOK) Error() string
- func (o *DeleteSubscriptionByIDOK) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDOK) IsClientError() bool
- func (o *DeleteSubscriptionByIDOK) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDOK) IsRedirect() bool
- func (o *DeleteSubscriptionByIDOK) IsServerError() bool
- func (o *DeleteSubscriptionByIDOK) IsSuccess() bool
- func (o *DeleteSubscriptionByIDOK) String() string
- type DeleteSubscriptionByIDParams
- func NewDeleteSubscriptionByIDParams() *DeleteSubscriptionByIDParams
- func NewDeleteSubscriptionByIDParamsWithContext(ctx context.Context) *DeleteSubscriptionByIDParams
- func NewDeleteSubscriptionByIDParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionByIDParams
- func NewDeleteSubscriptionByIDParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionByIDParams) SetDefaults()
- func (o *DeleteSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionByIDParams) SetNotificationType(notificationType string)
- func (o *DeleteSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)
- func (o *DeleteSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionByIDParams) WithContext(ctx context.Context) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WithDefaults() *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WithNotificationType(notificationType string) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionByIDParams
- func (o *DeleteSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionByIDReader
- type DeleteSubscriptionByIDRequestEntityTooLarge
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) Error() string
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteSubscriptionByIDRequestEntityTooLarge) String() string
- type DeleteSubscriptionByIDServiceUnavailable
- func (o *DeleteSubscriptionByIDServiceUnavailable) Error() string
- func (o *DeleteSubscriptionByIDServiceUnavailable) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDServiceUnavailable) IsClientError() bool
- func (o *DeleteSubscriptionByIDServiceUnavailable) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDServiceUnavailable) IsRedirect() bool
- func (o *DeleteSubscriptionByIDServiceUnavailable) IsServerError() bool
- func (o *DeleteSubscriptionByIDServiceUnavailable) IsSuccess() bool
- func (o *DeleteSubscriptionByIDServiceUnavailable) String() string
- type DeleteSubscriptionByIDTooManyRequests
- func (o *DeleteSubscriptionByIDTooManyRequests) Error() string
- func (o *DeleteSubscriptionByIDTooManyRequests) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDTooManyRequests) IsClientError() bool
- func (o *DeleteSubscriptionByIDTooManyRequests) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDTooManyRequests) IsRedirect() bool
- func (o *DeleteSubscriptionByIDTooManyRequests) IsServerError() bool
- func (o *DeleteSubscriptionByIDTooManyRequests) IsSuccess() bool
- func (o *DeleteSubscriptionByIDTooManyRequests) String() string
- type DeleteSubscriptionByIDUnsupportedMediaType
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) Error() string
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsClientError() bool
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsServerError() bool
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteSubscriptionByIDUnsupportedMediaType) String() string
- type GetDestinationBadRequest
- func (o *GetDestinationBadRequest) Error() string
- func (o *GetDestinationBadRequest) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationBadRequest) IsClientError() bool
- func (o *GetDestinationBadRequest) IsCode(code int) bool
- func (o *GetDestinationBadRequest) IsRedirect() bool
- func (o *GetDestinationBadRequest) IsServerError() bool
- func (o *GetDestinationBadRequest) IsSuccess() bool
- func (o *GetDestinationBadRequest) String() string
- type GetDestinationConflict
- func (o *GetDestinationConflict) Error() string
- func (o *GetDestinationConflict) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationConflict) IsClientError() bool
- func (o *GetDestinationConflict) IsCode(code int) bool
- func (o *GetDestinationConflict) IsRedirect() bool
- func (o *GetDestinationConflict) IsServerError() bool
- func (o *GetDestinationConflict) IsSuccess() bool
- func (o *GetDestinationConflict) String() string
- type GetDestinationForbidden
- func (o *GetDestinationForbidden) Error() string
- func (o *GetDestinationForbidden) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationForbidden) IsClientError() bool
- func (o *GetDestinationForbidden) IsCode(code int) bool
- func (o *GetDestinationForbidden) IsRedirect() bool
- func (o *GetDestinationForbidden) IsServerError() bool
- func (o *GetDestinationForbidden) IsSuccess() bool
- func (o *GetDestinationForbidden) String() string
- type GetDestinationInternalServerError
- func (o *GetDestinationInternalServerError) Error() string
- func (o *GetDestinationInternalServerError) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationInternalServerError) IsClientError() bool
- func (o *GetDestinationInternalServerError) IsCode(code int) bool
- func (o *GetDestinationInternalServerError) IsRedirect() bool
- func (o *GetDestinationInternalServerError) IsServerError() bool
- func (o *GetDestinationInternalServerError) IsSuccess() bool
- func (o *GetDestinationInternalServerError) String() string
- type GetDestinationNotFound
- func (o *GetDestinationNotFound) Error() string
- func (o *GetDestinationNotFound) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationNotFound) IsClientError() bool
- func (o *GetDestinationNotFound) IsCode(code int) bool
- func (o *GetDestinationNotFound) IsRedirect() bool
- func (o *GetDestinationNotFound) IsServerError() bool
- func (o *GetDestinationNotFound) IsSuccess() bool
- func (o *GetDestinationNotFound) String() string
- type GetDestinationOK
- func (o *GetDestinationOK) Error() string
- func (o *GetDestinationOK) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationOK) IsClientError() bool
- func (o *GetDestinationOK) IsCode(code int) bool
- func (o *GetDestinationOK) IsRedirect() bool
- func (o *GetDestinationOK) IsServerError() bool
- func (o *GetDestinationOK) IsSuccess() bool
- func (o *GetDestinationOK) String() string
- type GetDestinationParams
- func NewGetDestinationParams() *GetDestinationParams
- func NewGetDestinationParamsWithContext(ctx context.Context) *GetDestinationParams
- func NewGetDestinationParamsWithHTTPClient(client *http.Client) *GetDestinationParams
- func NewGetDestinationParamsWithTimeout(timeout time.Duration) *GetDestinationParams
- func (o *GetDestinationParams) SetContext(ctx context.Context)
- func (o *GetDestinationParams) SetDefaults()
- func (o *GetDestinationParams) SetDestinationID(destinationID string)
- func (o *GetDestinationParams) SetHTTPClient(client *http.Client)
- func (o *GetDestinationParams) SetTimeout(timeout time.Duration)
- func (o *GetDestinationParams) WithContext(ctx context.Context) *GetDestinationParams
- func (o *GetDestinationParams) WithDefaults() *GetDestinationParams
- func (o *GetDestinationParams) WithDestinationID(destinationID string) *GetDestinationParams
- func (o *GetDestinationParams) WithHTTPClient(client *http.Client) *GetDestinationParams
- func (o *GetDestinationParams) WithTimeout(timeout time.Duration) *GetDestinationParams
- func (o *GetDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDestinationReader
- type GetDestinationRequestEntityTooLarge
- func (o *GetDestinationRequestEntityTooLarge) Error() string
- func (o *GetDestinationRequestEntityTooLarge) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationRequestEntityTooLarge) IsClientError() bool
- func (o *GetDestinationRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetDestinationRequestEntityTooLarge) IsRedirect() bool
- func (o *GetDestinationRequestEntityTooLarge) IsServerError() bool
- func (o *GetDestinationRequestEntityTooLarge) IsSuccess() bool
- func (o *GetDestinationRequestEntityTooLarge) String() string
- type GetDestinationServiceUnavailable
- func (o *GetDestinationServiceUnavailable) Error() string
- func (o *GetDestinationServiceUnavailable) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationServiceUnavailable) IsClientError() bool
- func (o *GetDestinationServiceUnavailable) IsCode(code int) bool
- func (o *GetDestinationServiceUnavailable) IsRedirect() bool
- func (o *GetDestinationServiceUnavailable) IsServerError() bool
- func (o *GetDestinationServiceUnavailable) IsSuccess() bool
- func (o *GetDestinationServiceUnavailable) String() string
- type GetDestinationTooManyRequests
- func (o *GetDestinationTooManyRequests) Error() string
- func (o *GetDestinationTooManyRequests) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationTooManyRequests) IsClientError() bool
- func (o *GetDestinationTooManyRequests) IsCode(code int) bool
- func (o *GetDestinationTooManyRequests) IsRedirect() bool
- func (o *GetDestinationTooManyRequests) IsServerError() bool
- func (o *GetDestinationTooManyRequests) IsSuccess() bool
- func (o *GetDestinationTooManyRequests) String() string
- type GetDestinationUnsupportedMediaType
- func (o *GetDestinationUnsupportedMediaType) Error() string
- func (o *GetDestinationUnsupportedMediaType) GetPayload() *notifications_models.GetDestinationResponse
- func (o *GetDestinationUnsupportedMediaType) IsClientError() bool
- func (o *GetDestinationUnsupportedMediaType) IsCode(code int) bool
- func (o *GetDestinationUnsupportedMediaType) IsRedirect() bool
- func (o *GetDestinationUnsupportedMediaType) IsServerError() bool
- func (o *GetDestinationUnsupportedMediaType) IsSuccess() bool
- func (o *GetDestinationUnsupportedMediaType) String() string
- type GetDestinationsBadRequest
- func (o *GetDestinationsBadRequest) Error() string
- func (o *GetDestinationsBadRequest) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsBadRequest) IsClientError() bool
- func (o *GetDestinationsBadRequest) IsCode(code int) bool
- func (o *GetDestinationsBadRequest) IsRedirect() bool
- func (o *GetDestinationsBadRequest) IsServerError() bool
- func (o *GetDestinationsBadRequest) IsSuccess() bool
- func (o *GetDestinationsBadRequest) String() string
- type GetDestinationsConflict
- func (o *GetDestinationsConflict) Error() string
- func (o *GetDestinationsConflict) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsConflict) IsClientError() bool
- func (o *GetDestinationsConflict) IsCode(code int) bool
- func (o *GetDestinationsConflict) IsRedirect() bool
- func (o *GetDestinationsConflict) IsServerError() bool
- func (o *GetDestinationsConflict) IsSuccess() bool
- func (o *GetDestinationsConflict) String() string
- type GetDestinationsForbidden
- func (o *GetDestinationsForbidden) Error() string
- func (o *GetDestinationsForbidden) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsForbidden) IsClientError() bool
- func (o *GetDestinationsForbidden) IsCode(code int) bool
- func (o *GetDestinationsForbidden) IsRedirect() bool
- func (o *GetDestinationsForbidden) IsServerError() bool
- func (o *GetDestinationsForbidden) IsSuccess() bool
- func (o *GetDestinationsForbidden) String() string
- type GetDestinationsInternalServerError
- func (o *GetDestinationsInternalServerError) Error() string
- func (o *GetDestinationsInternalServerError) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsInternalServerError) IsClientError() bool
- func (o *GetDestinationsInternalServerError) IsCode(code int) bool
- func (o *GetDestinationsInternalServerError) IsRedirect() bool
- func (o *GetDestinationsInternalServerError) IsServerError() bool
- func (o *GetDestinationsInternalServerError) IsSuccess() bool
- func (o *GetDestinationsInternalServerError) String() string
- type GetDestinationsNotFound
- func (o *GetDestinationsNotFound) Error() string
- func (o *GetDestinationsNotFound) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsNotFound) IsClientError() bool
- func (o *GetDestinationsNotFound) IsCode(code int) bool
- func (o *GetDestinationsNotFound) IsRedirect() bool
- func (o *GetDestinationsNotFound) IsServerError() bool
- func (o *GetDestinationsNotFound) IsSuccess() bool
- func (o *GetDestinationsNotFound) String() string
- type GetDestinationsOK
- func (o *GetDestinationsOK) Error() string
- func (o *GetDestinationsOK) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsOK) IsClientError() bool
- func (o *GetDestinationsOK) IsCode(code int) bool
- func (o *GetDestinationsOK) IsRedirect() bool
- func (o *GetDestinationsOK) IsServerError() bool
- func (o *GetDestinationsOK) IsSuccess() bool
- func (o *GetDestinationsOK) String() string
- type GetDestinationsParams
- func NewGetDestinationsParams() *GetDestinationsParams
- func NewGetDestinationsParamsWithContext(ctx context.Context) *GetDestinationsParams
- func NewGetDestinationsParamsWithHTTPClient(client *http.Client) *GetDestinationsParams
- func NewGetDestinationsParamsWithTimeout(timeout time.Duration) *GetDestinationsParams
- func (o *GetDestinationsParams) SetContext(ctx context.Context)
- func (o *GetDestinationsParams) SetDefaults()
- func (o *GetDestinationsParams) SetHTTPClient(client *http.Client)
- func (o *GetDestinationsParams) SetTimeout(timeout time.Duration)
- func (o *GetDestinationsParams) WithContext(ctx context.Context) *GetDestinationsParams
- func (o *GetDestinationsParams) WithDefaults() *GetDestinationsParams
- func (o *GetDestinationsParams) WithHTTPClient(client *http.Client) *GetDestinationsParams
- func (o *GetDestinationsParams) WithTimeout(timeout time.Duration) *GetDestinationsParams
- func (o *GetDestinationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDestinationsReader
- type GetDestinationsRequestEntityTooLarge
- func (o *GetDestinationsRequestEntityTooLarge) Error() string
- func (o *GetDestinationsRequestEntityTooLarge) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsRequestEntityTooLarge) IsClientError() bool
- func (o *GetDestinationsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetDestinationsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetDestinationsRequestEntityTooLarge) IsServerError() bool
- func (o *GetDestinationsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetDestinationsRequestEntityTooLarge) String() string
- type GetDestinationsServiceUnavailable
- func (o *GetDestinationsServiceUnavailable) Error() string
- func (o *GetDestinationsServiceUnavailable) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsServiceUnavailable) IsClientError() bool
- func (o *GetDestinationsServiceUnavailable) IsCode(code int) bool
- func (o *GetDestinationsServiceUnavailable) IsRedirect() bool
- func (o *GetDestinationsServiceUnavailable) IsServerError() bool
- func (o *GetDestinationsServiceUnavailable) IsSuccess() bool
- func (o *GetDestinationsServiceUnavailable) String() string
- type GetDestinationsTooManyRequests
- func (o *GetDestinationsTooManyRequests) Error() string
- func (o *GetDestinationsTooManyRequests) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsTooManyRequests) IsClientError() bool
- func (o *GetDestinationsTooManyRequests) IsCode(code int) bool
- func (o *GetDestinationsTooManyRequests) IsRedirect() bool
- func (o *GetDestinationsTooManyRequests) IsServerError() bool
- func (o *GetDestinationsTooManyRequests) IsSuccess() bool
- func (o *GetDestinationsTooManyRequests) String() string
- type GetDestinationsUnsupportedMediaType
- func (o *GetDestinationsUnsupportedMediaType) Error() string
- func (o *GetDestinationsUnsupportedMediaType) GetPayload() *notifications_models.GetDestinationsResponse
- func (o *GetDestinationsUnsupportedMediaType) IsClientError() bool
- func (o *GetDestinationsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetDestinationsUnsupportedMediaType) IsRedirect() bool
- func (o *GetDestinationsUnsupportedMediaType) IsServerError() bool
- func (o *GetDestinationsUnsupportedMediaType) IsSuccess() bool
- func (o *GetDestinationsUnsupportedMediaType) String() string
- type GetSubscriptionBadRequest
- func (o *GetSubscriptionBadRequest) Error() string
- func (o *GetSubscriptionBadRequest) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionBadRequest) IsClientError() bool
- func (o *GetSubscriptionBadRequest) IsCode(code int) bool
- func (o *GetSubscriptionBadRequest) IsRedirect() bool
- func (o *GetSubscriptionBadRequest) IsServerError() bool
- func (o *GetSubscriptionBadRequest) IsSuccess() bool
- func (o *GetSubscriptionBadRequest) String() string
- type GetSubscriptionByIDBadRequest
- func (o *GetSubscriptionByIDBadRequest) Error() string
- func (o *GetSubscriptionByIDBadRequest) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDBadRequest) IsClientError() bool
- func (o *GetSubscriptionByIDBadRequest) IsCode(code int) bool
- func (o *GetSubscriptionByIDBadRequest) IsRedirect() bool
- func (o *GetSubscriptionByIDBadRequest) IsServerError() bool
- func (o *GetSubscriptionByIDBadRequest) IsSuccess() bool
- func (o *GetSubscriptionByIDBadRequest) String() string
- type GetSubscriptionByIDConflict
- func (o *GetSubscriptionByIDConflict) Error() string
- func (o *GetSubscriptionByIDConflict) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDConflict) IsClientError() bool
- func (o *GetSubscriptionByIDConflict) IsCode(code int) bool
- func (o *GetSubscriptionByIDConflict) IsRedirect() bool
- func (o *GetSubscriptionByIDConflict) IsServerError() bool
- func (o *GetSubscriptionByIDConflict) IsSuccess() bool
- func (o *GetSubscriptionByIDConflict) String() string
- type GetSubscriptionByIDForbidden
- func (o *GetSubscriptionByIDForbidden) Error() string
- func (o *GetSubscriptionByIDForbidden) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDForbidden) IsClientError() bool
- func (o *GetSubscriptionByIDForbidden) IsCode(code int) bool
- func (o *GetSubscriptionByIDForbidden) IsRedirect() bool
- func (o *GetSubscriptionByIDForbidden) IsServerError() bool
- func (o *GetSubscriptionByIDForbidden) IsSuccess() bool
- func (o *GetSubscriptionByIDForbidden) String() string
- type GetSubscriptionByIDInternalServerError
- func (o *GetSubscriptionByIDInternalServerError) Error() string
- func (o *GetSubscriptionByIDInternalServerError) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDInternalServerError) IsClientError() bool
- func (o *GetSubscriptionByIDInternalServerError) IsCode(code int) bool
- func (o *GetSubscriptionByIDInternalServerError) IsRedirect() bool
- func (o *GetSubscriptionByIDInternalServerError) IsServerError() bool
- func (o *GetSubscriptionByIDInternalServerError) IsSuccess() bool
- func (o *GetSubscriptionByIDInternalServerError) String() string
- type GetSubscriptionByIDNotFound
- func (o *GetSubscriptionByIDNotFound) Error() string
- func (o *GetSubscriptionByIDNotFound) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionByIDNotFound) IsClientError() bool
- func (o *GetSubscriptionByIDNotFound) IsCode(code int) bool
- func (o *GetSubscriptionByIDNotFound) IsRedirect() bool
- func (o *GetSubscriptionByIDNotFound) IsServerError() bool
- func (o *GetSubscriptionByIDNotFound) IsSuccess() bool
- func (o *GetSubscriptionByIDNotFound) String() string
- type GetSubscriptionByIDOK
- func (o *GetSubscriptionByIDOK) Error() string
- func (o *GetSubscriptionByIDOK) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDOK) IsClientError() bool
- func (o *GetSubscriptionByIDOK) IsCode(code int) bool
- func (o *GetSubscriptionByIDOK) IsRedirect() bool
- func (o *GetSubscriptionByIDOK) IsServerError() bool
- func (o *GetSubscriptionByIDOK) IsSuccess() bool
- func (o *GetSubscriptionByIDOK) String() string
- type GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParams() *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithContext(ctx context.Context) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func NewGetSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionByIDParams) SetDefaults()
- func (o *GetSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionByIDParams) SetNotificationType(notificationType string)
- func (o *GetSubscriptionByIDParams) SetSubscriptionID(subscriptionID string)
- func (o *GetSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithDefaults() *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithNotificationType(notificationType string) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithSubscriptionID(subscriptionID string) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
- func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionByIDReader
- type GetSubscriptionByIDRequestEntityTooLarge
- func (o *GetSubscriptionByIDRequestEntityTooLarge) Error() string
- func (o *GetSubscriptionByIDRequestEntityTooLarge) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDRequestEntityTooLarge) IsClientError() bool
- func (o *GetSubscriptionByIDRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetSubscriptionByIDRequestEntityTooLarge) IsRedirect() bool
- func (o *GetSubscriptionByIDRequestEntityTooLarge) IsServerError() bool
- func (o *GetSubscriptionByIDRequestEntityTooLarge) IsSuccess() bool
- func (o *GetSubscriptionByIDRequestEntityTooLarge) String() string
- type GetSubscriptionByIDServiceUnavailable
- func (o *GetSubscriptionByIDServiceUnavailable) Error() string
- func (o *GetSubscriptionByIDServiceUnavailable) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDServiceUnavailable) IsClientError() bool
- func (o *GetSubscriptionByIDServiceUnavailable) IsCode(code int) bool
- func (o *GetSubscriptionByIDServiceUnavailable) IsRedirect() bool
- func (o *GetSubscriptionByIDServiceUnavailable) IsServerError() bool
- func (o *GetSubscriptionByIDServiceUnavailable) IsSuccess() bool
- func (o *GetSubscriptionByIDServiceUnavailable) String() string
- type GetSubscriptionByIDTooManyRequests
- func (o *GetSubscriptionByIDTooManyRequests) Error() string
- func (o *GetSubscriptionByIDTooManyRequests) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDTooManyRequests) IsClientError() bool
- func (o *GetSubscriptionByIDTooManyRequests) IsCode(code int) bool
- func (o *GetSubscriptionByIDTooManyRequests) IsRedirect() bool
- func (o *GetSubscriptionByIDTooManyRequests) IsServerError() bool
- func (o *GetSubscriptionByIDTooManyRequests) IsSuccess() bool
- func (o *GetSubscriptionByIDTooManyRequests) String() string
- type GetSubscriptionByIDUnsupportedMediaType
- func (o *GetSubscriptionByIDUnsupportedMediaType) Error() string
- func (o *GetSubscriptionByIDUnsupportedMediaType) GetPayload() *notifications_models.GetSubscriptionByIDResponse
- func (o *GetSubscriptionByIDUnsupportedMediaType) IsClientError() bool
- func (o *GetSubscriptionByIDUnsupportedMediaType) IsCode(code int) bool
- func (o *GetSubscriptionByIDUnsupportedMediaType) IsRedirect() bool
- func (o *GetSubscriptionByIDUnsupportedMediaType) IsServerError() bool
- func (o *GetSubscriptionByIDUnsupportedMediaType) IsSuccess() bool
- func (o *GetSubscriptionByIDUnsupportedMediaType) String() string
- type GetSubscriptionForbidden
- func (o *GetSubscriptionForbidden) Error() string
- func (o *GetSubscriptionForbidden) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionForbidden) IsClientError() bool
- func (o *GetSubscriptionForbidden) IsCode(code int) bool
- func (o *GetSubscriptionForbidden) IsRedirect() bool
- func (o *GetSubscriptionForbidden) IsServerError() bool
- func (o *GetSubscriptionForbidden) IsSuccess() bool
- func (o *GetSubscriptionForbidden) String() string
- type GetSubscriptionInternalServerError
- func (o *GetSubscriptionInternalServerError) Error() string
- func (o *GetSubscriptionInternalServerError) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionInternalServerError) IsClientError() bool
- func (o *GetSubscriptionInternalServerError) IsCode(code int) bool
- func (o *GetSubscriptionInternalServerError) IsRedirect() bool
- func (o *GetSubscriptionInternalServerError) IsServerError() bool
- func (o *GetSubscriptionInternalServerError) IsSuccess() bool
- func (o *GetSubscriptionInternalServerError) String() string
- type GetSubscriptionNotFound
- func (o *GetSubscriptionNotFound) Error() string
- func (o *GetSubscriptionNotFound) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionNotFound) IsClientError() bool
- func (o *GetSubscriptionNotFound) IsCode(code int) bool
- func (o *GetSubscriptionNotFound) IsRedirect() bool
- func (o *GetSubscriptionNotFound) IsServerError() bool
- func (o *GetSubscriptionNotFound) IsSuccess() bool
- func (o *GetSubscriptionNotFound) String() string
- type GetSubscriptionOK
- func (o *GetSubscriptionOK) Error() string
- func (o *GetSubscriptionOK) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionOK) IsClientError() bool
- func (o *GetSubscriptionOK) IsCode(code int) bool
- func (o *GetSubscriptionOK) IsRedirect() bool
- func (o *GetSubscriptionOK) IsServerError() bool
- func (o *GetSubscriptionOK) IsSuccess() bool
- func (o *GetSubscriptionOK) String() string
- type GetSubscriptionParams
- func NewGetSubscriptionParams() *GetSubscriptionParams
- func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionParams) SetDefaults()
- func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionParams) SetNotificationType(notificationType string)
- func (o *GetSubscriptionParams) SetPayloadVersion(payloadVersion *string)
- func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithDefaults() *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithNotificationType(notificationType string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithPayloadVersion(payloadVersion *string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionReader
- type GetSubscriptionRequestEntityTooLarge
- func (o *GetSubscriptionRequestEntityTooLarge) Error() string
- func (o *GetSubscriptionRequestEntityTooLarge) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionRequestEntityTooLarge) IsClientError() bool
- func (o *GetSubscriptionRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetSubscriptionRequestEntityTooLarge) IsRedirect() bool
- func (o *GetSubscriptionRequestEntityTooLarge) IsServerError() bool
- func (o *GetSubscriptionRequestEntityTooLarge) IsSuccess() bool
- func (o *GetSubscriptionRequestEntityTooLarge) String() string
- type GetSubscriptionServiceUnavailable
- func (o *GetSubscriptionServiceUnavailable) Error() string
- func (o *GetSubscriptionServiceUnavailable) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionServiceUnavailable) IsClientError() bool
- func (o *GetSubscriptionServiceUnavailable) IsCode(code int) bool
- func (o *GetSubscriptionServiceUnavailable) IsRedirect() bool
- func (o *GetSubscriptionServiceUnavailable) IsServerError() bool
- func (o *GetSubscriptionServiceUnavailable) IsSuccess() bool
- func (o *GetSubscriptionServiceUnavailable) String() string
- type GetSubscriptionTooManyRequests
- func (o *GetSubscriptionTooManyRequests) Error() string
- func (o *GetSubscriptionTooManyRequests) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionTooManyRequests) IsClientError() bool
- func (o *GetSubscriptionTooManyRequests) IsCode(code int) bool
- func (o *GetSubscriptionTooManyRequests) IsRedirect() bool
- func (o *GetSubscriptionTooManyRequests) IsServerError() bool
- func (o *GetSubscriptionTooManyRequests) IsSuccess() bool
- func (o *GetSubscriptionTooManyRequests) String() string
- type GetSubscriptionUnsupportedMediaType
- func (o *GetSubscriptionUnsupportedMediaType) Error() string
- func (o *GetSubscriptionUnsupportedMediaType) GetPayload() *notifications_models.GetSubscriptionResponse
- func (o *GetSubscriptionUnsupportedMediaType) IsClientError() bool
- func (o *GetSubscriptionUnsupportedMediaType) IsCode(code int) bool
- func (o *GetSubscriptionUnsupportedMediaType) IsRedirect() bool
- func (o *GetSubscriptionUnsupportedMediaType) IsServerError() bool
- func (o *GetSubscriptionUnsupportedMediaType) IsSuccess() bool
- func (o *GetSubscriptionUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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 (o *CreateDestinationBadRequest) Error() string
func (*CreateDestinationBadRequest) GetPayload ¶
func (o *CreateDestinationBadRequest) GetPayload() *notifications_models.CreateDestinationResponse
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 (o *CreateDestinationConflict) GetPayload() *notifications_models.CreateDestinationResponse
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 (o *CreateDestinationForbidden) Error() string
func (*CreateDestinationForbidden) GetPayload ¶
func (o *CreateDestinationForbidden) GetPayload() *notifications_models.CreateDestinationResponse
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 (o *CreateDestinationInternalServerError) Error() string
func (*CreateDestinationInternalServerError) GetPayload ¶
func (o *CreateDestinationInternalServerError) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationInternalServerError) IsCode(code int) bool
IsCode returns true when this create destination internal server error response a status code equal to that given
func (*CreateDestinationInternalServerError) IsRedirect ¶
func (o *CreateDestinationInternalServerError) IsRedirect() bool
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 ¶
func (o *CreateDestinationInternalServerError) IsSuccess() bool
IsSuccess returns true when this create destination internal server error response has a 2xx status code
func (*CreateDestinationInternalServerError) String ¶
func (o *CreateDestinationInternalServerError) String() 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 (o *CreateDestinationNotFound) GetPayload() *notifications_models.CreateDestinationResponse
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 (o *CreateDestinationOK) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationParams) SetBody(body *notifications_models.CreateDestinationRequest)
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 ¶
func (o *CreateDestinationParams) WithBody(body *notifications_models.CreateDestinationRequest) *CreateDestinationParams
WithBody adds the body to the create destination params
func (*CreateDestinationParams) WithContext ¶
func (o *CreateDestinationParams) WithContext(ctx context.Context) *CreateDestinationParams
WithContext adds the context to the create destination params
func (*CreateDestinationParams) WithDefaults ¶
func (o *CreateDestinationParams) WithDefaults() *CreateDestinationParams
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 ¶
func (o *CreateDestinationParams) WithTimeout(timeout time.Duration) *CreateDestinationParams
WithTimeout adds the timeout to the create destination params
func (*CreateDestinationParams) WriteToRequest ¶
func (o *CreateDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateDestinationRequestEntityTooLarge) Error() string
func (*CreateDestinationRequestEntityTooLarge) GetPayload ¶
func (o *CreateDestinationRequestEntityTooLarge) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this create destination request entity too large response a status code equal to that given
func (*CreateDestinationRequestEntityTooLarge) IsRedirect ¶
func (o *CreateDestinationRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *CreateDestinationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this create destination request entity too large response has a 2xx status code
func (*CreateDestinationRequestEntityTooLarge) String ¶
func (o *CreateDestinationRequestEntityTooLarge) String() string
type CreateDestinationServiceUnavailable ¶
type CreateDestinationServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *CreateDestinationServiceUnavailable) Error() string
func (*CreateDestinationServiceUnavailable) GetPayload ¶
func (o *CreateDestinationServiceUnavailable) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *CreateDestinationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create destination service unavailable response has a 2xx status code
func (*CreateDestinationServiceUnavailable) String ¶
func (o *CreateDestinationServiceUnavailable) String() 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 (o *CreateDestinationTooManyRequests) Error() string
func (*CreateDestinationTooManyRequests) GetPayload ¶
func (o *CreateDestinationTooManyRequests) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationTooManyRequests) String() 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 (o *CreateDestinationUnsupportedMediaType) Error() string
func (*CreateDestinationUnsupportedMediaType) GetPayload ¶
func (o *CreateDestinationUnsupportedMediaType) GetPayload() *notifications_models.CreateDestinationResponse
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 ¶
func (o *CreateDestinationUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this create destination unsupported media type response a status code equal to that given
func (*CreateDestinationUnsupportedMediaType) IsRedirect ¶
func (o *CreateDestinationUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *CreateDestinationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this create destination unsupported media type response has a 2xx status code
func (*CreateDestinationUnsupportedMediaType) String ¶
func (o *CreateDestinationUnsupportedMediaType) String() 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 (o *CreateSubscriptionBadRequest) Error() string
func (*CreateSubscriptionBadRequest) GetPayload ¶
func (o *CreateSubscriptionBadRequest) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionBadRequest) String() 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 (o *CreateSubscriptionConflict) Error() string
func (*CreateSubscriptionConflict) GetPayload ¶
func (o *CreateSubscriptionConflict) GetPayload() *notifications_models.CreateSubscriptionResponse
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 (o *CreateSubscriptionForbidden) Error() string
func (*CreateSubscriptionForbidden) GetPayload ¶
func (o *CreateSubscriptionForbidden) GetPayload() *notifications_models.CreateSubscriptionResponse
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 (o *CreateSubscriptionInternalServerError) Error() string
func (*CreateSubscriptionInternalServerError) GetPayload ¶
func (o *CreateSubscriptionInternalServerError) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionInternalServerError) IsCode(code int) bool
IsCode returns true when this create subscription internal server error response a status code equal to that given
func (*CreateSubscriptionInternalServerError) IsRedirect ¶
func (o *CreateSubscriptionInternalServerError) IsRedirect() bool
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 ¶
func (o *CreateSubscriptionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create subscription internal server error response has a 2xx status code
func (*CreateSubscriptionInternalServerError) String ¶
func (o *CreateSubscriptionInternalServerError) String() 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 (o *CreateSubscriptionNotFound) Error() string
func (*CreateSubscriptionNotFound) GetPayload ¶
func (o *CreateSubscriptionNotFound) GetPayload() *notifications_models.CreateSubscriptionResponse
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 (o *CreateSubscriptionOK) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionParams) SetBody(body *notifications_models.CreateSubscriptionRequest)
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 ¶
func (o *CreateSubscriptionParams) WithBody(body *notifications_models.CreateSubscriptionRequest) *CreateSubscriptionParams
WithBody adds the body to the create subscription params
func (*CreateSubscriptionParams) WithContext ¶
func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
WithContext adds the context to the create subscription params
func (*CreateSubscriptionParams) WithDefaults ¶
func (o *CreateSubscriptionParams) WithDefaults() *CreateSubscriptionParams
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 ¶
func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
WithTimeout adds the timeout to the create subscription params
func (*CreateSubscriptionParams) WriteToRequest ¶
func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateSubscriptionRequestEntityTooLarge) Error() string
func (*CreateSubscriptionRequestEntityTooLarge) GetPayload ¶
func (o *CreateSubscriptionRequestEntityTooLarge) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this create subscription request entity too large response a status code equal to that given
func (*CreateSubscriptionRequestEntityTooLarge) IsRedirect ¶
func (o *CreateSubscriptionRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *CreateSubscriptionRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this create subscription request entity too large response has a 2xx status code
func (*CreateSubscriptionRequestEntityTooLarge) String ¶
func (o *CreateSubscriptionRequestEntityTooLarge) String() string
type CreateSubscriptionServiceUnavailable ¶
type CreateSubscriptionServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *CreateSubscriptionServiceUnavailable) Error() string
func (*CreateSubscriptionServiceUnavailable) GetPayload ¶
func (o *CreateSubscriptionServiceUnavailable) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create subscription service unavailable response a status code equal to that given
func (*CreateSubscriptionServiceUnavailable) IsRedirect ¶
func (o *CreateSubscriptionServiceUnavailable) IsRedirect() bool
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 ¶
func (o *CreateSubscriptionServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create subscription service unavailable response has a 2xx status code
func (*CreateSubscriptionServiceUnavailable) String ¶
func (o *CreateSubscriptionServiceUnavailable) String() 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 (o *CreateSubscriptionTooManyRequests) Error() string
func (*CreateSubscriptionTooManyRequests) GetPayload ¶
func (o *CreateSubscriptionTooManyRequests) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionTooManyRequests) String() 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 (o *CreateSubscriptionUnsupportedMediaType) Error() string
func (*CreateSubscriptionUnsupportedMediaType) GetPayload ¶
func (o *CreateSubscriptionUnsupportedMediaType) GetPayload() *notifications_models.CreateSubscriptionResponse
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 ¶
func (o *CreateSubscriptionUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this create subscription unsupported media type response a status code equal to that given
func (*CreateSubscriptionUnsupportedMediaType) IsRedirect ¶
func (o *CreateSubscriptionUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *CreateSubscriptionUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this create subscription unsupported media type response has a 2xx status code
func (*CreateSubscriptionUnsupportedMediaType) String ¶
func (o *CreateSubscriptionUnsupportedMediaType) String() 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 (o *DeleteDestinationBadRequest) Error() string
func (*DeleteDestinationBadRequest) GetPayload ¶
func (o *DeleteDestinationBadRequest) GetPayload() *notifications_models.DeleteDestinationResponse
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 (o *DeleteDestinationConflict) GetPayload() *notifications_models.DeleteDestinationResponse
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 (o *DeleteDestinationForbidden) Error() string
func (*DeleteDestinationForbidden) GetPayload ¶
func (o *DeleteDestinationForbidden) GetPayload() *notifications_models.DeleteDestinationResponse
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 (o *DeleteDestinationInternalServerError) Error() string
func (*DeleteDestinationInternalServerError) GetPayload ¶
func (o *DeleteDestinationInternalServerError) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationInternalServerError) IsCode(code int) bool
IsCode returns true when this delete destination internal server error response a status code equal to that given
func (*DeleteDestinationInternalServerError) IsRedirect ¶
func (o *DeleteDestinationInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteDestinationInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete destination internal server error response has a 2xx status code
func (*DeleteDestinationInternalServerError) String ¶
func (o *DeleteDestinationInternalServerError) String() 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 (o *DeleteDestinationNotFound) GetPayload() *notifications_models.DeleteDestinationResponse
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 (o *DeleteDestinationOK) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationParams) WithContext(ctx context.Context) *DeleteDestinationParams
WithContext adds the context to the delete destination params
func (*DeleteDestinationParams) WithDefaults ¶
func (o *DeleteDestinationParams) WithDefaults() *DeleteDestinationParams
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 ¶
func (o *DeleteDestinationParams) WithTimeout(timeout time.Duration) *DeleteDestinationParams
WithTimeout adds the timeout to the delete destination params
func (*DeleteDestinationParams) WriteToRequest ¶
func (o *DeleteDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteDestinationRequestEntityTooLarge) Error() string
func (*DeleteDestinationRequestEntityTooLarge) GetPayload ¶
func (o *DeleteDestinationRequestEntityTooLarge) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete destination request entity too large response a status code equal to that given
func (*DeleteDestinationRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteDestinationRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *DeleteDestinationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete destination request entity too large response has a 2xx status code
func (*DeleteDestinationRequestEntityTooLarge) String ¶
func (o *DeleteDestinationRequestEntityTooLarge) String() string
type DeleteDestinationServiceUnavailable ¶
type DeleteDestinationServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *DeleteDestinationServiceUnavailable) Error() string
func (*DeleteDestinationServiceUnavailable) GetPayload ¶
func (o *DeleteDestinationServiceUnavailable) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *DeleteDestinationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete destination service unavailable response has a 2xx status code
func (*DeleteDestinationServiceUnavailable) String ¶
func (o *DeleteDestinationServiceUnavailable) String() 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 (o *DeleteDestinationTooManyRequests) Error() string
func (*DeleteDestinationTooManyRequests) GetPayload ¶
func (o *DeleteDestinationTooManyRequests) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationTooManyRequests) String() 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 (o *DeleteDestinationUnsupportedMediaType) Error() string
func (*DeleteDestinationUnsupportedMediaType) GetPayload ¶
func (o *DeleteDestinationUnsupportedMediaType) GetPayload() *notifications_models.DeleteDestinationResponse
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 ¶
func (o *DeleteDestinationUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete destination unsupported media type response a status code equal to that given
func (*DeleteDestinationUnsupportedMediaType) IsRedirect ¶
func (o *DeleteDestinationUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *DeleteDestinationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete destination unsupported media type response has a 2xx status code
func (*DeleteDestinationUnsupportedMediaType) String ¶
func (o *DeleteDestinationUnsupportedMediaType) String() 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 (o *DeleteSubscriptionByIDBadRequest) Error() string
func (*DeleteSubscriptionByIDBadRequest) GetPayload ¶
func (o *DeleteSubscriptionByIDBadRequest) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDBadRequest) String() 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 (o *DeleteSubscriptionByIDConflict) Error() string
func (*DeleteSubscriptionByIDConflict) GetPayload ¶
func (o *DeleteSubscriptionByIDConflict) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDConflict) String() 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 (o *DeleteSubscriptionByIDForbidden) Error() string
func (*DeleteSubscriptionByIDForbidden) GetPayload ¶
func (o *DeleteSubscriptionByIDForbidden) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDForbidden) String() 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 (o *DeleteSubscriptionByIDInternalServerError) Error() string
func (*DeleteSubscriptionByIDInternalServerError) GetPayload ¶
func (o *DeleteSubscriptionByIDInternalServerError) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
func (*DeleteSubscriptionByIDInternalServerError) IsClientError ¶
func (o *DeleteSubscriptionByIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete subscription by Id internal server error response has a 4xx status code
func (*DeleteSubscriptionByIDInternalServerError) IsCode ¶
func (o *DeleteSubscriptionByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete subscription by Id internal server error response a status code equal to that given
func (*DeleteSubscriptionByIDInternalServerError) IsRedirect ¶
func (o *DeleteSubscriptionByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete subscription by Id internal server error response has a 3xx status code
func (*DeleteSubscriptionByIDInternalServerError) IsServerError ¶
func (o *DeleteSubscriptionByIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete subscription by Id internal server error response has a 5xx status code
func (*DeleteSubscriptionByIDInternalServerError) IsSuccess ¶
func (o *DeleteSubscriptionByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete subscription by Id internal server error response has a 2xx status code
func (*DeleteSubscriptionByIDInternalServerError) String ¶
func (o *DeleteSubscriptionByIDInternalServerError) String() 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 (o *DeleteSubscriptionByIDNotFound) Error() string
func (*DeleteSubscriptionByIDNotFound) GetPayload ¶
func (o *DeleteSubscriptionByIDNotFound) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDNotFound) String() 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 (o *DeleteSubscriptionByIDOK) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDParams) WithContext(ctx context.Context) *DeleteSubscriptionByIDParams
WithContext adds the context to the delete subscription by Id params
func (*DeleteSubscriptionByIDParams) WithDefaults ¶
func (o *DeleteSubscriptionByIDParams) WithDefaults() *DeleteSubscriptionByIDParams
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 ¶
func (o *DeleteSubscriptionByIDParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionByIDParams
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 ¶
func (o *DeleteSubscriptionByIDParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionByIDParams
WithTimeout adds the timeout to the delete subscription by Id params
func (*DeleteSubscriptionByIDParams) WriteToRequest ¶
func (o *DeleteSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteSubscriptionByIDRequestEntityTooLarge) Error() string
func (*DeleteSubscriptionByIDRequestEntityTooLarge) GetPayload ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsClientError ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this delete subscription by Id request entity too large response has a 4xx status code
func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsCode ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete subscription by Id request entity too large response a status code equal to that given
func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this delete subscription by Id request entity too large response has a 3xx status code
func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsServerError ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this delete subscription by Id request entity too large response has a 5xx status code
func (*DeleteSubscriptionByIDRequestEntityTooLarge) IsSuccess ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete subscription by Id request entity too large response has a 2xx status code
func (*DeleteSubscriptionByIDRequestEntityTooLarge) String ¶
func (o *DeleteSubscriptionByIDRequestEntityTooLarge) String() string
type DeleteSubscriptionByIDServiceUnavailable ¶
type DeleteSubscriptionByIDServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *DeleteSubscriptionByIDServiceUnavailable) Error() string
func (*DeleteSubscriptionByIDServiceUnavailable) GetPayload ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
func (*DeleteSubscriptionByIDServiceUnavailable) IsClientError ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete subscription by Id service unavailable response has a 4xx status code
func (*DeleteSubscriptionByIDServiceUnavailable) IsCode ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete subscription by Id service unavailable response a status code equal to that given
func (*DeleteSubscriptionByIDServiceUnavailable) IsRedirect ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete subscription by Id service unavailable response has a 3xx status code
func (*DeleteSubscriptionByIDServiceUnavailable) IsServerError ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete subscription by Id service unavailable response has a 5xx status code
func (*DeleteSubscriptionByIDServiceUnavailable) IsSuccess ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete subscription by Id service unavailable response has a 2xx status code
func (*DeleteSubscriptionByIDServiceUnavailable) String ¶
func (o *DeleteSubscriptionByIDServiceUnavailable) String() 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 (o *DeleteSubscriptionByIDTooManyRequests) Error() string
func (*DeleteSubscriptionByIDTooManyRequests) GetPayload ¶
func (o *DeleteSubscriptionByIDTooManyRequests) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
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 ¶
func (o *DeleteSubscriptionByIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete subscription by Id too many requests response a status code equal to that given
func (*DeleteSubscriptionByIDTooManyRequests) IsRedirect ¶
func (o *DeleteSubscriptionByIDTooManyRequests) IsRedirect() bool
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 ¶
func (o *DeleteSubscriptionByIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete subscription by Id too many requests response has a 2xx status code
func (*DeleteSubscriptionByIDTooManyRequests) String ¶
func (o *DeleteSubscriptionByIDTooManyRequests) String() 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 (o *DeleteSubscriptionByIDUnsupportedMediaType) Error() string
func (*DeleteSubscriptionByIDUnsupportedMediaType) GetPayload ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) GetPayload() *notifications_models.DeleteSubscriptionByIDResponse
func (*DeleteSubscriptionByIDUnsupportedMediaType) IsClientError ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this delete subscription by Id unsupported media type response has a 4xx status code
func (*DeleteSubscriptionByIDUnsupportedMediaType) IsCode ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete subscription by Id unsupported media type response a status code equal to that given
func (*DeleteSubscriptionByIDUnsupportedMediaType) IsRedirect ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this delete subscription by Id unsupported media type response has a 3xx status code
func (*DeleteSubscriptionByIDUnsupportedMediaType) IsServerError ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this delete subscription by Id unsupported media type response has a 5xx status code
func (*DeleteSubscriptionByIDUnsupportedMediaType) IsSuccess ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete subscription by Id unsupported media type response has a 2xx status code
func (*DeleteSubscriptionByIDUnsupportedMediaType) String ¶
func (o *DeleteSubscriptionByIDUnsupportedMediaType) String() 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 (o *GetDestinationBadRequest) GetPayload() *notifications_models.GetDestinationResponse
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 (o *GetDestinationConflict) GetPayload() *notifications_models.GetDestinationResponse
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 (o *GetDestinationForbidden) GetPayload() *notifications_models.GetDestinationResponse
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 (o *GetDestinationInternalServerError) Error() string
func (*GetDestinationInternalServerError) GetPayload ¶
func (o *GetDestinationInternalServerError) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationInternalServerError) String() 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 (o *GetDestinationNotFound) GetPayload() *notifications_models.GetDestinationResponse
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 (o *GetDestinationOK) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationParams) WithContext(ctx context.Context) *GetDestinationParams
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 (o *GetDestinationRequestEntityTooLarge) Error() string
func (*GetDestinationRequestEntityTooLarge) GetPayload ¶
func (o *GetDestinationRequestEntityTooLarge) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationRequestEntityTooLarge) IsCode(code int) bool
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 ¶
func (o *GetDestinationRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get destination request entity too large response has a 2xx status code
func (*GetDestinationRequestEntityTooLarge) String ¶
func (o *GetDestinationRequestEntityTooLarge) String() string
type GetDestinationServiceUnavailable ¶
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 (o *GetDestinationServiceUnavailable) Error() string
func (*GetDestinationServiceUnavailable) GetPayload ¶
func (o *GetDestinationServiceUnavailable) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationServiceUnavailable) String() 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 (o *GetDestinationTooManyRequests) Error() string
func (*GetDestinationTooManyRequests) GetPayload ¶
func (o *GetDestinationTooManyRequests) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationTooManyRequests) String() 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 (o *GetDestinationUnsupportedMediaType) Error() string
func (*GetDestinationUnsupportedMediaType) GetPayload ¶
func (o *GetDestinationUnsupportedMediaType) GetPayload() *notifications_models.GetDestinationResponse
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 ¶
func (o *GetDestinationUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *GetDestinationUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get destination unsupported media type response has a 2xx status code
func (*GetDestinationUnsupportedMediaType) String ¶
func (o *GetDestinationUnsupportedMediaType) String() 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 (o *GetDestinationsBadRequest) GetPayload() *notifications_models.GetDestinationsResponse
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 (o *GetDestinationsConflict) GetPayload() *notifications_models.GetDestinationsResponse
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 (o *GetDestinationsForbidden) GetPayload() *notifications_models.GetDestinationsResponse
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 (o *GetDestinationsInternalServerError) Error() string
func (*GetDestinationsInternalServerError) GetPayload ¶
func (o *GetDestinationsInternalServerError) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetDestinationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get destinations internal server error response has a 2xx status code
func (*GetDestinationsInternalServerError) String ¶
func (o *GetDestinationsInternalServerError) String() 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 (o *GetDestinationsNotFound) GetPayload() *notifications_models.GetDestinationsResponse
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 (o *GetDestinationsOK) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsParams) WithContext(ctx context.Context) *GetDestinationsParams
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 (o *GetDestinationsRequestEntityTooLarge) Error() string
func (*GetDestinationsRequestEntityTooLarge) GetPayload ¶
func (o *GetDestinationsRequestEntityTooLarge) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get destinations request entity too large response a status code equal to that given
func (*GetDestinationsRequestEntityTooLarge) IsRedirect ¶
func (o *GetDestinationsRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *GetDestinationsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get destinations request entity too large response has a 2xx status code
func (*GetDestinationsRequestEntityTooLarge) String ¶
func (o *GetDestinationsRequestEntityTooLarge) String() string
type GetDestinationsServiceUnavailable ¶
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 (o *GetDestinationsServiceUnavailable) Error() string
func (*GetDestinationsServiceUnavailable) GetPayload ¶
func (o *GetDestinationsServiceUnavailable) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsServiceUnavailable) String() 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 (o *GetDestinationsTooManyRequests) Error() string
func (*GetDestinationsTooManyRequests) GetPayload ¶
func (o *GetDestinationsTooManyRequests) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsTooManyRequests) String() 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 (o *GetDestinationsUnsupportedMediaType) Error() string
func (*GetDestinationsUnsupportedMediaType) GetPayload ¶
func (o *GetDestinationsUnsupportedMediaType) GetPayload() *notifications_models.GetDestinationsResponse
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 ¶
func (o *GetDestinationsUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *GetDestinationsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get destinations unsupported media type response has a 2xx status code
func (*GetDestinationsUnsupportedMediaType) String ¶
func (o *GetDestinationsUnsupportedMediaType) String() 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 (o *GetSubscriptionBadRequest) GetPayload() *notifications_models.GetSubscriptionResponse
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 (o *GetSubscriptionByIDBadRequest) Error() string
func (*GetSubscriptionByIDBadRequest) GetPayload ¶
func (o *GetSubscriptionByIDBadRequest) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDBadRequest) String() 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 (o *GetSubscriptionByIDConflict) Error() string
func (*GetSubscriptionByIDConflict) GetPayload ¶
func (o *GetSubscriptionByIDConflict) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 (o *GetSubscriptionByIDForbidden) Error() string
func (*GetSubscriptionByIDForbidden) GetPayload ¶
func (o *GetSubscriptionByIDForbidden) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDForbidden) String() 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 (o *GetSubscriptionByIDInternalServerError) Error() string
func (*GetSubscriptionByIDInternalServerError) GetPayload ¶
func (o *GetSubscriptionByIDInternalServerError) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get subscription by Id internal server error response a status code equal to that given
func (*GetSubscriptionByIDInternalServerError) IsRedirect ¶
func (o *GetSubscriptionByIDInternalServerError) IsRedirect() bool
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 ¶
func (o *GetSubscriptionByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subscription by Id internal server error response has a 2xx status code
func (*GetSubscriptionByIDInternalServerError) String ¶
func (o *GetSubscriptionByIDInternalServerError) String() 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 (o *GetSubscriptionByIDNotFound) Error() string
func (*GetSubscriptionByIDNotFound) GetPayload ¶
func (o *GetSubscriptionByIDNotFound) GetPayload() *notifications_models.GetSubscriptionResponse
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 (o *GetSubscriptionByIDOK) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDParams) WithContext(ctx context.Context) *GetSubscriptionByIDParams
WithContext adds the context to the get subscription by Id params
func (*GetSubscriptionByIDParams) WithDefaults ¶
func (o *GetSubscriptionByIDParams) WithDefaults() *GetSubscriptionByIDParams
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 ¶
func (o *GetSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetSubscriptionByIDParams
WithTimeout adds the timeout to the get subscription by Id params
func (*GetSubscriptionByIDParams) WriteToRequest ¶
func (o *GetSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetSubscriptionByIDRequestEntityTooLarge) Error() string
func (*GetSubscriptionByIDRequestEntityTooLarge) GetPayload ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) GetPayload() *notifications_models.GetSubscriptionByIDResponse
func (*GetSubscriptionByIDRequestEntityTooLarge) IsClientError ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get subscription by Id request entity too large response has a 4xx status code
func (*GetSubscriptionByIDRequestEntityTooLarge) IsCode ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get subscription by Id request entity too large response a status code equal to that given
func (*GetSubscriptionByIDRequestEntityTooLarge) IsRedirect ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get subscription by Id request entity too large response has a 3xx status code
func (*GetSubscriptionByIDRequestEntityTooLarge) IsServerError ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get subscription by Id request entity too large response has a 5xx status code
func (*GetSubscriptionByIDRequestEntityTooLarge) IsSuccess ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get subscription by Id request entity too large response has a 2xx status code
func (*GetSubscriptionByIDRequestEntityTooLarge) String ¶
func (o *GetSubscriptionByIDRequestEntityTooLarge) String() string
type GetSubscriptionByIDServiceUnavailable ¶
type GetSubscriptionByIDServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *GetSubscriptionByIDServiceUnavailable) Error() string
func (*GetSubscriptionByIDServiceUnavailable) GetPayload ¶
func (o *GetSubscriptionByIDServiceUnavailable) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get subscription by Id service unavailable response a status code equal to that given
func (*GetSubscriptionByIDServiceUnavailable) IsRedirect ¶
func (o *GetSubscriptionByIDServiceUnavailable) IsRedirect() bool
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 ¶
func (o *GetSubscriptionByIDServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get subscription by Id service unavailable response has a 2xx status code
func (*GetSubscriptionByIDServiceUnavailable) String ¶
func (o *GetSubscriptionByIDServiceUnavailable) String() 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 (o *GetSubscriptionByIDTooManyRequests) Error() string
func (*GetSubscriptionByIDTooManyRequests) GetPayload ¶
func (o *GetSubscriptionByIDTooManyRequests) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetSubscriptionByIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get subscription by Id too many requests response has a 2xx status code
func (*GetSubscriptionByIDTooManyRequests) String ¶
func (o *GetSubscriptionByIDTooManyRequests) String() 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 (o *GetSubscriptionByIDUnsupportedMediaType) Error() string
func (*GetSubscriptionByIDUnsupportedMediaType) GetPayload ¶
func (o *GetSubscriptionByIDUnsupportedMediaType) GetPayload() *notifications_models.GetSubscriptionByIDResponse
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 ¶
func (o *GetSubscriptionByIDUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get subscription by Id unsupported media type response a status code equal to that given
func (*GetSubscriptionByIDUnsupportedMediaType) IsRedirect ¶
func (o *GetSubscriptionByIDUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *GetSubscriptionByIDUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get subscription by Id unsupported media type response has a 2xx status code
func (*GetSubscriptionByIDUnsupportedMediaType) String ¶
func (o *GetSubscriptionByIDUnsupportedMediaType) String() 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 (o *GetSubscriptionForbidden) GetPayload() *notifications_models.GetSubscriptionResponse
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 (o *GetSubscriptionInternalServerError) Error() string
func (*GetSubscriptionInternalServerError) GetPayload ¶
func (o *GetSubscriptionInternalServerError) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetSubscriptionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get subscription internal server error response has a 2xx status code
func (*GetSubscriptionInternalServerError) String ¶
func (o *GetSubscriptionInternalServerError) String() 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 (o *GetSubscriptionNotFound) GetPayload() *notifications_models.GetSubscriptionResponse
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 (o *GetSubscriptionOK) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
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 (o *GetSubscriptionRequestEntityTooLarge) Error() string
func (*GetSubscriptionRequestEntityTooLarge) GetPayload ¶
func (o *GetSubscriptionRequestEntityTooLarge) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get subscription request entity too large response a status code equal to that given
func (*GetSubscriptionRequestEntityTooLarge) IsRedirect ¶
func (o *GetSubscriptionRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *GetSubscriptionRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get subscription request entity too large response has a 2xx status code
func (*GetSubscriptionRequestEntityTooLarge) String ¶
func (o *GetSubscriptionRequestEntityTooLarge) String() string
type GetSubscriptionServiceUnavailable ¶
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 (o *GetSubscriptionServiceUnavailable) Error() string
func (*GetSubscriptionServiceUnavailable) GetPayload ¶
func (o *GetSubscriptionServiceUnavailable) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionServiceUnavailable) String() 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 (o *GetSubscriptionTooManyRequests) Error() string
func (*GetSubscriptionTooManyRequests) GetPayload ¶
func (o *GetSubscriptionTooManyRequests) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionTooManyRequests) String() 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 (o *GetSubscriptionUnsupportedMediaType) Error() string
func (*GetSubscriptionUnsupportedMediaType) GetPayload ¶
func (o *GetSubscriptionUnsupportedMediaType) GetPayload() *notifications_models.GetSubscriptionResponse
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 ¶
func (o *GetSubscriptionUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *GetSubscriptionUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get subscription unsupported media type response has a 2xx status code
func (*GetSubscriptionUnsupportedMediaType) String ¶
func (o *GetSubscriptionUnsupportedMediaType) String() string
Source Files ¶
- create_destination_parameters.go
- create_destination_responses.go
- create_subscription_parameters.go
- create_subscription_responses.go
- delete_destination_parameters.go
- delete_destination_responses.go
- delete_subscription_by_id_parameters.go
- delete_subscription_by_id_responses.go
- get_destination_parameters.go
- get_destination_responses.go
- get_destinations_parameters.go
- get_destinations_responses.go
- get_subscription_by_id_parameters.go
- get_subscription_by_id_responses.go
- get_subscription_parameters.go
- get_subscription_responses.go
- notifications_client.go