types

package
v1.33.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 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

	ErrorCodeOverride *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 BatchEntryIdsNotDistinctException added in v1.12.0

type BatchEntryIdsNotDistinctException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Two or more batch entries in the request have the same Id .

func (*BatchEntryIdsNotDistinctException) Error added in v1.12.0

func (*BatchEntryIdsNotDistinctException) ErrorCode added in v1.12.0

func (*BatchEntryIdsNotDistinctException) ErrorFault added in v1.12.0

func (*BatchEntryIdsNotDistinctException) ErrorMessage added in v1.12.0

func (e *BatchEntryIdsNotDistinctException) ErrorMessage() string

type BatchRequestTooLongException added in v1.12.0

type BatchRequestTooLongException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The length of all the batch messages put together is more than the limit.

func (*BatchRequestTooLongException) Error added in v1.12.0

func (*BatchRequestTooLongException) ErrorCode added in v1.12.0

func (e *BatchRequestTooLongException) ErrorCode() string

func (*BatchRequestTooLongException) ErrorFault added in v1.12.0

func (*BatchRequestTooLongException) ErrorMessage added in v1.12.0

func (e *BatchRequestTooLongException) ErrorMessage() string

type BatchResultErrorEntry added in v1.12.0

type BatchResultErrorEntry struct {

	// An error code representing why the action failed on this entry.
	//
	// This member is required.
	Code *string

	// The Id of an entry in a batch request
	//
	// This member is required.
	Id *string

	// Specifies whether the error happened due to the caller of the batch API action.
	//
	// This member is required.
	SenderFault bool

	// A message explaining why the action failed on this entry.
	Message *string
	// contains filtered or unexported fields
}

Gives a detailed description of failed messages in the batch.

type ConcurrentAccessException

type ConcurrentAccessException struct {
	Message *string

	ErrorCodeOverride *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 EmptyBatchRequestException added in v1.12.0

type EmptyBatchRequestException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The batch request doesn't contain any entries.

func (*EmptyBatchRequestException) Error added in v1.12.0

func (*EmptyBatchRequestException) ErrorCode added in v1.12.0

func (e *EmptyBatchRequestException) ErrorCode() string

func (*EmptyBatchRequestException) ErrorFault added in v1.12.0

func (*EmptyBatchRequestException) ErrorMessage added in v1.12.0

func (e *EmptyBatchRequestException) ErrorMessage() string

type Endpoint

type Endpoint struct {

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

	// The EndpointArn for mobile app and device.
	EndpointArn *string
	// contains filtered or unexported fields
}

The endpoint for mobile app and device.

type EndpointDisabledException

type EndpointDisabledException struct {
	Message *string

	ErrorCodeOverride *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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To add more filter polices, submit an Amazon 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

	ErrorCodeOverride *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 InvalidBatchEntryIdException added in v1.12.0

type InvalidBatchEntryIdException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Id of a batch entry in a batch request doesn't abide by the specification.

func (*InvalidBatchEntryIdException) Error added in v1.12.0

func (*InvalidBatchEntryIdException) ErrorCode added in v1.12.0

func (e *InvalidBatchEntryIdException) ErrorCode() string

func (*InvalidBatchEntryIdException) ErrorFault added in v1.12.0

func (*InvalidBatchEntryIdException) ErrorMessage added in v1.12.0

func (e *InvalidBatchEntryIdException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *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 InvalidStateException added in v1.23.0

type InvalidStateException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that the specified state is not a valid state for an event source.

func (*InvalidStateException) Error added in v1.23.0

func (e *InvalidStateException) Error() string

func (*InvalidStateException) ErrorCode added in v1.23.0

func (e *InvalidStateException) ErrorCode() string

func (*InvalidStateException) ErrorFault added in v1.23.0

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

func (*InvalidStateException) ErrorMessage added in v1.23.0

func (e *InvalidStateException) ErrorMessage() string

type KMSAccessDeniedException

type KMSAccessDeniedException struct {
	Message *string

	ErrorCodeOverride *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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected because the specified Amazon Web Services KMS key 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

	ErrorCodeOverride *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 Key states of Amazon Web Services KMS keysin 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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied due to request throttling. For more information about throttling, see Limitsin 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].
	//
	// [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].
	//
	// [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.

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 attributesand Publishing to a mobile phone in the Amazon SNS Developer Guide.

type NotFoundException

type NotFoundException struct {
	Message *string

	ErrorCodeOverride *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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that the specified phone number opted out of receiving SMS messages from your Amazon Web Services 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

	ErrorCodeOverride *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 PublishBatchRequestEntry added in v1.12.0

type PublishBatchRequestEntry struct {

	// An identifier for the message in this batch.
	//
	// The Ids of a batch request must be unique within a request.
	//
	// This identifier can have up to 80 characters. The following characters are
	// accepted: alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// The body of the message.
	//
	// This member is required.
	Message *string

	// Each message attribute consists of a Name , Type , and Value . For more
	// information, see [Amazon SNS message attributes]in the Amazon SNS Developer Guide.
	//
	// [Amazon SNS message attributes]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-attributes.html
	MessageAttributes map[string]MessageAttributeValue

	// This parameter applies only to FIFO (first-in-first-out) topics.
	//
	// The token used for deduplication of messages within a 5-minute minimum
	// deduplication interval. If a message with a particular MessageDeduplicationId
	// is sent successfully, subsequent messages with the same MessageDeduplicationId
	// are accepted successfully but aren't delivered.
	//
	//   - Every message must have a unique MessageDeduplicationId .
	//
	//   - You may provide a MessageDeduplicationId explicitly.
	//
	//   - If you aren't able to provide a MessageDeduplicationId and you enable
	//   ContentBasedDeduplication for your topic, Amazon SNS uses a SHA-256 hash to
	//   generate the MessageDeduplicationId using the body of the message (but not the
	//   attributes of the message).
	//
	//   - If you don't provide a MessageDeduplicationId and the topic doesn't have
	//   ContentBasedDeduplication set, the action fails with an error.
	//
	//   - If the topic has a ContentBasedDeduplication set, your
	//   MessageDeduplicationId overrides the generated one.
	//
	//   - When ContentBasedDeduplication is in effect, messages with identical content
	//   sent within the deduplication interval are treated as duplicates and only one
	//   copy of the message is delivered.
	//
	//   - If you send one message with ContentBasedDeduplication enabled, and then
	//   another message with a MessageDeduplicationId that is the same as the one
	//   generated for the first MessageDeduplicationId , the two messages are treated
	//   as duplicates and only one copy of the message is delivered.
	//
	// The MessageDeduplicationId is available to the consumer of the message (this
	// can be useful for troubleshooting delivery issues).
	//
	// If a message is sent successfully but the acknowledgement is lost and the
	// message is resent with the same MessageDeduplicationId after the deduplication
	// interval, Amazon SNS can't detect duplicate messages.
	//
	// Amazon SNS continues to keep track of the message deduplication ID even after
	// the message is received and deleted.
	//
	// The length of MessageDeduplicationId is 128 characters.
	//
	// MessageDeduplicationId can contain alphanumeric characters (a-z, A-Z, 0-9) and
	// punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) .
	MessageDeduplicationId *string

	// This parameter applies only to FIFO (first-in-first-out) topics.
	//
	// The tag that specifies that a message belongs to a specific message group.
	// Messages that belong to the same message group are processed in a FIFO manner
	// (however, messages in different message groups might be processed out of order).
	// To interleave multiple ordered streams within a single topic, use MessageGroupId
	// values (for example, session data for multiple users). In this scenario,
	// multiple consumers can process the topic, but the session data of each user is
	// processed in a FIFO fashion.
	//
	// You must associate a non-empty MessageGroupId with a message. If you don't
	// provide a MessageGroupId , the action fails.
	//
	// The length of MessageGroupId is 128 characters.
	//
	// MessageGroupId can contain alphanumeric characters (a-z, A-Z, 0-9) and
	// punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) .
	//
	// MessageGroupId is required for FIFO topics. You can't use it for standard
	// topics.
	MessageGroupId *string

	// Set MessageStructure to json if you want to send a different message for each
	// protocol. For example, using one publish action, you can send a short message to
	// your SMS subscribers and a longer message to your email subscribers. If you set
	// MessageStructure to json , the value of the Message parameter must:
	//
	//   - be a syntactically valid JSON object; and
	//
	//   - contain at least a top-level JSON key of "default" with a value that is a
	//   string.
	//
	// You can define other top-level keys that define the message you want to send to
	// a specific transport protocol (e.g. http).
	MessageStructure *string

	// The subject of the batch message.
	Subject *string
	// contains filtered or unexported fields
}

Contains the details of a single Amazon SNS message along with an Id that identifies a message within the batch.

type PublishBatchResultEntry added in v1.12.0

type PublishBatchResultEntry struct {

	// The Id of an entry in a batch request.
	Id *string

	// An identifier for the message.
	MessageId *string

	// This parameter applies only to FIFO (first-in-first-out) topics.
	//
	// The large, non-consecutive number that Amazon SNS assigns to each message.
	//
	// The length of SequenceNumber is 128 bits. SequenceNumber continues to increase
	// for a particular MessageGroupId .
	SequenceNumber *string
	// contains filtered or unexported fields
}

Encloses data related to a successful message in a batch request for topic.

type ReplayLimitExceededException added in v1.23.0

type ReplayLimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that the request parameter has exceeded the maximum number of concurrent message replays.

func (*ReplayLimitExceededException) Error added in v1.23.0

func (*ReplayLimitExceededException) ErrorCode added in v1.23.0

func (e *ReplayLimitExceededException) ErrorCode() string

func (*ReplayLimitExceededException) ErrorFault added in v1.23.0

func (*ReplayLimitExceededException) ErrorMessage added in v1.23.0

func (e *ReplayLimitExceededException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *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 Amazon Web Services 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 Amazon Web Services 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 sandboxin 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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services 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 TooManyEntriesInBatchRequestException added in v1.12.0

type TooManyEntriesInBatchRequestException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The batch request contains more entries than permissible.

func (*TooManyEntriesInBatchRequestException) Error added in v1.12.0

func (*TooManyEntriesInBatchRequestException) ErrorCode added in v1.12.0

func (*TooManyEntriesInBatchRequestException) ErrorFault added in v1.12.0

func (*TooManyEntriesInBatchRequestException) ErrorMessage added in v1.12.0

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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *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

	ErrorCodeOverride *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