types

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 4 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Endpoint for mobile app and device.

type EndpointDisabledException

type EndpointDisabledException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Indicates that the number of filter polices in your account exceeds the limit. To add more filter polices, submit an SNS Limit Increase case in the Amazon Web Services 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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 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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The Amazon Web Services 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
	// contains filtered or unexported fields
}

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 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 LanguageCodeString added in v1.5.0

type LanguageCodeString string
const (
	LanguageCodeStringEnUs  LanguageCodeString = "en-US"
	LanguageCodeStringEnGb  LanguageCodeString = "en-GB"
	LanguageCodeStringEs419 LanguageCodeString = "es-419"
	LanguageCodeStringEsEs  LanguageCodeString = "es-ES"
	LanguageCodeStringDeDe  LanguageCodeString = "de-DE"
	LanguageCodeStringFrCa  LanguageCodeString = "fr-CA"
	LanguageCodeStringFrFr  LanguageCodeString = "fr-FR"
	LanguageCodeStringItIt  LanguageCodeString = "it-IT"
	LanguageCodeStringJpJp  LanguageCodeString = "ja-JP"
	LanguageCodeStringPtBr  LanguageCodeString = "pt-BR"
	LanguageCodeStringKrKr  LanguageCodeString = "kr-KR"
	LanguageCodeStringZhCn  LanguageCodeString = "zh-CN"
	LanguageCodeStringZhTw  LanguageCodeString = "zh-TW"
)

Enum values for LanguageCodeString

func (LanguageCodeString) Values added in v1.5.0

Values returns all known values for LanguageCodeString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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 NumberCapability added in v1.5.0

type NumberCapability string
const (
	NumberCapabilitySms   NumberCapability = "SMS"
	NumberCapabilityMms   NumberCapability = "MMS"
	NumberCapabilityVoice NumberCapability = "VOICE"
)

Enum values for NumberCapability

func (NumberCapability) Values added in v1.5.0

Values returns all known values for NumberCapability. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OptedOutException added in v1.5.0

type OptedOutException struct {
	Message *string
	// contains filtered or unexported fields
}

Indicates that the specified phone number opted out of receiving SMS messages from your account. You can't send SMS messages to phone numbers that opt out.

func (*OptedOutException) Error added in v1.5.0

func (e *OptedOutException) Error() string

func (*OptedOutException) ErrorCode added in v1.5.0

func (e *OptedOutException) ErrorCode() string

func (*OptedOutException) ErrorFault added in v1.5.0

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

func (*OptedOutException) ErrorMessage added in v1.5.0

func (e *OptedOutException) ErrorMessage() string

type PhoneNumberInformation added in v1.5.0

type PhoneNumberInformation struct {

	// The date and time when the phone number was created.
	CreatedAt *time.Time

	// The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
	Iso2CountryCode *string

	// The capabilities of each phone number.
	NumberCapabilities []NumberCapability

	// The phone number.
	PhoneNumber *string

	// The list of supported routes.
	RouteType RouteType

	// The status of the phone number.
	Status *string
	// contains filtered or unexported fields
}

A list of phone numbers and their metadata.

type PlatformApplication

type PlatformApplication struct {

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

	// PlatformApplicationArn for platform application object.
	PlatformApplicationArn *string
	// contains filtered or unexported fields
}

Platform application object.

type PlatformApplicationDisabledException

type PlatformApplicationDisabledException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

Can’t perform the action on the specified resource. Make sure that the resource 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 RouteType added in v1.5.0

type RouteType string
const (
	RouteTypeTransactional RouteType = "Transactional"
	RouteTypePromotional   RouteType = "Promotional"
	RouteTypePremium       RouteType = "Premium"
)

Enum values for RouteType

func (RouteType) Values added in v1.5.0

func (RouteType) Values() []RouteType

Values returns all known values for RouteType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SMSSandboxPhoneNumber added in v1.5.0

type SMSSandboxPhoneNumber struct {

	// The destination phone number.
	PhoneNumber *string

	// The destination phone number's verification status.
	Status SMSSandboxPhoneNumberVerificationStatus
	// contains filtered or unexported fields
}

A verified or pending destination phone number in the SMS sandbox. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox (https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html) in the Amazon SNS Developer Guide.

type SMSSandboxPhoneNumberVerificationStatus added in v1.5.0

type SMSSandboxPhoneNumberVerificationStatus string
const (
	SMSSandboxPhoneNumberVerificationStatusPending  SMSSandboxPhoneNumberVerificationStatus = "Pending"
	SMSSandboxPhoneNumberVerificationStatusVerified SMSSandboxPhoneNumberVerificationStatus = "Verified"
)

Enum values for SMSSandboxPhoneNumberVerificationStatus

func (SMSSandboxPhoneNumberVerificationStatus) Values added in v1.5.0

Values returns all known values for SMSSandboxPhoneNumberVerificationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type StaleTagException

type StaleTagException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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

type SubscriptionLimitExceededException

type SubscriptionLimitExceededException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

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

type UserErrorException added in v1.5.0

type UserErrorException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*UserErrorException) Error added in v1.5.0

func (e *UserErrorException) Error() string

func (*UserErrorException) ErrorCode added in v1.5.0

func (e *UserErrorException) ErrorCode() string

func (*UserErrorException) ErrorFault added in v1.5.0

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

func (*UserErrorException) ErrorMessage added in v1.5.0

func (e *UserErrorException) ErrorMessage() string

type ValidationException added in v1.5.0

type ValidationException struct {
	Message *string
	// contains filtered or unexported fields
}

Indicates that a parameter in the request is invalid.

func (*ValidationException) Error added in v1.5.0

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode added in v1.5.0

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault added in v1.5.0

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

func (*ValidationException) ErrorMessage added in v1.5.0

func (e *ValidationException) ErrorMessage() string

type VerificationException added in v1.5.0

type VerificationException struct {
	Message *string

	Status *string
	// contains filtered or unexported fields
}

Indicates that the one-time password (OTP) used for verification is invalid.

func (*VerificationException) Error added in v1.5.0

func (e *VerificationException) Error() string

func (*VerificationException) ErrorCode added in v1.5.0

func (e *VerificationException) ErrorCode() string

func (*VerificationException) ErrorFault added in v1.5.0

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

func (*VerificationException) ErrorMessage added in v1.5.0

func (e *VerificationException) ErrorMessage() string

Jump to

Keyboard shortcuts

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