types

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 105

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationErrorException

type AuthorizationErrorException struct {
	Message *string
}

Indicates that the user has been denied access to the requested resource.

func (*AuthorizationErrorException) Error

func (*AuthorizationErrorException) ErrorCode

func (e *AuthorizationErrorException) ErrorCode() string

func (*AuthorizationErrorException) ErrorFault

func (*AuthorizationErrorException) ErrorMessage

func (e *AuthorizationErrorException) ErrorMessage() string

type ConcurrentAccessException

type ConcurrentAccessException struct {
	Message *string
}

Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.

func (*ConcurrentAccessException) Error

func (e *ConcurrentAccessException) Error() string

func (*ConcurrentAccessException) ErrorCode

func (e *ConcurrentAccessException) ErrorCode() string

func (*ConcurrentAccessException) ErrorFault

func (*ConcurrentAccessException) ErrorMessage

func (e *ConcurrentAccessException) ErrorMessage() string

type Endpoint

type Endpoint struct {

	// Attributes for endpoint.
	Attributes map[string]string

	// EndpointArn for mobile app and device.
	EndpointArn *string
}

Endpoint for mobile app and device.

type EndpointDisabledException

type EndpointDisabledException struct {
	Message *string
}

Exception error indicating endpoint disabled.

func (*EndpointDisabledException) Error

func (e *EndpointDisabledException) Error() string

func (*EndpointDisabledException) ErrorCode

func (e *EndpointDisabledException) ErrorCode() string

func (*EndpointDisabledException) ErrorFault

func (*EndpointDisabledException) ErrorMessage

func (e *EndpointDisabledException) ErrorMessage() string

type FilterPolicyLimitExceededException

type FilterPolicyLimitExceededException struct {
	Message *string
}

Indicates that the number of filter polices in your AWS account exceeds the limit. To add more filter polices, submit an SNS Limit Increase case in the AWS Support Center.

func (*FilterPolicyLimitExceededException) Error

func (*FilterPolicyLimitExceededException) ErrorCode

func (*FilterPolicyLimitExceededException) ErrorFault

func (*FilterPolicyLimitExceededException) ErrorMessage

func (e *FilterPolicyLimitExceededException) ErrorMessage() string

type InternalErrorException

type InternalErrorException struct {
	Message *string
}

Indicates an internal service error.

func (*InternalErrorException) Error

func (e *InternalErrorException) Error() string

func (*InternalErrorException) ErrorCode

func (e *InternalErrorException) ErrorCode() string

func (*InternalErrorException) ErrorFault

func (e *InternalErrorException) ErrorFault() smithy.ErrorFault

func (*InternalErrorException) ErrorMessage

func (e *InternalErrorException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string
}

Indicates that a request parameter does not comply with the associated constraints.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidParameterValueException

type InvalidParameterValueException struct {
	Message *string
}

Indicates that a request parameter does not comply with the associated constraints.

func (*InvalidParameterValueException) Error

func (*InvalidParameterValueException) ErrorCode

func (e *InvalidParameterValueException) ErrorCode() string

func (*InvalidParameterValueException) ErrorFault

func (*InvalidParameterValueException) ErrorMessage

func (e *InvalidParameterValueException) ErrorMessage() string

type InvalidSecurityException

type InvalidSecurityException struct {
	Message *string
}

The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.

func (*InvalidSecurityException) Error

func (e *InvalidSecurityException) Error() string

func (*InvalidSecurityException) ErrorCode

func (e *InvalidSecurityException) ErrorCode() string

func (*InvalidSecurityException) ErrorFault

func (e *InvalidSecurityException) ErrorFault() smithy.ErrorFault

func (*InvalidSecurityException) ErrorMessage

func (e *InvalidSecurityException) ErrorMessage() string

type KMSAccessDeniedException

type KMSAccessDeniedException struct {
	Message *string
}

The ciphertext references a key that doesn't exist or that you don't have access to.

func (*KMSAccessDeniedException) Error

func (e *KMSAccessDeniedException) Error() string

func (*KMSAccessDeniedException) ErrorCode

func (e *KMSAccessDeniedException) ErrorCode() string

func (*KMSAccessDeniedException) ErrorFault

func (e *KMSAccessDeniedException) ErrorFault() smithy.ErrorFault

func (*KMSAccessDeniedException) ErrorMessage

func (e *KMSAccessDeniedException) ErrorMessage() string

type KMSDisabledException

type KMSDisabledException struct {
	Message *string
}

The request was rejected because the specified customer master key (CMK) isn't enabled.

func (*KMSDisabledException) Error

func (e *KMSDisabledException) Error() string

func (*KMSDisabledException) ErrorCode

func (e *KMSDisabledException) ErrorCode() string

func (*KMSDisabledException) ErrorFault

func (e *KMSDisabledException) ErrorFault() smithy.ErrorFault

func (*KMSDisabledException) ErrorMessage

func (e *KMSDisabledException) ErrorMessage() string

type KMSInvalidStateException

type KMSInvalidStateException struct {
	Message *string
}

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) in the AWS Key Management Service Developer Guide.

func (*KMSInvalidStateException) Error

func (e *KMSInvalidStateException) Error() string

func (*KMSInvalidStateException) ErrorCode

func (e *KMSInvalidStateException) ErrorCode() string

func (*KMSInvalidStateException) ErrorFault

func (e *KMSInvalidStateException) ErrorFault() smithy.ErrorFault

func (*KMSInvalidStateException) ErrorMessage

func (e *KMSInvalidStateException) ErrorMessage() string

type KMSNotFoundException

type KMSNotFoundException struct {
	Message *string
}

The request was rejected because the specified entity or resource can't be found.

func (*KMSNotFoundException) Error

func (e *KMSNotFoundException) Error() string

func (*KMSNotFoundException) ErrorCode

func (e *KMSNotFoundException) ErrorCode() string

func (*KMSNotFoundException) ErrorFault

func (e *KMSNotFoundException) ErrorFault() smithy.ErrorFault

func (*KMSNotFoundException) ErrorMessage

func (e *KMSNotFoundException) ErrorMessage() string

type KMSOptInRequired

type KMSOptInRequired struct {
	Message *string
}

The AWS access key ID needs a subscription for the service.

func (*KMSOptInRequired) Error

func (e *KMSOptInRequired) Error() string

func (*KMSOptInRequired) ErrorCode

func (e *KMSOptInRequired) ErrorCode() string

func (*KMSOptInRequired) ErrorFault

func (e *KMSOptInRequired) ErrorFault() smithy.ErrorFault

func (*KMSOptInRequired) ErrorMessage

func (e *KMSOptInRequired) ErrorMessage() string

type KMSThrottlingException

type KMSThrottlingException struct {
	Message *string
}

The request was denied due to request throttling. For more information about throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) in the AWS Key Management Service Developer Guide.

func (*KMSThrottlingException) Error

func (e *KMSThrottlingException) Error() string

func (*KMSThrottlingException) ErrorCode

func (e *KMSThrottlingException) ErrorCode() string

func (*KMSThrottlingException) ErrorFault

func (e *KMSThrottlingException) ErrorFault() smithy.ErrorFault

func (*KMSThrottlingException) ErrorMessage

func (e *KMSThrottlingException) ErrorMessage() string

type MessageAttributeValue

type MessageAttributeValue struct {

	// Amazon SNS supports the following logical data types: String, String.Array,
	// Number, and Binary. For more information, see Message Attribute Data Types
	// (https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes).
	//
	// This member is required.
	DataType *string

	// Binary type attributes can store any binary data, for example, compressed data,
	// encrypted data, or images.
	BinaryValue []byte

	// Strings are Unicode with UTF8 binary encoding. For a list of code values, see
	// ASCII Printable Characters
	// (https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters).
	StringValue *string
}

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish (https://docs.aws.amazon.com/sns/latest/api/API_Publish.html). Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Amazon SNS message attributes (https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html) and Publishing to a mobile phone (https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html) in the Amazon SNS Developer Guide.

type NotFoundException

type NotFoundException struct {
	Message *string
}

Indicates that the requested resource does not exist.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

type PlatformApplication

type PlatformApplication struct {

	// Attributes for platform application object.
	Attributes map[string]string

	// PlatformApplicationArn for platform application object.
	PlatformApplicationArn *string
}

Platform application object.

type PlatformApplicationDisabledException

type PlatformApplicationDisabledException struct {
	Message *string
}

Exception error indicating platform application disabled.

func (*PlatformApplicationDisabledException) Error

func (*PlatformApplicationDisabledException) ErrorCode

func (*PlatformApplicationDisabledException) ErrorFault

func (*PlatformApplicationDisabledException) ErrorMessage

func (e *PlatformApplicationDisabledException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

Can't tag resource. Verify that the topic exists.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type StaleTagException

type StaleTagException struct {
	Message *string
}

A tag has been added to a resource with the same ARN as a deleted resource. Wait a short while and then retry the operation.

func (*StaleTagException) Error

func (e *StaleTagException) Error() string

func (*StaleTagException) ErrorCode

func (e *StaleTagException) ErrorCode() string

func (*StaleTagException) ErrorFault

func (e *StaleTagException) ErrorFault() smithy.ErrorFault

func (*StaleTagException) ErrorMessage

func (e *StaleTagException) ErrorMessage() string

type Subscription

type Subscription struct {

	// The subscription's endpoint (format depends on the protocol).
	Endpoint *string

	// The subscription's owner.
	Owner *string

	// The subscription's protocol.
	Protocol *string

	// The subscription's ARN.
	SubscriptionArn *string

	// The ARN of the subscription's topic.
	TopicArn *string
}

A wrapper type for the attributes of an Amazon SNS subscription.

type SubscriptionLimitExceededException

type SubscriptionLimitExceededException struct {
	Message *string
}

Indicates that the customer already owns the maximum allowed number of subscriptions.

func (*SubscriptionLimitExceededException) Error

func (*SubscriptionLimitExceededException) ErrorCode

func (*SubscriptionLimitExceededException) ErrorFault

func (*SubscriptionLimitExceededException) ErrorMessage

func (e *SubscriptionLimitExceededException) ErrorMessage() string

type Tag

type Tag struct {

	// The required key portion of the tag.
	//
	// This member is required.
	Key *string

	// The optional value portion of the tag.
	//
	// This member is required.
	Value *string
}

The list of tags to be added to the specified topic.

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string
}

Can't add more than 50 tags to a topic.

func (*TagLimitExceededException) Error

func (e *TagLimitExceededException) Error() string

func (*TagLimitExceededException) ErrorCode

func (e *TagLimitExceededException) ErrorCode() string

func (*TagLimitExceededException) ErrorFault

func (*TagLimitExceededException) ErrorMessage

func (e *TagLimitExceededException) ErrorMessage() string

type TagPolicyException

type TagPolicyException struct {
	Message *string
}

The request doesn't comply with the IAM tag policy. Correct your request and then retry it.

func (*TagPolicyException) Error

func (e *TagPolicyException) Error() string

func (*TagPolicyException) ErrorCode

func (e *TagPolicyException) ErrorCode() string

func (*TagPolicyException) ErrorFault

func (e *TagPolicyException) ErrorFault() smithy.ErrorFault

func (*TagPolicyException) ErrorMessage

func (e *TagPolicyException) ErrorMessage() string

type ThrottledException

type ThrottledException struct {
	Message *string
}

Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.

func (*ThrottledException) Error

func (e *ThrottledException) Error() string

func (*ThrottledException) ErrorCode

func (e *ThrottledException) ErrorCode() string

func (*ThrottledException) ErrorFault

func (e *ThrottledException) ErrorFault() smithy.ErrorFault

func (*ThrottledException) ErrorMessage

func (e *ThrottledException) ErrorMessage() string

type Topic

type Topic struct {

	// The topic's ARN.
	TopicArn *string
}

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

type TopicLimitExceededException

type TopicLimitExceededException struct {
	Message *string
}

Indicates that the customer already owns the maximum allowed number of topics.

func (*TopicLimitExceededException) Error

func (*TopicLimitExceededException) ErrorCode

func (e *TopicLimitExceededException) ErrorCode() string

func (*TopicLimitExceededException) ErrorFault

func (*TopicLimitExceededException) ErrorMessage

func (e *TopicLimitExceededException) ErrorMessage() string

Jump to

Keyboard shortcuts

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