pinpointsmsvoicev2

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package pinpointsmsvoicev2 provides the client and types for making API requests to Amazon Pinpoint SMS Voice V2.

Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference. This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API resources, including supported HTTP methods, parameters, and schemas.

Amazon Pinpoint is an Amazon Web Services service that you can use to engage with your recipients across multiple messaging channels. The Amazon Pinpoint SMS and Voice, version 2 API provides programmatic access to options that are unique to the SMS and voice channels. Amazon Pinpoint SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API.

If you're new to Amazon Pinpoint SMS, it's also helpful to review the Amazon Pinpoint SMS User Guide (https://docs.aws.amazon.com/sms-voice/latest/userguide/what-is-service.html). The Amazon Pinpoint Developer Guide provides tutorials, code samples, and procedures that demonstrate how to use Amazon Pinpoint SMS features programmatically and how to integrate Amazon Pinpoint functionality into mobile apps and other types of applications. The guide also provides key information, such as Amazon Pinpoint integration with other Amazon Web Services services, and the quotas that apply to use of the service.

Regional availability

The Amazon Pinpoint SMS and Voice, version 2 API Reference is available in several Amazon Web Services Regions and it provides an endpoint for each of these Regions. For a list of all the Regions and endpoints where the API is currently available, see Amazon Web Services Service Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#pinpoint_region) and Amazon Pinpoint endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/pinpoint.html) in the Amazon Web Services General Reference. To learn more about Amazon Web Services Regions, see Managing Amazon Web Services Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) in the Amazon Web Services General Reference.

In each Region, Amazon Web Services maintains multiple Availability Zones. These Availability Zones are physically isolated from each other, but are united by private, low-latency, high-throughput, and highly redundant network connections. These Availability Zones enable us to provide very high levels of availability and redundancy, while also minimizing latency. To learn more about the number of Availability Zones that are available in each Region, see Amazon Web Services Global Infrastructure. (https://aws.amazon.com/about-aws/global-infrastructure/)

See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31 for more information on this service.

See pinpointsmsvoicev2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointsmsvoicev2/

Using the Client

To contact Amazon Pinpoint SMS Voice V2 with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Pinpoint SMS Voice V2 client PinpointSMSVoiceV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointsmsvoicev2/#New

Index

Constants

View Source
const (
	// AccessDeniedExceptionReasonInsufficientAccountReputation is a AccessDeniedExceptionReason enum value
	AccessDeniedExceptionReasonInsufficientAccountReputation = "INSUFFICIENT_ACCOUNT_REPUTATION"

	// AccessDeniedExceptionReasonAccountDisabled is a AccessDeniedExceptionReason enum value
	AccessDeniedExceptionReasonAccountDisabled = "ACCOUNT_DISABLED"
)
View Source
const (
	// AccountAttributeNameAccountTier is a AccountAttributeName enum value
	AccountAttributeNameAccountTier = "ACCOUNT_TIER"

	// AccountAttributeNameDefaultProtectConfigurationId is a AccountAttributeName enum value
	AccountAttributeNameDefaultProtectConfigurationId = "DEFAULT_PROTECT_CONFIGURATION_ID"
)
View Source
const (
	// AccountLimitNamePhoneNumbers is a AccountLimitName enum value
	AccountLimitNamePhoneNumbers = "PHONE_NUMBERS"

	// AccountLimitNamePools is a AccountLimitName enum value
	AccountLimitNamePools = "POOLS"

	// AccountLimitNameConfigurationSets is a AccountLimitName enum value
	AccountLimitNameConfigurationSets = "CONFIGURATION_SETS"

	// AccountLimitNameOptOutLists is a AccountLimitName enum value
	AccountLimitNameOptOutLists = "OPT_OUT_LISTS"

	// AccountLimitNameSenderIds is a AccountLimitName enum value
	AccountLimitNameSenderIds = "SENDER_IDS"

	// AccountLimitNameRegistrations is a AccountLimitName enum value
	AccountLimitNameRegistrations = "REGISTRATIONS"

	// AccountLimitNameRegistrationAttachments is a AccountLimitName enum value
	AccountLimitNameRegistrationAttachments = "REGISTRATION_ATTACHMENTS"

	// AccountLimitNameVerifiedDestinationNumbers is a AccountLimitName enum value
	AccountLimitNameVerifiedDestinationNumbers = "VERIFIED_DESTINATION_NUMBERS"
)
View Source
const (
	// AttachmentStatusUploadInProgress is a AttachmentStatus enum value
	AttachmentStatusUploadInProgress = "UPLOAD_IN_PROGRESS"

	// AttachmentStatusUploadComplete is a AttachmentStatus enum value
	AttachmentStatusUploadComplete = "UPLOAD_COMPLETE"

	// AttachmentStatusUploadFailed is a AttachmentStatus enum value
	AttachmentStatusUploadFailed = "UPLOAD_FAILED"

	// AttachmentStatusDeleted is a AttachmentStatus enum value
	AttachmentStatusDeleted = "DELETED"
)
View Source
const (
	// ConfigurationSetFilterNameEventDestinationName is a ConfigurationSetFilterName enum value
	ConfigurationSetFilterNameEventDestinationName = "event-destination-name"

	// ConfigurationSetFilterNameMatchingEventTypes is a ConfigurationSetFilterName enum value
	ConfigurationSetFilterNameMatchingEventTypes = "matching-event-types"

	// ConfigurationSetFilterNameDefaultMessageType is a ConfigurationSetFilterName enum value
	ConfigurationSetFilterNameDefaultMessageType = "default-message-type"

	// ConfigurationSetFilterNameDefaultSenderId is a ConfigurationSetFilterName enum value
	ConfigurationSetFilterNameDefaultSenderId = "default-sender-id"

	// ConfigurationSetFilterNameProtectConfigurationId is a ConfigurationSetFilterName enum value
	ConfigurationSetFilterNameProtectConfigurationId = "protect-configuration-id"
)
View Source
const (
	// ConflictExceptionReasonCreateRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonCreateRegistrationVersionNotAllowed = "CREATE_REGISTRATION_VERSION_NOT_ALLOWED"

	// ConflictExceptionReasonDeletionProtectionEnabled is a ConflictExceptionReason enum value
	ConflictExceptionReasonDeletionProtectionEnabled = "DELETION_PROTECTION_ENABLED"

	// ConflictExceptionReasonDestinationPhoneNumberNotVerified is a ConflictExceptionReason enum value
	ConflictExceptionReasonDestinationPhoneNumberNotVerified = "DESTINATION_PHONE_NUMBER_NOT_VERIFIED"

	// ConflictExceptionReasonDestinationPhoneNumberOptedOut is a ConflictExceptionReason enum value
	ConflictExceptionReasonDestinationPhoneNumberOptedOut = "DESTINATION_PHONE_NUMBER_OPTED_OUT"

	// ConflictExceptionReasonDisassociateRegistrationNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonDisassociateRegistrationNotAllowed = "DISASSOCIATE_REGISTRATION_NOT_ALLOWED"

	// ConflictExceptionReasonDiscardRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonDiscardRegistrationVersionNotAllowed = "DISCARD_REGISTRATION_VERSION_NOT_ALLOWED"

	// ConflictExceptionReasonEditRegistrationFieldValuesNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonEditRegistrationFieldValuesNotAllowed = "EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED"

	// ConflictExceptionReasonEventDestinationMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonEventDestinationMismatch = "EVENT_DESTINATION_MISMATCH"

	// ConflictExceptionReasonKeywordMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonKeywordMismatch = "KEYWORD_MISMATCH"

	// ConflictExceptionReasonLastPhoneNumber is a ConflictExceptionReason enum value
	ConflictExceptionReasonLastPhoneNumber = "LAST_PHONE_NUMBER"

	// ConflictExceptionReasonNumberCapabilitiesMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonNumberCapabilitiesMismatch = "NUMBER_CAPABILITIES_MISMATCH"

	// ConflictExceptionReasonMessageTypeMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonMessageTypeMismatch = "MESSAGE_TYPE_MISMATCH"

	// ConflictExceptionReasonNoOriginationIdentitiesFound is a ConflictExceptionReason enum value
	ConflictExceptionReasonNoOriginationIdentitiesFound = "NO_ORIGINATION_IDENTITIES_FOUND"

	// ConflictExceptionReasonOptOutListMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonOptOutListMismatch = "OPT_OUT_LIST_MISMATCH"

	// ConflictExceptionReasonPhoneNumberAssociatedToPool is a ConflictExceptionReason enum value
	ConflictExceptionReasonPhoneNumberAssociatedToPool = "PHONE_NUMBER_ASSOCIATED_TO_POOL"

	// ConflictExceptionReasonPhoneNumberAssociatedToRegistration is a ConflictExceptionReason enum value
	ConflictExceptionReasonPhoneNumberAssociatedToRegistration = "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION"

	// ConflictExceptionReasonPhoneNumberNotAssociatedToPool is a ConflictExceptionReason enum value
	ConflictExceptionReasonPhoneNumberNotAssociatedToPool = "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL"

	// ConflictExceptionReasonPhoneNumberNotInRegistrationRegion is a ConflictExceptionReason enum value
	ConflictExceptionReasonPhoneNumberNotInRegistrationRegion = "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION"

	// ConflictExceptionReasonRegistrationAlreadySubmitted is a ConflictExceptionReason enum value
	ConflictExceptionReasonRegistrationAlreadySubmitted = "REGISTRATION_ALREADY_SUBMITTED"

	// ConflictExceptionReasonRegistrationNotComplete is a ConflictExceptionReason enum value
	ConflictExceptionReasonRegistrationNotComplete = "REGISTRATION_NOT_COMPLETE"

	// ConflictExceptionReasonSenderIdAssociatedToPool is a ConflictExceptionReason enum value
	ConflictExceptionReasonSenderIdAssociatedToPool = "SENDER_ID_ASSOCIATED_TO_POOL"

	// ConflictExceptionReasonResourceAlreadyExists is a ConflictExceptionReason enum value
	ConflictExceptionReasonResourceAlreadyExists = "RESOURCE_ALREADY_EXISTS"

	// ConflictExceptionReasonResourceDeletionNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonResourceDeletionNotAllowed = "RESOURCE_DELETION_NOT_ALLOWED"

	// ConflictExceptionReasonResourceModificationNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonResourceModificationNotAllowed = "RESOURCE_MODIFICATION_NOT_ALLOWED"

	// ConflictExceptionReasonResourceNotActive is a ConflictExceptionReason enum value
	ConflictExceptionReasonResourceNotActive = "RESOURCE_NOT_ACTIVE"

	// ConflictExceptionReasonResourceNotEmpty is a ConflictExceptionReason enum value
	ConflictExceptionReasonResourceNotEmpty = "RESOURCE_NOT_EMPTY"

	// ConflictExceptionReasonSelfManagedOptOutsMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonSelfManagedOptOutsMismatch = "SELF_MANAGED_OPT_OUTS_MISMATCH"

	// ConflictExceptionReasonSubmitRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
	ConflictExceptionReasonSubmitRegistrationVersionNotAllowed = "SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED"

	// ConflictExceptionReasonTwoWayConfigMismatch is a ConflictExceptionReason enum value
	ConflictExceptionReasonTwoWayConfigMismatch = "TWO_WAY_CONFIG_MISMATCH"

	// ConflictExceptionReasonVerificationCodeExpired is a ConflictExceptionReason enum value
	ConflictExceptionReasonVerificationCodeExpired = "VERIFICATION_CODE_EXPIRED"

	// ConflictExceptionReasonVerificationAlreadyComplete is a ConflictExceptionReason enum value
	ConflictExceptionReasonVerificationAlreadyComplete = "VERIFICATION_ALREADY_COMPLETE"

	// ConflictExceptionReasonProtectConfigurationIsAccountDefault is a ConflictExceptionReason enum value
	ConflictExceptionReasonProtectConfigurationIsAccountDefault = "PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT"

	// ConflictExceptionReasonProtectConfigurationAssociatedWithConfigurationSet is a ConflictExceptionReason enum value
	ConflictExceptionReasonProtectConfigurationAssociatedWithConfigurationSet = "PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET"

	// ConflictExceptionReasonProtectConfigurationNotAssociatedWithConfigurationSet is a ConflictExceptionReason enum value
	ConflictExceptionReasonProtectConfigurationNotAssociatedWithConfigurationSet = "PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET"

	// ConflictExceptionReasonDestinationCountryBlockedByProtectConfiguration is a ConflictExceptionReason enum value
	ConflictExceptionReasonDestinationCountryBlockedByProtectConfiguration = "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION"
)
View Source
const (
	// DestinationCountryParameterKeyInTemplateId is a DestinationCountryParameterKey enum value
	DestinationCountryParameterKeyInTemplateId = "IN_TEMPLATE_ID"

	// DestinationCountryParameterKeyInEntityId is a DestinationCountryParameterKey enum value
	DestinationCountryParameterKeyInEntityId = "IN_ENTITY_ID"
)
View Source
const (
	// EventTypeAll is a EventType enum value
	EventTypeAll = "ALL"

	// EventTypeTextAll is a EventType enum value
	EventTypeTextAll = "TEXT_ALL"

	// EventTypeTextSent is a EventType enum value
	EventTypeTextSent = "TEXT_SENT"

	// EventTypeTextPending is a EventType enum value
	EventTypeTextPending = "TEXT_PENDING"

	// EventTypeTextQueued is a EventType enum value
	EventTypeTextQueued = "TEXT_QUEUED"

	// EventTypeTextSuccessful is a EventType enum value
	EventTypeTextSuccessful = "TEXT_SUCCESSFUL"

	// EventTypeTextDelivered is a EventType enum value
	EventTypeTextDelivered = "TEXT_DELIVERED"

	// EventTypeTextInvalid is a EventType enum value
	EventTypeTextInvalid = "TEXT_INVALID"

	// EventTypeTextInvalidMessage is a EventType enum value
	EventTypeTextInvalidMessage = "TEXT_INVALID_MESSAGE"

	// EventTypeTextUnreachable is a EventType enum value
	EventTypeTextUnreachable = "TEXT_UNREACHABLE"

	// EventTypeTextCarrierUnreachable is a EventType enum value
	EventTypeTextCarrierUnreachable = "TEXT_CARRIER_UNREACHABLE"

	// EventTypeTextBlocked is a EventType enum value
	EventTypeTextBlocked = "TEXT_BLOCKED"

	// EventTypeTextCarrierBlocked is a EventType enum value
	EventTypeTextCarrierBlocked = "TEXT_CARRIER_BLOCKED"

	// EventTypeTextSpam is a EventType enum value
	EventTypeTextSpam = "TEXT_SPAM"

	// EventTypeTextUnknown is a EventType enum value
	EventTypeTextUnknown = "TEXT_UNKNOWN"

	// EventTypeTextTtlExpired is a EventType enum value
	EventTypeTextTtlExpired = "TEXT_TTL_EXPIRED"

	// EventTypeVoiceAll is a EventType enum value
	EventTypeVoiceAll = "VOICE_ALL"

	// EventTypeVoiceInitiated is a EventType enum value
	EventTypeVoiceInitiated = "VOICE_INITIATED"

	// EventTypeVoiceRinging is a EventType enum value
	EventTypeVoiceRinging = "VOICE_RINGING"

	// EventTypeVoiceAnswered is a EventType enum value
	EventTypeVoiceAnswered = "VOICE_ANSWERED"

	// EventTypeVoiceCompleted is a EventType enum value
	EventTypeVoiceCompleted = "VOICE_COMPLETED"

	// EventTypeVoiceBusy is a EventType enum value
	EventTypeVoiceBusy = "VOICE_BUSY"

	// EventTypeVoiceNoAnswer is a EventType enum value
	EventTypeVoiceNoAnswer = "VOICE_NO_ANSWER"

	// EventTypeVoiceFailed is a EventType enum value
	EventTypeVoiceFailed = "VOICE_FAILED"

	// EventTypeVoiceTtlExpired is a EventType enum value
	EventTypeVoiceTtlExpired = "VOICE_TTL_EXPIRED"

	// EventTypeMediaAll is a EventType enum value
	EventTypeMediaAll = "MEDIA_ALL"

	// EventTypeMediaPending is a EventType enum value
	EventTypeMediaPending = "MEDIA_PENDING"

	// EventTypeMediaQueued is a EventType enum value
	EventTypeMediaQueued = "MEDIA_QUEUED"

	// EventTypeMediaSuccessful is a EventType enum value
	EventTypeMediaSuccessful = "MEDIA_SUCCESSFUL"

	// EventTypeMediaDelivered is a EventType enum value
	EventTypeMediaDelivered = "MEDIA_DELIVERED"

	// EventTypeMediaInvalid is a EventType enum value
	EventTypeMediaInvalid = "MEDIA_INVALID"

	// EventTypeMediaInvalidMessage is a EventType enum value
	EventTypeMediaInvalidMessage = "MEDIA_INVALID_MESSAGE"

	// EventTypeMediaUnreachable is a EventType enum value
	EventTypeMediaUnreachable = "MEDIA_UNREACHABLE"

	// EventTypeMediaCarrierUnreachable is a EventType enum value
	EventTypeMediaCarrierUnreachable = "MEDIA_CARRIER_UNREACHABLE"

	// EventTypeMediaBlocked is a EventType enum value
	EventTypeMediaBlocked = "MEDIA_BLOCKED"

	// EventTypeMediaCarrierBlocked is a EventType enum value
	EventTypeMediaCarrierBlocked = "MEDIA_CARRIER_BLOCKED"

	// EventTypeMediaSpam is a EventType enum value
	EventTypeMediaSpam = "MEDIA_SPAM"

	// EventTypeMediaUnknown is a EventType enum value
	EventTypeMediaUnknown = "MEDIA_UNKNOWN"

	// EventTypeMediaTtlExpired is a EventType enum value
	EventTypeMediaTtlExpired = "MEDIA_TTL_EXPIRED"

	// EventTypeMediaFileInaccessible is a EventType enum value
	EventTypeMediaFileInaccessible = "MEDIA_FILE_INACCESSIBLE"

	// EventTypeMediaFileTypeUnsupported is a EventType enum value
	EventTypeMediaFileTypeUnsupported = "MEDIA_FILE_TYPE_UNSUPPORTED"

	// EventTypeMediaFileSizeExceeded is a EventType enum value
	EventTypeMediaFileSizeExceeded = "MEDIA_FILE_SIZE_EXCEEDED"
)
View Source
const (
	// FieldRequirementRequired is a FieldRequirement enum value
	FieldRequirementRequired = "REQUIRED"

	// FieldRequirementConditional is a FieldRequirement enum value
	FieldRequirementConditional = "CONDITIONAL"

	// FieldRequirementOptional is a FieldRequirement enum value
	FieldRequirementOptional = "OPTIONAL"
)
View Source
const (
	// FieldTypeSelect is a FieldType enum value
	FieldTypeSelect = "SELECT"

	// FieldTypeText is a FieldType enum value
	FieldTypeText = "TEXT"

	// FieldTypeAttachment is a FieldType enum value
	FieldTypeAttachment = "ATTACHMENT"
)
View Source
const (
	// KeywordActionAutomaticResponse is a KeywordAction enum value
	KeywordActionAutomaticResponse = "AUTOMATIC_RESPONSE"

	// KeywordActionOptOut is a KeywordAction enum value
	KeywordActionOptOut = "OPT_OUT"

	// KeywordActionOptIn is a KeywordAction enum value
	KeywordActionOptIn = "OPT_IN"
)
View Source
const (
	// LanguageCodeDeDe is a LanguageCode enum value
	LanguageCodeDeDe = "DE_DE"

	// LanguageCodeEnGb is a LanguageCode enum value
	LanguageCodeEnGb = "EN_GB"

	// LanguageCodeEnUs is a LanguageCode enum value
	LanguageCodeEnUs = "EN_US"

	// LanguageCodeEs419 is a LanguageCode enum value
	LanguageCodeEs419 = "ES_419"

	// LanguageCodeEsEs is a LanguageCode enum value
	LanguageCodeEsEs = "ES_ES"

	// LanguageCodeFrCa is a LanguageCode enum value
	LanguageCodeFrCa = "FR_CA"

	// LanguageCodeFrFr is a LanguageCode enum value
	LanguageCodeFrFr = "FR_FR"

	// LanguageCodeItIt is a LanguageCode enum value
	LanguageCodeItIt = "IT_IT"

	// LanguageCodeJaJp is a LanguageCode enum value
	LanguageCodeJaJp = "JA_JP"

	// LanguageCodeKoKr is a LanguageCode enum value
	LanguageCodeKoKr = "KO_KR"

	// LanguageCodePtBr is a LanguageCode enum value
	LanguageCodePtBr = "PT_BR"

	// LanguageCodeZhCn is a LanguageCode enum value
	LanguageCodeZhCn = "ZH_CN"

	// LanguageCodeZhTw is a LanguageCode enum value
	LanguageCodeZhTw = "ZH_TW"
)
View Source
const (
	// MessageTypeTransactional is a MessageType enum value
	MessageTypeTransactional = "TRANSACTIONAL"

	// MessageTypePromotional is a MessageType enum value
	MessageTypePromotional = "PROMOTIONAL"
)
View Source
const (
	// NumberCapabilitySms is a NumberCapability enum value
	NumberCapabilitySms = "SMS"

	// NumberCapabilityVoice is a NumberCapability enum value
	NumberCapabilityVoice = "VOICE"

	// NumberCapabilityMms is a NumberCapability enum value
	NumberCapabilityMms = "MMS"
)
View Source
const (
	// NumberStatusPending is a NumberStatus enum value
	NumberStatusPending = "PENDING"

	// NumberStatusActive is a NumberStatus enum value
	NumberStatusActive = "ACTIVE"

	// NumberStatusAssociating is a NumberStatus enum value
	NumberStatusAssociating = "ASSOCIATING"

	// NumberStatusDisassociating is a NumberStatus enum value
	NumberStatusDisassociating = "DISASSOCIATING"

	// NumberStatusDeleted is a NumberStatus enum value
	NumberStatusDeleted = "DELETED"
)
View Source
const (
	// NumberTypeShortCode is a NumberType enum value
	NumberTypeShortCode = "SHORT_CODE"

	// NumberTypeLongCode is a NumberType enum value
	NumberTypeLongCode = "LONG_CODE"

	// NumberTypeTollFree is a NumberType enum value
	NumberTypeTollFree = "TOLL_FREE"

	// NumberTypeTenDlc is a NumberType enum value
	NumberTypeTenDlc = "TEN_DLC"

	// NumberTypeSimulator is a NumberType enum value
	NumberTypeSimulator = "SIMULATOR"
)
View Source
const (
	// PhoneNumberFilterNameStatus is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameStatus = "status"

	// PhoneNumberFilterNameIsoCountryCode is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameIsoCountryCode = "iso-country-code"

	// PhoneNumberFilterNameMessageType is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameMessageType = "message-type"

	// PhoneNumberFilterNameNumberCapability is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameNumberCapability = "number-capability"

	// PhoneNumberFilterNameNumberType is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameNumberType = "number-type"

	// PhoneNumberFilterNameTwoWayEnabled is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameTwoWayEnabled = "two-way-enabled"

	// PhoneNumberFilterNameSelfManagedOptOutsEnabled is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameSelfManagedOptOutsEnabled = "self-managed-opt-outs-enabled"

	// PhoneNumberFilterNameOptOutListName is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameOptOutListName = "opt-out-list-name"

	// PhoneNumberFilterNameDeletionProtectionEnabled is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"

	// PhoneNumberFilterNameTwoWayChannelArn is a PhoneNumberFilterName enum value
	PhoneNumberFilterNameTwoWayChannelArn = "two-way-channel-arn"
)
View Source
const (
	// PoolFilterNameStatus is a PoolFilterName enum value
	PoolFilterNameStatus = "status"

	// PoolFilterNameMessageType is a PoolFilterName enum value
	PoolFilterNameMessageType = "message-type"

	// PoolFilterNameTwoWayEnabled is a PoolFilterName enum value
	PoolFilterNameTwoWayEnabled = "two-way-enabled"

	// PoolFilterNameSelfManagedOptOutsEnabled is a PoolFilterName enum value
	PoolFilterNameSelfManagedOptOutsEnabled = "self-managed-opt-outs-enabled"

	// PoolFilterNameOptOutListName is a PoolFilterName enum value
	PoolFilterNameOptOutListName = "opt-out-list-name"

	// PoolFilterNameSharedRoutesEnabled is a PoolFilterName enum value
	PoolFilterNameSharedRoutesEnabled = "shared-routes-enabled"

	// PoolFilterNameDeletionProtectionEnabled is a PoolFilterName enum value
	PoolFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"

	// PoolFilterNameTwoWayChannelArn is a PoolFilterName enum value
	PoolFilterNameTwoWayChannelArn = "two-way-channel-arn"
)
View Source
const (
	// PoolOriginationIdentitiesFilterNameIsoCountryCode is a PoolOriginationIdentitiesFilterName enum value
	PoolOriginationIdentitiesFilterNameIsoCountryCode = "iso-country-code"

	// PoolOriginationIdentitiesFilterNameNumberCapability is a PoolOriginationIdentitiesFilterName enum value
	PoolOriginationIdentitiesFilterNameNumberCapability = "number-capability"
)
View Source
const (
	// PoolStatusCreating is a PoolStatus enum value
	PoolStatusCreating = "CREATING"

	// PoolStatusActive is a PoolStatus enum value
	PoolStatusActive = "ACTIVE"

	// PoolStatusDeleting is a PoolStatus enum value
	PoolStatusDeleting = "DELETING"
)
View Source
const (
	// ProtectConfigurationFilterNameAccountDefault is a ProtectConfigurationFilterName enum value
	ProtectConfigurationFilterNameAccountDefault = "account-default"

	// ProtectConfigurationFilterNameDeletionProtectionEnabled is a ProtectConfigurationFilterName enum value
	ProtectConfigurationFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"
)
View Source
const (
	// ProtectStatusAllow is a ProtectStatus enum value
	ProtectStatusAllow = "ALLOW"

	// ProtectStatusBlock is a ProtectStatus enum value
	ProtectStatusBlock = "BLOCK"
)
View Source
const (
	// RegistrationAssociationBehaviorAssociateBeforeSubmit is a RegistrationAssociationBehavior enum value
	RegistrationAssociationBehaviorAssociateBeforeSubmit = "ASSOCIATE_BEFORE_SUBMIT"

	// RegistrationAssociationBehaviorAssociateOnApproval is a RegistrationAssociationBehavior enum value
	RegistrationAssociationBehaviorAssociateOnApproval = "ASSOCIATE_ON_APPROVAL"

	// RegistrationAssociationBehaviorAssociateAfterComplete is a RegistrationAssociationBehavior enum value
	RegistrationAssociationBehaviorAssociateAfterComplete = "ASSOCIATE_AFTER_COMPLETE"
)
View Source
const (
	// RegistrationAssociationFilterNameResourceType is a RegistrationAssociationFilterName enum value
	RegistrationAssociationFilterNameResourceType = "resource-type"

	// RegistrationAssociationFilterNameIsoCountryCode is a RegistrationAssociationFilterName enum value
	RegistrationAssociationFilterNameIsoCountryCode = "iso-country-code"
)
View Source
const (
	// RegistrationDisassociationBehaviorDisassociateAllClosesRegistration is a RegistrationDisassociationBehavior enum value
	RegistrationDisassociationBehaviorDisassociateAllClosesRegistration = "DISASSOCIATE_ALL_CLOSES_REGISTRATION"

	// RegistrationDisassociationBehaviorDisassociateAllAllowsDeleteRegistration is a RegistrationDisassociationBehavior enum value
	RegistrationDisassociationBehaviorDisassociateAllAllowsDeleteRegistration = "DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION"

	// RegistrationDisassociationBehaviorDeleteRegistrationDisassociates is a RegistrationDisassociationBehavior enum value
	RegistrationDisassociationBehaviorDeleteRegistrationDisassociates = "DELETE_REGISTRATION_DISASSOCIATES"
)
View Source
const (
	// RegistrationFilterNameRegistrationType is a RegistrationFilterName enum value
	RegistrationFilterNameRegistrationType = "registration-type"

	// RegistrationFilterNameRegistrationStatus is a RegistrationFilterName enum value
	RegistrationFilterNameRegistrationStatus = "registration-status"
)
View Source
const (
	// RegistrationStatusCreated is a RegistrationStatus enum value
	RegistrationStatusCreated = "CREATED"

	// RegistrationStatusSubmitted is a RegistrationStatus enum value
	RegistrationStatusSubmitted = "SUBMITTED"

	// RegistrationStatusReviewing is a RegistrationStatus enum value
	RegistrationStatusReviewing = "REVIEWING"

	// RegistrationStatusProvisioning is a RegistrationStatus enum value
	RegistrationStatusProvisioning = "PROVISIONING"

	// RegistrationStatusComplete is a RegistrationStatus enum value
	RegistrationStatusComplete = "COMPLETE"

	// RegistrationStatusRequiresUpdates is a RegistrationStatus enum value
	RegistrationStatusRequiresUpdates = "REQUIRES_UPDATES"

	// RegistrationStatusClosed is a RegistrationStatus enum value
	RegistrationStatusClosed = "CLOSED"

	// RegistrationStatusDeleted is a RegistrationStatus enum value
	RegistrationStatusDeleted = "DELETED"
)
View Source
const (
	// RegistrationTypeFilterNameSupportedAssociationResourceType is a RegistrationTypeFilterName enum value
	RegistrationTypeFilterNameSupportedAssociationResourceType = "supported-association-resource-type"

	// RegistrationTypeFilterNameSupportedAssociationIsoCountryCode is a RegistrationTypeFilterName enum value
	RegistrationTypeFilterNameSupportedAssociationIsoCountryCode = "supported-association-iso-country-code"
)
View Source
const (
	// RegistrationVersionStatusDraft is a RegistrationVersionStatus enum value
	RegistrationVersionStatusDraft = "DRAFT"

	// RegistrationVersionStatusSubmitted is a RegistrationVersionStatus enum value
	RegistrationVersionStatusSubmitted = "SUBMITTED"

	// RegistrationVersionStatusReviewing is a RegistrationVersionStatus enum value
	RegistrationVersionStatusReviewing = "REVIEWING"

	// RegistrationVersionStatusApproved is a RegistrationVersionStatus enum value
	RegistrationVersionStatusApproved = "APPROVED"

	// RegistrationVersionStatusDiscarded is a RegistrationVersionStatus enum value
	RegistrationVersionStatusDiscarded = "DISCARDED"

	// RegistrationVersionStatusDenied is a RegistrationVersionStatus enum value
	RegistrationVersionStatusDenied = "DENIED"

	// RegistrationVersionStatusRevoked is a RegistrationVersionStatus enum value
	RegistrationVersionStatusRevoked = "REVOKED"

	// RegistrationVersionStatusArchived is a RegistrationVersionStatus enum value
	RegistrationVersionStatusArchived = "ARCHIVED"
)
View Source
const (
	// RequestableNumberTypeLongCode is a RequestableNumberType enum value
	RequestableNumberTypeLongCode = "LONG_CODE"

	// RequestableNumberTypeTollFree is a RequestableNumberType enum value
	RequestableNumberTypeTollFree = "TOLL_FREE"

	// RequestableNumberTypeTenDlc is a RequestableNumberType enum value
	RequestableNumberTypeTenDlc = "TEN_DLC"

	// RequestableNumberTypeSimulator is a RequestableNumberType enum value
	RequestableNumberTypeSimulator = "SIMULATOR"
)
View Source
const (
	// ResourceTypeAccount is a ResourceType enum value
	ResourceTypeAccount = "account"

	// ResourceTypePhoneNumber is a ResourceType enum value
	ResourceTypePhoneNumber = "phone-number"

	// ResourceTypeSenderId is a ResourceType enum value
	ResourceTypeSenderId = "sender-id"

	// ResourceTypePool is a ResourceType enum value
	ResourceTypePool = "pool"

	// ResourceTypeConfigurationSet is a ResourceType enum value
	ResourceTypeConfigurationSet = "configuration-set"

	// ResourceTypeOptOutList is a ResourceType enum value
	ResourceTypeOptOutList = "opt-out-list"

	// ResourceTypeEventDestination is a ResourceType enum value
	ResourceTypeEventDestination = "event-destination"

	// ResourceTypeKeyword is a ResourceType enum value
	ResourceTypeKeyword = "keyword"

	// ResourceTypeOptedOutNumber is a ResourceType enum value
	ResourceTypeOptedOutNumber = "opted-out-number"

	// ResourceTypeRegistration is a ResourceType enum value
	ResourceTypeRegistration = "registration"

	// ResourceTypeRegistrationAttachment is a ResourceType enum value
	ResourceTypeRegistrationAttachment = "registration-attachment"

	// ResourceTypeVerifiedDestinationNumber is a ResourceType enum value
	ResourceTypeVerifiedDestinationNumber = "verified-destination-number"

	// ResourceTypeProtectConfiguration is a ResourceType enum value
	ResourceTypeProtectConfiguration = "protect-configuration"
)
View Source
const (
	// SenderIdFilterNameSenderId is a SenderIdFilterName enum value
	SenderIdFilterNameSenderId = "sender-id"

	// SenderIdFilterNameIsoCountryCode is a SenderIdFilterName enum value
	SenderIdFilterNameIsoCountryCode = "iso-country-code"

	// SenderIdFilterNameMessageType is a SenderIdFilterName enum value
	SenderIdFilterNameMessageType = "message-type"

	// SenderIdFilterNameDeletionProtectionEnabled is a SenderIdFilterName enum value
	SenderIdFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"

	// SenderIdFilterNameRegistered is a SenderIdFilterName enum value
	SenderIdFilterNameRegistered = "registered"
)
View Source
const (
	// ServiceQuotaExceededExceptionReasonAssociationsPerRegistration is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonAssociationsPerRegistration = "ASSOCIATIONS_PER_REGISTRATION"

	// ServiceQuotaExceededExceptionReasonConfigurationSetsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonConfigurationSetsPerAccount = "CONFIGURATION_SETS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonDailyDestinationCallLimit is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonDailyDestinationCallLimit = "DAILY_DESTINATION_CALL_LIMIT"

	// ServiceQuotaExceededExceptionReasonEventDestinationsPerConfigurationSet is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonEventDestinationsPerConfigurationSet = "EVENT_DESTINATIONS_PER_CONFIGURATION_SET"

	// ServiceQuotaExceededExceptionReasonKeywordsPerPhoneNumber is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonKeywordsPerPhoneNumber = "KEYWORDS_PER_PHONE_NUMBER"

	// ServiceQuotaExceededExceptionReasonKeywordsPerPool is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonKeywordsPerPool = "KEYWORDS_PER_POOL"

	// ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForMedia is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForMedia = "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA"

	// ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForText is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForText = "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT"

	// ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForVoice is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonMonthlySpendLimitReachedForVoice = "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE"

	// ServiceQuotaExceededExceptionReasonOptOutListsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonOptOutListsPerAccount = "OPT_OUT_LISTS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonOriginationIdentitiesPerPool is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonOriginationIdentitiesPerPool = "ORIGINATION_IDENTITIES_PER_POOL"

	// ServiceQuotaExceededExceptionReasonPhoneNumbersPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonPhoneNumbersPerAccount = "PHONE_NUMBERS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonPhoneNumbersPerRegistration is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonPhoneNumbersPerRegistration = "PHONE_NUMBERS_PER_REGISTRATION"

	// ServiceQuotaExceededExceptionReasonPoolsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonPoolsPerAccount = "POOLS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonRegistrationAttachmentsCreatedPerDay is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonRegistrationAttachmentsCreatedPerDay = "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY"

	// ServiceQuotaExceededExceptionReasonRegistrationAttachmentsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonRegistrationAttachmentsPerAccount = "REGISTRATION_ATTACHMENTS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonRegistrationVersionsCreatedPerDay is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonRegistrationVersionsCreatedPerDay = "REGISTRATION_VERSIONS_CREATED_PER_DAY"

	// ServiceQuotaExceededExceptionReasonRegistrationsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonRegistrationsPerAccount = "REGISTRATIONS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonSenderIdsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonSenderIdsPerAccount = "SENDER_IDS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonTagsPerResource is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonTagsPerResource = "TAGS_PER_RESOURCE"

	// ServiceQuotaExceededExceptionReasonVerifiedDestinationNumbersPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonVerifiedDestinationNumbersPerAccount = "VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT"

	// ServiceQuotaExceededExceptionReasonVerificationAttemptsPerDay is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonVerificationAttemptsPerDay = "VERIFICATION_ATTEMPTS_PER_DAY"

	// ServiceQuotaExceededExceptionReasonProtectConfigurationsPerAccount is a ServiceQuotaExceededExceptionReason enum value
	ServiceQuotaExceededExceptionReasonProtectConfigurationsPerAccount = "PROTECT_CONFIGURATIONS_PER_ACCOUNT"
)
View Source
const (
	// SpendLimitNameTextMessageMonthlySpendLimit is a SpendLimitName enum value
	SpendLimitNameTextMessageMonthlySpendLimit = "TEXT_MESSAGE_MONTHLY_SPEND_LIMIT"

	// SpendLimitNameVoiceMessageMonthlySpendLimit is a SpendLimitName enum value
	SpendLimitNameVoiceMessageMonthlySpendLimit = "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT"

	// SpendLimitNameMediaMessageMonthlySpendLimit is a SpendLimitName enum value
	SpendLimitNameMediaMessageMonthlySpendLimit = "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT"
)
View Source
const (
	// ValidationExceptionReasonCannotAddOptedOutNumber is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotAddOptedOutNumber = "CANNOT_ADD_OPTED_OUT_NUMBER"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CANNOT_PARSE"

	// ValidationExceptionReasonCountryCodeMismatch is a ValidationExceptionReason enum value
	ValidationExceptionReasonCountryCodeMismatch = "COUNTRY_CODE_MISMATCH"

	// ValidationExceptionReasonDestinationCountryBlocked is a ValidationExceptionReason enum value
	ValidationExceptionReasonDestinationCountryBlocked = "DESTINATION_COUNTRY_BLOCKED"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"

	// ValidationExceptionReasonAttachmentTypeNotSupported is a ValidationExceptionReason enum value
	ValidationExceptionReasonAttachmentTypeNotSupported = "ATTACHMENT_TYPE_NOT_SUPPORTED"

	// ValidationExceptionReasonInvalidArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidArn = "INVALID_ARN"

	// ValidationExceptionReasonInvalidFilterValues is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidFilterValues = "INVALID_FILTER_VALUES"

	// ValidationExceptionReasonInvalidIdentityForDestinationCountry is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidIdentityForDestinationCountry = "INVALID_IDENTITY_FOR_DESTINATION_COUNTRY"

	// ValidationExceptionReasonInvalidNextToken is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidNextToken = "INVALID_NEXT_TOKEN"

	// ValidationExceptionReasonInvalidParameter is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidParameter = "INVALID_PARAMETER"

	// ValidationExceptionReasonInvalidRequest is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidRequest = "INVALID_REQUEST"

	// ValidationExceptionReasonInvalidRegistrationAssociation is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidRegistrationAssociation = "INVALID_REGISTRATION_ASSOCIATION"

	// ValidationExceptionReasonMaximumSizeExceeded is a ValidationExceptionReason enum value
	ValidationExceptionReasonMaximumSizeExceeded = "MAXIMUM_SIZE_EXCEEDED"

	// ValidationExceptionReasonMediaTypeNotSupported is a ValidationExceptionReason enum value
	ValidationExceptionReasonMediaTypeNotSupported = "MEDIA_TYPE_NOT_SUPPORTED"

	// ValidationExceptionReasonMissingParameter is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingParameter = "MISSING_PARAMETER"

	// ValidationExceptionReasonParametersCannotBeUsedTogether is a ValidationExceptionReason enum value
	ValidationExceptionReasonParametersCannotBeUsedTogether = "PARAMETERS_CANNOT_BE_USED_TOGETHER"

	// ValidationExceptionReasonPhoneNumberCannotBeOptedIn is a ValidationExceptionReason enum value
	ValidationExceptionReasonPhoneNumberCannotBeOptedIn = "PHONE_NUMBER_CANNOT_BE_OPTED_IN"

	// ValidationExceptionReasonPhoneNumberCannotBeReleased is a ValidationExceptionReason enum value
	ValidationExceptionReasonPhoneNumberCannotBeReleased = "PHONE_NUMBER_CANNOT_BE_RELEASED"

	// ValidationExceptionReasonPriceOverThreshold is a ValidationExceptionReason enum value
	ValidationExceptionReasonPriceOverThreshold = "PRICE_OVER_THRESHOLD"

	// ValidationExceptionReasonResourceNotAccessible is a ValidationExceptionReason enum value
	ValidationExceptionReasonResourceNotAccessible = "RESOURCE_NOT_ACCESSIBLE"

	// ValidationExceptionReasonRequestedSpendLimitHigherThanServiceLimit is a ValidationExceptionReason enum value
	ValidationExceptionReasonRequestedSpendLimitHigherThanServiceLimit = "REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT"

	// ValidationExceptionReasonSenderIdNotRegistered is a ValidationExceptionReason enum value
	ValidationExceptionReasonSenderIdNotRegistered = "SENDER_ID_NOT_REGISTERED"

	// ValidationExceptionReasonSenderIdNotSupported is a ValidationExceptionReason enum value
	ValidationExceptionReasonSenderIdNotSupported = "SENDER_ID_NOT_SUPPORTED"

	// ValidationExceptionReasonSenderIdRequiresRegistration is a ValidationExceptionReason enum value
	ValidationExceptionReasonSenderIdRequiresRegistration = "SENDER_ID_REQUIRES_REGISTRATION"

	// ValidationExceptionReasonTwoWayTopicNotPresent is a ValidationExceptionReason enum value
	ValidationExceptionReasonTwoWayTopicNotPresent = "TWO_WAY_TOPIC_NOT_PRESENT"

	// ValidationExceptionReasonTwoWayNotEnabled is a ValidationExceptionReason enum value
	ValidationExceptionReasonTwoWayNotEnabled = "TWO_WAY_NOT_ENABLED"

	// ValidationExceptionReasonTwoWayNotSupportedInCountry is a ValidationExceptionReason enum value
	ValidationExceptionReasonTwoWayNotSupportedInCountry = "TWO_WAY_NOT_SUPPORTED_IN_COUNTRY"

	// ValidationExceptionReasonTwoWayNotSupportedInRegion is a ValidationExceptionReason enum value
	ValidationExceptionReasonTwoWayNotSupportedInRegion = "TWO_WAY_NOT_SUPPORTED_IN_REGION"

	// ValidationExceptionReasonTwoWayChannelNotPresent is a ValidationExceptionReason enum value
	ValidationExceptionReasonTwoWayChannelNotPresent = "TWO_WAY_CHANNEL_NOT_PRESENT"

	// ValidationExceptionReasonUnknownRegistrationField is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownRegistrationField = "UNKNOWN_REGISTRATION_FIELD"

	// ValidationExceptionReasonUnknownRegistrationSection is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownRegistrationSection = "UNKNOWN_REGISTRATION_SECTION"

	// ValidationExceptionReasonUnknownRegistrationType is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownRegistrationType = "UNKNOWN_REGISTRATION_TYPE"

	// ValidationExceptionReasonUnknownRegistrationVersion is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownRegistrationVersion = "UNKNOWN_REGISTRATION_VERSION"

	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"

	// ValidationExceptionReasonRegistrationFieldCannotBeDeleted is a ValidationExceptionReason enum value
	ValidationExceptionReasonRegistrationFieldCannotBeDeleted = "REGISTRATION_FIELD_CANNOT_BE_DELETED"

	// ValidationExceptionReasonVerificationCodeMismatch is a ValidationExceptionReason enum value
	ValidationExceptionReasonVerificationCodeMismatch = "VERIFICATION_CODE_MISMATCH"

	// ValidationExceptionReasonVoiceCapabilityNotAvailable is a ValidationExceptionReason enum value
	ValidationExceptionReasonVoiceCapabilityNotAvailable = "VOICE_CAPABILITY_NOT_AVAILABLE"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "OTHER"
)
View Source
const (
	// VerificationChannelText is a VerificationChannel enum value
	VerificationChannelText = "TEXT"

	// VerificationChannelVoice is a VerificationChannel enum value
	VerificationChannelVoice = "VOICE"
)
View Source
const (
	// VerificationStatusPending is a VerificationStatus enum value
	VerificationStatusPending = "PENDING"

	// VerificationStatusVerified is a VerificationStatus enum value
	VerificationStatusVerified = "VERIFIED"
)
View Source
const (
	// VoiceIdAmy is a VoiceId enum value
	VoiceIdAmy = "AMY"

	// VoiceIdAstrid is a VoiceId enum value
	VoiceIdAstrid = "ASTRID"

	// VoiceIdBianca is a VoiceId enum value
	VoiceIdBianca = "BIANCA"

	// VoiceIdBrian is a VoiceId enum value
	VoiceIdBrian = "BRIAN"

	// VoiceIdCamila is a VoiceId enum value
	VoiceIdCamila = "CAMILA"

	// VoiceIdCarla is a VoiceId enum value
	VoiceIdCarla = "CARLA"

	// VoiceIdCarmen is a VoiceId enum value
	VoiceIdCarmen = "CARMEN"

	// VoiceIdCeline is a VoiceId enum value
	VoiceIdCeline = "CELINE"

	// VoiceIdChantal is a VoiceId enum value
	VoiceIdChantal = "CHANTAL"

	// VoiceIdConchita is a VoiceId enum value
	VoiceIdConchita = "CONCHITA"

	// VoiceIdCristiano is a VoiceId enum value
	VoiceIdCristiano = "CRISTIANO"

	// VoiceIdDora is a VoiceId enum value
	VoiceIdDora = "DORA"

	// VoiceIdEmma is a VoiceId enum value
	VoiceIdEmma = "EMMA"

	// VoiceIdEnrique is a VoiceId enum value
	VoiceIdEnrique = "ENRIQUE"

	// VoiceIdEwa is a VoiceId enum value
	VoiceIdEwa = "EWA"

	// VoiceIdFiliz is a VoiceId enum value
	VoiceIdFiliz = "FILIZ"

	// VoiceIdGeraint is a VoiceId enum value
	VoiceIdGeraint = "GERAINT"

	// VoiceIdGiorgio is a VoiceId enum value
	VoiceIdGiorgio = "GIORGIO"

	// VoiceIdGwyneth is a VoiceId enum value
	VoiceIdGwyneth = "GWYNETH"

	// VoiceIdHans is a VoiceId enum value
	VoiceIdHans = "HANS"

	// VoiceIdInes is a VoiceId enum value
	VoiceIdInes = "INES"

	// VoiceIdIvy is a VoiceId enum value
	VoiceIdIvy = "IVY"

	// VoiceIdJacek is a VoiceId enum value
	VoiceIdJacek = "JACEK"

	// VoiceIdJan is a VoiceId enum value
	VoiceIdJan = "JAN"

	// VoiceIdJoanna is a VoiceId enum value
	VoiceIdJoanna = "JOANNA"

	// VoiceIdJoey is a VoiceId enum value
	VoiceIdJoey = "JOEY"

	// VoiceIdJustin is a VoiceId enum value
	VoiceIdJustin = "JUSTIN"

	// VoiceIdKarl is a VoiceId enum value
	VoiceIdKarl = "KARL"

	// VoiceIdKendra is a VoiceId enum value
	VoiceIdKendra = "KENDRA"

	// VoiceIdKimberly is a VoiceId enum value
	VoiceIdKimberly = "KIMBERLY"

	// VoiceIdLea is a VoiceId enum value
	VoiceIdLea = "LEA"

	// VoiceIdLiv is a VoiceId enum value
	VoiceIdLiv = "LIV"

	// VoiceIdLotte is a VoiceId enum value
	VoiceIdLotte = "LOTTE"

	// VoiceIdLucia is a VoiceId enum value
	VoiceIdLucia = "LUCIA"

	// VoiceIdLupe is a VoiceId enum value
	VoiceIdLupe = "LUPE"

	// VoiceIdMads is a VoiceId enum value
	VoiceIdMads = "MADS"

	// VoiceIdMaja is a VoiceId enum value
	VoiceIdMaja = "MAJA"

	// VoiceIdMarlene is a VoiceId enum value
	VoiceIdMarlene = "MARLENE"

	// VoiceIdMathieu is a VoiceId enum value
	VoiceIdMathieu = "MATHIEU"

	// VoiceIdMatthew is a VoiceId enum value
	VoiceIdMatthew = "MATTHEW"

	// VoiceIdMaxim is a VoiceId enum value
	VoiceIdMaxim = "MAXIM"

	// VoiceIdMia is a VoiceId enum value
	VoiceIdMia = "MIA"

	// VoiceIdMiguel is a VoiceId enum value
	VoiceIdMiguel = "MIGUEL"

	// VoiceIdMizuki is a VoiceId enum value
	VoiceIdMizuki = "MIZUKI"

	// VoiceIdNaja is a VoiceId enum value
	VoiceIdNaja = "NAJA"

	// VoiceIdNicole is a VoiceId enum value
	VoiceIdNicole = "NICOLE"

	// VoiceIdPenelope is a VoiceId enum value
	VoiceIdPenelope = "PENELOPE"

	// VoiceIdRaveena is a VoiceId enum value
	VoiceIdRaveena = "RAVEENA"

	// VoiceIdRicardo is a VoiceId enum value
	VoiceIdRicardo = "RICARDO"

	// VoiceIdRuben is a VoiceId enum value
	VoiceIdRuben = "RUBEN"

	// VoiceIdRussell is a VoiceId enum value
	VoiceIdRussell = "RUSSELL"

	// VoiceIdSalli is a VoiceId enum value
	VoiceIdSalli = "SALLI"

	// VoiceIdSeoyeon is a VoiceId enum value
	VoiceIdSeoyeon = "SEOYEON"

	// VoiceIdTakumi is a VoiceId enum value
	VoiceIdTakumi = "TAKUMI"

	// VoiceIdTatyana is a VoiceId enum value
	VoiceIdTatyana = "TATYANA"

	// VoiceIdVicki is a VoiceId enum value
	VoiceIdVicki = "VICKI"

	// VoiceIdVitoria is a VoiceId enum value
	VoiceIdVitoria = "VITORIA"

	// VoiceIdZeina is a VoiceId enum value
	VoiceIdZeina = "ZEINA"

	// VoiceIdZhiyu is a VoiceId enum value
	VoiceIdZhiyu = "ZHIYU"
)
View Source
const (
	// VoiceMessageBodyTextTypeText is a VoiceMessageBodyTextType enum value
	VoiceMessageBodyTextTypeText = "TEXT"

	// VoiceMessageBodyTextTypeSsml is a VoiceMessageBodyTextType enum value
	VoiceMessageBodyTextTypeSsml = "SSML"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The request was denied because you don't have sufficient permissions to access
	// the resource.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Your request has conflicting operations. This can occur if you're trying
	// to perform more than one operation on the same resource at the same time
	// or it could be that the requested action isn't valid for the current state
	// or configuration of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The API encountered an unexpected error and couldn't complete the request.
	// You might be able to successfully issue the request again in the future.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A requested resource couldn't be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The request would cause a service quota to be exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// An error that occurred because too many requests were sent during a certain
	// amount of time.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// A validation exception for a field.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Pinpoint SMS Voice V2" // Name of service.
	EndpointsID = "sms-voice"             // ID to lookup a service endpoint with.
	ServiceID   = "Pinpoint SMS Voice V2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AttachmentUploadErrorReasonInternalError is a AttachmentUploadErrorReason enum value
	AttachmentUploadErrorReasonInternalError = "INTERNAL_ERROR"
)
View Source
const (
	// KeywordFilterNameKeywordAction is a KeywordFilterName enum value
	KeywordFilterNameKeywordAction = "keyword-action"
)
View Source
const (
	// OptedOutFilterNameEndUserOptedOut is a OptedOutFilterName enum value
	OptedOutFilterNameEndUserOptedOut = "end-user-opted-out"
)
View Source
const (
	// RegistrationAttachmentFilterNameAttachmentStatus is a RegistrationAttachmentFilterName enum value
	RegistrationAttachmentFilterNameAttachmentStatus = "attachment-status"
)
View Source
const (
	// RegistrationVersionFilterNameRegistrationVersionStatus is a RegistrationVersionFilterName enum value
	RegistrationVersionFilterNameRegistrationVersionStatus = "registration-version-status"
)
View Source
const (
	// VerifiedDestinationNumberFilterNameStatus is a VerifiedDestinationNumberFilterName enum value
	VerifiedDestinationNumberFilterNameStatus = "status"
)

Variables

This section is empty.

Functions

func AccessDeniedExceptionReason_Values

func AccessDeniedExceptionReason_Values() []string

AccessDeniedExceptionReason_Values returns all elements of the AccessDeniedExceptionReason enum

func AccountAttributeName_Values

func AccountAttributeName_Values() []string

AccountAttributeName_Values returns all elements of the AccountAttributeName enum

func AccountLimitName_Values

func AccountLimitName_Values() []string

AccountLimitName_Values returns all elements of the AccountLimitName enum

func AttachmentStatus_Values

func AttachmentStatus_Values() []string

AttachmentStatus_Values returns all elements of the AttachmentStatus enum

func AttachmentUploadErrorReason_Values

func AttachmentUploadErrorReason_Values() []string

AttachmentUploadErrorReason_Values returns all elements of the AttachmentUploadErrorReason enum

func ConfigurationSetFilterName_Values

func ConfigurationSetFilterName_Values() []string

ConfigurationSetFilterName_Values returns all elements of the ConfigurationSetFilterName enum

func ConflictExceptionReason_Values

func ConflictExceptionReason_Values() []string

ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum

func DestinationCountryParameterKey_Values

func DestinationCountryParameterKey_Values() []string

DestinationCountryParameterKey_Values returns all elements of the DestinationCountryParameterKey enum

func EventType_Values

func EventType_Values() []string

EventType_Values returns all elements of the EventType enum

func FieldRequirement_Values

func FieldRequirement_Values() []string

FieldRequirement_Values returns all elements of the FieldRequirement enum

func FieldType_Values

func FieldType_Values() []string

FieldType_Values returns all elements of the FieldType enum

func KeywordAction_Values

func KeywordAction_Values() []string

KeywordAction_Values returns all elements of the KeywordAction enum

func KeywordFilterName_Values

func KeywordFilterName_Values() []string

KeywordFilterName_Values returns all elements of the KeywordFilterName enum

func LanguageCode_Values

func LanguageCode_Values() []string

LanguageCode_Values returns all elements of the LanguageCode enum

func MessageType_Values

func MessageType_Values() []string

MessageType_Values returns all elements of the MessageType enum

func NumberCapability_Values

func NumberCapability_Values() []string

NumberCapability_Values returns all elements of the NumberCapability enum

func NumberStatus_Values

func NumberStatus_Values() []string

NumberStatus_Values returns all elements of the NumberStatus enum

func NumberType_Values

func NumberType_Values() []string

NumberType_Values returns all elements of the NumberType enum

func OptedOutFilterName_Values

func OptedOutFilterName_Values() []string

OptedOutFilterName_Values returns all elements of the OptedOutFilterName enum

func PhoneNumberFilterName_Values

func PhoneNumberFilterName_Values() []string

PhoneNumberFilterName_Values returns all elements of the PhoneNumberFilterName enum

func PoolFilterName_Values

func PoolFilterName_Values() []string

PoolFilterName_Values returns all elements of the PoolFilterName enum

func PoolOriginationIdentitiesFilterName_Values

func PoolOriginationIdentitiesFilterName_Values() []string

PoolOriginationIdentitiesFilterName_Values returns all elements of the PoolOriginationIdentitiesFilterName enum

func PoolStatus_Values

func PoolStatus_Values() []string

PoolStatus_Values returns all elements of the PoolStatus enum

func ProtectConfigurationFilterName_Values

func ProtectConfigurationFilterName_Values() []string

ProtectConfigurationFilterName_Values returns all elements of the ProtectConfigurationFilterName enum

func ProtectStatus_Values

func ProtectStatus_Values() []string

ProtectStatus_Values returns all elements of the ProtectStatus enum

func RegistrationAssociationBehavior_Values

func RegistrationAssociationBehavior_Values() []string

RegistrationAssociationBehavior_Values returns all elements of the RegistrationAssociationBehavior enum

func RegistrationAssociationFilterName_Values

func RegistrationAssociationFilterName_Values() []string

RegistrationAssociationFilterName_Values returns all elements of the RegistrationAssociationFilterName enum

func RegistrationAttachmentFilterName_Values

func RegistrationAttachmentFilterName_Values() []string

RegistrationAttachmentFilterName_Values returns all elements of the RegistrationAttachmentFilterName enum

func RegistrationDisassociationBehavior_Values

func RegistrationDisassociationBehavior_Values() []string

RegistrationDisassociationBehavior_Values returns all elements of the RegistrationDisassociationBehavior enum

func RegistrationFilterName_Values

func RegistrationFilterName_Values() []string

RegistrationFilterName_Values returns all elements of the RegistrationFilterName enum

func RegistrationStatus_Values

func RegistrationStatus_Values() []string

RegistrationStatus_Values returns all elements of the RegistrationStatus enum

func RegistrationTypeFilterName_Values

func RegistrationTypeFilterName_Values() []string

RegistrationTypeFilterName_Values returns all elements of the RegistrationTypeFilterName enum

func RegistrationVersionFilterName_Values

func RegistrationVersionFilterName_Values() []string

RegistrationVersionFilterName_Values returns all elements of the RegistrationVersionFilterName enum

func RegistrationVersionStatus_Values

func RegistrationVersionStatus_Values() []string

RegistrationVersionStatus_Values returns all elements of the RegistrationVersionStatus enum

func RequestableNumberType_Values

func RequestableNumberType_Values() []string

RequestableNumberType_Values returns all elements of the RequestableNumberType enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func SenderIdFilterName_Values

func SenderIdFilterName_Values() []string

SenderIdFilterName_Values returns all elements of the SenderIdFilterName enum

func ServiceQuotaExceededExceptionReason_Values

func ServiceQuotaExceededExceptionReason_Values() []string

ServiceQuotaExceededExceptionReason_Values returns all elements of the ServiceQuotaExceededExceptionReason enum

func SpendLimitName_Values

func SpendLimitName_Values() []string

SpendLimitName_Values returns all elements of the SpendLimitName enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VerificationChannel_Values

func VerificationChannel_Values() []string

VerificationChannel_Values returns all elements of the VerificationChannel enum

func VerificationStatus_Values

func VerificationStatus_Values() []string

VerificationStatus_Values returns all elements of the VerificationStatus enum

func VerifiedDestinationNumberFilterName_Values

func VerifiedDestinationNumberFilterName_Values() []string

VerifiedDestinationNumberFilterName_Values returns all elements of the VerifiedDestinationNumberFilterName enum

func VoiceId_Values

func VoiceId_Values() []string

VoiceId_Values returns all elements of the VoiceId enum

func VoiceMessageBodyTextType_Values

func VoiceMessageBodyTextType_Values() []string

VoiceMessageBodyTextType_Values returns all elements of the VoiceMessageBodyTextType enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason for the exception.
	Reason *string `type:"string" enum:"AccessDeniedExceptionReason"`
	// contains filtered or unexported fields
}

The request was denied because you don't have sufficient permissions to access the resource.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountAttribute

type AccountAttribute struct {

	// The name of the account attribute.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"AccountAttributeName"`

	// The value associated with the account attribute name.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Displays the attributes associated with a single Amazon Web Services account.

func (AccountAttribute) GoString

func (s AccountAttribute) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountAttribute) SetName

func (s *AccountAttribute) SetName(v string) *AccountAttribute

SetName sets the Name field's value.

func (*AccountAttribute) SetValue

func (s *AccountAttribute) SetValue(v string) *AccountAttribute

SetValue sets the Value field's value.

func (AccountAttribute) String

func (s AccountAttribute) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountLimit

type AccountLimit struct {

	// The Amazon Web Services set limit for that resource type, in US dollars.
	//
	// Max is a required field
	Max *int64 `type:"long" required:"true"`

	// The name of the attribute to apply the account limit to.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"AccountLimitName"`

	// The current amount that has been spent, in US dollars.
	//
	// Used is a required field
	Used *int64 `type:"long" required:"true"`
	// contains filtered or unexported fields
}

The current resource quotas associated with an Amazon Web Services account.

func (AccountLimit) GoString

func (s AccountLimit) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountLimit) SetMax

func (s *AccountLimit) SetMax(v int64) *AccountLimit

SetMax sets the Max field's value.

func (*AccountLimit) SetName

func (s *AccountLimit) SetName(v string) *AccountLimit

SetName sets the Name field's value.

func (*AccountLimit) SetUsed

func (s *AccountLimit) SetUsed(v int64) *AccountLimit

SetUsed sets the Used field's value.

func (AccountLimit) String

func (s AccountLimit) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateOriginationIdentityInput

type AssociateOriginationIdentityInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The new two-character code, in ISO 3166-1 alpha-2 format, for the country
	// or region of the origination identity.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId,
	// or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId
	// and PhoneNumberArn, while DescribeSenderIds can be used to get the values
	// for SenderId and SenderIdArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`

	// The pool to update with the new Identity. This value can be either the PoolId
	// or PoolArn, and you can find these values using DescribePools.
	//
	// PoolId is a required field
	PoolId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateOriginationIdentityInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateOriginationIdentityInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateOriginationIdentityInput) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*AssociateOriginationIdentityInput) SetOriginationIdentity

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*AssociateOriginationIdentityInput) SetPoolId

SetPoolId sets the PoolId field's value.

func (AssociateOriginationIdentityInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateOriginationIdentityInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateOriginationIdentityOutput

type AssociateOriginationIdentityOutput struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The PhoneNumberId or SenderId of the origination identity.
	OriginationIdentity *string `type:"string"`

	// The PhoneNumberArn or SenderIdArn of the origination identity.
	OriginationIdentityArn *string `type:"string"`

	// The Amazon Resource Name (ARN) of the pool that is now associated with the
	// origination identity.
	PoolArn *string `type:"string"`

	// The PoolId of the pool that is now associated with the origination identity.
	PoolId *string `type:"string"`
	// contains filtered or unexported fields
}

func (AssociateOriginationIdentityOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateOriginationIdentityOutput) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*AssociateOriginationIdentityOutput) SetOriginationIdentity

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*AssociateOriginationIdentityOutput) SetOriginationIdentityArn

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (*AssociateOriginationIdentityOutput) SetPoolArn

SetPoolArn sets the PoolArn field's value.

func (*AssociateOriginationIdentityOutput) SetPoolId

SetPoolId sets the PoolId field's value.

func (AssociateOriginationIdentityOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateProtectConfigurationInput

type AssociateProtectConfigurationInput struct {

	// The name of the ConfigurationSet.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateProtectConfigurationInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*AssociateProtectConfigurationInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (AssociateProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateProtectConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateProtectConfigurationOutput

type AssociateProtectConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the configuration set.
	//
	// ConfigurationSetArn is a required field
	ConfigurationSetArn *string `type:"string" required:"true"`

	// The name of the ConfigurationSet.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateProtectConfigurationOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*AssociateProtectConfigurationOutput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*AssociateProtectConfigurationOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*AssociateProtectConfigurationOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (AssociateProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudWatchLogsDestination

type CloudWatchLogsDestination struct {

	// The Amazon Resource Name (ARN) of an Identity and Access Management role
	// that is able to write event data to an Amazon CloudWatch destination.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `min:"20" type:"string" required:"true"`

	// The name of the Amazon CloudWatch log group that you want to record events
	// in.
	//
	// LogGroupArn is a required field
	LogGroupArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the destination configuration to use when publishing message sending events.

func (CloudWatchLogsDestination) GoString

func (s CloudWatchLogsDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsDestination) SetIamRoleArn

SetIamRoleArn sets the IamRoleArn field's value.

func (*CloudWatchLogsDestination) SetLogGroupArn

SetLogGroupArn sets the LogGroupArn field's value.

func (CloudWatchLogsDestination) String

func (s CloudWatchLogsDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsDestination) Validate

func (s *CloudWatchLogsDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfigurationSetFilter

type ConfigurationSetFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"ConfigurationSetFilterName"`

	// An array values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for configuration sets that meet a specified criteria.

func (ConfigurationSetFilter) GoString

func (s ConfigurationSetFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfigurationSetFilter) SetName

SetName sets the Name field's value.

func (*ConfigurationSetFilter) SetValues

SetValues sets the Values field's value.

func (ConfigurationSetFilter) String

func (s ConfigurationSetFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfigurationSetFilter) Validate

func (s *ConfigurationSetFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfigurationSetInformation

type ConfigurationSetInformation struct {

	// The Resource Name (ARN) of the ConfigurationSet.
	//
	// ConfigurationSetArn is a required field
	ConfigurationSetArn *string `type:"string" required:"true"`

	// The name of the ConfigurationSet.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The time when the ConfigurationSet was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	DefaultMessageType *string `type:"string" enum:"MessageType"`

	// The default sender ID used by the ConfigurationSet.
	DefaultSenderId *string `min:"1" type:"string"`

	// An array of EventDestination objects that describe any events to log and
	// where to log them.
	//
	// EventDestinations is a required field
	EventDestinations []*EventDestination `type:"list" required:"true"`

	// The unique identifier for the protect configuration.
	ProtectConfigurationId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information related to a given configuration set in your Amazon Web Services account.

func (ConfigurationSetInformation) GoString

func (s ConfigurationSetInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfigurationSetInformation) SetConfigurationSetArn

func (s *ConfigurationSetInformation) SetConfigurationSetArn(v string) *ConfigurationSetInformation

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*ConfigurationSetInformation) SetConfigurationSetName

func (s *ConfigurationSetInformation) SetConfigurationSetName(v string) *ConfigurationSetInformation

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*ConfigurationSetInformation) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ConfigurationSetInformation) SetDefaultMessageType

func (s *ConfigurationSetInformation) SetDefaultMessageType(v string) *ConfigurationSetInformation

SetDefaultMessageType sets the DefaultMessageType field's value.

func (*ConfigurationSetInformation) SetDefaultSenderId

SetDefaultSenderId sets the DefaultSenderId field's value.

func (*ConfigurationSetInformation) SetEventDestinations

SetEventDestinations sets the EventDestinations field's value.

func (*ConfigurationSetInformation) SetProtectConfigurationId

func (s *ConfigurationSetInformation) SetProtectConfigurationId(v string) *ConfigurationSetInformation

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (ConfigurationSetInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason for the exception.
	Reason *string `type:"string" enum:"ConflictExceptionReason"`

	// The unique identifier of the request.
	ResourceId *string `type:"string"`

	// The type of resource that caused the exception.
	ResourceType *string `type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateConfigurationSetInput

type CreateConfigurationSetInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The name to use for the new configuration set.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// An array of key and value pair tags that's associated with the new configuration
	// set.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationSetInput) GoString

func (s CreateConfigurationSetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateConfigurationSetInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateConfigurationSetInput) SetConfigurationSetName

func (s *CreateConfigurationSetInput) SetConfigurationSetName(v string) *CreateConfigurationSetInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetInput) SetTags

SetTags sets the Tags field's value.

func (CreateConfigurationSetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateConfigurationSetInput) Validate

func (s *CreateConfigurationSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateConfigurationSetOutput

type CreateConfigurationSetOutput struct {

	// The Amazon Resource Name (ARN) of the newly created configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the new configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The time when the configuration set was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// An array of key and value pair tags that's associated with the configuration
	// set.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationSetOutput) GoString

func (s CreateConfigurationSetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateConfigurationSetOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*CreateConfigurationSetOutput) SetConfigurationSetName

func (s *CreateConfigurationSetOutput) SetConfigurationSetName(v string) *CreateConfigurationSetOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateConfigurationSetOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateConfigurationSetOutput) SetTags

SetTags sets the Tags field's value.

func (CreateConfigurationSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateEventDestinationInput

type CreateEventDestinationInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// An object that contains information about an event destination for logging
	// to Amazon CloudWatch Logs.
	CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`

	// Either the name of the configuration set or the configuration set ARN to
	// apply event logging to. The ConfigurateSetName and ConfigurationSetArn can
	// be found using the DescribeConfigurationSets action.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The name that identifies the event destination.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `min:"1" type:"string" required:"true"`

	// An object that contains information about an event destination for logging
	// to Amazon Kinesis Data Firehose.
	KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

	// An array of event types that determine which events to log. If "ALL" is used,
	// then Amazon Pinpoint logs every event type.
	//
	// The TEXT_SENT event type is not supported.
	//
	// MatchingEventTypes is a required field
	MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`

	// An object that contains information about an event destination for logging
	// to Amazon SNS.
	SnsDestination *SnsDestination `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateEventDestinationInput) GoString

func (s CreateEventDestinationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventDestinationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateEventDestinationInput) SetCloudWatchLogsDestination

SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.

func (*CreateEventDestinationInput) SetConfigurationSetName

func (s *CreateEventDestinationInput) SetConfigurationSetName(v string) *CreateEventDestinationInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateEventDestinationInput) SetEventDestinationName

func (s *CreateEventDestinationInput) SetEventDestinationName(v string) *CreateEventDestinationInput

SetEventDestinationName sets the EventDestinationName field's value.

func (*CreateEventDestinationInput) SetKinesisFirehoseDestination

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*CreateEventDestinationInput) SetMatchingEventTypes

func (s *CreateEventDestinationInput) SetMatchingEventTypes(v []*string) *CreateEventDestinationInput

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*CreateEventDestinationInput) SetSnsDestination

SetSnsDestination sets the SnsDestination field's value.

func (CreateEventDestinationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventDestinationInput) Validate

func (s *CreateEventDestinationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEventDestinationOutput

type CreateEventDestinationOutput struct {

	// The ARN of the configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The details of the destination where events are logged.
	EventDestination *EventDestination `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateEventDestinationOutput) GoString

func (s CreateEventDestinationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateEventDestinationOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*CreateEventDestinationOutput) SetConfigurationSetName

func (s *CreateEventDestinationOutput) SetConfigurationSetName(v string) *CreateEventDestinationOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*CreateEventDestinationOutput) SetEventDestination

SetEventDestination sets the EventDestination field's value.

func (CreateEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateOptOutListInput

type CreateOptOutListInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The name of the new OptOutList.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the new OptOutList.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateOptOutListInput) GoString

func (s CreateOptOutListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOptOutListInput) SetClientToken

func (s *CreateOptOutListInput) SetClientToken(v string) *CreateOptOutListInput

SetClientToken sets the ClientToken field's value.

func (*CreateOptOutListInput) SetOptOutListName

func (s *CreateOptOutListInput) SetOptOutListName(v string) *CreateOptOutListInput

SetOptOutListName sets the OptOutListName field's value.

func (*CreateOptOutListInput) SetTags

SetTags sets the Tags field's value.

func (CreateOptOutListInput) String

func (s CreateOptOutListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOptOutListInput) Validate

func (s *CreateOptOutListInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateOptOutListOutput

type CreateOptOutListOutput struct {

	// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) for the OptOutList.
	OptOutListArn *string `type:"string"`

	// The name of the new OptOutList.
	OptOutListName *string `min:"1" type:"string"`

	// An array of tags (key and value pairs) associated with the new OptOutList.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateOptOutListOutput) GoString

func (s CreateOptOutListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOptOutListOutput) SetCreatedTimestamp

func (s *CreateOptOutListOutput) SetCreatedTimestamp(v time.Time) *CreateOptOutListOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateOptOutListOutput) SetOptOutListArn

func (s *CreateOptOutListOutput) SetOptOutListArn(v string) *CreateOptOutListOutput

SetOptOutListArn sets the OptOutListArn field's value.

func (*CreateOptOutListOutput) SetOptOutListName

func (s *CreateOptOutListOutput) SetOptOutListName(v string) *CreateOptOutListOutput

SetOptOutListName sets the OptOutListName field's value.

func (*CreateOptOutListOutput) SetTags

SetTags sets the Tags field's value.

func (CreateOptOutListOutput) String

func (s CreateOptOutListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePoolInput

type CreatePoolInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// By default this is set to false. When set to true the pool can't be deleted.
	// You can change this value using the UpdatePool action.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The new two-character code, in ISO 3166-1 alpha-2 format, for the country
	// or region of the new pool.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageType is a required field
	MessageType *string `type:"string" required:"true" enum:"MessageType"`

	// The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
	// SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
	// for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
	// to get the values for SenderId and SenderIdArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) associated with the pool.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreatePoolInput) GoString

func (s CreatePoolInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePoolInput) SetClientToken

func (s *CreatePoolInput) SetClientToken(v string) *CreatePoolInput

SetClientToken sets the ClientToken field's value.

func (*CreatePoolInput) SetDeletionProtectionEnabled

func (s *CreatePoolInput) SetDeletionProtectionEnabled(v bool) *CreatePoolInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*CreatePoolInput) SetIsoCountryCode

func (s *CreatePoolInput) SetIsoCountryCode(v string) *CreatePoolInput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*CreatePoolInput) SetMessageType

func (s *CreatePoolInput) SetMessageType(v string) *CreatePoolInput

SetMessageType sets the MessageType field's value.

func (*CreatePoolInput) SetOriginationIdentity

func (s *CreatePoolInput) SetOriginationIdentity(v string) *CreatePoolInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*CreatePoolInput) SetTags

func (s *CreatePoolInput) SetTags(v []*Tag) *CreatePoolInput

SetTags sets the Tags field's value.

func (CreatePoolInput) String

func (s CreatePoolInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePoolInput) Validate

func (s *CreatePoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePoolOutput

type CreatePoolOutput struct {

	// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// When set to true deletion protection is enabled. By default this is set to
	// false.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The type of message for the pool to use.
	MessageType *string `type:"string" enum:"MessageType"`

	// The name of the OptOutList associated with the pool.
	OptOutListName *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) for the pool.
	PoolArn *string `type:"string"`

	// The unique identifier for the pool.
	PoolId *string `type:"string"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// Indicates whether shared routes are enabled for the pool.
	SharedRoutesEnabled *bool `type:"boolean"`

	// The current status of the pool.
	//
	//    * CREATING: The pool is currently being created and isn't yet available
	//    for use.
	//
	//    * ACTIVE: The pool is active and available for use.
	//
	//    * DELETING: The pool is being deleted.
	Status *string `type:"string" enum:"PoolStatus"`

	// An array of tags (key and value pairs) associated with the pool.
	Tags []*Tag `type:"list"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (CreatePoolOutput) GoString

func (s CreatePoolOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePoolOutput) SetCreatedTimestamp

func (s *CreatePoolOutput) SetCreatedTimestamp(v time.Time) *CreatePoolOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreatePoolOutput) SetDeletionProtectionEnabled

func (s *CreatePoolOutput) SetDeletionProtectionEnabled(v bool) *CreatePoolOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*CreatePoolOutput) SetMessageType

func (s *CreatePoolOutput) SetMessageType(v string) *CreatePoolOutput

SetMessageType sets the MessageType field's value.

func (*CreatePoolOutput) SetOptOutListName

func (s *CreatePoolOutput) SetOptOutListName(v string) *CreatePoolOutput

SetOptOutListName sets the OptOutListName field's value.

func (*CreatePoolOutput) SetPoolArn

func (s *CreatePoolOutput) SetPoolArn(v string) *CreatePoolOutput

SetPoolArn sets the PoolArn field's value.

func (*CreatePoolOutput) SetPoolId

func (s *CreatePoolOutput) SetPoolId(v string) *CreatePoolOutput

SetPoolId sets the PoolId field's value.

func (*CreatePoolOutput) SetSelfManagedOptOutsEnabled

func (s *CreatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *CreatePoolOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*CreatePoolOutput) SetSharedRoutesEnabled

func (s *CreatePoolOutput) SetSharedRoutesEnabled(v bool) *CreatePoolOutput

SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.

func (*CreatePoolOutput) SetStatus

func (s *CreatePoolOutput) SetStatus(v string) *CreatePoolOutput

SetStatus sets the Status field's value.

func (*CreatePoolOutput) SetTags

func (s *CreatePoolOutput) SetTags(v []*Tag) *CreatePoolOutput

SetTags sets the Tags field's value.

func (*CreatePoolOutput) SetTwoWayChannelArn

func (s *CreatePoolOutput) SetTwoWayChannelArn(v string) *CreatePoolOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*CreatePoolOutput) SetTwoWayChannelRole

func (s *CreatePoolOutput) SetTwoWayChannelRole(v string) *CreatePoolOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*CreatePoolOutput) SetTwoWayEnabled

func (s *CreatePoolOutput) SetTwoWayEnabled(v bool) *CreatePoolOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (CreatePoolOutput) String

func (s CreatePoolOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateProtectConfigurationInput

type CreateProtectConfigurationInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// When set to true deletion protection is enabled. By default this is set to
	// false.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// An array of key and value pair tags that are associated with the resource.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProtectConfigurationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateProtectConfigurationInput) SetDeletionProtectionEnabled

func (s *CreateProtectConfigurationInput) SetDeletionProtectionEnabled(v bool) *CreateProtectConfigurationInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*CreateProtectConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (CreateProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProtectConfigurationInput) Validate

func (s *CreateProtectConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProtectConfigurationOutput

type CreateProtectConfigurationOutput struct {

	// This is true if the protect configuration is set as your account default
	// protect configuration.
	//
	// AccountDefault is a required field
	AccountDefault *bool `type:"boolean" required:"true"`

	// The time when the protect configuration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// When set to true deletion protection is enabled. By default this is set to
	// false.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`

	// An array of key and value pair tags that are associated with the resource.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateProtectConfigurationOutput) SetAccountDefault

SetAccountDefault sets the AccountDefault field's value.

func (*CreateProtectConfigurationOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateProtectConfigurationOutput) SetDeletionProtectionEnabled

func (s *CreateProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *CreateProtectConfigurationOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*CreateProtectConfigurationOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*CreateProtectConfigurationOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (*CreateProtectConfigurationOutput) SetTags

SetTags sets the Tags field's value.

func (CreateProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRegistrationAssociationInput

type CreateRegistrationAssociationInput struct {

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the origination identity. For example this could
	// be a PhoneNumberId or SenderId.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRegistrationAssociationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAssociationInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*CreateRegistrationAssociationInput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (CreateRegistrationAssociationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAssociationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateRegistrationAssociationOutput

type CreateRegistrationAssociationOutput struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The phone number associated with the registration in E.164 format.
	PhoneNumber *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the origination identity that is associated
	// with the registration.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// The unique identifier for the origination identity. For example this could
	// be a PhoneNumberId or SenderId.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The registration type or origination identity type.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRegistrationAssociationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAssociationOutput) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*CreateRegistrationAssociationOutput) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*CreateRegistrationAssociationOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*CreateRegistrationAssociationOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*CreateRegistrationAssociationOutput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (*CreateRegistrationAssociationOutput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*CreateRegistrationAssociationOutput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*CreateRegistrationAssociationOutput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (CreateRegistrationAssociationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRegistrationAttachmentInput

type CreateRegistrationAttachmentInput struct {

	// The registration file to upload. The maximum file size is 1MiB and valid
	// file extensions are PDF, JPEG and PNG.
	// AttachmentBody is automatically base64 encoded/decoded by the SDK.
	AttachmentBody []byte `min:"1" type:"blob"`

	// A URL to the required registration file. For example, you can provide the
	// S3 object URL.
	AttachmentUrl *string `min:"1" type:"string"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// An array of tags (key and value pairs) to associate with the registration
	// attachment.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateRegistrationAttachmentInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAttachmentInput) SetAttachmentBody

SetAttachmentBody sets the AttachmentBody field's value.

func (*CreateRegistrationAttachmentInput) SetAttachmentUrl

SetAttachmentUrl sets the AttachmentUrl field's value.

func (*CreateRegistrationAttachmentInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateRegistrationAttachmentInput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistrationAttachmentInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAttachmentInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateRegistrationAttachmentOutput

type CreateRegistrationAttachmentOutput struct {

	// The status of the registration attachment.
	//
	//    * UPLOAD_IN_PROGRESS The attachment is being uploaded.
	//
	//    * UPLOAD_COMPLETE The attachment has been uploaded.
	//
	//    * UPLOAD_FAILED The attachment failed to uploaded.
	//
	//    * DELETED The attachment has been deleted..
	//
	// AttachmentStatus is a required field
	AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`

	// The time when the registration attachment was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The Amazon Resource Name (ARN) for the registration attachment.
	//
	// RegistrationAttachmentArn is a required field
	RegistrationAttachmentArn *string `type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	//
	// RegistrationAttachmentId is a required field
	RegistrationAttachmentId *string `type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the registration
	// attachment.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateRegistrationAttachmentOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationAttachmentOutput) SetAttachmentStatus

SetAttachmentStatus sets the AttachmentStatus field's value.

func (*CreateRegistrationAttachmentOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateRegistrationAttachmentOutput) SetRegistrationAttachmentArn

SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.

func (*CreateRegistrationAttachmentOutput) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (*CreateRegistrationAttachmentOutput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistrationAttachmentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRegistrationInput

type CreateRegistrationInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The type of registration form to create. The list of RegistrationTypes can
	// be found using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the registration.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateRegistrationInput) GoString

func (s CreateRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateRegistrationInput) SetRegistrationType

func (s *CreateRegistrationInput) SetRegistrationType(v string) *CreateRegistrationInput

SetRegistrationType sets the RegistrationType field's value.

func (*CreateRegistrationInput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistrationInput) String

func (s CreateRegistrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationInput) Validate

func (s *CreateRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRegistrationOutput

type CreateRegistrationOutput struct {

	// Metadata about a given registration which is specific to that registration
	// type.
	AdditionalAttributes map[string]*string `type:"map"`

	// The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The current version number of the registration.
	//
	// CurrentVersionNumber is a required field
	CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration.
	//
	//    * CREATED: Your registration is created but not submitted.
	//
	//    * SUBMITTED: Your registration has been submitted and is awaiting review.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * PROVISIONING: Your registration has been approved and your origination
	//    identity is being created.
	//
	//    * COMPLETE: Your registration has been approved and and your origination
	//    identity has been created.
	//
	//    * REQUIRES_UPDATES: You must fix your registration and resubmit it.
	//
	//    * CLOSED: The phone number or sender ID has been deleted and you must
	//    also delete the registration for the number.
	//
	//    * DELETED: The registration has been deleted.
	//
	// RegistrationStatus is a required field
	RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`

	// The type of registration form to create. The list of RegistrationTypes can
	// be found using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the registration.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateRegistrationOutput) GoString

func (s CreateRegistrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationOutput) SetAdditionalAttributes

func (s *CreateRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *CreateRegistrationOutput

SetAdditionalAttributes sets the AdditionalAttributes field's value.

func (*CreateRegistrationOutput) SetCreatedTimestamp

func (s *CreateRegistrationOutput) SetCreatedTimestamp(v time.Time) *CreateRegistrationOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateRegistrationOutput) SetCurrentVersionNumber

func (s *CreateRegistrationOutput) SetCurrentVersionNumber(v int64) *CreateRegistrationOutput

SetCurrentVersionNumber sets the CurrentVersionNumber field's value.

func (*CreateRegistrationOutput) SetRegistrationArn

func (s *CreateRegistrationOutput) SetRegistrationArn(v string) *CreateRegistrationOutput

SetRegistrationArn sets the RegistrationArn field's value.

func (*CreateRegistrationOutput) SetRegistrationId

func (s *CreateRegistrationOutput) SetRegistrationId(v string) *CreateRegistrationOutput

SetRegistrationId sets the RegistrationId field's value.

func (*CreateRegistrationOutput) SetRegistrationStatus

func (s *CreateRegistrationOutput) SetRegistrationStatus(v string) *CreateRegistrationOutput

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*CreateRegistrationOutput) SetRegistrationType

func (s *CreateRegistrationOutput) SetRegistrationType(v string) *CreateRegistrationOutput

SetRegistrationType sets the RegistrationType field's value.

func (*CreateRegistrationOutput) SetTags

SetTags sets the Tags field's value.

func (CreateRegistrationOutput) String

func (s CreateRegistrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRegistrationVersionInput

type CreateRegistrationVersionInput struct {

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRegistrationVersionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationVersionInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (CreateRegistrationVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationVersionInput) Validate

func (s *CreateRegistrationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRegistrationVersionOutput

type CreateRegistrationVersionOutput struct {

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration.
	//
	//    * DRAFT: The initial status of a registration version after it’s created.
	//
	//    * SUBMITTED: Your registration has been submitted.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * APPROVED: Your registration has been approved.
	//
	//    * DISCARDED: You've abandon this version of their registration to start
	//    over with a new version.
	//
	//    * DENIED: You must fix your registration and resubmit it.
	//
	//    * REVOKED: Your previously approved registration has been revoked.
	//
	//    * ARCHIVED: Your previously approved registration version moves into this
	//    status when a more recently submitted version is approved.
	//
	// RegistrationVersionStatus is a required field
	RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`

	// A RegistrationVersionStatusHistory object that contains timestamps for the
	// registration.
	//
	// RegistrationVersionStatusHistory is a required field
	RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`

	// The new version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRegistrationVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRegistrationVersionOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*CreateRegistrationVersionOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*CreateRegistrationVersionOutput) SetRegistrationVersionStatus

func (s *CreateRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *CreateRegistrationVersionOutput

SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.

func (*CreateRegistrationVersionOutput) SetRegistrationVersionStatusHistory

SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.

func (*CreateRegistrationVersionOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (CreateRegistrationVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateVerifiedDestinationNumberInput

type CreateVerifiedDestinationNumberInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The verified destination phone number, in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the destination
	// number.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateVerifiedDestinationNumberInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateVerifiedDestinationNumberInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateVerifiedDestinationNumberInput) SetDestinationPhoneNumber

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*CreateVerifiedDestinationNumberInput) SetTags

SetTags sets the Tags field's value.

func (CreateVerifiedDestinationNumberInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateVerifiedDestinationNumberInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateVerifiedDestinationNumberOutput

type CreateVerifiedDestinationNumberOutput struct {

	// The time when the verified phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The verified destination phone number, in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// The status of the verified destination phone number.
	//
	//    * PENDING: The phone number hasn't been verified yet.
	//
	//    * VERIFIED: The phone number is verified and can receive messages.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"VerificationStatus"`

	// An array of tags (key and value pairs) to associate with the destination
	// number.
	Tags []*Tag `type:"list"`

	// The Amazon Resource Name (ARN) for the verified destination phone number.
	//
	// VerifiedDestinationNumberArn is a required field
	VerifiedDestinationNumberArn *string `type:"string" required:"true"`

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVerifiedDestinationNumberOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateVerifiedDestinationNumberOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*CreateVerifiedDestinationNumberOutput) SetDestinationPhoneNumber

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*CreateVerifiedDestinationNumberOutput) SetStatus

SetStatus sets the Status field's value.

func (*CreateVerifiedDestinationNumberOutput) SetTags

SetTags sets the Tags field's value.

func (*CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn

SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.

func (*CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (CreateVerifiedDestinationNumberOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccountDefaultProtectConfigurationInput

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

func (DeleteAccountDefaultProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccountDefaultProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccountDefaultProtectConfigurationOutput

type DeleteAccountDefaultProtectConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the account default protect configuration.
	//
	// DefaultProtectConfigurationArn is a required field
	DefaultProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier of the account default protect configuration.
	//
	// DefaultProtectConfigurationId is a required field
	DefaultProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAccountDefaultProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationArn

SetDefaultProtectConfigurationArn sets the DefaultProtectConfigurationArn field's value.

func (*DeleteAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationId

SetDefaultProtectConfigurationId sets the DefaultProtectConfigurationId field's value.

func (DeleteAccountDefaultProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteConfigurationSetInput

type DeleteConfigurationSetInput struct {

	// The name of the configuration set or the configuration set ARN that you want
	// to delete. The ConfigurationSetName and ConfigurationSetArn can be found
	// using the DescribeConfigurationSets action.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteConfigurationSetInput) GoString

func (s DeleteConfigurationSetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConfigurationSetInput) SetConfigurationSetName

func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteConfigurationSetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConfigurationSetInput) Validate

func (s *DeleteConfigurationSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteConfigurationSetOutput

type DeleteConfigurationSetOutput struct {

	// The Amazon Resource Name (ARN) of the deleted configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the deleted configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The time that the deleted configuration set was created in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The default message type of the configuration set that was deleted.
	DefaultMessageType *string `type:"string" enum:"MessageType"`

	// The default Sender ID of the configuration set that was deleted.
	DefaultSenderId *string `min:"1" type:"string"`

	// An array of any EventDestination objects that were associated with the deleted
	// configuration set.
	EventDestinations []*EventDestination `type:"list"`
	// contains filtered or unexported fields
}

func (DeleteConfigurationSetOutput) GoString

func (s DeleteConfigurationSetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteConfigurationSetOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*DeleteConfigurationSetOutput) SetConfigurationSetName

func (s *DeleteConfigurationSetOutput) SetConfigurationSetName(v string) *DeleteConfigurationSetOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteConfigurationSetOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteConfigurationSetOutput) SetDefaultMessageType

SetDefaultMessageType sets the DefaultMessageType field's value.

func (*DeleteConfigurationSetOutput) SetDefaultSenderId

SetDefaultSenderId sets the DefaultSenderId field's value.

func (*DeleteConfigurationSetOutput) SetEventDestinations

SetEventDestinations sets the EventDestinations field's value.

func (DeleteConfigurationSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDefaultMessageTypeInput

type DeleteDefaultMessageTypeInput struct {

	// The name of the configuration set or the configuration set Amazon Resource
	// Name (ARN) to delete the default message type from. The ConfigurationSetName
	// and ConfigurationSetArn can be found using the DescribeConfigurationSets
	// action.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDefaultMessageTypeInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultMessageTypeInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteDefaultMessageTypeInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultMessageTypeInput) Validate

func (s *DeleteDefaultMessageTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDefaultMessageTypeOutput

type DeleteDefaultMessageTypeOutput struct {

	// The Amazon Resource Name (ARN) of the configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The current message type for the configuration set.
	MessageType *string `type:"string" enum:"MessageType"`
	// contains filtered or unexported fields
}

func (DeleteDefaultMessageTypeOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultMessageTypeOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*DeleteDefaultMessageTypeOutput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteDefaultMessageTypeOutput) SetMessageType

SetMessageType sets the MessageType field's value.

func (DeleteDefaultMessageTypeOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteDefaultSenderIdInput

type DeleteDefaultSenderIdInput struct {

	// The name of the configuration set or the configuration set Amazon Resource
	// Name (ARN) to delete the default sender ID from. The ConfigurationSetName
	// and ConfigurationSetArn can be found using the DescribeConfigurationSets
	// action.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDefaultSenderIdInput) GoString

func (s DeleteDefaultSenderIdInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultSenderIdInput) SetConfigurationSetName

func (s *DeleteDefaultSenderIdInput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (DeleteDefaultSenderIdInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultSenderIdInput) Validate

func (s *DeleteDefaultSenderIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDefaultSenderIdOutput

type DeleteDefaultSenderIdOutput struct {

	// The Amazon Resource Name (ARN) of the configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The current sender ID for the configuration set.
	SenderId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteDefaultSenderIdOutput) GoString

func (s DeleteDefaultSenderIdOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteDefaultSenderIdOutput) SetConfigurationSetArn

func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetArn(v string) *DeleteDefaultSenderIdOutput

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*DeleteDefaultSenderIdOutput) SetConfigurationSetName

func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteDefaultSenderIdOutput) SetSenderId

SetSenderId sets the SenderId field's value.

func (DeleteDefaultSenderIdOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteEventDestinationInput

type DeleteEventDestinationInput struct {

	// The name of the configuration set or the configuration set's Amazon Resource
	// Name (ARN) to remove the event destination from. The ConfigurateSetName and
	// ConfigurationSetArn can be found using the DescribeConfigurationSets action.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The name of the event destination to delete.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEventDestinationInput) GoString

func (s DeleteEventDestinationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventDestinationInput) SetConfigurationSetName

func (s *DeleteEventDestinationInput) SetConfigurationSetName(v string) *DeleteEventDestinationInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteEventDestinationInput) SetEventDestinationName

func (s *DeleteEventDestinationInput) SetEventDestinationName(v string) *DeleteEventDestinationInput

SetEventDestinationName sets the EventDestinationName field's value.

func (DeleteEventDestinationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventDestinationInput) Validate

func (s *DeleteEventDestinationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEventDestinationOutput

type DeleteEventDestinationOutput struct {

	// The Amazon Resource Name (ARN) of the configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set the event destination was deleted from.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The event destination object that was deleted.
	EventDestination *EventDestination `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteEventDestinationOutput) GoString

func (s DeleteEventDestinationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteEventDestinationOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*DeleteEventDestinationOutput) SetConfigurationSetName

func (s *DeleteEventDestinationOutput) SetConfigurationSetName(v string) *DeleteEventDestinationOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DeleteEventDestinationOutput) SetEventDestination

SetEventDestination sets the EventDestination field's value.

func (DeleteEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteKeywordInput

type DeleteKeywordInput struct {

	// The keyword to delete.
	//
	// Keyword is a required field
	Keyword *string `min:"1" type:"string" required:"true"`

	// The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
	// PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for
	// PhoneNumberId and PhoneNumberArn and DescribePools to find the values of
	// PoolId and PoolArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteKeywordInput) GoString

func (s DeleteKeywordInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteKeywordInput) SetKeyword

func (s *DeleteKeywordInput) SetKeyword(v string) *DeleteKeywordInput

SetKeyword sets the Keyword field's value.

func (*DeleteKeywordInput) SetOriginationIdentity

func (s *DeleteKeywordInput) SetOriginationIdentity(v string) *DeleteKeywordInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (DeleteKeywordInput) String

func (s DeleteKeywordInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteKeywordInput) Validate

func (s *DeleteKeywordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteKeywordOutput

type DeleteKeywordOutput struct {

	// The keyword that was deleted.
	Keyword *string `min:"1" type:"string"`

	// The action that was associated with the deleted keyword.
	KeywordAction *string `type:"string" enum:"KeywordAction"`

	// The message that was associated with the deleted keyword.
	KeywordMessage *string `min:"1" type:"string"`

	// The PhoneNumberId or PoolId that the keyword was associated with.
	OriginationIdentity *string `type:"string"`

	// The PhoneNumberArn or PoolArn that the keyword was associated with.
	OriginationIdentityArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteKeywordOutput) GoString

func (s DeleteKeywordOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteKeywordOutput) SetKeyword

SetKeyword sets the Keyword field's value.

func (*DeleteKeywordOutput) SetKeywordAction

func (s *DeleteKeywordOutput) SetKeywordAction(v string) *DeleteKeywordOutput

SetKeywordAction sets the KeywordAction field's value.

func (*DeleteKeywordOutput) SetKeywordMessage

func (s *DeleteKeywordOutput) SetKeywordMessage(v string) *DeleteKeywordOutput

SetKeywordMessage sets the KeywordMessage field's value.

func (*DeleteKeywordOutput) SetOriginationIdentity

func (s *DeleteKeywordOutput) SetOriginationIdentity(v string) *DeleteKeywordOutput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*DeleteKeywordOutput) SetOriginationIdentityArn

func (s *DeleteKeywordOutput) SetOriginationIdentityArn(v string) *DeleteKeywordOutput

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (DeleteKeywordOutput) String

func (s DeleteKeywordOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMediaMessageSpendLimitOverrideInput

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

func (DeleteMediaMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteMediaMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteMediaMessageSpendLimitOverrideOutput

type DeleteMediaMessageSpendLimitOverrideOutput struct {

	// The current monthly limit, in US dollars.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (DeleteMediaMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteMediaMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (DeleteMediaMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteOptOutListInput

type DeleteOptOutListInput struct {

	// The OptOutListName or OptOutListArn of the OptOutList to delete. You can
	// use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteOptOutListInput) GoString

func (s DeleteOptOutListInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptOutListInput) SetOptOutListName

func (s *DeleteOptOutListInput) SetOptOutListName(v string) *DeleteOptOutListInput

SetOptOutListName sets the OptOutListName field's value.

func (DeleteOptOutListInput) String

func (s DeleteOptOutListInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptOutListInput) Validate

func (s *DeleteOptOutListInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOptOutListOutput

type DeleteOptOutListOutput struct {

	// The time when the OptOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the OptOutList that was removed.
	OptOutListArn *string `type:"string"`

	// The name of the OptOutList that was removed.
	OptOutListName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteOptOutListOutput) GoString

func (s DeleteOptOutListOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptOutListOutput) SetCreatedTimestamp

func (s *DeleteOptOutListOutput) SetCreatedTimestamp(v time.Time) *DeleteOptOutListOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteOptOutListOutput) SetOptOutListArn

func (s *DeleteOptOutListOutput) SetOptOutListArn(v string) *DeleteOptOutListOutput

SetOptOutListArn sets the OptOutListArn field's value.

func (*DeleteOptOutListOutput) SetOptOutListName

func (s *DeleteOptOutListOutput) SetOptOutListName(v string) *DeleteOptOutListOutput

SetOptOutListName sets the OptOutListName field's value.

func (DeleteOptOutListOutput) String

func (s DeleteOptOutListOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteOptedOutNumberInput

type DeleteOptedOutNumberInput struct {

	// The OptOutListName or OptOutListArn to remove the phone number from.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// The phone number, in E.164 format, to remove from the OptOutList.
	//
	// OptedOutNumber is a required field
	OptedOutNumber *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteOptedOutNumberInput) GoString

func (s DeleteOptedOutNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptedOutNumberInput) SetOptOutListName

SetOptOutListName sets the OptOutListName field's value.

func (*DeleteOptedOutNumberInput) SetOptedOutNumber

SetOptedOutNumber sets the OptedOutNumber field's value.

func (DeleteOptedOutNumberInput) String

func (s DeleteOptedOutNumberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptedOutNumberInput) Validate

func (s *DeleteOptedOutNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOptedOutNumberOutput

type DeleteOptedOutNumberOutput struct {

	// This is true if it was the end user who requested their phone number be removed.
	EndUserOptedOut *bool `type:"boolean"`

	// The OptOutListArn that the phone number was removed from.
	OptOutListArn *string `type:"string"`

	// The OptOutListName that the phone number was removed from.
	OptOutListName *string `min:"1" type:"string"`

	// The phone number that was removed from the OptOutList.
	OptedOutNumber *string `min:"1" type:"string"`

	// The time that the number was removed at, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	OptedOutTimestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (DeleteOptedOutNumberOutput) GoString

func (s DeleteOptedOutNumberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOptedOutNumberOutput) SetEndUserOptedOut

SetEndUserOptedOut sets the EndUserOptedOut field's value.

func (*DeleteOptedOutNumberOutput) SetOptOutListArn

SetOptOutListArn sets the OptOutListArn field's value.

func (*DeleteOptedOutNumberOutput) SetOptOutListName

SetOptOutListName sets the OptOutListName field's value.

func (*DeleteOptedOutNumberOutput) SetOptedOutNumber

SetOptedOutNumber sets the OptedOutNumber field's value.

func (*DeleteOptedOutNumberOutput) SetOptedOutTimestamp

func (s *DeleteOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *DeleteOptedOutNumberOutput

SetOptedOutTimestamp sets the OptedOutTimestamp field's value.

func (DeleteOptedOutNumberOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePoolInput

type DeletePoolInput struct {

	// The PoolId or PoolArn of the pool to delete. You can use DescribePools to
	// find the values for PoolId and PoolArn .
	//
	// PoolId is a required field
	PoolId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePoolInput) GoString

func (s DeletePoolInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePoolInput) SetPoolId

func (s *DeletePoolInput) SetPoolId(v string) *DeletePoolInput

SetPoolId sets the PoolId field's value.

func (DeletePoolInput) String

func (s DeletePoolInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePoolInput) Validate

func (s *DeletePoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePoolOutput

type DeletePoolOutput struct {

	// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The message type that was associated with the deleted pool.
	MessageType *string `type:"string" enum:"MessageType"`

	// The name of the OptOutList that was associated with the deleted pool.
	OptOutListName *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the pool that was deleted.
	PoolArn *string `type:"string"`

	// The PoolId of the pool that was deleted.
	PoolId *string `type:"string"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// Indicates whether shared routes are enabled for the pool.
	SharedRoutesEnabled *bool `type:"boolean"`

	// The current status of the pool.
	//
	//    * CREATING: The pool is currently being created and isn't yet available
	//    for use.
	//
	//    * ACTIVE: The pool is active and available for use.
	//
	//    * DELETING: The pool is being deleted.
	Status *string `type:"string" enum:"PoolStatus"`

	// The Amazon Resource Name (ARN) of the TwoWayChannel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (DeletePoolOutput) GoString

func (s DeletePoolOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePoolOutput) SetCreatedTimestamp

func (s *DeletePoolOutput) SetCreatedTimestamp(v time.Time) *DeletePoolOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeletePoolOutput) SetMessageType

func (s *DeletePoolOutput) SetMessageType(v string) *DeletePoolOutput

SetMessageType sets the MessageType field's value.

func (*DeletePoolOutput) SetOptOutListName

func (s *DeletePoolOutput) SetOptOutListName(v string) *DeletePoolOutput

SetOptOutListName sets the OptOutListName field's value.

func (*DeletePoolOutput) SetPoolArn

func (s *DeletePoolOutput) SetPoolArn(v string) *DeletePoolOutput

SetPoolArn sets the PoolArn field's value.

func (*DeletePoolOutput) SetPoolId

func (s *DeletePoolOutput) SetPoolId(v string) *DeletePoolOutput

SetPoolId sets the PoolId field's value.

func (*DeletePoolOutput) SetSelfManagedOptOutsEnabled

func (s *DeletePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *DeletePoolOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*DeletePoolOutput) SetSharedRoutesEnabled

func (s *DeletePoolOutput) SetSharedRoutesEnabled(v bool) *DeletePoolOutput

SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.

func (*DeletePoolOutput) SetStatus

func (s *DeletePoolOutput) SetStatus(v string) *DeletePoolOutput

SetStatus sets the Status field's value.

func (*DeletePoolOutput) SetTwoWayChannelArn

func (s *DeletePoolOutput) SetTwoWayChannelArn(v string) *DeletePoolOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*DeletePoolOutput) SetTwoWayChannelRole

func (s *DeletePoolOutput) SetTwoWayChannelRole(v string) *DeletePoolOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*DeletePoolOutput) SetTwoWayEnabled

func (s *DeletePoolOutput) SetTwoWayEnabled(v bool) *DeletePoolOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (DeletePoolOutput) String

func (s DeletePoolOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteProtectConfigurationInput

type DeleteProtectConfigurationInput struct {

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProtectConfigurationInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (DeleteProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProtectConfigurationInput) Validate

func (s *DeleteProtectConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteProtectConfigurationOutput

type DeleteProtectConfigurationOutput struct {

	// This is true if the protect configuration is set as your account default
	// protect configuration.
	//
	// AccountDefault is a required field
	AccountDefault *bool `type:"boolean" required:"true"`

	// The time when the protect configuration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The status of deletion protection for the protect configuration. When set
	// to true deletion protection is enabled. By default this is set to false.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProtectConfigurationOutput) SetAccountDefault

SetAccountDefault sets the AccountDefault field's value.

func (*DeleteProtectConfigurationOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteProtectConfigurationOutput) SetDeletionProtectionEnabled

func (s *DeleteProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *DeleteProtectConfigurationOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*DeleteProtectConfigurationOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*DeleteProtectConfigurationOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (DeleteProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRegistrationAttachmentInput

type DeleteRegistrationAttachmentInput struct {

	// The unique identifier for the registration attachment.
	//
	// RegistrationAttachmentId is a required field
	RegistrationAttachmentId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationAttachmentInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationAttachmentInput) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (DeleteRegistrationAttachmentInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationAttachmentInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteRegistrationAttachmentOutput

type DeleteRegistrationAttachmentOutput struct {

	// The status of the registration attachment.
	//
	//    * UPLOAD_IN_PROGRESS The attachment is being uploaded.
	//
	//    * UPLOAD_COMPLETE The attachment has been uploaded.
	//
	//    * UPLOAD_FAILED The attachment failed to uploaded.
	//
	//    * DELETED The attachment has been deleted..
	//
	// AttachmentStatus is a required field
	AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`

	// The error message if the upload failed.
	AttachmentUploadErrorReason *string `type:"string" enum:"AttachmentUploadErrorReason"`

	// The time when the registration attachment was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The Amazon Resource Name (ARN) for the registration attachment.
	//
	// RegistrationAttachmentArn is a required field
	RegistrationAttachmentArn *string `type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	//
	// RegistrationAttachmentId is a required field
	RegistrationAttachmentId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationAttachmentOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationAttachmentOutput) SetAttachmentStatus

SetAttachmentStatus sets the AttachmentStatus field's value.

func (*DeleteRegistrationAttachmentOutput) SetAttachmentUploadErrorReason

SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.

func (*DeleteRegistrationAttachmentOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentArn

SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.

func (*DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (DeleteRegistrationAttachmentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRegistrationFieldValueInput

type DeleteRegistrationFieldValueInput struct {

	// The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
	// for a list of FieldPaths.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationFieldValueInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationFieldValueInput) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*DeleteRegistrationFieldValueInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (DeleteRegistrationFieldValueInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationFieldValueInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteRegistrationFieldValueOutput

type DeleteRegistrationFieldValueOutput struct {

	// The path to the registration form field.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	RegistrationAttachmentId *string `type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// An array of values for the form field.
	SelectChoices []*string `type:"list"`

	// The text data for a free form field.
	TextValue *string `min:"1" type:"string"`

	// The version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationFieldValueOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationFieldValueOutput) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*DeleteRegistrationFieldValueOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*DeleteRegistrationFieldValueOutput) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (*DeleteRegistrationFieldValueOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DeleteRegistrationFieldValueOutput) SetSelectChoices

SetSelectChoices sets the SelectChoices field's value.

func (*DeleteRegistrationFieldValueOutput) SetTextValue

SetTextValue sets the TextValue field's value.

func (*DeleteRegistrationFieldValueOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (DeleteRegistrationFieldValueOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRegistrationInput

type DeleteRegistrationInput struct {

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationInput) GoString

func (s DeleteRegistrationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationInput) SetRegistrationId

func (s *DeleteRegistrationInput) SetRegistrationId(v string) *DeleteRegistrationInput

SetRegistrationId sets the RegistrationId field's value.

func (DeleteRegistrationInput) String

func (s DeleteRegistrationInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationInput) Validate

func (s *DeleteRegistrationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRegistrationOutput

type DeleteRegistrationOutput struct {

	// Metadata about a given registration which is specific to that registration
	// type.
	AdditionalAttributes map[string]*string `type:"map"`

	// The version number of the registration that was approved.
	ApprovedVersionNumber *int64 `min:"1" type:"long"`

	// The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The current version number of the registration.
	//
	// CurrentVersionNumber is a required field
	CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`

	// The latest version number of the registration that was denied.
	LatestDeniedVersionNumber *int64 `min:"1" type:"long"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration.
	//
	//    * CREATED: Your registration is created but not submitted.
	//
	//    * SUBMITTED: Your registration has been submitted and is awaiting review.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * PROVISIONING: Your registration has been approved and your origination
	//    identity is being created.
	//
	//    * COMPLETE: Your registration has been approved and and your origination
	//    identity has been created.
	//
	//    * REQUIRES_UPDATES: You must fix your registration and resubmit it.
	//
	//    * CLOSED: The phone number or sender ID has been deleted and you must
	//    also delete the registration for the number.
	//
	//    * DELETED: The registration has been deleted.
	//
	// RegistrationStatus is a required field
	RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRegistrationOutput) GoString

func (s DeleteRegistrationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRegistrationOutput) SetAdditionalAttributes

func (s *DeleteRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *DeleteRegistrationOutput

SetAdditionalAttributes sets the AdditionalAttributes field's value.

func (*DeleteRegistrationOutput) SetApprovedVersionNumber

func (s *DeleteRegistrationOutput) SetApprovedVersionNumber(v int64) *DeleteRegistrationOutput

SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.

func (*DeleteRegistrationOutput) SetCreatedTimestamp

func (s *DeleteRegistrationOutput) SetCreatedTimestamp(v time.Time) *DeleteRegistrationOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteRegistrationOutput) SetCurrentVersionNumber

func (s *DeleteRegistrationOutput) SetCurrentVersionNumber(v int64) *DeleteRegistrationOutput

SetCurrentVersionNumber sets the CurrentVersionNumber field's value.

func (*DeleteRegistrationOutput) SetLatestDeniedVersionNumber

func (s *DeleteRegistrationOutput) SetLatestDeniedVersionNumber(v int64) *DeleteRegistrationOutput

SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.

func (*DeleteRegistrationOutput) SetRegistrationArn

func (s *DeleteRegistrationOutput) SetRegistrationArn(v string) *DeleteRegistrationOutput

SetRegistrationArn sets the RegistrationArn field's value.

func (*DeleteRegistrationOutput) SetRegistrationId

func (s *DeleteRegistrationOutput) SetRegistrationId(v string) *DeleteRegistrationOutput

SetRegistrationId sets the RegistrationId field's value.

func (*DeleteRegistrationOutput) SetRegistrationStatus

func (s *DeleteRegistrationOutput) SetRegistrationStatus(v string) *DeleteRegistrationOutput

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*DeleteRegistrationOutput) SetRegistrationType

func (s *DeleteRegistrationOutput) SetRegistrationType(v string) *DeleteRegistrationOutput

SetRegistrationType sets the RegistrationType field's value.

func (DeleteRegistrationOutput) String

func (s DeleteRegistrationOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTextMessageSpendLimitOverrideInput

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

func (DeleteTextMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteTextMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTextMessageSpendLimitOverrideOutput

type DeleteTextMessageSpendLimitOverrideOutput struct {

	// The current monthly limit, in US dollars.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (DeleteTextMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTextMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (DeleteTextMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteVerifiedDestinationNumberInput

type DeleteVerifiedDestinationNumberInput struct {

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVerifiedDestinationNumberInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVerifiedDestinationNumberInput) SetVerifiedDestinationNumberId

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (DeleteVerifiedDestinationNumberInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVerifiedDestinationNumberInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteVerifiedDestinationNumberOutput

type DeleteVerifiedDestinationNumberOutput struct {

	// The time when the destination phone number was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The verified destination phone number, in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the verified destination phone number.
	//
	// VerifiedDestinationNumberArn is a required field
	VerifiedDestinationNumberArn *string `type:"string" required:"true"`

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVerifiedDestinationNumberOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVerifiedDestinationNumberOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DeleteVerifiedDestinationNumberOutput) SetDestinationPhoneNumber

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn

SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.

func (*DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (DeleteVerifiedDestinationNumberOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteVoiceMessageSpendLimitOverrideInput

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

func (DeleteVoiceMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteVoiceMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteVoiceMessageSpendLimitOverrideOutput

type DeleteVoiceMessageSpendLimitOverrideOutput struct {

	// The current monthly limit, in US dollars.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (DeleteVoiceMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (DeleteVoiceMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeAccountAttributesInput

type DescribeAccountAttributesInput struct {

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountAttributesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountAttributesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeAccountAttributesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeAccountAttributesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountAttributesInput) Validate

func (s *DescribeAccountAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountAttributesOutput

type DescribeAccountAttributesOutput struct {

	// An array of AccountAttributes objects.
	AccountAttributes []*AccountAttribute `type:"list"`

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountAttributesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountAttributesOutput) SetAccountAttributes

SetAccountAttributes sets the AccountAttributes field's value.

func (*DescribeAccountAttributesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeAccountAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeAccountLimitsInput

type DescribeAccountLimitsInput struct {

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountLimitsInput) GoString

func (s DescribeAccountLimitsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeAccountLimitsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeAccountLimitsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsInput) Validate

func (s *DescribeAccountLimitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountLimitsOutput

type DescribeAccountLimitsOutput struct {

	// An array of AccountLimit objects that show the current spend limits.
	AccountLimits []*AccountLimit `type:"list"`

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountLimitsOutput) GoString

func (s DescribeAccountLimitsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsOutput) SetAccountLimits

SetAccountLimits sets the AccountLimits field's value.

func (*DescribeAccountLimitsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeAccountLimitsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeConfigurationSetsInput

type DescribeConfigurationSetsInput struct {

	// An array of strings. Each element can be either a ConfigurationSetName or
	// ConfigurationSetArn.
	ConfigurationSetNames []*string `type:"list"`

	// An array of filters to apply to the results that are returned.
	Filters []*ConfigurationSetFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationSetsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConfigurationSetsInput) SetConfigurationSetNames

func (s *DescribeConfigurationSetsInput) SetConfigurationSetNames(v []*string) *DescribeConfigurationSetsInput

SetConfigurationSetNames sets the ConfigurationSetNames field's value.

func (*DescribeConfigurationSetsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeConfigurationSetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeConfigurationSetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeConfigurationSetsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConfigurationSetsInput) Validate

func (s *DescribeConfigurationSetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeConfigurationSetsOutput

type DescribeConfigurationSetsOutput struct {

	// An array of ConfigurationSets objects.
	ConfigurationSets []*ConfigurationSetInformation `type:"list"`

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationSetsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeConfigurationSetsOutput) SetConfigurationSets

SetConfigurationSets sets the ConfigurationSets field's value.

func (*DescribeConfigurationSetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeConfigurationSetsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeKeywordsInput

type DescribeKeywordsInput struct {

	// An array of keyword filters to filter the results.
	Filters []*KeywordFilter `type:"list"`

	// An array of keywords to search for.
	Keywords []*string `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
	// SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
	// for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
	// to get the values for SenderId and SenderIdArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeKeywordsInput) GoString

func (s DescribeKeywordsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeKeywordsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeKeywordsInput) SetKeywords

func (s *DescribeKeywordsInput) SetKeywords(v []*string) *DescribeKeywordsInput

SetKeywords sets the Keywords field's value.

func (*DescribeKeywordsInput) SetMaxResults

func (s *DescribeKeywordsInput) SetMaxResults(v int64) *DescribeKeywordsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeKeywordsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeKeywordsInput) SetOriginationIdentity

func (s *DescribeKeywordsInput) SetOriginationIdentity(v string) *DescribeKeywordsInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (DescribeKeywordsInput) String

func (s DescribeKeywordsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeKeywordsInput) Validate

func (s *DescribeKeywordsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeKeywordsOutput

type DescribeKeywordsOutput struct {

	// An array of KeywordInformation objects that contain the results.
	Keywords []*KeywordInformation `type:"list"`

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// The PhoneNumberId or PoolId that is associated with the OriginationIdentity.
	OriginationIdentity *string `type:"string"`

	// The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.
	OriginationIdentityArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeKeywordsOutput) GoString

func (s DescribeKeywordsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeKeywordsOutput) SetKeywords

SetKeywords sets the Keywords field's value.

func (*DescribeKeywordsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeKeywordsOutput) SetOriginationIdentity

func (s *DescribeKeywordsOutput) SetOriginationIdentity(v string) *DescribeKeywordsOutput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*DescribeKeywordsOutput) SetOriginationIdentityArn

func (s *DescribeKeywordsOutput) SetOriginationIdentityArn(v string) *DescribeKeywordsOutput

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (DescribeKeywordsOutput) String

func (s DescribeKeywordsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOptOutListsInput

type DescribeOptOutListsInput struct {

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The OptOutLists to show the details of. This is an array of strings that
	// can be either the OptOutListName or OptOutListArn.
	OptOutListNames []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOptOutListsInput) GoString

func (s DescribeOptOutListsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptOutListsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeOptOutListsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeOptOutListsInput) SetOptOutListNames

func (s *DescribeOptOutListsInput) SetOptOutListNames(v []*string) *DescribeOptOutListsInput

SetOptOutListNames sets the OptOutListNames field's value.

func (DescribeOptOutListsInput) String

func (s DescribeOptOutListsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptOutListsInput) Validate

func (s *DescribeOptOutListsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeOptOutListsOutput

type DescribeOptOutListsOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of OptOutListInformation objects that contain the details for the
	// requested OptOutLists.
	OptOutLists []*OptOutListInformation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOptOutListsOutput) GoString

func (s DescribeOptOutListsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptOutListsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeOptOutListsOutput) SetOptOutLists

SetOptOutLists sets the OptOutLists field's value.

func (DescribeOptOutListsOutput) String

func (s DescribeOptOutListsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeOptedOutNumbersInput

type DescribeOptedOutNumbersInput struct {

	// An array of OptedOutFilter objects to filter the results on.
	Filters []*OptedOutFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists
	// to find the values for OptOutListName and OptOutListArn.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// An array of phone numbers to search for in the OptOutList.
	OptedOutNumbers []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOptedOutNumbersInput) GoString

func (s DescribeOptedOutNumbersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptedOutNumbersInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeOptedOutNumbersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeOptedOutNumbersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeOptedOutNumbersInput) SetOptOutListName

SetOptOutListName sets the OptOutListName field's value.

func (*DescribeOptedOutNumbersInput) SetOptedOutNumbers

SetOptedOutNumbers sets the OptedOutNumbers field's value.

func (DescribeOptedOutNumbersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptedOutNumbersInput) Validate

func (s *DescribeOptedOutNumbersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeOptedOutNumbersOutput

type DescribeOptedOutNumbersOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the OptOutList.
	OptOutListArn *string `type:"string"`

	// The name of the OptOutList.
	OptOutListName *string `min:"1" type:"string"`

	// An array of OptedOutNumbersInformation objects that provide information about
	// the requested OptedOutNumbers.
	OptedOutNumbers []*OptedOutNumberInformation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOptedOutNumbersOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeOptedOutNumbersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeOptedOutNumbersOutput) SetOptOutListArn

SetOptOutListArn sets the OptOutListArn field's value.

func (*DescribeOptedOutNumbersOutput) SetOptOutListName

SetOptOutListName sets the OptOutListName field's value.

func (*DescribeOptedOutNumbersOutput) SetOptedOutNumbers

SetOptedOutNumbers sets the OptedOutNumbers field's value.

func (DescribeOptedOutNumbersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePhoneNumbersInput

type DescribePhoneNumbersInput struct {

	// An array of PhoneNumberFilter objects to filter the results.
	Filters []*PhoneNumberFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier of phone numbers to find information about. This is
	// an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
	PhoneNumberIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribePhoneNumbersInput) GoString

func (s DescribePhoneNumbersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePhoneNumbersInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribePhoneNumbersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribePhoneNumbersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribePhoneNumbersInput) SetPhoneNumberIds

func (s *DescribePhoneNumbersInput) SetPhoneNumberIds(v []*string) *DescribePhoneNumbersInput

SetPhoneNumberIds sets the PhoneNumberIds field's value.

func (DescribePhoneNumbersInput) String

func (s DescribePhoneNumbersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePhoneNumbersInput) Validate

func (s *DescribePhoneNumbersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePhoneNumbersOutput

type DescribePhoneNumbersOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of PhoneNumberInformation objects that contain the details for the
	// requested phone numbers.
	PhoneNumbers []*PhoneNumberInformation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribePhoneNumbersOutput) GoString

func (s DescribePhoneNumbersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePhoneNumbersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribePhoneNumbersOutput) SetPhoneNumbers

SetPhoneNumbers sets the PhoneNumbers field's value.

func (DescribePhoneNumbersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribePoolsInput

type DescribePoolsInput struct {

	// An array of PoolFilter objects to filter the results.
	Filters []*PoolFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier of pools to find. This is an array of strings that
	// can be either the PoolId or PoolArn.
	PoolIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribePoolsInput) GoString

func (s DescribePoolsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePoolsInput) SetFilters

func (s *DescribePoolsInput) SetFilters(v []*PoolFilter) *DescribePoolsInput

SetFilters sets the Filters field's value.

func (*DescribePoolsInput) SetMaxResults

func (s *DescribePoolsInput) SetMaxResults(v int64) *DescribePoolsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribePoolsInput) SetNextToken

func (s *DescribePoolsInput) SetNextToken(v string) *DescribePoolsInput

SetNextToken sets the NextToken field's value.

func (*DescribePoolsInput) SetPoolIds

func (s *DescribePoolsInput) SetPoolIds(v []*string) *DescribePoolsInput

SetPoolIds sets the PoolIds field's value.

func (DescribePoolsInput) String

func (s DescribePoolsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePoolsInput) Validate

func (s *DescribePoolsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribePoolsOutput

type DescribePoolsOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of PoolInformation objects that contain the details for the requested
	// pools.
	Pools []*PoolInformation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribePoolsOutput) GoString

func (s DescribePoolsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribePoolsOutput) SetNextToken

func (s *DescribePoolsOutput) SetNextToken(v string) *DescribePoolsOutput

SetNextToken sets the NextToken field's value.

func (*DescribePoolsOutput) SetPools

SetPools sets the Pools field's value.

func (DescribePoolsOutput) String

func (s DescribePoolsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeProtectConfigurationsInput

type DescribeProtectConfigurationsInput struct {

	// An array of ProtectConfigurationFilter objects to filter the results.
	Filters []*ProtectConfigurationFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of protect configuration identifiers to search for.
	ProtectConfigurationIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeProtectConfigurationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeProtectConfigurationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeProtectConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeProtectConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeProtectConfigurationsInput) SetProtectConfigurationIds

SetProtectConfigurationIds sets the ProtectConfigurationIds field's value.

func (DescribeProtectConfigurationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeProtectConfigurationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeProtectConfigurationsOutput

type DescribeProtectConfigurationsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of ProtectConfigurationInformation objects that contain the details
	// for the request.
	ProtectConfigurations []*ProtectConfigurationInformation `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeProtectConfigurationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeProtectConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeProtectConfigurationsOutput) SetProtectConfigurations

SetProtectConfigurations sets the ProtectConfigurations field's value.

func (DescribeProtectConfigurationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationAttachmentsInput

type DescribeRegistrationAttachmentsInput struct {

	// An array of RegistrationAttachmentFilter objects to filter the results.
	Filters []*RegistrationAttachmentFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier of registration attachments to find. This is an array
	// of RegistrationAttachmentId.
	RegistrationAttachmentIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationAttachmentsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationAttachmentsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeRegistrationAttachmentsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationAttachmentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationAttachmentsInput) SetRegistrationAttachmentIds

SetRegistrationAttachmentIds sets the RegistrationAttachmentIds field's value.

func (DescribeRegistrationAttachmentsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationAttachmentsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationAttachmentsOutput

type DescribeRegistrationAttachmentsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of RegistrationAttachments objects that contain the details for
	// the requested registration attachments.
	//
	// RegistrationAttachments is a required field
	RegistrationAttachments []*RegistrationAttachmentsInformation `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationAttachmentsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationAttachmentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationAttachmentsOutput) SetRegistrationAttachments

SetRegistrationAttachments sets the RegistrationAttachments field's value.

func (DescribeRegistrationAttachmentsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationFieldDefinitionsInput

type DescribeRegistrationFieldDefinitionsInput struct {

	// An array of paths to the registration form field.
	FieldPaths []*string `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// The path to the section of the registration.
	SectionPath *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationFieldDefinitionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldDefinitionsInput) SetFieldPaths

SetFieldPaths sets the FieldPaths field's value.

func (*DescribeRegistrationFieldDefinitionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationFieldDefinitionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationFieldDefinitionsInput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (*DescribeRegistrationFieldDefinitionsInput) SetSectionPath

SetSectionPath sets the SectionPath field's value.

func (DescribeRegistrationFieldDefinitionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldDefinitionsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationFieldDefinitionsOutput

type DescribeRegistrationFieldDefinitionsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of RegistrationFieldDefinitions objects that contain the details
	// for the requested fields.
	//
	// RegistrationFieldDefinitions is a required field
	RegistrationFieldDefinitions []*RegistrationFieldDefinition `type:"list" required:"true"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationFieldDefinitionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldDefinitionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationFieldDefinitionsOutput) SetRegistrationFieldDefinitions

SetRegistrationFieldDefinitions sets the RegistrationFieldDefinitions field's value.

func (*DescribeRegistrationFieldDefinitionsOutput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (DescribeRegistrationFieldDefinitionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationFieldValuesInput

type DescribeRegistrationFieldValuesInput struct {

	// An array of paths to the registration form field.
	FieldPaths []*string `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`

	// The path to the section of the registration.
	SectionPath *string `min:"1" type:"string"`

	// The version number of the registration.
	VersionNumber *int64 `min:"1" type:"long"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationFieldValuesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldValuesInput) SetFieldPaths

SetFieldPaths sets the FieldPaths field's value.

func (*DescribeRegistrationFieldValuesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationFieldValuesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationFieldValuesInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DescribeRegistrationFieldValuesInput) SetSectionPath

SetSectionPath sets the SectionPath field's value.

func (*DescribeRegistrationFieldValuesInput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (DescribeRegistrationFieldValuesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldValuesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationFieldValuesOutput

type DescribeRegistrationFieldValuesOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// An array of RegistrationFieldValues objects that contain the values for the
	// requested registration.
	//
	// RegistrationFieldValues is a required field
	RegistrationFieldValues []*RegistrationFieldValueInformation `type:"list" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The current version of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationFieldValuesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationFieldValuesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationFieldValuesOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*DescribeRegistrationFieldValuesOutput) SetRegistrationFieldValues

SetRegistrationFieldValues sets the RegistrationFieldValues field's value.

func (*DescribeRegistrationFieldValuesOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DescribeRegistrationFieldValuesOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (DescribeRegistrationFieldValuesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationSectionDefinitionsInput

type DescribeRegistrationSectionDefinitionsInput struct {

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// An array of paths for the registration form section.
	SectionPaths []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationSectionDefinitionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationSectionDefinitionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationSectionDefinitionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationSectionDefinitionsInput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (*DescribeRegistrationSectionDefinitionsInput) SetSectionPaths

SetSectionPaths sets the SectionPaths field's value.

func (DescribeRegistrationSectionDefinitionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationSectionDefinitionsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationSectionDefinitionsOutput

type DescribeRegistrationSectionDefinitionsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of RegistrationSectionDefinition objects.
	//
	// RegistrationSectionDefinitions is a required field
	RegistrationSectionDefinitions []*RegistrationSectionDefinition `type:"list" required:"true"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationSectionDefinitionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationSectionDefinitionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationSectionDefinitionsOutput) SetRegistrationSectionDefinitions

SetRegistrationSectionDefinitions sets the RegistrationSectionDefinitions field's value.

func (*DescribeRegistrationSectionDefinitionsOutput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (DescribeRegistrationSectionDefinitionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationTypeDefinitionsInput

type DescribeRegistrationTypeDefinitionsInput struct {

	// An array of RegistrationFilter objects to filter the results.
	Filters []*RegistrationTypeFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	RegistrationTypes []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationTypeDefinitionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationTypeDefinitionsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeRegistrationTypeDefinitionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationTypeDefinitionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationTypeDefinitionsInput) SetRegistrationTypes

SetRegistrationTypes sets the RegistrationTypes field's value.

func (DescribeRegistrationTypeDefinitionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationTypeDefinitionsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationTypeDefinitionsOutput

type DescribeRegistrationTypeDefinitionsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationTypeDefinitions is a required field
	RegistrationTypeDefinitions []*RegistrationTypeDefinition `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationTypeDefinitionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationTypeDefinitionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationTypeDefinitionsOutput) SetRegistrationTypeDefinitions

SetRegistrationTypeDefinitions sets the RegistrationTypeDefinitions field's value.

func (DescribeRegistrationTypeDefinitionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationVersionsInput

type DescribeRegistrationVersionsInput struct {

	// An array of RegistrationVersionFilter objects to filter the results.
	Filters []*RegistrationVersionFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`

	// An array of registration version numbers.
	VersionNumbers []*int64 `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationVersionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationVersionsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeRegistrationVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationVersionsInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DescribeRegistrationVersionsInput) SetVersionNumbers

SetVersionNumbers sets the VersionNumbers field's value.

func (DescribeRegistrationVersionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationVersionsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationVersionsOutput

type DescribeRegistrationVersionsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// An array of RegistrationVersions objects.
	//
	// RegistrationVersions is a required field
	RegistrationVersions []*RegistrationVersionInformation `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationVersionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationVersionsOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*DescribeRegistrationVersionsOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DescribeRegistrationVersionsOutput) SetRegistrationVersions

SetRegistrationVersions sets the RegistrationVersions field's value.

func (DescribeRegistrationVersionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistrationsInput

type DescribeRegistrationsInput struct {

	// An array of RegistrationFilter objects to filter the results.
	Filters []*RegistrationFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of unique identifiers for each registration.
	RegistrationIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationsInput) GoString

func (s DescribeRegistrationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeRegistrationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistrationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationsInput) SetRegistrationIds

func (s *DescribeRegistrationsInput) SetRegistrationIds(v []*string) *DescribeRegistrationsInput

SetRegistrationIds sets the RegistrationIds field's value.

func (DescribeRegistrationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationsInput) Validate

func (s *DescribeRegistrationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistrationsOutput

type DescribeRegistrationsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of RegistrationInformation objects.
	//
	// Registrations is a required field
	Registrations []*RegistrationInformation `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistrationsOutput) GoString

func (s DescribeRegistrationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistrationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistrationsOutput) SetRegistrations

SetRegistrations sets the Registrations field's value.

func (DescribeRegistrationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeSenderIdsInput

type DescribeSenderIdsInput struct {

	// An array of SenderIdFilter objects to filter the results.
	Filters []*SenderIdFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of SenderIdAndCountry objects to search for.
	SenderIds []*SenderIdAndCountry `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSenderIdsInput) GoString

func (s DescribeSenderIdsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSenderIdsInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeSenderIdsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeSenderIdsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeSenderIdsInput) SetSenderIds

SetSenderIds sets the SenderIds field's value.

func (DescribeSenderIdsInput) String

func (s DescribeSenderIdsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSenderIdsInput) Validate

func (s *DescribeSenderIdsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSenderIdsOutput

type DescribeSenderIdsOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of SernderIdInformation objects that contain the details for the
	// requested SenderIds.
	SenderIds []*SenderIdInformation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSenderIdsOutput) GoString

func (s DescribeSenderIdsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSenderIdsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeSenderIdsOutput) SetSenderIds

SetSenderIds sets the SenderIds field's value.

func (DescribeSenderIdsOutput) String

func (s DescribeSenderIdsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeSpendLimitsInput

type DescribeSpendLimitsInput struct {

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeSpendLimitsInput) GoString

func (s DescribeSpendLimitsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSpendLimitsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeSpendLimitsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeSpendLimitsInput) String

func (s DescribeSpendLimitsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSpendLimitsInput) Validate

func (s *DescribeSpendLimitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSpendLimitsOutput

type DescribeSpendLimitsOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of SpendLimit objects that contain the details for the requested
	// spend limits.
	SpendLimits []*SpendLimit `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSpendLimitsOutput) GoString

func (s DescribeSpendLimitsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSpendLimitsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeSpendLimitsOutput) SetSpendLimits

SetSpendLimits sets the SpendLimits field's value.

func (DescribeSpendLimitsOutput) String

func (s DescribeSpendLimitsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeVerifiedDestinationNumbersInput

type DescribeVerifiedDestinationNumbersInput struct {

	// An array of verified destination phone number, in E.164 format.
	DestinationPhoneNumbers []*string `type:"list"`

	// An array of VerifiedDestinationNumberFilter objects to filter the results.
	Filters []*VerifiedDestinationNumberFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of VerifiedDestinationNumberid to retreive.
	VerifiedDestinationNumberIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVerifiedDestinationNumbersInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeVerifiedDestinationNumbersInput) SetDestinationPhoneNumbers

SetDestinationPhoneNumbers sets the DestinationPhoneNumbers field's value.

func (*DescribeVerifiedDestinationNumbersInput) SetFilters

SetFilters sets the Filters field's value.

func (*DescribeVerifiedDestinationNumbersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeVerifiedDestinationNumbersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeVerifiedDestinationNumbersInput) SetVerifiedDestinationNumberIds

SetVerifiedDestinationNumberIds sets the VerifiedDestinationNumberIds field's value.

func (DescribeVerifiedDestinationNumbersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeVerifiedDestinationNumbersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeVerifiedDestinationNumbersOutput

type DescribeVerifiedDestinationNumbersOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// An array of VerifiedDestinationNumberInformation objects
	//
	// VerifiedDestinationNumbers is a required field
	VerifiedDestinationNumbers []*VerifiedDestinationNumberInformation `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVerifiedDestinationNumbersOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeVerifiedDestinationNumbersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeVerifiedDestinationNumbersOutput) SetVerifiedDestinationNumbers

SetVerifiedDestinationNumbers sets the VerifiedDestinationNumbers field's value.

func (DescribeVerifiedDestinationNumbersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateOriginationIdentityInput

type DisassociateOriginationIdentityInput struct {

	// Unique, case-sensitive identifier you provide to ensure the idempotency of
	// the request. If you don't specify a client token, a randomly generated token
	// is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
	// SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values
	// for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the
	// values for SenderId and SenderIdArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the pool to disassociate with the origination identity.
	// This value can be either the PoolId or PoolArn.
	//
	// PoolId is a required field
	PoolId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateOriginationIdentityInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateOriginationIdentityInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateOriginationIdentityInput) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*DisassociateOriginationIdentityInput) SetOriginationIdentity

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*DisassociateOriginationIdentityInput) SetPoolId

SetPoolId sets the PoolId field's value.

func (DisassociateOriginationIdentityInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateOriginationIdentityInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateOriginationIdentityOutput

type DisassociateOriginationIdentityOutput struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The PhoneNumberId or SenderId of the origination identity.
	OriginationIdentity *string `type:"string"`

	// The PhoneNumberArn or SenderIdArn of the origination identity.
	OriginationIdentityArn *string `type:"string"`

	// The Amazon Resource Name (ARN) of the pool.
	PoolArn *string `type:"string"`

	// The PoolId of the pool no longer associated with the origination identity.
	PoolId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DisassociateOriginationIdentityOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateOriginationIdentityOutput) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*DisassociateOriginationIdentityOutput) SetOriginationIdentity

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*DisassociateOriginationIdentityOutput) SetOriginationIdentityArn

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (*DisassociateOriginationIdentityOutput) SetPoolArn

SetPoolArn sets the PoolArn field's value.

func (*DisassociateOriginationIdentityOutput) SetPoolId

SetPoolId sets the PoolId field's value.

func (DisassociateOriginationIdentityOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateProtectConfigurationInput

type DisassociateProtectConfigurationInput struct {

	// The name of the ConfigurationSet.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateProtectConfigurationInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DisassociateProtectConfigurationInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (DisassociateProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateProtectConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateProtectConfigurationOutput

type DisassociateProtectConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the configuration set.
	//
	// ConfigurationSetArn is a required field
	ConfigurationSetArn *string `type:"string" required:"true"`

	// The name of the ConfigurationSet.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateProtectConfigurationOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*DisassociateProtectConfigurationOutput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*DisassociateProtectConfigurationOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*DisassociateProtectConfigurationOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (DisassociateProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DiscardRegistrationVersionInput

type DiscardRegistrationVersionInput struct {

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DiscardRegistrationVersionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DiscardRegistrationVersionInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (DiscardRegistrationVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DiscardRegistrationVersionInput) Validate

func (s *DiscardRegistrationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DiscardRegistrationVersionOutput

type DiscardRegistrationVersionOutput struct {

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration version.
	//
	//    * DRAFT: The initial status of a registration version after it’s created.
	//
	//    * SUBMITTED: Your registration has been submitted.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * APPROVED: Your registration has been approved.
	//
	//    * DISCARDED: You've abandon this version of their registration to start
	//    over with a new version.
	//
	//    * DENIED: You must fix your registration and resubmit it.
	//
	//    * REVOKED: Your previously approved registration has been revoked.
	//
	//    * ARCHIVED: Your previously approved registration version moves into this
	//    status when a more recently submitted version is approved.
	//
	// RegistrationVersionStatus is a required field
	RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`

	// The RegistrationVersionStatusHistory object contains the time stamps for
	// when the reservations status changes.
	//
	// RegistrationVersionStatusHistory is a required field
	RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`

	// The version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (DiscardRegistrationVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DiscardRegistrationVersionOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*DiscardRegistrationVersionOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*DiscardRegistrationVersionOutput) SetRegistrationVersionStatus

func (s *DiscardRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *DiscardRegistrationVersionOutput

SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.

func (*DiscardRegistrationVersionOutput) SetRegistrationVersionStatusHistory

SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.

func (*DiscardRegistrationVersionOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (DiscardRegistrationVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EventDestination

type EventDestination struct {

	// An object that contains information about an event destination that sends
	// logging events to Amazon CloudWatch logs.
	CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`

	// When set to true events will be logged.
	//
	// Enabled is a required field
	Enabled *bool `type:"boolean" required:"true"`

	// The name of the EventDestination.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `min:"1" type:"string" required:"true"`

	// An object that contains information about an event destination for logging
	// to Amazon Kinesis Data Firehose.
	KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

	// An array of event types that determine which events to log.
	//
	// The TEXT_SENT event type is not supported.
	//
	// MatchingEventTypes is a required field
	MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`

	// An object that contains information about an event destination that sends
	// logging events to Amazon SNS.
	SnsDestination *SnsDestination `type:"structure"`
	// contains filtered or unexported fields
}

Contains information about an event destination.

Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Kinesis Data Firehose, or Amazon SNS.

func (EventDestination) GoString

func (s EventDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventDestination) SetCloudWatchLogsDestination

func (s *EventDestination) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *EventDestination

SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.

func (*EventDestination) SetEnabled

func (s *EventDestination) SetEnabled(v bool) *EventDestination

SetEnabled sets the Enabled field's value.

func (*EventDestination) SetEventDestinationName

func (s *EventDestination) SetEventDestinationName(v string) *EventDestination

SetEventDestinationName sets the EventDestinationName field's value.

func (*EventDestination) SetKinesisFirehoseDestination

func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*EventDestination) SetMatchingEventTypes

func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*EventDestination) SetSnsDestination

func (s *EventDestination) SetSnsDestination(v *SnsDestination) *EventDestination

SetSnsDestination sets the SnsDestination field's value.

func (EventDestination) String

func (s EventDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetProtectConfigurationCountryRuleSetInput

type GetProtectConfigurationCountryRuleSetInput struct {

	// The capability type to return the CountryRuleSet for. Valid values are SMS,
	// VOICE, or MMS.
	//
	// NumberCapability is a required field
	NumberCapability *string `type:"string" required:"true" enum:"NumberCapability"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProtectConfigurationCountryRuleSetInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProtectConfigurationCountryRuleSetInput) SetNumberCapability

SetNumberCapability sets the NumberCapability field's value.

func (*GetProtectConfigurationCountryRuleSetInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (GetProtectConfigurationCountryRuleSetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProtectConfigurationCountryRuleSetInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetProtectConfigurationCountryRuleSetOutput

type GetProtectConfigurationCountryRuleSetOutput struct {

	// A map of ProtectConfigurationCountryRuleSetInformation objects that contain
	// the details for the requested NumberCapability. The Key is the two-letter
	// ISO country code. For a list of supported ISO country codes, see Supported
	// countries and regions (SMS channel) (https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html)
	// in the Amazon Pinpoint SMS user guide.
	//
	// CountryRuleSet is a required field
	CountryRuleSet map[string]*ProtectConfigurationCountryRuleSetInformation `min:"1" type:"map" required:"true"`

	// The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation
	// objects.
	//
	// NumberCapability is a required field
	NumberCapability *string `type:"string" required:"true" enum:"NumberCapability"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProtectConfigurationCountryRuleSetOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetProtectConfigurationCountryRuleSetOutput) SetCountryRuleSet

SetCountryRuleSet sets the CountryRuleSet field's value.

func (*GetProtectConfigurationCountryRuleSetOutput) SetNumberCapability

SetNumberCapability sets the NumberCapability field's value.

func (*GetProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*GetProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (GetProtectConfigurationCountryRuleSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The unique identifier of the request.
	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KeywordFilter

type KeywordFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"KeywordFilterName"`

	// An array values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for keywords that meet a specified criteria.

func (KeywordFilter) GoString

func (s KeywordFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeywordFilter) SetName

func (s *KeywordFilter) SetName(v string) *KeywordFilter

SetName sets the Name field's value.

func (*KeywordFilter) SetValues

func (s *KeywordFilter) SetValues(v []*string) *KeywordFilter

SetValues sets the Values field's value.

func (KeywordFilter) String

func (s KeywordFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeywordFilter) Validate

func (s *KeywordFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type KeywordInformation

type KeywordInformation struct {

	// The keyword as a string.
	//
	// Keyword is a required field
	Keyword *string `min:"1" type:"string" required:"true"`

	// The action to perform for the keyword.
	//
	// KeywordAction is a required field
	KeywordAction *string `type:"string" required:"true" enum:"KeywordAction"`

	// A custom message that can be used with the keyword.
	//
	// KeywordMessage is a required field
	KeywordMessage *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The information for all keywords in a pool.

func (KeywordInformation) GoString

func (s KeywordInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeywordInformation) SetKeyword

func (s *KeywordInformation) SetKeyword(v string) *KeywordInformation

SetKeyword sets the Keyword field's value.

func (*KeywordInformation) SetKeywordAction

func (s *KeywordInformation) SetKeywordAction(v string) *KeywordInformation

SetKeywordAction sets the KeywordAction field's value.

func (*KeywordInformation) SetKeywordMessage

func (s *KeywordInformation) SetKeywordMessage(v string) *KeywordInformation

SetKeywordMessage sets the KeywordMessage field's value.

func (KeywordInformation) String

func (s KeywordInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KinesisFirehoseDestination

type KinesisFirehoseDestination struct {

	// The Amazon Resource Name (ARN) of the delivery stream.
	//
	// DeliveryStreamArn is a required field
	DeliveryStreamArn *string `min:"20" type:"string" required:"true"`

	// The ARN of an Identity and Access Management role that is able to write event
	// data to an Amazon Kinesis Data Firehose destination.
	//
	// IamRoleArn is a required field
	IamRoleArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with a Kinesis Data Firehose event destination.

Event destinations, such as Kinesis Data Firehose, are associated with configuration sets, which enable you to publish message sending events.

func (KinesisFirehoseDestination) GoString

func (s KinesisFirehoseDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KinesisFirehoseDestination) SetDeliveryStreamArn

func (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v string) *KinesisFirehoseDestination

SetDeliveryStreamArn sets the DeliveryStreamArn field's value.

func (*KinesisFirehoseDestination) SetIamRoleArn

SetIamRoleArn sets the IamRoleArn field's value.

func (KinesisFirehoseDestination) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KinesisFirehoseDestination) Validate

func (s *KinesisFirehoseDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPoolOriginationIdentitiesInput

type ListPoolOriginationIdentitiesInput struct {

	// An array of PoolOriginationIdentitiesFilter objects to filter the results..
	Filters []*PoolOriginationIdentitiesFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier for the pool. This value can be either the PoolId or
	// PoolArn.
	//
	// PoolId is a required field
	PoolId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPoolOriginationIdentitiesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPoolOriginationIdentitiesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListPoolOriginationIdentitiesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPoolOriginationIdentitiesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPoolOriginationIdentitiesInput) SetPoolId

SetPoolId sets the PoolId field's value.

func (ListPoolOriginationIdentitiesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPoolOriginationIdentitiesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListPoolOriginationIdentitiesOutput

type ListPoolOriginationIdentitiesOutput struct {

	// The token to be used for the next set of paginated results. If this field
	// is empty then there are no more results.
	NextToken *string `min:"1" type:"string"`

	// An array of any OriginationIdentityMetadata objects.
	OriginationIdentities []*OriginationIdentityMetadata `type:"list"`

	// The Amazon Resource Name (ARN) for the pool.
	PoolArn *string `type:"string"`

	// The unique PoolId of the pool.
	PoolId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPoolOriginationIdentitiesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPoolOriginationIdentitiesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPoolOriginationIdentitiesOutput) SetOriginationIdentities

SetOriginationIdentities sets the OriginationIdentities field's value.

func (*ListPoolOriginationIdentitiesOutput) SetPoolArn

SetPoolArn sets the PoolArn field's value.

func (*ListPoolOriginationIdentitiesOutput) SetPoolId

SetPoolId sets the PoolId field's value.

func (ListPoolOriginationIdentitiesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRegistrationAssociationsInput

type ListRegistrationAssociationsInput struct {

	// An array of RegistrationAssociationFilter to apply to the results that are
	// returned.
	Filters []*RegistrationAssociationFilter `type:"list"`

	// The maximum number of results to return per each request.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRegistrationAssociationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegistrationAssociationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListRegistrationAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRegistrationAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRegistrationAssociationsInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (ListRegistrationAssociationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegistrationAssociationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListRegistrationAssociationsOutput

type ListRegistrationAssociationsOutput struct {

	// The token to be used for the next set of paginated results. You don't need
	// to supply a value for this field in the initial request.
	NextToken *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// An array of RegistrationAssociationMetadata objects.
	//
	// RegistrationAssociations is a required field
	RegistrationAssociations []*RegistrationAssociationMetadata `type:"list" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRegistrationAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegistrationAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRegistrationAssociationsOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*ListRegistrationAssociationsOutput) SetRegistrationAssociations

SetRegistrationAssociations sets the RegistrationAssociations field's value.

func (*ListRegistrationAssociationsOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*ListRegistrationAssociationsOutput) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (ListRegistrationAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to query for.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The ARN of the resource.
	ResourceArn *string `min:"20" type:"string"`

	// An array of key and value pair tags that are associated with the resource.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OptOutListInformation

type OptOutListInformation struct {

	// The time when the OutOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The Amazon Resource Name (ARN) of the OptOutList.
	//
	// OptOutListArn is a required field
	OptOutListArn *string `type:"string" required:"true"`

	// The name of the OptOutList.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The information for all OptOutList in an Amazon Web Services account.

func (OptOutListInformation) GoString

func (s OptOutListInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OptOutListInformation) SetCreatedTimestamp

func (s *OptOutListInformation) SetCreatedTimestamp(v time.Time) *OptOutListInformation

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*OptOutListInformation) SetOptOutListArn

func (s *OptOutListInformation) SetOptOutListArn(v string) *OptOutListInformation

SetOptOutListArn sets the OptOutListArn field's value.

func (*OptOutListInformation) SetOptOutListName

func (s *OptOutListInformation) SetOptOutListName(v string) *OptOutListInformation

SetOptOutListName sets the OptOutListName field's value.

func (OptOutListInformation) String

func (s OptOutListInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OptedOutFilter

type OptedOutFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"OptedOutFilterName"`

	// An array of values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for opted out numbers that meet a specified criteria.

func (OptedOutFilter) GoString

func (s OptedOutFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OptedOutFilter) SetName

func (s *OptedOutFilter) SetName(v string) *OptedOutFilter

SetName sets the Name field's value.

func (*OptedOutFilter) SetValues

func (s *OptedOutFilter) SetValues(v []*string) *OptedOutFilter

SetValues sets the Values field's value.

func (OptedOutFilter) String

func (s OptedOutFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OptedOutFilter) Validate

func (s *OptedOutFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OptedOutNumberInformation

type OptedOutNumberInformation struct {

	// This is set to true if it was the end recipient that opted out.
	//
	// EndUserOptedOut is a required field
	EndUserOptedOut *bool `type:"boolean" required:"true"`

	// The phone number that is opted out.
	//
	// OptedOutNumber is a required field
	OptedOutNumber *string `min:"1" type:"string" required:"true"`

	// The time that the op tout occurred, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// OptedOutTimestamp is a required field
	OptedOutTimestamp *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

The information for an opted out number in an Amazon Web Services account.

func (OptedOutNumberInformation) GoString

func (s OptedOutNumberInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OptedOutNumberInformation) SetEndUserOptedOut

func (s *OptedOutNumberInformation) SetEndUserOptedOut(v bool) *OptedOutNumberInformation

SetEndUserOptedOut sets the EndUserOptedOut field's value.

func (*OptedOutNumberInformation) SetOptedOutNumber

SetOptedOutNumber sets the OptedOutNumber field's value.

func (*OptedOutNumberInformation) SetOptedOutTimestamp

func (s *OptedOutNumberInformation) SetOptedOutTimestamp(v time.Time) *OptedOutNumberInformation

SetOptedOutTimestamp sets the OptedOutTimestamp field's value.

func (OptedOutNumberInformation) String

func (s OptedOutNumberInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OriginationIdentityMetadata

type OriginationIdentityMetadata struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// Describes if the origination identity can be used for text messages, voice
	// calls or both.
	//
	// NumberCapabilities is a required field
	NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`

	// The unique identifier of the origination identity.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the origination identity.
	//
	// OriginationIdentityArn is a required field
	OriginationIdentityArn *string `type:"string" required:"true"`

	// The phone number in E.164 format.
	PhoneNumber *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The metadata for an origination identity associated with a pool.

func (OriginationIdentityMetadata) GoString

func (s OriginationIdentityMetadata) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OriginationIdentityMetadata) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*OriginationIdentityMetadata) SetNumberCapabilities

func (s *OriginationIdentityMetadata) SetNumberCapabilities(v []*string) *OriginationIdentityMetadata

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*OriginationIdentityMetadata) SetOriginationIdentity

func (s *OriginationIdentityMetadata) SetOriginationIdentity(v string) *OriginationIdentityMetadata

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*OriginationIdentityMetadata) SetOriginationIdentityArn

func (s *OriginationIdentityMetadata) SetOriginationIdentityArn(v string) *OriginationIdentityMetadata

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (*OriginationIdentityMetadata) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (OriginationIdentityMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PhoneNumberFilter

type PhoneNumberFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"PhoneNumberFilterName"`

	// An array values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for a phone number that meets a specified criteria.

func (PhoneNumberFilter) GoString

func (s PhoneNumberFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PhoneNumberFilter) SetName

SetName sets the Name field's value.

func (*PhoneNumberFilter) SetValues

func (s *PhoneNumberFilter) SetValues(v []*string) *PhoneNumberFilter

SetValues sets the Values field's value.

func (PhoneNumberFilter) String

func (s PhoneNumberFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PhoneNumberFilter) Validate

func (s *PhoneNumberFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PhoneNumberInformation

type PhoneNumberInformation struct {

	// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// When set to true the phone number can't be deleted.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageType is a required field
	MessageType *string `type:"string" required:"true" enum:"MessageType"`

	// The price, in US dollars, to lease the phone number.
	//
	// MonthlyLeasingPrice is a required field
	MonthlyLeasingPrice *string `type:"string" required:"true"`

	// Describes if the origination identity can be used for text messages, voice
	// calls or both.
	//
	// NumberCapabilities is a required field
	NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`

	// The type of phone number.
	//
	// NumberType is a required field
	NumberType *string `type:"string" required:"true" enum:"NumberType"`

	// The name of the OptOutList associated with the phone number.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// The phone number in E.164 format.
	//
	// PhoneNumber is a required field
	PhoneNumber *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the phone number.
	//
	// PhoneNumberArn is a required field
	PhoneNumberArn *string `type:"string" required:"true"`

	// The unique identifier for the phone number.
	PhoneNumberId *string `type:"string"`

	// The unique identifier of the pool associated with the phone number.
	PoolId *string `type:"string"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// When set to false an end recipient sends a message that begins with HELP
	// or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
	// with a customizable message and adds the end recipient to the OptOutList.
	// When set to true you're responsible for responding to HELP and STOP requests.
	// You're also responsible for tracking and honoring opt-out request. For more
	// information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
	//
	// SelfManagedOptOutsEnabled is a required field
	SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`

	// The current status of the phone number.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"NumberStatus"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients using the TwoWayChannelArn.
	//
	// TwoWayEnabled is a required field
	TwoWayEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The information for a phone number, in E.164 format, in an Amazon Web Services account.

func (PhoneNumberInformation) GoString

func (s PhoneNumberInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PhoneNumberInformation) SetCreatedTimestamp

func (s *PhoneNumberInformation) SetCreatedTimestamp(v time.Time) *PhoneNumberInformation

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*PhoneNumberInformation) SetDeletionProtectionEnabled

func (s *PhoneNumberInformation) SetDeletionProtectionEnabled(v bool) *PhoneNumberInformation

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*PhoneNumberInformation) SetIsoCountryCode

func (s *PhoneNumberInformation) SetIsoCountryCode(v string) *PhoneNumberInformation

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*PhoneNumberInformation) SetMessageType

SetMessageType sets the MessageType field's value.

func (*PhoneNumberInformation) SetMonthlyLeasingPrice

func (s *PhoneNumberInformation) SetMonthlyLeasingPrice(v string) *PhoneNumberInformation

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*PhoneNumberInformation) SetNumberCapabilities

func (s *PhoneNumberInformation) SetNumberCapabilities(v []*string) *PhoneNumberInformation

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*PhoneNumberInformation) SetNumberType

SetNumberType sets the NumberType field's value.

func (*PhoneNumberInformation) SetOptOutListName

func (s *PhoneNumberInformation) SetOptOutListName(v string) *PhoneNumberInformation

SetOptOutListName sets the OptOutListName field's value.

func (*PhoneNumberInformation) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*PhoneNumberInformation) SetPhoneNumberArn

func (s *PhoneNumberInformation) SetPhoneNumberArn(v string) *PhoneNumberInformation

SetPhoneNumberArn sets the PhoneNumberArn field's value.

func (*PhoneNumberInformation) SetPhoneNumberId

func (s *PhoneNumberInformation) SetPhoneNumberId(v string) *PhoneNumberInformation

SetPhoneNumberId sets the PhoneNumberId field's value.

func (*PhoneNumberInformation) SetPoolId

SetPoolId sets the PoolId field's value.

func (*PhoneNumberInformation) SetRegistrationId

func (s *PhoneNumberInformation) SetRegistrationId(v string) *PhoneNumberInformation

SetRegistrationId sets the RegistrationId field's value.

func (*PhoneNumberInformation) SetSelfManagedOptOutsEnabled

func (s *PhoneNumberInformation) SetSelfManagedOptOutsEnabled(v bool) *PhoneNumberInformation

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*PhoneNumberInformation) SetStatus

SetStatus sets the Status field's value.

func (*PhoneNumberInformation) SetTwoWayChannelArn

func (s *PhoneNumberInformation) SetTwoWayChannelArn(v string) *PhoneNumberInformation

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*PhoneNumberInformation) SetTwoWayChannelRole

func (s *PhoneNumberInformation) SetTwoWayChannelRole(v string) *PhoneNumberInformation

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*PhoneNumberInformation) SetTwoWayEnabled

func (s *PhoneNumberInformation) SetTwoWayEnabled(v bool) *PhoneNumberInformation

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (PhoneNumberInformation) String

func (s PhoneNumberInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PinpointSMSVoiceV2

type PinpointSMSVoiceV2 struct {
	*client.Client
}

PinpointSMSVoiceV2 provides the API operation methods for making requests to Amazon Pinpoint SMS Voice V2. See this package's package overview docs for details on the service.

PinpointSMSVoiceV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the PinpointSMSVoiceV2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a PinpointSMSVoiceV2 client from just a session.
svc := pinpointsmsvoicev2.New(mySession)

// Create a PinpointSMSVoiceV2 client with additional configuration
svc := pinpointsmsvoicev2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*PinpointSMSVoiceV2) AssociateOriginationIdentity

AssociateOriginationIdentity API operation for Amazon Pinpoint SMS Voice V2.

Associates the specified origination identity with a pool.

If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.

If the origination identity configuration doesn't match the pool's configuration, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation AssociateOriginationIdentity for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateOriginationIdentity

func (*PinpointSMSVoiceV2) AssociateOriginationIdentityRequest

func (c *PinpointSMSVoiceV2) AssociateOriginationIdentityRequest(input *AssociateOriginationIdentityInput) (req *request.Request, output *AssociateOriginationIdentityOutput)

AssociateOriginationIdentityRequest generates a "aws/request.Request" representing the client's request for the AssociateOriginationIdentity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateOriginationIdentity for more information on using the AssociateOriginationIdentity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateOriginationIdentityRequest method.
req, resp := client.AssociateOriginationIdentityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateOriginationIdentity

func (*PinpointSMSVoiceV2) AssociateOriginationIdentityWithContext

func (c *PinpointSMSVoiceV2) AssociateOriginationIdentityWithContext(ctx aws.Context, input *AssociateOriginationIdentityInput, opts ...request.Option) (*AssociateOriginationIdentityOutput, error)

AssociateOriginationIdentityWithContext is the same as AssociateOriginationIdentity with the addition of the ability to pass a context and additional request options.

See AssociateOriginationIdentity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) AssociateProtectConfiguration

AssociateProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Associate a protect configuration with a configuration set. This replaces the configuration sets current protect configuration. A configuration set can only be associated with one protect configuration at a time. A protect configuration can be associated with multiple configuration sets.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation AssociateProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateProtectConfiguration

func (*PinpointSMSVoiceV2) AssociateProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) AssociateProtectConfigurationRequest(input *AssociateProtectConfigurationInput) (req *request.Request, output *AssociateProtectConfigurationOutput)

AssociateProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the AssociateProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateProtectConfiguration for more information on using the AssociateProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateProtectConfigurationRequest method.
req, resp := client.AssociateProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateProtectConfiguration

func (*PinpointSMSVoiceV2) AssociateProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) AssociateProtectConfigurationWithContext(ctx aws.Context, input *AssociateProtectConfigurationInput, opts ...request.Option) (*AssociateProtectConfigurationOutput, error)

AssociateProtectConfigurationWithContext is the same as AssociateProtectConfiguration with the addition of the ability to pass a context and additional request options.

See AssociateProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateConfigurationSet

CreateConfigurationSet API operation for Amazon Pinpoint SMS Voice V2.

Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.

A configuration set is a set of rules that you apply to the SMS and voice messages that you send.

When you send a message, you can optionally specify a single configuration set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateConfigurationSet for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateConfigurationSet

func (*PinpointSMSVoiceV2) CreateConfigurationSetRequest

func (c *PinpointSMSVoiceV2) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput)

CreateConfigurationSetRequest generates a "aws/request.Request" representing the client's request for the CreateConfigurationSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfigurationSet for more information on using the CreateConfigurationSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConfigurationSetRequest method.
req, resp := client.CreateConfigurationSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateConfigurationSet

func (*PinpointSMSVoiceV2) CreateConfigurationSetWithContext

func (c *PinpointSMSVoiceV2) CreateConfigurationSetWithContext(ctx aws.Context, input *CreateConfigurationSetInput, opts ...request.Option) (*CreateConfigurationSetOutput, error)

CreateConfigurationSetWithContext is the same as CreateConfigurationSet with the addition of the ability to pass a context and additional request options.

See CreateConfigurationSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateEventDestination

CreateEventDestination API operation for Amazon Pinpoint SMS Voice V2.

Creates a new event destination in a configuration set.

An event destination is a location where you send message events. The event options are Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS. For example, when a message is delivered successfully, you can send information about that event to an event destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.

Each configuration set can contain between 0 and 5 event destinations. Each event destination can contain a reference to a single destination, such as a CloudWatch or Kinesis Data Firehose destination.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateEventDestination for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateEventDestination

func (*PinpointSMSVoiceV2) CreateEventDestinationRequest

func (c *PinpointSMSVoiceV2) CreateEventDestinationRequest(input *CreateEventDestinationInput) (req *request.Request, output *CreateEventDestinationOutput)

CreateEventDestinationRequest generates a "aws/request.Request" representing the client's request for the CreateEventDestination operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEventDestination for more information on using the CreateEventDestination API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateEventDestinationRequest method.
req, resp := client.CreateEventDestinationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateEventDestination

func (*PinpointSMSVoiceV2) CreateEventDestinationWithContext

func (c *PinpointSMSVoiceV2) CreateEventDestinationWithContext(ctx aws.Context, input *CreateEventDestinationInput, opts ...request.Option) (*CreateEventDestinationOutput, error)

CreateEventDestinationWithContext is the same as CreateEventDestination with the addition of the ability to pass a context and additional request options.

See CreateEventDestination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateOptOutList

func (c *PinpointSMSVoiceV2) CreateOptOutList(input *CreateOptOutListInput) (*CreateOptOutListOutput, error)

CreateOptOutList API operation for Amazon Pinpoint SMS Voice V2.

Creates a new opt-out list.

If the opt-out list name already exists, an error is returned.

An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword "STOP," an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see SMS opt out (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-manage.html#channels-sms-manage-optout) in the Amazon Pinpoint User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateOptOutList for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateOptOutList

func (*PinpointSMSVoiceV2) CreateOptOutListRequest

func (c *PinpointSMSVoiceV2) CreateOptOutListRequest(input *CreateOptOutListInput) (req *request.Request, output *CreateOptOutListOutput)

CreateOptOutListRequest generates a "aws/request.Request" representing the client's request for the CreateOptOutList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateOptOutList for more information on using the CreateOptOutList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateOptOutListRequest method.
req, resp := client.CreateOptOutListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateOptOutList

func (*PinpointSMSVoiceV2) CreateOptOutListWithContext

func (c *PinpointSMSVoiceV2) CreateOptOutListWithContext(ctx aws.Context, input *CreateOptOutListInput, opts ...request.Option) (*CreateOptOutListOutput, error)

CreateOptOutListWithContext is the same as CreateOptOutList with the addition of the ability to pass a context and additional request options.

See CreateOptOutList for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreatePool

func (c *PinpointSMSVoiceV2) CreatePool(input *CreatePoolInput) (*CreatePoolOutput, error)

CreatePool API operation for Amazon Pinpoint SMS Voice V2.

Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.

The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.

If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreatePool for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreatePool

func (*PinpointSMSVoiceV2) CreatePoolRequest

func (c *PinpointSMSVoiceV2) CreatePoolRequest(input *CreatePoolInput) (req *request.Request, output *CreatePoolOutput)

CreatePoolRequest generates a "aws/request.Request" representing the client's request for the CreatePool operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePool for more information on using the CreatePool API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePoolRequest method.
req, resp := client.CreatePoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreatePool

func (*PinpointSMSVoiceV2) CreatePoolWithContext

func (c *PinpointSMSVoiceV2) CreatePoolWithContext(ctx aws.Context, input *CreatePoolInput, opts ...request.Option) (*CreatePoolOutput, error)

CreatePoolWithContext is the same as CreatePool with the addition of the ability to pass a context and additional request options.

See CreatePool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateProtectConfiguration

CreateProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Create a new protect configuration. By default all country rule sets for each capability are set to ALLOW. Update the country rule sets using UpdateProtectConfigurationCountryRuleSet. A protect configurations name is stored as a Tag with the key set to Name and value as the name of the protect configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateProtectConfiguration for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateProtectConfiguration

func (*PinpointSMSVoiceV2) CreateProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) CreateProtectConfigurationRequest(input *CreateProtectConfigurationInput) (req *request.Request, output *CreateProtectConfigurationOutput)

CreateProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateProtectConfiguration for more information on using the CreateProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateProtectConfigurationRequest method.
req, resp := client.CreateProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateProtectConfiguration

func (*PinpointSMSVoiceV2) CreateProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) CreateProtectConfigurationWithContext(ctx aws.Context, input *CreateProtectConfigurationInput, opts ...request.Option) (*CreateProtectConfigurationOutput, error)

CreateProtectConfigurationWithContext is the same as CreateProtectConfiguration with the addition of the ability to pass a context and additional request options.

See CreateProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateRegistration

CreateRegistration API operation for Amazon Pinpoint SMS Voice V2.

Creates a new registration based on the RegistrationType field.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateRegistration for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistration

func (*PinpointSMSVoiceV2) CreateRegistrationAssociation

CreateRegistrationAssociation API operation for Amazon Pinpoint SMS Voice V2.

Associate the registration with an origination identity such as a phone number or sender ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateRegistrationAssociation for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAssociation

func (*PinpointSMSVoiceV2) CreateRegistrationAssociationRequest

func (c *PinpointSMSVoiceV2) CreateRegistrationAssociationRequest(input *CreateRegistrationAssociationInput) (req *request.Request, output *CreateRegistrationAssociationOutput)

CreateRegistrationAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateRegistrationAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRegistrationAssociation for more information on using the CreateRegistrationAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRegistrationAssociationRequest method.
req, resp := client.CreateRegistrationAssociationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAssociation

func (*PinpointSMSVoiceV2) CreateRegistrationAssociationWithContext

func (c *PinpointSMSVoiceV2) CreateRegistrationAssociationWithContext(ctx aws.Context, input *CreateRegistrationAssociationInput, opts ...request.Option) (*CreateRegistrationAssociationOutput, error)

CreateRegistrationAssociationWithContext is the same as CreateRegistrationAssociation with the addition of the ability to pass a context and additional request options.

See CreateRegistrationAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateRegistrationAttachment

CreateRegistrationAttachment API operation for Amazon Pinpoint SMS Voice V2.

Create a new registration attachment to use for uploading a file or a URL to a file. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG. For example, many sender ID registrations require a signed “letter of authorization” (LOA) to be submitted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateRegistrationAttachment for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAttachment

func (*PinpointSMSVoiceV2) CreateRegistrationAttachmentRequest

func (c *PinpointSMSVoiceV2) CreateRegistrationAttachmentRequest(input *CreateRegistrationAttachmentInput) (req *request.Request, output *CreateRegistrationAttachmentOutput)

CreateRegistrationAttachmentRequest generates a "aws/request.Request" representing the client's request for the CreateRegistrationAttachment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRegistrationAttachment for more information on using the CreateRegistrationAttachment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRegistrationAttachmentRequest method.
req, resp := client.CreateRegistrationAttachmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAttachment

func (*PinpointSMSVoiceV2) CreateRegistrationAttachmentWithContext

func (c *PinpointSMSVoiceV2) CreateRegistrationAttachmentWithContext(ctx aws.Context, input *CreateRegistrationAttachmentInput, opts ...request.Option) (*CreateRegistrationAttachmentOutput, error)

CreateRegistrationAttachmentWithContext is the same as CreateRegistrationAttachment with the addition of the ability to pass a context and additional request options.

See CreateRegistrationAttachment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateRegistrationRequest

func (c *PinpointSMSVoiceV2) CreateRegistrationRequest(input *CreateRegistrationInput) (req *request.Request, output *CreateRegistrationOutput)

CreateRegistrationRequest generates a "aws/request.Request" representing the client's request for the CreateRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRegistration for more information on using the CreateRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRegistrationRequest method.
req, resp := client.CreateRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistration

func (*PinpointSMSVoiceV2) CreateRegistrationVersion

CreateRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.

Create a new version of the registration and increase the VersionNumber. The previous version of the registration becomes read-only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateRegistrationVersion for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationVersion

func (*PinpointSMSVoiceV2) CreateRegistrationVersionRequest

func (c *PinpointSMSVoiceV2) CreateRegistrationVersionRequest(input *CreateRegistrationVersionInput) (req *request.Request, output *CreateRegistrationVersionOutput)

CreateRegistrationVersionRequest generates a "aws/request.Request" representing the client's request for the CreateRegistrationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRegistrationVersion for more information on using the CreateRegistrationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRegistrationVersionRequest method.
req, resp := client.CreateRegistrationVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationVersion

func (*PinpointSMSVoiceV2) CreateRegistrationVersionWithContext

func (c *PinpointSMSVoiceV2) CreateRegistrationVersionWithContext(ctx aws.Context, input *CreateRegistrationVersionInput, opts ...request.Option) (*CreateRegistrationVersionOutput, error)

CreateRegistrationVersionWithContext is the same as CreateRegistrationVersion with the addition of the ability to pass a context and additional request options.

See CreateRegistrationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateRegistrationWithContext

func (c *PinpointSMSVoiceV2) CreateRegistrationWithContext(ctx aws.Context, input *CreateRegistrationInput, opts ...request.Option) (*CreateRegistrationOutput, error)

CreateRegistrationWithContext is the same as CreateRegistration with the addition of the ability to pass a context and additional request options.

See CreateRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) CreateVerifiedDestinationNumber

CreateVerifiedDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.

You can only send messages to verified destination numbers when your account is in the sandbox. You can add up to 10 verified destination numbers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateVerifiedDestinationNumber for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateVerifiedDestinationNumber

func (*PinpointSMSVoiceV2) CreateVerifiedDestinationNumberRequest

func (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumberRequest(input *CreateVerifiedDestinationNumberInput) (req *request.Request, output *CreateVerifiedDestinationNumberOutput)

CreateVerifiedDestinationNumberRequest generates a "aws/request.Request" representing the client's request for the CreateVerifiedDestinationNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateVerifiedDestinationNumber for more information on using the CreateVerifiedDestinationNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateVerifiedDestinationNumberRequest method.
req, resp := client.CreateVerifiedDestinationNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateVerifiedDestinationNumber

func (*PinpointSMSVoiceV2) CreateVerifiedDestinationNumberWithContext

func (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumberWithContext(ctx aws.Context, input *CreateVerifiedDestinationNumberInput, opts ...request.Option) (*CreateVerifiedDestinationNumberOutput, error)

CreateVerifiedDestinationNumberWithContext is the same as CreateVerifiedDestinationNumber with the addition of the ability to pass a context and additional request options.

See CreateVerifiedDestinationNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfiguration

DeleteAccountDefaultProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Removes the current account default protect configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteAccountDefaultProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteAccountDefaultProtectConfiguration

func (*PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfigurationRequest(input *DeleteAccountDefaultProtectConfigurationInput) (req *request.Request, output *DeleteAccountDefaultProtectConfigurationOutput)

DeleteAccountDefaultProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteAccountDefaultProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAccountDefaultProtectConfiguration for more information on using the DeleteAccountDefaultProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAccountDefaultProtectConfigurationRequest method.
req, resp := client.DeleteAccountDefaultProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteAccountDefaultProtectConfiguration

func (*PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfigurationWithContext(ctx aws.Context, input *DeleteAccountDefaultProtectConfigurationInput, opts ...request.Option) (*DeleteAccountDefaultProtectConfigurationOutput, error)

DeleteAccountDefaultProtectConfigurationWithContext is the same as DeleteAccountDefaultProtectConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteAccountDefaultProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteConfigurationSet

DeleteConfigurationSet API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing configuration set.

A configuration set is a set of rules that you apply to voice and SMS messages that you send. In a configuration set, you can specify a destination for specific types of events related to voice and SMS messages.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteConfigurationSet for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet

func (*PinpointSMSVoiceV2) DeleteConfigurationSetRequest

func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput)

DeleteConfigurationSetRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationSet for more information on using the DeleteConfigurationSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConfigurationSetRequest method.
req, resp := client.DeleteConfigurationSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet

func (*PinpointSMSVoiceV2) DeleteConfigurationSetWithContext

func (c *PinpointSMSVoiceV2) DeleteConfigurationSetWithContext(ctx aws.Context, input *DeleteConfigurationSetInput, opts ...request.Option) (*DeleteConfigurationSetOutput, error)

DeleteConfigurationSetWithContext is the same as DeleteConfigurationSet with the addition of the ability to pass a context and additional request options.

See DeleteConfigurationSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteDefaultMessageType

DeleteDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing default message type on a configuration set.

A message type is a type of messages that you plan to send. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteDefaultMessageType for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType

func (*PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest

func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaultMessageTypeInput) (req *request.Request, output *DeleteDefaultMessageTypeOutput)

DeleteDefaultMessageTypeRequest generates a "aws/request.Request" representing the client's request for the DeleteDefaultMessageType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDefaultMessageType for more information on using the DeleteDefaultMessageType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDefaultMessageTypeRequest method.
req, resp := client.DeleteDefaultMessageTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType

func (*PinpointSMSVoiceV2) DeleteDefaultMessageTypeWithContext

func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeWithContext(ctx aws.Context, input *DeleteDefaultMessageTypeInput, opts ...request.Option) (*DeleteDefaultMessageTypeOutput, error)

DeleteDefaultMessageTypeWithContext is the same as DeleteDefaultMessageType with the addition of the ability to pass a context and additional request options.

See DeleteDefaultMessageType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteDefaultSenderId

DeleteDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing default sender ID on a configuration set.

A default sender ID is the identity that appears on recipients' devices when they receive SMS messages. Support for sender ID capabilities varies by country or region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteDefaultSenderId for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId

func (*PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest

func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSenderIdInput) (req *request.Request, output *DeleteDefaultSenderIdOutput)

DeleteDefaultSenderIdRequest generates a "aws/request.Request" representing the client's request for the DeleteDefaultSenderId operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDefaultSenderId for more information on using the DeleteDefaultSenderId API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDefaultSenderIdRequest method.
req, resp := client.DeleteDefaultSenderIdRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId

func (*PinpointSMSVoiceV2) DeleteDefaultSenderIdWithContext

func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdWithContext(ctx aws.Context, input *DeleteDefaultSenderIdInput, opts ...request.Option) (*DeleteDefaultSenderIdOutput, error)

DeleteDefaultSenderIdWithContext is the same as DeleteDefaultSenderId with the addition of the ability to pass a context and additional request options.

See DeleteDefaultSenderId for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteEventDestination

DeleteEventDestination API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing event destination.

An event destination is a location where you send response information about the messages that you send. For example, when a message is delivered successfully, you can send information about that event to an Amazon CloudWatch destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteEventDestination for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination

func (*PinpointSMSVoiceV2) DeleteEventDestinationRequest

func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDestinationInput) (req *request.Request, output *DeleteEventDestinationOutput)

DeleteEventDestinationRequest generates a "aws/request.Request" representing the client's request for the DeleteEventDestination operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEventDestination for more information on using the DeleteEventDestination API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEventDestinationRequest method.
req, resp := client.DeleteEventDestinationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination

func (*PinpointSMSVoiceV2) DeleteEventDestinationWithContext

func (c *PinpointSMSVoiceV2) DeleteEventDestinationWithContext(ctx aws.Context, input *DeleteEventDestinationInput, opts ...request.Option) (*DeleteEventDestinationOutput, error)

DeleteEventDestinationWithContext is the same as DeleteEventDestination with the addition of the ability to pass a context and additional request options.

See DeleteEventDestination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteKeyword

func (c *PinpointSMSVoiceV2) DeleteKeyword(input *DeleteKeywordInput) (*DeleteKeywordOutput, error)

DeleteKeyword API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing keyword from an origination phone number or pool.

A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.

Keywords "HELP" and "STOP" can't be deleted or modified.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteKeyword for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword

func (*PinpointSMSVoiceV2) DeleteKeywordRequest

func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (req *request.Request, output *DeleteKeywordOutput)

DeleteKeywordRequest generates a "aws/request.Request" representing the client's request for the DeleteKeyword operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteKeyword for more information on using the DeleteKeyword API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteKeywordRequest method.
req, resp := client.DeleteKeywordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword

func (*PinpointSMSVoiceV2) DeleteKeywordWithContext

func (c *PinpointSMSVoiceV2) DeleteKeywordWithContext(ctx aws.Context, input *DeleteKeywordInput, opts ...request.Option) (*DeleteKeywordOutput, error)

DeleteKeywordWithContext is the same as DeleteKeyword with the addition of the ability to pass a context and additional request options.

See DeleteKeyword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverride

DeleteMediaMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Deletes an account-level monthly spending limit override for sending multimedia messages (MMS). Deleting a spend limit override will set the EnforcedLimit to equal the MaxLimit, which is controlled by Amazon Web Services. For more information on spend limits (quotas) see Quotas for Server Migration Service (https://docs.aws.amazon.com/sms-voice/latest/userguide/quotas.html) in the Server Migration Service User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteMediaMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteMediaMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverrideRequest(input *DeleteMediaMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteMediaMessageSpendLimitOverrideOutput)

DeleteMediaMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the DeleteMediaMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMediaMessageSpendLimitOverride for more information on using the DeleteMediaMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMediaMessageSpendLimitOverrideRequest method.
req, resp := client.DeleteMediaMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteMediaMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteMediaMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteMediaMessageSpendLimitOverrideOutput, error)

DeleteMediaMessageSpendLimitOverrideWithContext is the same as DeleteMediaMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See DeleteMediaMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteOptOutList

func (c *PinpointSMSVoiceV2) DeleteOptOutList(input *DeleteOptOutListInput) (*DeleteOptOutListOutput, error)

DeleteOptOutList API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing opt-out list. All opted out phone numbers in the opt-out list are deleted.

If the specified opt-out list name doesn't exist or is in-use by an origination phone number or pool, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteOptOutList for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList

func (*PinpointSMSVoiceV2) DeleteOptOutListRequest

func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInput) (req *request.Request, output *DeleteOptOutListOutput)

DeleteOptOutListRequest generates a "aws/request.Request" representing the client's request for the DeleteOptOutList operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteOptOutList for more information on using the DeleteOptOutList API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteOptOutListRequest method.
req, resp := client.DeleteOptOutListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList

func (*PinpointSMSVoiceV2) DeleteOptOutListWithContext

func (c *PinpointSMSVoiceV2) DeleteOptOutListWithContext(ctx aws.Context, input *DeleteOptOutListInput, opts ...request.Option) (*DeleteOptOutListOutput, error)

DeleteOptOutListWithContext is the same as DeleteOptOutList with the addition of the ability to pass a context and additional request options.

See DeleteOptOutList for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteOptedOutNumber

DeleteOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing opted out destination phone number from the specified opt-out list.

Each destination phone number can only be deleted once every 30 days.

If the specified destination phone number doesn't exist or if the opt-out list doesn't exist, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteOptedOutNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber

func (*PinpointSMSVoiceV2) DeleteOptedOutNumberRequest

func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNumberInput) (req *request.Request, output *DeleteOptedOutNumberOutput)

DeleteOptedOutNumberRequest generates a "aws/request.Request" representing the client's request for the DeleteOptedOutNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteOptedOutNumber for more information on using the DeleteOptedOutNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteOptedOutNumberRequest method.
req, resp := client.DeleteOptedOutNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber

func (*PinpointSMSVoiceV2) DeleteOptedOutNumberWithContext

func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberWithContext(ctx aws.Context, input *DeleteOptedOutNumberInput, opts ...request.Option) (*DeleteOptedOutNumberOutput, error)

DeleteOptedOutNumberWithContext is the same as DeleteOptedOutNumber with the addition of the ability to pass a context and additional request options.

See DeleteOptedOutNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeletePool

func (c *PinpointSMSVoiceV2) DeletePool(input *DeletePoolInput) (*DeletePoolOutput, error)

DeletePool API operation for Amazon Pinpoint SMS Voice V2.

Deletes an existing pool. Deleting a pool disassociates all origination identities from that pool.

If the pool status isn't active or if deletion protection is enabled, an error is returned.

A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeletePool for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool

func (*PinpointSMSVoiceV2) DeletePoolRequest

func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *request.Request, output *DeletePoolOutput)

DeletePoolRequest generates a "aws/request.Request" representing the client's request for the DeletePool operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePool for more information on using the DeletePool API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePoolRequest method.
req, resp := client.DeletePoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool

func (*PinpointSMSVoiceV2) DeletePoolWithContext

func (c *PinpointSMSVoiceV2) DeletePoolWithContext(ctx aws.Context, input *DeletePoolInput, opts ...request.Option) (*DeletePoolOutput, error)

DeletePoolWithContext is the same as DeletePool with the addition of the ability to pass a context and additional request options.

See DeletePool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteProtectConfiguration

DeleteProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Permanently delete the protect configuration. The protect configuration must have deletion protection disabled and must not be associated as the account default protect configuration or associated with a configuration set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteProtectConfiguration

func (*PinpointSMSVoiceV2) DeleteProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) DeleteProtectConfigurationRequest(input *DeleteProtectConfigurationInput) (req *request.Request, output *DeleteProtectConfigurationOutput)

DeleteProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteProtectConfiguration for more information on using the DeleteProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteProtectConfigurationRequest method.
req, resp := client.DeleteProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteProtectConfiguration

func (*PinpointSMSVoiceV2) DeleteProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) DeleteProtectConfigurationWithContext(ctx aws.Context, input *DeleteProtectConfigurationInput, opts ...request.Option) (*DeleteProtectConfigurationOutput, error)

DeleteProtectConfigurationWithContext is the same as DeleteProtectConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteRegistration

DeleteRegistration API operation for Amazon Pinpoint SMS Voice V2.

Permanently delete an existing registration from your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteRegistration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistration

func (*PinpointSMSVoiceV2) DeleteRegistrationAttachment

DeleteRegistrationAttachment API operation for Amazon Pinpoint SMS Voice V2.

Permanently delete the specified registration attachment.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteRegistrationAttachment for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationAttachment

func (*PinpointSMSVoiceV2) DeleteRegistrationAttachmentRequest

func (c *PinpointSMSVoiceV2) DeleteRegistrationAttachmentRequest(input *DeleteRegistrationAttachmentInput) (req *request.Request, output *DeleteRegistrationAttachmentOutput)

DeleteRegistrationAttachmentRequest generates a "aws/request.Request" representing the client's request for the DeleteRegistrationAttachment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRegistrationAttachment for more information on using the DeleteRegistrationAttachment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRegistrationAttachmentRequest method.
req, resp := client.DeleteRegistrationAttachmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationAttachment

func (*PinpointSMSVoiceV2) DeleteRegistrationAttachmentWithContext

func (c *PinpointSMSVoiceV2) DeleteRegistrationAttachmentWithContext(ctx aws.Context, input *DeleteRegistrationAttachmentInput, opts ...request.Option) (*DeleteRegistrationAttachmentOutput, error)

DeleteRegistrationAttachmentWithContext is the same as DeleteRegistrationAttachment with the addition of the ability to pass a context and additional request options.

See DeleteRegistrationAttachment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteRegistrationFieldValue

DeleteRegistrationFieldValue API operation for Amazon Pinpoint SMS Voice V2.

Delete the value in a registration form field.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteRegistrationFieldValue for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationFieldValue

func (*PinpointSMSVoiceV2) DeleteRegistrationFieldValueRequest

func (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValueRequest(input *DeleteRegistrationFieldValueInput) (req *request.Request, output *DeleteRegistrationFieldValueOutput)

DeleteRegistrationFieldValueRequest generates a "aws/request.Request" representing the client's request for the DeleteRegistrationFieldValue operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRegistrationFieldValue for more information on using the DeleteRegistrationFieldValue API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRegistrationFieldValueRequest method.
req, resp := client.DeleteRegistrationFieldValueRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationFieldValue

func (*PinpointSMSVoiceV2) DeleteRegistrationFieldValueWithContext

func (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValueWithContext(ctx aws.Context, input *DeleteRegistrationFieldValueInput, opts ...request.Option) (*DeleteRegistrationFieldValueOutput, error)

DeleteRegistrationFieldValueWithContext is the same as DeleteRegistrationFieldValue with the addition of the ability to pass a context and additional request options.

See DeleteRegistrationFieldValue for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteRegistrationRequest

func (c *PinpointSMSVoiceV2) DeleteRegistrationRequest(input *DeleteRegistrationInput) (req *request.Request, output *DeleteRegistrationOutput)

DeleteRegistrationRequest generates a "aws/request.Request" representing the client's request for the DeleteRegistration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRegistration for more information on using the DeleteRegistration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRegistrationRequest method.
req, resp := client.DeleteRegistrationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistration

func (*PinpointSMSVoiceV2) DeleteRegistrationWithContext

func (c *PinpointSMSVoiceV2) DeleteRegistrationWithContext(ctx aws.Context, input *DeleteRegistrationInput, opts ...request.Option) (*DeleteRegistrationOutput, error)

DeleteRegistrationWithContext is the same as DeleteRegistration with the addition of the ability to pass a context and additional request options.

See DeleteRegistration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverride

DeleteTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Deletes an account-level monthly spending limit override for sending text messages. Deleting a spend limit override will set the EnforcedLimit to equal the MaxLimit, which is controlled by Amazon Web Services. For more information on spend limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteTextMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *DeleteTextMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteTextMessageSpendLimitOverrideOutput)

DeleteTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the DeleteTextMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTextMessageSpendLimitOverride for more information on using the DeleteTextMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTextMessageSpendLimitOverrideRequest method.
req, resp := client.DeleteTextMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteTextMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteTextMessageSpendLimitOverrideOutput, error)

DeleteTextMessageSpendLimitOverrideWithContext is the same as DeleteTextMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See DeleteTextMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteVerifiedDestinationNumber

DeleteVerifiedDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.

Delete a verified destination phone number.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteVerifiedDestinationNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVerifiedDestinationNumber

func (*PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberRequest

func (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberRequest(input *DeleteVerifiedDestinationNumberInput) (req *request.Request, output *DeleteVerifiedDestinationNumberOutput)

DeleteVerifiedDestinationNumberRequest generates a "aws/request.Request" representing the client's request for the DeleteVerifiedDestinationNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVerifiedDestinationNumber for more information on using the DeleteVerifiedDestinationNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVerifiedDestinationNumberRequest method.
req, resp := client.DeleteVerifiedDestinationNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVerifiedDestinationNumber

func (*PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberWithContext

func (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberWithContext(ctx aws.Context, input *DeleteVerifiedDestinationNumberInput, opts ...request.Option) (*DeleteVerifiedDestinationNumberOutput, error)

DeleteVerifiedDestinationNumberWithContext is the same as DeleteVerifiedDestinationNumber with the addition of the ability to pass a context and additional request options.

See DeleteVerifiedDestinationNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverride

DeleteVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Deletes an account level monthly spend limit override for sending voice messages. Deleting a spend limit override sets the EnforcedLimit equal to the MaxLimit, which is controlled by Amazon Web Services. For more information on spending limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteVoiceMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input *DeleteVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteVoiceMessageSpendLimitOverrideOutput)

DeleteVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the DeleteVoiceMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVoiceMessageSpendLimitOverride for more information on using the DeleteVoiceMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVoiceMessageSpendLimitOverrideRequest method.
req, resp := client.DeleteVoiceMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteVoiceMessageSpendLimitOverrideOutput, error)

DeleteVoiceMessageSpendLimitOverrideWithContext is the same as DeleteVoiceMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See DeleteVoiceMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeAccountAttributes

DescribeAccountAttributes API operation for Amazon Pinpoint SMS Voice V2.

Describes attributes of your Amazon Web Services account. The supported account attributes include account tier, which indicates whether your account is in the sandbox or production environment. When you're ready to move your account out of the sandbox, create an Amazon Web Services Support case for a service limit increase request.

New Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The sandbox protects both Amazon Web Services end recipients and SMS or voice recipients from fraud and abuse.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeAccountAttributes for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes

func (*PinpointSMSVoiceV2) DescribeAccountAttributesPages

func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPages(input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool) error

DescribeAccountAttributesPages iterates over the pages of a DescribeAccountAttributes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeAccountAttributes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeAccountAttributes operation.
pageNum := 0
err := client.DescribeAccountAttributesPages(params,
    func(page *pinpointsmsvoicev2.DescribeAccountAttributesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeAccountAttributesPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPagesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool, opts ...request.Option) error

DescribeAccountAttributesPagesWithContext same as DescribeAccountAttributesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeAccountAttributesRequest

func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput)

DescribeAccountAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAccountAttributes for more information on using the DescribeAccountAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAccountAttributesRequest method.
req, resp := client.DescribeAccountAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes

func (*PinpointSMSVoiceV2) DescribeAccountAttributesWithContext

func (c *PinpointSMSVoiceV2) DescribeAccountAttributesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, opts ...request.Option) (*DescribeAccountAttributesOutput, error)

DescribeAccountAttributesWithContext is the same as DescribeAccountAttributes with the addition of the ability to pass a context and additional request options.

See DescribeAccountAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeAccountLimits

DescribeAccountLimits API operation for Amazon Pinpoint SMS Voice V2.

Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your account. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.

When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of configuration sets, opt-out lists, phone numbers, and pools that you can create in a given Region. For more information see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeAccountLimits for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits

func (*PinpointSMSVoiceV2) DescribeAccountLimitsPages

func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPages(input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool) error

DescribeAccountLimitsPages iterates over the pages of a DescribeAccountLimits operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeAccountLimits method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeAccountLimits operation.
pageNum := 0
err := client.DescribeAccountLimitsPages(params,
    func(page *pinpointsmsvoicev2.DescribeAccountLimitsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeAccountLimitsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPagesWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool, opts ...request.Option) error

DescribeAccountLimitsPagesWithContext same as DescribeAccountLimitsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeAccountLimitsRequest

func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput)

DescribeAccountLimitsRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountLimits operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAccountLimits for more information on using the DescribeAccountLimits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAccountLimitsRequest method.
req, resp := client.DescribeAccountLimitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits

func (*PinpointSMSVoiceV2) DescribeAccountLimitsWithContext

func (c *PinpointSMSVoiceV2) DescribeAccountLimitsWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, opts ...request.Option) (*DescribeAccountLimitsOutput, error)

DescribeAccountLimitsWithContext is the same as DescribeAccountLimits with the addition of the ability to pass a context and additional request options.

See DescribeAccountLimits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeConfigurationSets

DescribeConfigurationSets API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified configuration sets or all in your account.

If you specify configuration set names, the output includes information for only the specified configuration sets. If you specify filters, the output includes information for only those configuration sets that meet the filter criteria. If you don't specify configuration set names or filters, the output includes information for all configuration sets.

If you specify a configuration set name that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeConfigurationSets for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets

func (*PinpointSMSVoiceV2) DescribeConfigurationSetsPages

func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPages(input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool) error

DescribeConfigurationSetsPages iterates over the pages of a DescribeConfigurationSets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeConfigurationSets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeConfigurationSets operation.
pageNum := 0
err := client.DescribeConfigurationSetsPages(params,
    func(page *pinpointsmsvoicev2.DescribeConfigurationSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeConfigurationSetsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPagesWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool, opts ...request.Option) error

DescribeConfigurationSetsPagesWithContext same as DescribeConfigurationSetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeConfigurationSetsRequest

func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeConfigurationSetsInput) (req *request.Request, output *DescribeConfigurationSetsOutput)

DescribeConfigurationSetsRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationSets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationSets for more information on using the DescribeConfigurationSets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationSetsRequest method.
req, resp := client.DescribeConfigurationSetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets

func (*PinpointSMSVoiceV2) DescribeConfigurationSetsWithContext

func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, opts ...request.Option) (*DescribeConfigurationSetsOutput, error)

DescribeConfigurationSetsWithContext is the same as DescribeConfigurationSets with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationSets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeKeywords

func (c *PinpointSMSVoiceV2) DescribeKeywords(input *DescribeKeywordsInput) (*DescribeKeywordsOutput, error)

DescribeKeywords API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified keywords or all keywords on your origination phone number or pool.

A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.

If you specify a keyword that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeKeywords for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords

func (*PinpointSMSVoiceV2) DescribeKeywordsPages

func (c *PinpointSMSVoiceV2) DescribeKeywordsPages(input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool) error

DescribeKeywordsPages iterates over the pages of a DescribeKeywords operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeKeywords method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeKeywords operation.
pageNum := 0
err := client.DescribeKeywordsPages(params,
    func(page *pinpointsmsvoicev2.DescribeKeywordsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeKeywordsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeKeywordsPagesWithContext(ctx aws.Context, input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool, opts ...request.Option) error

DescribeKeywordsPagesWithContext same as DescribeKeywordsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeKeywordsRequest

func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInput) (req *request.Request, output *DescribeKeywordsOutput)

DescribeKeywordsRequest generates a "aws/request.Request" representing the client's request for the DescribeKeywords operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeKeywords for more information on using the DescribeKeywords API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeKeywordsRequest method.
req, resp := client.DescribeKeywordsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords

func (*PinpointSMSVoiceV2) DescribeKeywordsWithContext

func (c *PinpointSMSVoiceV2) DescribeKeywordsWithContext(ctx aws.Context, input *DescribeKeywordsInput, opts ...request.Option) (*DescribeKeywordsOutput, error)

DescribeKeywordsWithContext is the same as DescribeKeywords with the addition of the ability to pass a context and additional request options.

See DescribeKeywords for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeOptOutLists

DescribeOptOutLists API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified opt-out list or all opt-out lists in your account.

If you specify opt-out list names, the output includes information for only the specified opt-out lists. Opt-out lists include only those that meet the filter criteria. If you don't specify opt-out list names or filters, the output includes information for all opt-out lists.

If you specify an opt-out list name that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeOptOutLists for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists

func (*PinpointSMSVoiceV2) DescribeOptOutListsPages

func (c *PinpointSMSVoiceV2) DescribeOptOutListsPages(input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool) error

DescribeOptOutListsPages iterates over the pages of a DescribeOptOutLists operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeOptOutLists method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeOptOutLists operation.
pageNum := 0
err := client.DescribeOptOutListsPages(params,
    func(page *pinpointsmsvoicev2.DescribeOptOutListsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeOptOutListsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeOptOutListsPagesWithContext(ctx aws.Context, input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool, opts ...request.Option) error

DescribeOptOutListsPagesWithContext same as DescribeOptOutListsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeOptOutListsRequest

func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutListsInput) (req *request.Request, output *DescribeOptOutListsOutput)

DescribeOptOutListsRequest generates a "aws/request.Request" representing the client's request for the DescribeOptOutLists operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOptOutLists for more information on using the DescribeOptOutLists API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOptOutListsRequest method.
req, resp := client.DescribeOptOutListsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists

func (*PinpointSMSVoiceV2) DescribeOptOutListsWithContext

func (c *PinpointSMSVoiceV2) DescribeOptOutListsWithContext(ctx aws.Context, input *DescribeOptOutListsInput, opts ...request.Option) (*DescribeOptOutListsOutput, error)

DescribeOptOutListsWithContext is the same as DescribeOptOutLists with the addition of the ability to pass a context and additional request options.

See DescribeOptOutLists for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeOptedOutNumbers

DescribeOptedOutNumbers API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified opted out destination numbers or all opted out destination numbers in an opt-out list.

If you specify opted out numbers, the output includes information for only the specified opted out numbers. If you specify filters, the output includes information for only those opted out numbers that meet the filter criteria. If you don't specify opted out numbers or filters, the output includes information for all opted out destination numbers in your opt-out list.

If you specify an opted out number that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeOptedOutNumbers for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers

func (*PinpointSMSVoiceV2) DescribeOptedOutNumbersPages

func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPages(input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool) error

DescribeOptedOutNumbersPages iterates over the pages of a DescribeOptedOutNumbers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeOptedOutNumbers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeOptedOutNumbers operation.
pageNum := 0
err := client.DescribeOptedOutNumbersPages(params,
    func(page *pinpointsmsvoicev2.DescribeOptedOutNumbersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeOptedOutNumbersPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPagesWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool, opts ...request.Option) error

DescribeOptedOutNumbersPagesWithContext same as DescribeOptedOutNumbersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest

func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOptedOutNumbersInput) (req *request.Request, output *DescribeOptedOutNumbersOutput)

DescribeOptedOutNumbersRequest generates a "aws/request.Request" representing the client's request for the DescribeOptedOutNumbers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOptedOutNumbers for more information on using the DescribeOptedOutNumbers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOptedOutNumbersRequest method.
req, resp := client.DescribeOptedOutNumbersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers

func (*PinpointSMSVoiceV2) DescribeOptedOutNumbersWithContext

func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, opts ...request.Option) (*DescribeOptedOutNumbersOutput, error)

DescribeOptedOutNumbersWithContext is the same as DescribeOptedOutNumbers with the addition of the ability to pass a context and additional request options.

See DescribeOptedOutNumbers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribePhoneNumbers

DescribePhoneNumbers API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified origination phone number, or all the phone numbers in your account.

If you specify phone number IDs, the output includes information for only the specified phone numbers. If you specify filters, the output includes information for only those phone numbers that meet the filter criteria. If you don't specify phone number IDs or filters, the output includes information for all phone numbers.

If you specify a phone number ID that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribePhoneNumbers for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers

func (*PinpointSMSVoiceV2) DescribePhoneNumbersPages

func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPages(input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool) error

DescribePhoneNumbersPages iterates over the pages of a DescribePhoneNumbers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePhoneNumbers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePhoneNumbers operation.
pageNum := 0
err := client.DescribePhoneNumbersPages(params,
    func(page *pinpointsmsvoicev2.DescribePhoneNumbersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribePhoneNumbersPagesWithContext

func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPagesWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool, opts ...request.Option) error

DescribePhoneNumbersPagesWithContext same as DescribePhoneNumbersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribePhoneNumbersRequest

func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNumbersInput) (req *request.Request, output *DescribePhoneNumbersOutput)

DescribePhoneNumbersRequest generates a "aws/request.Request" representing the client's request for the DescribePhoneNumbers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePhoneNumbers for more information on using the DescribePhoneNumbers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePhoneNumbersRequest method.
req, resp := client.DescribePhoneNumbersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers

func (*PinpointSMSVoiceV2) DescribePhoneNumbersWithContext

func (c *PinpointSMSVoiceV2) DescribePhoneNumbersWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, opts ...request.Option) (*DescribePhoneNumbersOutput, error)

DescribePhoneNumbersWithContext is the same as DescribePhoneNumbers with the addition of the ability to pass a context and additional request options.

See DescribePhoneNumbers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribePools

func (c *PinpointSMSVoiceV2) DescribePools(input *DescribePoolsInput) (*DescribePoolsOutput, error)

DescribePools API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified pools or all pools associated with your Amazon Web Services account.

If you specify pool IDs, the output includes information for only the specified pools. If you specify filters, the output includes information for only those pools that meet the filter criteria. If you don't specify pool IDs or filters, the output includes information for all pools.

If you specify a pool ID that isn't valid, an error is returned.

A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribePools for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools

func (*PinpointSMSVoiceV2) DescribePoolsPages

func (c *PinpointSMSVoiceV2) DescribePoolsPages(input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool) error

DescribePoolsPages iterates over the pages of a DescribePools operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribePools method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribePools operation.
pageNum := 0
err := client.DescribePoolsPages(params,
    func(page *pinpointsmsvoicev2.DescribePoolsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribePoolsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribePoolsPagesWithContext(ctx aws.Context, input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool, opts ...request.Option) error

DescribePoolsPagesWithContext same as DescribePoolsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribePoolsRequest

func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (req *request.Request, output *DescribePoolsOutput)

DescribePoolsRequest generates a "aws/request.Request" representing the client's request for the DescribePools operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePools for more information on using the DescribePools API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePoolsRequest method.
req, resp := client.DescribePoolsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools

func (*PinpointSMSVoiceV2) DescribePoolsWithContext

func (c *PinpointSMSVoiceV2) DescribePoolsWithContext(ctx aws.Context, input *DescribePoolsInput, opts ...request.Option) (*DescribePoolsOutput, error)

DescribePoolsWithContext is the same as DescribePools with the addition of the ability to pass a context and additional request options.

See DescribePools for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeProtectConfigurations

DescribeProtectConfigurations API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the protect configurations that match any of filters. If a filter isn’t provided then all protect configurations are returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeProtectConfigurations for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeProtectConfigurations

func (*PinpointSMSVoiceV2) DescribeProtectConfigurationsPages

func (c *PinpointSMSVoiceV2) DescribeProtectConfigurationsPages(input *DescribeProtectConfigurationsInput, fn func(*DescribeProtectConfigurationsOutput, bool) bool) error

DescribeProtectConfigurationsPages iterates over the pages of a DescribeProtectConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeProtectConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeProtectConfigurations operation.
pageNum := 0
err := client.DescribeProtectConfigurationsPages(params,
    func(page *pinpointsmsvoicev2.DescribeProtectConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeProtectConfigurationsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeProtectConfigurationsPagesWithContext(ctx aws.Context, input *DescribeProtectConfigurationsInput, fn func(*DescribeProtectConfigurationsOutput, bool) bool, opts ...request.Option) error

DescribeProtectConfigurationsPagesWithContext same as DescribeProtectConfigurationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeProtectConfigurationsRequest

func (c *PinpointSMSVoiceV2) DescribeProtectConfigurationsRequest(input *DescribeProtectConfigurationsInput) (req *request.Request, output *DescribeProtectConfigurationsOutput)

DescribeProtectConfigurationsRequest generates a "aws/request.Request" representing the client's request for the DescribeProtectConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeProtectConfigurations for more information on using the DescribeProtectConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeProtectConfigurationsRequest method.
req, resp := client.DescribeProtectConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeProtectConfigurations

func (*PinpointSMSVoiceV2) DescribeProtectConfigurationsWithContext

func (c *PinpointSMSVoiceV2) DescribeProtectConfigurationsWithContext(ctx aws.Context, input *DescribeProtectConfigurationsInput, opts ...request.Option) (*DescribeProtectConfigurationsOutput, error)

DescribeProtectConfigurationsWithContext is the same as DescribeProtectConfigurations with the addition of the ability to pass a context and additional request options.

See DescribeProtectConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationAttachments

DescribeRegistrationAttachments API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration attachments or all registration attachments associated with your Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationAttachments for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationAttachments

func (*PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPages(input *DescribeRegistrationAttachmentsInput, fn func(*DescribeRegistrationAttachmentsOutput, bool) bool) error

DescribeRegistrationAttachmentsPages iterates over the pages of a DescribeRegistrationAttachments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationAttachments method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationAttachments operation.
pageNum := 0
err := client.DescribeRegistrationAttachmentsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPagesWithContext(ctx aws.Context, input *DescribeRegistrationAttachmentsInput, fn func(*DescribeRegistrationAttachmentsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationAttachmentsPagesWithContext same as DescribeRegistrationAttachmentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationAttachmentsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsRequest(input *DescribeRegistrationAttachmentsInput) (req *request.Request, output *DescribeRegistrationAttachmentsOutput)

DescribeRegistrationAttachmentsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationAttachments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationAttachments for more information on using the DescribeRegistrationAttachments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationAttachmentsRequest method.
req, resp := client.DescribeRegistrationAttachmentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationAttachments

func (*PinpointSMSVoiceV2) DescribeRegistrationAttachmentsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsWithContext(ctx aws.Context, input *DescribeRegistrationAttachmentsInput, opts ...request.Option) (*DescribeRegistrationAttachmentsOutput, error)

DescribeRegistrationAttachmentsWithContext is the same as DescribeRegistrationAttachments with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationAttachments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitions

DescribeRegistrationFieldDefinitions API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration type field definitions. You can use DescribeRegistrationFieldDefinitions to view the requirements for creating, filling out, and submitting each registration type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationFieldDefinitions for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPages(input *DescribeRegistrationFieldDefinitionsInput, fn func(*DescribeRegistrationFieldDefinitionsOutput, bool) bool) error

DescribeRegistrationFieldDefinitionsPages iterates over the pages of a DescribeRegistrationFieldDefinitions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationFieldDefinitions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationFieldDefinitions operation.
pageNum := 0
err := client.DescribeRegistrationFieldDefinitionsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationFieldDefinitionsInput, fn func(*DescribeRegistrationFieldDefinitionsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationFieldDefinitionsPagesWithContext same as DescribeRegistrationFieldDefinitionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsRequest(input *DescribeRegistrationFieldDefinitionsInput) (req *request.Request, output *DescribeRegistrationFieldDefinitionsOutput)

DescribeRegistrationFieldDefinitionsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationFieldDefinitions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationFieldDefinitions for more information on using the DescribeRegistrationFieldDefinitions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationFieldDefinitionsRequest method.
req, resp := client.DescribeRegistrationFieldDefinitionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationFieldDefinitionsInput, opts ...request.Option) (*DescribeRegistrationFieldDefinitionsOutput, error)

DescribeRegistrationFieldDefinitionsWithContext is the same as DescribeRegistrationFieldDefinitions with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationFieldDefinitions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldValues

DescribeRegistrationFieldValues API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration field values.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationFieldValues for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldValues

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPages(input *DescribeRegistrationFieldValuesInput, fn func(*DescribeRegistrationFieldValuesOutput, bool) bool) error

DescribeRegistrationFieldValuesPages iterates over the pages of a DescribeRegistrationFieldValues operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationFieldValues method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationFieldValues operation.
pageNum := 0
err := client.DescribeRegistrationFieldValuesPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPagesWithContext(ctx aws.Context, input *DescribeRegistrationFieldValuesInput, fn func(*DescribeRegistrationFieldValuesOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationFieldValuesPagesWithContext same as DescribeRegistrationFieldValuesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldValuesRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesRequest(input *DescribeRegistrationFieldValuesInput) (req *request.Request, output *DescribeRegistrationFieldValuesOutput)

DescribeRegistrationFieldValuesRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationFieldValues operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationFieldValues for more information on using the DescribeRegistrationFieldValues API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationFieldValuesRequest method.
req, resp := client.DescribeRegistrationFieldValuesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldValues

func (*PinpointSMSVoiceV2) DescribeRegistrationFieldValuesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesWithContext(ctx aws.Context, input *DescribeRegistrationFieldValuesInput, opts ...request.Option) (*DescribeRegistrationFieldValuesOutput, error)

DescribeRegistrationFieldValuesWithContext is the same as DescribeRegistrationFieldValues with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationFieldValues for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitions

DescribeRegistrationSectionDefinitions API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration section definitions. You can use DescribeRegistrationSectionDefinitions to view the requirements for creating, filling out, and submitting each registration type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationSectionDefinitions for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationSectionDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPages(input *DescribeRegistrationSectionDefinitionsInput, fn func(*DescribeRegistrationSectionDefinitionsOutput, bool) bool) error

DescribeRegistrationSectionDefinitionsPages iterates over the pages of a DescribeRegistrationSectionDefinitions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationSectionDefinitions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationSectionDefinitions operation.
pageNum := 0
err := client.DescribeRegistrationSectionDefinitionsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationSectionDefinitionsInput, fn func(*DescribeRegistrationSectionDefinitionsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationSectionDefinitionsPagesWithContext same as DescribeRegistrationSectionDefinitionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsRequest(input *DescribeRegistrationSectionDefinitionsInput) (req *request.Request, output *DescribeRegistrationSectionDefinitionsOutput)

DescribeRegistrationSectionDefinitionsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationSectionDefinitions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationSectionDefinitions for more information on using the DescribeRegistrationSectionDefinitions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationSectionDefinitionsRequest method.
req, resp := client.DescribeRegistrationSectionDefinitionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationSectionDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationSectionDefinitionsInput, opts ...request.Option) (*DescribeRegistrationSectionDefinitionsOutput, error)

DescribeRegistrationSectionDefinitionsWithContext is the same as DescribeRegistrationSectionDefinitions with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationSectionDefinitions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitions

DescribeRegistrationTypeDefinitions API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration type definitions. You can use DescribeRegistrationTypeDefinitions to view the requirements for creating, filling out, and submitting each registration type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationTypeDefinitions for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationTypeDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPages(input *DescribeRegistrationTypeDefinitionsInput, fn func(*DescribeRegistrationTypeDefinitionsOutput, bool) bool) error

DescribeRegistrationTypeDefinitionsPages iterates over the pages of a DescribeRegistrationTypeDefinitions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationTypeDefinitions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationTypeDefinitions operation.
pageNum := 0
err := client.DescribeRegistrationTypeDefinitionsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationTypeDefinitionsInput, fn func(*DescribeRegistrationTypeDefinitionsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationTypeDefinitionsPagesWithContext same as DescribeRegistrationTypeDefinitionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsRequest(input *DescribeRegistrationTypeDefinitionsInput) (req *request.Request, output *DescribeRegistrationTypeDefinitionsOutput)

DescribeRegistrationTypeDefinitionsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationTypeDefinitions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationTypeDefinitions for more information on using the DescribeRegistrationTypeDefinitions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationTypeDefinitionsRequest method.
req, resp := client.DescribeRegistrationTypeDefinitionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationTypeDefinitions

func (*PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationTypeDefinitionsInput, opts ...request.Option) (*DescribeRegistrationTypeDefinitionsOutput, error)

DescribeRegistrationTypeDefinitionsWithContext is the same as DescribeRegistrationTypeDefinitions with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationTypeDefinitions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationVersions

DescribeRegistrationVersions API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registration version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrationVersions for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationVersions

func (*PinpointSMSVoiceV2) DescribeRegistrationVersionsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsPages(input *DescribeRegistrationVersionsInput, fn func(*DescribeRegistrationVersionsOutput, bool) bool) error

DescribeRegistrationVersionsPages iterates over the pages of a DescribeRegistrationVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrationVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrationVersions operation.
pageNum := 0
err := client.DescribeRegistrationVersionsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationVersionsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationVersionsInput, fn func(*DescribeRegistrationVersionsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationVersionsPagesWithContext same as DescribeRegistrationVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationVersionsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsRequest(input *DescribeRegistrationVersionsInput) (req *request.Request, output *DescribeRegistrationVersionsOutput)

DescribeRegistrationVersionsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrationVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrationVersions for more information on using the DescribeRegistrationVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationVersionsRequest method.
req, resp := client.DescribeRegistrationVersionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationVersions

func (*PinpointSMSVoiceV2) DescribeRegistrationVersionsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsWithContext(ctx aws.Context, input *DescribeRegistrationVersionsInput, opts ...request.Option) (*DescribeRegistrationVersionsOutput, error)

DescribeRegistrationVersionsWithContext is the same as DescribeRegistrationVersions with the addition of the ability to pass a context and additional request options.

See DescribeRegistrationVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrations

DescribeRegistrations API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified registrations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeRegistrations for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrations

func (*PinpointSMSVoiceV2) DescribeRegistrationsPages

func (c *PinpointSMSVoiceV2) DescribeRegistrationsPages(input *DescribeRegistrationsInput, fn func(*DescribeRegistrationsOutput, bool) bool) error

DescribeRegistrationsPages iterates over the pages of a DescribeRegistrations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistrations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistrations operation.
pageNum := 0
err := client.DescribeRegistrationsPages(params,
    func(page *pinpointsmsvoicev2.DescribeRegistrationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeRegistrationsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationsPagesWithContext(ctx aws.Context, input *DescribeRegistrationsInput, fn func(*DescribeRegistrationsOutput, bool) bool, opts ...request.Option) error

DescribeRegistrationsPagesWithContext same as DescribeRegistrationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeRegistrationsRequest

func (c *PinpointSMSVoiceV2) DescribeRegistrationsRequest(input *DescribeRegistrationsInput) (req *request.Request, output *DescribeRegistrationsOutput)

DescribeRegistrationsRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistrations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistrations for more information on using the DescribeRegistrations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistrationsRequest method.
req, resp := client.DescribeRegistrationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrations

func (*PinpointSMSVoiceV2) DescribeRegistrationsWithContext

func (c *PinpointSMSVoiceV2) DescribeRegistrationsWithContext(ctx aws.Context, input *DescribeRegistrationsInput, opts ...request.Option) (*DescribeRegistrationsOutput, error)

DescribeRegistrationsWithContext is the same as DescribeRegistrations with the addition of the ability to pass a context and additional request options.

See DescribeRegistrations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeSenderIds

DescribeSenderIds API operation for Amazon Pinpoint SMS Voice V2.

Describes the specified SenderIds or all SenderIds associated with your Amazon Web Services account.

If you specify SenderIds, the output includes information for only the specified SenderIds. If you specify filters, the output includes information for only those SenderIds that meet the filter criteria. If you don't specify SenderIds or filters, the output includes information for all SenderIds.

f you specify a sender ID that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeSenderIds for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds

func (*PinpointSMSVoiceV2) DescribeSenderIdsPages

func (c *PinpointSMSVoiceV2) DescribeSenderIdsPages(input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool) error

DescribeSenderIdsPages iterates over the pages of a DescribeSenderIds operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeSenderIds method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeSenderIds operation.
pageNum := 0
err := client.DescribeSenderIdsPages(params,
    func(page *pinpointsmsvoicev2.DescribeSenderIdsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext(ctx aws.Context, input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool, opts ...request.Option) error

DescribeSenderIdsPagesWithContext same as DescribeSenderIdsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeSenderIdsRequest

func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsInput) (req *request.Request, output *DescribeSenderIdsOutput)

DescribeSenderIdsRequest generates a "aws/request.Request" representing the client's request for the DescribeSenderIds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSenderIds for more information on using the DescribeSenderIds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSenderIdsRequest method.
req, resp := client.DescribeSenderIdsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds

func (*PinpointSMSVoiceV2) DescribeSenderIdsWithContext

func (c *PinpointSMSVoiceV2) DescribeSenderIdsWithContext(ctx aws.Context, input *DescribeSenderIdsInput, opts ...request.Option) (*DescribeSenderIdsOutput, error)

DescribeSenderIdsWithContext is the same as DescribeSenderIds with the addition of the ability to pass a context and additional request options.

See DescribeSenderIds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeSpendLimits

DescribeSpendLimits API operation for Amazon Pinpoint SMS Voice V2.

Describes the current Amazon Pinpoint monthly spend limits for sending voice and text messages.

When you establish an Amazon Web Services account, the account has initial monthly spend limit in a given Region. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html) in the Amazon Pinpoint User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeSpendLimits for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits

func (*PinpointSMSVoiceV2) DescribeSpendLimitsPages

func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPages(input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool) error

DescribeSpendLimitsPages iterates over the pages of a DescribeSpendLimits operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeSpendLimits method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeSpendLimits operation.
pageNum := 0
err := client.DescribeSpendLimitsPages(params,
    func(page *pinpointsmsvoicev2.DescribeSpendLimitsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool, opts ...request.Option) error

DescribeSpendLimitsPagesWithContext same as DescribeSpendLimitsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeSpendLimitsRequest

func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimitsInput) (req *request.Request, output *DescribeSpendLimitsOutput)

DescribeSpendLimitsRequest generates a "aws/request.Request" representing the client's request for the DescribeSpendLimits operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSpendLimits for more information on using the DescribeSpendLimits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSpendLimitsRequest method.
req, resp := client.DescribeSpendLimitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits

func (*PinpointSMSVoiceV2) DescribeSpendLimitsWithContext

func (c *PinpointSMSVoiceV2) DescribeSpendLimitsWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, opts ...request.Option) (*DescribeSpendLimitsOutput, error)

DescribeSpendLimitsWithContext is the same as DescribeSpendLimits with the addition of the ability to pass a context and additional request options.

See DescribeSpendLimits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbers

DescribeVerifiedDestinationNumbers API operation for Amazon Pinpoint SMS Voice V2.

Retrieves the specified verified destiona numbers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeVerifiedDestinationNumbers for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeVerifiedDestinationNumbers

func (*PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPages

func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPages(input *DescribeVerifiedDestinationNumbersInput, fn func(*DescribeVerifiedDestinationNumbersOutput, bool) bool) error

DescribeVerifiedDestinationNumbersPages iterates over the pages of a DescribeVerifiedDestinationNumbers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeVerifiedDestinationNumbers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeVerifiedDestinationNumbers operation.
pageNum := 0
err := client.DescribeVerifiedDestinationNumbersPages(params,
    func(page *pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPagesWithContext

func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPagesWithContext(ctx aws.Context, input *DescribeVerifiedDestinationNumbersInput, fn func(*DescribeVerifiedDestinationNumbersOutput, bool) bool, opts ...request.Option) error

DescribeVerifiedDestinationNumbersPagesWithContext same as DescribeVerifiedDestinationNumbersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersRequest

func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersRequest(input *DescribeVerifiedDestinationNumbersInput) (req *request.Request, output *DescribeVerifiedDestinationNumbersOutput)

DescribeVerifiedDestinationNumbersRequest generates a "aws/request.Request" representing the client's request for the DescribeVerifiedDestinationNumbers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeVerifiedDestinationNumbers for more information on using the DescribeVerifiedDestinationNumbers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeVerifiedDestinationNumbersRequest method.
req, resp := client.DescribeVerifiedDestinationNumbersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeVerifiedDestinationNumbers

func (*PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersWithContext

func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersWithContext(ctx aws.Context, input *DescribeVerifiedDestinationNumbersInput, opts ...request.Option) (*DescribeVerifiedDestinationNumbersOutput, error)

DescribeVerifiedDestinationNumbersWithContext is the same as DescribeVerifiedDestinationNumbers with the addition of the ability to pass a context and additional request options.

See DescribeVerifiedDestinationNumbers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DisassociateOriginationIdentity

DisassociateOriginationIdentity API operation for Amazon Pinpoint SMS Voice V2.

Removes the specified origination identity from an existing pool.

If the origination identity isn't associated with the specified pool, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DisassociateOriginationIdentity for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity

func (*PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest

func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *DisassociateOriginationIdentityInput) (req *request.Request, output *DisassociateOriginationIdentityOutput)

DisassociateOriginationIdentityRequest generates a "aws/request.Request" representing the client's request for the DisassociateOriginationIdentity operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateOriginationIdentity for more information on using the DisassociateOriginationIdentity API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateOriginationIdentityRequest method.
req, resp := client.DisassociateOriginationIdentityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity

func (*PinpointSMSVoiceV2) DisassociateOriginationIdentityWithContext

func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityWithContext(ctx aws.Context, input *DisassociateOriginationIdentityInput, opts ...request.Option) (*DisassociateOriginationIdentityOutput, error)

DisassociateOriginationIdentityWithContext is the same as DisassociateOriginationIdentity with the addition of the ability to pass a context and additional request options.

See DisassociateOriginationIdentity for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DisassociateProtectConfiguration

DisassociateProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Disassociate a protect configuration from a configuration set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DisassociateProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateProtectConfiguration

func (*PinpointSMSVoiceV2) DisassociateProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) DisassociateProtectConfigurationRequest(input *DisassociateProtectConfigurationInput) (req *request.Request, output *DisassociateProtectConfigurationOutput)

DisassociateProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the DisassociateProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateProtectConfiguration for more information on using the DisassociateProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateProtectConfigurationRequest method.
req, resp := client.DisassociateProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateProtectConfiguration

func (*PinpointSMSVoiceV2) DisassociateProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) DisassociateProtectConfigurationWithContext(ctx aws.Context, input *DisassociateProtectConfigurationInput, opts ...request.Option) (*DisassociateProtectConfigurationOutput, error)

DisassociateProtectConfigurationWithContext is the same as DisassociateProtectConfiguration with the addition of the ability to pass a context and additional request options.

See DisassociateProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) DiscardRegistrationVersion

DiscardRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.

Discard the current version of the registration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DiscardRegistrationVersion for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DiscardRegistrationVersion

func (*PinpointSMSVoiceV2) DiscardRegistrationVersionRequest

func (c *PinpointSMSVoiceV2) DiscardRegistrationVersionRequest(input *DiscardRegistrationVersionInput) (req *request.Request, output *DiscardRegistrationVersionOutput)

DiscardRegistrationVersionRequest generates a "aws/request.Request" representing the client's request for the DiscardRegistrationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DiscardRegistrationVersion for more information on using the DiscardRegistrationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DiscardRegistrationVersionRequest method.
req, resp := client.DiscardRegistrationVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DiscardRegistrationVersion

func (*PinpointSMSVoiceV2) DiscardRegistrationVersionWithContext

func (c *PinpointSMSVoiceV2) DiscardRegistrationVersionWithContext(ctx aws.Context, input *DiscardRegistrationVersionInput, opts ...request.Option) (*DiscardRegistrationVersionOutput, error)

DiscardRegistrationVersionWithContext is the same as DiscardRegistrationVersion with the addition of the ability to pass a context and additional request options.

See DiscardRegistrationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSet

GetProtectConfigurationCountryRuleSet API operation for Amazon Pinpoint SMS Voice V2.

Retrieve the CountryRuleSet for the specified NumberCapability from a protect configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation GetProtectConfigurationCountryRuleSet for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetProtectConfigurationCountryRuleSet

func (*PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSetRequest

func (c *PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSetRequest(input *GetProtectConfigurationCountryRuleSetInput) (req *request.Request, output *GetProtectConfigurationCountryRuleSetOutput)

GetProtectConfigurationCountryRuleSetRequest generates a "aws/request.Request" representing the client's request for the GetProtectConfigurationCountryRuleSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetProtectConfigurationCountryRuleSet for more information on using the GetProtectConfigurationCountryRuleSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetProtectConfigurationCountryRuleSetRequest method.
req, resp := client.GetProtectConfigurationCountryRuleSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetProtectConfigurationCountryRuleSet

func (*PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSetWithContext

func (c *PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSetWithContext(ctx aws.Context, input *GetProtectConfigurationCountryRuleSetInput, opts ...request.Option) (*GetProtectConfigurationCountryRuleSetOutput, error)

GetProtectConfigurationCountryRuleSetWithContext is the same as GetProtectConfigurationCountryRuleSet with the addition of the ability to pass a context and additional request options.

See GetProtectConfigurationCountryRuleSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ListPoolOriginationIdentities

ListPoolOriginationIdentities API operation for Amazon Pinpoint SMS Voice V2.

Lists all associated origination identities in your pool.

If you specify filters, the output includes information for only those origination identities that meet the filter criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation ListPoolOriginationIdentities for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities

func (*PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPages

func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPages(input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool) error

ListPoolOriginationIdentitiesPages iterates over the pages of a ListPoolOriginationIdentities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPoolOriginationIdentities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPoolOriginationIdentities operation.
pageNum := 0
err := client.ListPoolOriginationIdentitiesPages(params,
    func(page *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext

func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool, opts ...request.Option) error

ListPoolOriginationIdentitiesPagesWithContext same as ListPoolOriginationIdentitiesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest

func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoolOriginationIdentitiesInput) (req *request.Request, output *ListPoolOriginationIdentitiesOutput)

ListPoolOriginationIdentitiesRequest generates a "aws/request.Request" representing the client's request for the ListPoolOriginationIdentities operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPoolOriginationIdentities for more information on using the ListPoolOriginationIdentities API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPoolOriginationIdentitiesRequest method.
req, resp := client.ListPoolOriginationIdentitiesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities

func (*PinpointSMSVoiceV2) ListPoolOriginationIdentitiesWithContext

func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, opts ...request.Option) (*ListPoolOriginationIdentitiesOutput, error)

ListPoolOriginationIdentitiesWithContext is the same as ListPoolOriginationIdentities with the addition of the ability to pass a context and additional request options.

See ListPoolOriginationIdentities for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ListRegistrationAssociations

ListRegistrationAssociations API operation for Amazon Pinpoint SMS Voice V2.

Retreive all of the origination identies that are associated with a registration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation ListRegistrationAssociations for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListRegistrationAssociations

func (*PinpointSMSVoiceV2) ListRegistrationAssociationsPages

func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsPages(input *ListRegistrationAssociationsInput, fn func(*ListRegistrationAssociationsOutput, bool) bool) error

ListRegistrationAssociationsPages iterates over the pages of a ListRegistrationAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRegistrationAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRegistrationAssociations operation.
pageNum := 0
err := client.ListRegistrationAssociationsPages(params,
    func(page *pinpointsmsvoicev2.ListRegistrationAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*PinpointSMSVoiceV2) ListRegistrationAssociationsPagesWithContext

func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsPagesWithContext(ctx aws.Context, input *ListRegistrationAssociationsInput, fn func(*ListRegistrationAssociationsOutput, bool) bool, opts ...request.Option) error

ListRegistrationAssociationsPagesWithContext same as ListRegistrationAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ListRegistrationAssociationsRequest

func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsRequest(input *ListRegistrationAssociationsInput) (req *request.Request, output *ListRegistrationAssociationsOutput)

ListRegistrationAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListRegistrationAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRegistrationAssociations for more information on using the ListRegistrationAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRegistrationAssociationsRequest method.
req, resp := client.ListRegistrationAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListRegistrationAssociations

func (*PinpointSMSVoiceV2) ListRegistrationAssociationsWithContext

func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsWithContext(ctx aws.Context, input *ListRegistrationAssociationsInput, opts ...request.Option) (*ListRegistrationAssociationsOutput, error)

ListRegistrationAssociationsWithContext is the same as ListRegistrationAssociations with the addition of the ability to pass a context and additional request options.

See ListRegistrationAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ListTagsForResource

ListTagsForResource API operation for Amazon Pinpoint SMS Voice V2.

List all tags associated with a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource

func (*PinpointSMSVoiceV2) ListTagsForResourceRequest

func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource

func (*PinpointSMSVoiceV2) ListTagsForResourceWithContext

func (c *PinpointSMSVoiceV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) PutKeyword

func (c *PinpointSMSVoiceV2) PutKeyword(input *PutKeywordInput) (*PutKeywordOutput, error)

PutKeyword API operation for Amazon Pinpoint SMS Voice V2.

Creates or updates a keyword configuration on an origination phone number or pool.

A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.

If you specify a keyword that isn't valid, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation PutKeyword for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword

func (*PinpointSMSVoiceV2) PutKeywordRequest

func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *request.Request, output *PutKeywordOutput)

PutKeywordRequest generates a "aws/request.Request" representing the client's request for the PutKeyword operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutKeyword for more information on using the PutKeyword API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutKeywordRequest method.
req, resp := client.PutKeywordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword

func (*PinpointSMSVoiceV2) PutKeywordWithContext

func (c *PinpointSMSVoiceV2) PutKeywordWithContext(ctx aws.Context, input *PutKeywordInput, opts ...request.Option) (*PutKeywordOutput, error)

PutKeywordWithContext is the same as PutKeyword with the addition of the ability to pass a context and additional request options.

See PutKeyword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) PutOptedOutNumber

PutOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.

Creates an opted out destination phone number in the opt-out list.

If the destination phone number isn't valid or if the specified opt-out list doesn't exist, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation PutOptedOutNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber

func (*PinpointSMSVoiceV2) PutOptedOutNumberRequest

func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberInput) (req *request.Request, output *PutOptedOutNumberOutput)

PutOptedOutNumberRequest generates a "aws/request.Request" representing the client's request for the PutOptedOutNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutOptedOutNumber for more information on using the PutOptedOutNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutOptedOutNumberRequest method.
req, resp := client.PutOptedOutNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber

func (*PinpointSMSVoiceV2) PutOptedOutNumberWithContext

func (c *PinpointSMSVoiceV2) PutOptedOutNumberWithContext(ctx aws.Context, input *PutOptedOutNumberInput, opts ...request.Option) (*PutOptedOutNumberOutput, error)

PutOptedOutNumberWithContext is the same as PutOptedOutNumber with the addition of the ability to pass a context and additional request options.

See PutOptedOutNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) PutRegistrationFieldValue

PutRegistrationFieldValue API operation for Amazon Pinpoint SMS Voice V2.

Creates or updates a field value for a registration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation PutRegistrationFieldValue for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutRegistrationFieldValue

func (*PinpointSMSVoiceV2) PutRegistrationFieldValueRequest

func (c *PinpointSMSVoiceV2) PutRegistrationFieldValueRequest(input *PutRegistrationFieldValueInput) (req *request.Request, output *PutRegistrationFieldValueOutput)

PutRegistrationFieldValueRequest generates a "aws/request.Request" representing the client's request for the PutRegistrationFieldValue operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRegistrationFieldValue for more information on using the PutRegistrationFieldValue API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRegistrationFieldValueRequest method.
req, resp := client.PutRegistrationFieldValueRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutRegistrationFieldValue

func (*PinpointSMSVoiceV2) PutRegistrationFieldValueWithContext

func (c *PinpointSMSVoiceV2) PutRegistrationFieldValueWithContext(ctx aws.Context, input *PutRegistrationFieldValueInput, opts ...request.Option) (*PutRegistrationFieldValueOutput, error)

PutRegistrationFieldValueWithContext is the same as PutRegistrationFieldValue with the addition of the ability to pass a context and additional request options.

See PutRegistrationFieldValue for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ReleasePhoneNumber

ReleasePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.

Releases an existing origination phone number in your account. Once released, a phone number is no longer available for sending messages.

If the origination phone number has deletion protection enabled or is associated with a pool, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation ReleasePhoneNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber

func (*PinpointSMSVoiceV2) ReleasePhoneNumberRequest

func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req *request.Request, output *ReleasePhoneNumberOutput)

ReleasePhoneNumberRequest generates a "aws/request.Request" representing the client's request for the ReleasePhoneNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReleasePhoneNumber for more information on using the ReleasePhoneNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReleasePhoneNumberRequest method.
req, resp := client.ReleasePhoneNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber

func (*PinpointSMSVoiceV2) ReleasePhoneNumberWithContext

func (c *PinpointSMSVoiceV2) ReleasePhoneNumberWithContext(ctx aws.Context, input *ReleasePhoneNumberInput, opts ...request.Option) (*ReleasePhoneNumberOutput, error)

ReleasePhoneNumberWithContext is the same as ReleasePhoneNumber with the addition of the ability to pass a context and additional request options.

See ReleasePhoneNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) ReleaseSenderId

func (c *PinpointSMSVoiceV2) ReleaseSenderId(input *ReleaseSenderIdInput) (*ReleaseSenderIdOutput, error)

ReleaseSenderId API operation for Amazon Pinpoint SMS Voice V2.

Releases an existing sender ID in your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation ReleaseSenderId for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleaseSenderId

func (*PinpointSMSVoiceV2) ReleaseSenderIdRequest

func (c *PinpointSMSVoiceV2) ReleaseSenderIdRequest(input *ReleaseSenderIdInput) (req *request.Request, output *ReleaseSenderIdOutput)

ReleaseSenderIdRequest generates a "aws/request.Request" representing the client's request for the ReleaseSenderId operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ReleaseSenderId for more information on using the ReleaseSenderId API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ReleaseSenderIdRequest method.
req, resp := client.ReleaseSenderIdRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleaseSenderId

func (*PinpointSMSVoiceV2) ReleaseSenderIdWithContext

func (c *PinpointSMSVoiceV2) ReleaseSenderIdWithContext(ctx aws.Context, input *ReleaseSenderIdInput, opts ...request.Option) (*ReleaseSenderIdOutput, error)

ReleaseSenderIdWithContext is the same as ReleaseSenderId with the addition of the ability to pass a context and additional request options.

See ReleaseSenderId for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) RequestPhoneNumber

RequestPhoneNumber API operation for Amazon Pinpoint SMS Voice V2.

Request an origination phone number for use in your account. For more information on phone number request see Requesting a number (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-request-number.html) in the Amazon Pinpoint User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation RequestPhoneNumber for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber

func (*PinpointSMSVoiceV2) RequestPhoneNumberRequest

func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumberInput) (req *request.Request, output *RequestPhoneNumberOutput)

RequestPhoneNumberRequest generates a "aws/request.Request" representing the client's request for the RequestPhoneNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RequestPhoneNumber for more information on using the RequestPhoneNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RequestPhoneNumberRequest method.
req, resp := client.RequestPhoneNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber

func (*PinpointSMSVoiceV2) RequestPhoneNumberWithContext

func (c *PinpointSMSVoiceV2) RequestPhoneNumberWithContext(ctx aws.Context, input *RequestPhoneNumberInput, opts ...request.Option) (*RequestPhoneNumberOutput, error)

RequestPhoneNumberWithContext is the same as RequestPhoneNumber with the addition of the ability to pass a context and additional request options.

See RequestPhoneNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) RequestSenderId

func (c *PinpointSMSVoiceV2) RequestSenderId(input *RequestSenderIdInput) (*RequestSenderIdOutput, error)

RequestSenderId API operation for Amazon Pinpoint SMS Voice V2.

Request a new sender ID that doesn't require registration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation RequestSenderId for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestSenderId

func (*PinpointSMSVoiceV2) RequestSenderIdRequest

func (c *PinpointSMSVoiceV2) RequestSenderIdRequest(input *RequestSenderIdInput) (req *request.Request, output *RequestSenderIdOutput)

RequestSenderIdRequest generates a "aws/request.Request" representing the client's request for the RequestSenderId operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RequestSenderId for more information on using the RequestSenderId API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RequestSenderIdRequest method.
req, resp := client.RequestSenderIdRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestSenderId

func (*PinpointSMSVoiceV2) RequestSenderIdWithContext

func (c *PinpointSMSVoiceV2) RequestSenderIdWithContext(ctx aws.Context, input *RequestSenderIdInput, opts ...request.Option) (*RequestSenderIdOutput, error)

RequestSenderIdWithContext is the same as RequestSenderId with the addition of the ability to pass a context and additional request options.

See RequestSenderId for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SendDestinationNumberVerificationCode

SendDestinationNumberVerificationCode API operation for Amazon Pinpoint SMS Voice V2.

Before you can send test messages to a verified destination phone number you need to opt-in the verified destination phone number. Creates a new text message with a verification code and send it to a verified destination phone number. Once you have the verification code use VerifyDestinationNumber to opt-in the verified destination phone number to receive messages.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SendDestinationNumberVerificationCode for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendDestinationNumberVerificationCode

func (*PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeRequest

func (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeRequest(input *SendDestinationNumberVerificationCodeInput) (req *request.Request, output *SendDestinationNumberVerificationCodeOutput)

SendDestinationNumberVerificationCodeRequest generates a "aws/request.Request" representing the client's request for the SendDestinationNumberVerificationCode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendDestinationNumberVerificationCode for more information on using the SendDestinationNumberVerificationCode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendDestinationNumberVerificationCodeRequest method.
req, resp := client.SendDestinationNumberVerificationCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendDestinationNumberVerificationCode

func (*PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeWithContext

func (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeWithContext(ctx aws.Context, input *SendDestinationNumberVerificationCodeInput, opts ...request.Option) (*SendDestinationNumberVerificationCodeOutput, error)

SendDestinationNumberVerificationCodeWithContext is the same as SendDestinationNumberVerificationCode with the addition of the ability to pass a context and additional request options.

See SendDestinationNumberVerificationCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SendMediaMessage

func (c *PinpointSMSVoiceV2) SendMediaMessage(input *SendMediaMessageInput) (*SendMediaMessageOutput, error)

SendMediaMessage API operation for Amazon Pinpoint SMS Voice V2.

Creates a new multimedia message (MMS) and sends it to a recipient's phone number.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SendMediaMessage for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendMediaMessage

func (*PinpointSMSVoiceV2) SendMediaMessageRequest

func (c *PinpointSMSVoiceV2) SendMediaMessageRequest(input *SendMediaMessageInput) (req *request.Request, output *SendMediaMessageOutput)

SendMediaMessageRequest generates a "aws/request.Request" representing the client's request for the SendMediaMessage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendMediaMessage for more information on using the SendMediaMessage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendMediaMessageRequest method.
req, resp := client.SendMediaMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendMediaMessage

func (*PinpointSMSVoiceV2) SendMediaMessageWithContext

func (c *PinpointSMSVoiceV2) SendMediaMessageWithContext(ctx aws.Context, input *SendMediaMessageInput, opts ...request.Option) (*SendMediaMessageOutput, error)

SendMediaMessageWithContext is the same as SendMediaMessage with the addition of the ability to pass a context and additional request options.

See SendMediaMessage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SendTextMessage

func (c *PinpointSMSVoiceV2) SendTextMessage(input *SendTextMessageInput) (*SendTextMessageOutput, error)

SendTextMessage API operation for Amazon Pinpoint SMS Voice V2.

Creates a new text message and sends it to a recipient's phone number.

SMS throughput limits are measured in Message Parts per Second (MPS). Your MPS limit depends on the destination country of your messages, as well as the type of phone number (origination number) that you use to send the message. For more information, see Message Parts per Second (MPS) limits (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-limitations-mps.html) in the Amazon Pinpoint User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SendTextMessage for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage

func (*PinpointSMSVoiceV2) SendTextMessageRequest

func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput) (req *request.Request, output *SendTextMessageOutput)

SendTextMessageRequest generates a "aws/request.Request" representing the client's request for the SendTextMessage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendTextMessage for more information on using the SendTextMessage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendTextMessageRequest method.
req, resp := client.SendTextMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage

func (*PinpointSMSVoiceV2) SendTextMessageWithContext

func (c *PinpointSMSVoiceV2) SendTextMessageWithContext(ctx aws.Context, input *SendTextMessageInput, opts ...request.Option) (*SendTextMessageOutput, error)

SendTextMessageWithContext is the same as SendTextMessage with the addition of the ability to pass a context and additional request options.

See SendTextMessage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SendVoiceMessage

func (c *PinpointSMSVoiceV2) SendVoiceMessage(input *SendVoiceMessageInput) (*SendVoiceMessageOutput, error)

SendVoiceMessage API operation for Amazon Pinpoint SMS Voice V2.

Allows you to send a request that sends a voice message through Amazon Pinpoint. This operation uses Amazon Polly (http://aws.amazon.com/polly/) to convert a text script into a voice message.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SendVoiceMessage for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage

func (*PinpointSMSVoiceV2) SendVoiceMessageRequest

func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInput) (req *request.Request, output *SendVoiceMessageOutput)

SendVoiceMessageRequest generates a "aws/request.Request" representing the client's request for the SendVoiceMessage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendVoiceMessage for more information on using the SendVoiceMessage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendVoiceMessageRequest method.
req, resp := client.SendVoiceMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage

func (*PinpointSMSVoiceV2) SendVoiceMessageWithContext

func (c *PinpointSMSVoiceV2) SendVoiceMessageWithContext(ctx aws.Context, input *SendVoiceMessageInput, opts ...request.Option) (*SendVoiceMessageOutput, error)

SendVoiceMessageWithContext is the same as SendVoiceMessage with the addition of the ability to pass a context and additional request options.

See SendVoiceMessage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetAccountDefaultProtectConfiguration

SetAccountDefaultProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Set a protect configuration as your account default. You can only have one account default protect configuration at a time. The current account default protect configuration is replaced with the provided protect configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetAccountDefaultProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetAccountDefaultProtectConfiguration

func (*PinpointSMSVoiceV2) SetAccountDefaultProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) SetAccountDefaultProtectConfigurationRequest(input *SetAccountDefaultProtectConfigurationInput) (req *request.Request, output *SetAccountDefaultProtectConfigurationOutput)

SetAccountDefaultProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the SetAccountDefaultProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetAccountDefaultProtectConfiguration for more information on using the SetAccountDefaultProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetAccountDefaultProtectConfigurationRequest method.
req, resp := client.SetAccountDefaultProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetAccountDefaultProtectConfiguration

func (*PinpointSMSVoiceV2) SetAccountDefaultProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) SetAccountDefaultProtectConfigurationWithContext(ctx aws.Context, input *SetAccountDefaultProtectConfigurationInput, opts ...request.Option) (*SetAccountDefaultProtectConfigurationOutput, error)

SetAccountDefaultProtectConfigurationWithContext is the same as SetAccountDefaultProtectConfiguration with the addition of the ability to pass a context and additional request options.

See SetAccountDefaultProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetDefaultMessageType

SetDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.

Sets the default message type on a configuration set.

Choose the category of SMS messages that you plan to send from this account. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetDefaultMessageType for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType

func (*PinpointSMSVoiceV2) SetDefaultMessageTypeRequest

func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessageTypeInput) (req *request.Request, output *SetDefaultMessageTypeOutput)

SetDefaultMessageTypeRequest generates a "aws/request.Request" representing the client's request for the SetDefaultMessageType operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetDefaultMessageType for more information on using the SetDefaultMessageType API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetDefaultMessageTypeRequest method.
req, resp := client.SetDefaultMessageTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType

func (*PinpointSMSVoiceV2) SetDefaultMessageTypeWithContext

func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeWithContext(ctx aws.Context, input *SetDefaultMessageTypeInput, opts ...request.Option) (*SetDefaultMessageTypeOutput, error)

SetDefaultMessageTypeWithContext is the same as SetDefaultMessageType with the addition of the ability to pass a context and additional request options.

See SetDefaultMessageType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetDefaultSenderId

SetDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.

Sets default sender ID on a configuration set.

When sending a text message to a destination country that supports sender IDs, the default sender ID on the configuration set specified will be used if no dedicated origination phone numbers or registered sender IDs are available in your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetDefaultSenderId for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId

func (*PinpointSMSVoiceV2) SetDefaultSenderIdRequest

func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderIdInput) (req *request.Request, output *SetDefaultSenderIdOutput)

SetDefaultSenderIdRequest generates a "aws/request.Request" representing the client's request for the SetDefaultSenderId operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetDefaultSenderId for more information on using the SetDefaultSenderId API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetDefaultSenderIdRequest method.
req, resp := client.SetDefaultSenderIdRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId

func (*PinpointSMSVoiceV2) SetDefaultSenderIdWithContext

func (c *PinpointSMSVoiceV2) SetDefaultSenderIdWithContext(ctx aws.Context, input *SetDefaultSenderIdInput, opts ...request.Option) (*SetDefaultSenderIdOutput, error)

SetDefaultSenderIdWithContext is the same as SetDefaultSenderId with the addition of the ability to pass a context and additional request options.

See SetDefaultSenderId for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverride

SetMediaMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Sets an account level monthly spend limit override for sending MMS messages. The requested spend limit must be less than or equal to the MaxLimit, which is set by Amazon Web Services.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetMediaMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetMediaMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverrideRequest(input *SetMediaMessageSpendLimitOverrideInput) (req *request.Request, output *SetMediaMessageSpendLimitOverrideOutput)

SetMediaMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the SetMediaMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetMediaMessageSpendLimitOverride for more information on using the SetMediaMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetMediaMessageSpendLimitOverrideRequest method.
req, resp := client.SetMediaMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetMediaMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetMediaMessageSpendLimitOverrideInput, opts ...request.Option) (*SetMediaMessageSpendLimitOverrideOutput, error)

SetMediaMessageSpendLimitOverrideWithContext is the same as SetMediaMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See SetMediaMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetTextMessageSpendLimitOverride

SetTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Sets an account level monthly spend limit override for sending text messages. The requested spend limit must be less than or equal to the MaxLimit, which is set by Amazon Web Services.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetTextMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetTextMessageSpendLimitOverrideInput) (req *request.Request, output *SetTextMessageSpendLimitOverrideOutput)

SetTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the SetTextMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetTextMessageSpendLimitOverride for more information on using the SetTextMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetTextMessageSpendLimitOverrideRequest method.
req, resp := client.SetTextMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetTextMessageSpendLimitOverrideInput, opts ...request.Option) (*SetTextMessageSpendLimitOverrideOutput, error)

SetTextMessageSpendLimitOverrideWithContext is the same as SetTextMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See SetTextMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverride

SetVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.

Sets an account level monthly spend limit override for sending voice messages. The requested spend limit must be less than or equal to the MaxLimit, which is set by Amazon Web Services.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SetVoiceMessageSpendLimitOverride for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest

func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *SetVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *SetVoiceMessageSpendLimitOverrideOutput)

SetVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the client's request for the SetVoiceMessageSpendLimitOverride operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetVoiceMessageSpendLimitOverride for more information on using the SetVoiceMessageSpendLimitOverride API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetVoiceMessageSpendLimitOverrideRequest method.
req, resp := client.SetVoiceMessageSpendLimitOverrideRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride

func (*PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideWithContext

func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*SetVoiceMessageSpendLimitOverrideOutput, error)

SetVoiceMessageSpendLimitOverrideWithContext is the same as SetVoiceMessageSpendLimitOverride with the addition of the ability to pass a context and additional request options.

See SetVoiceMessageSpendLimitOverride for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) SubmitRegistrationVersion

SubmitRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.

Submit the specified registration for review and approval.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation SubmitRegistrationVersion for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SubmitRegistrationVersion

func (*PinpointSMSVoiceV2) SubmitRegistrationVersionRequest

func (c *PinpointSMSVoiceV2) SubmitRegistrationVersionRequest(input *SubmitRegistrationVersionInput) (req *request.Request, output *SubmitRegistrationVersionOutput)

SubmitRegistrationVersionRequest generates a "aws/request.Request" representing the client's request for the SubmitRegistrationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SubmitRegistrationVersion for more information on using the SubmitRegistrationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SubmitRegistrationVersionRequest method.
req, resp := client.SubmitRegistrationVersionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SubmitRegistrationVersion

func (*PinpointSMSVoiceV2) SubmitRegistrationVersionWithContext

func (c *PinpointSMSVoiceV2) SubmitRegistrationVersionWithContext(ctx aws.Context, input *SubmitRegistrationVersionInput, opts ...request.Option) (*SubmitRegistrationVersionOutput, error)

SubmitRegistrationVersionWithContext is the same as SubmitRegistrationVersion with the addition of the ability to pass a context and additional request options.

See SubmitRegistrationVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) TagResource

func (c *PinpointSMSVoiceV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Pinpoint SMS Voice V2.

Adds or overwrites only the specified tags for the specified Amazon Pinpoint SMS Voice, version 2 resource. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see Tagging Amazon Pinpoint resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html) in the Amazon Pinpoint Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation TagResource for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource

func (*PinpointSMSVoiceV2) TagResourceRequest

func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource

func (*PinpointSMSVoiceV2) TagResourceWithContext

func (c *PinpointSMSVoiceV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UntagResource

func (c *PinpointSMSVoiceV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Pinpoint SMS Voice V2.

Removes the association of the specified tags from an Amazon Pinpoint SMS Voice V2 resource. For more information on tags see Tagging Amazon Pinpoint resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html) in the Amazon Pinpoint Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UntagResource for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource

func (*PinpointSMSVoiceV2) UntagResourceRequest

func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource

func (*PinpointSMSVoiceV2) UntagResourceWithContext

func (c *PinpointSMSVoiceV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdateEventDestination

UpdateEventDestination API operation for Amazon Pinpoint SMS Voice V2.

Updates an existing event destination in a configuration set. You can update the IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can also enable or disable the event destination.

You may want to update an event destination to change its matching event types or updating the destination resource ARN. You can't change an event destination's type between CloudWatch Logs, Kinesis Data Firehose, and Amazon SNS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdateEventDestination for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination

func (*PinpointSMSVoiceV2) UpdateEventDestinationRequest

func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDestinationInput) (req *request.Request, output *UpdateEventDestinationOutput)

UpdateEventDestinationRequest generates a "aws/request.Request" representing the client's request for the UpdateEventDestination operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateEventDestination for more information on using the UpdateEventDestination API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateEventDestinationRequest method.
req, resp := client.UpdateEventDestinationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination

func (*PinpointSMSVoiceV2) UpdateEventDestinationWithContext

func (c *PinpointSMSVoiceV2) UpdateEventDestinationWithContext(ctx aws.Context, input *UpdateEventDestinationInput, opts ...request.Option) (*UpdateEventDestinationOutput, error)

UpdateEventDestinationWithContext is the same as UpdateEventDestination with the addition of the ability to pass a context and additional request options.

See UpdateEventDestination for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdatePhoneNumber

UpdatePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.

Updates the configuration of an existing origination phone number. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or disable deletion protection.

If the origination phone number is associated with a pool, an error is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdatePhoneNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber

func (*PinpointSMSVoiceV2) UpdatePhoneNumberRequest

func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput)

UpdatePhoneNumberRequest generates a "aws/request.Request" representing the client's request for the UpdatePhoneNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePhoneNumber for more information on using the UpdatePhoneNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePhoneNumberRequest method.
req, resp := client.UpdatePhoneNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber

func (*PinpointSMSVoiceV2) UpdatePhoneNumberWithContext

func (c *PinpointSMSVoiceV2) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePhoneNumberInput, opts ...request.Option) (*UpdatePhoneNumberOutput, error)

UpdatePhoneNumberWithContext is the same as UpdatePhoneNumber with the addition of the ability to pass a context and additional request options.

See UpdatePhoneNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdatePool

func (c *PinpointSMSVoiceV2) UpdatePool(input *UpdatePoolInput) (*UpdatePoolOutput, error)

UpdatePool API operation for Amazon Pinpoint SMS Voice V2.

Updates the configuration of an existing pool. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn, enable or disable self-managed opt-outs, enable or disable deletion protection, and enable or disable shared routes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdatePool for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool

func (*PinpointSMSVoiceV2) UpdatePoolRequest

func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *request.Request, output *UpdatePoolOutput)

UpdatePoolRequest generates a "aws/request.Request" representing the client's request for the UpdatePool operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePool for more information on using the UpdatePool API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePoolRequest method.
req, resp := client.UpdatePoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool

func (*PinpointSMSVoiceV2) UpdatePoolWithContext

func (c *PinpointSMSVoiceV2) UpdatePoolWithContext(ctx aws.Context, input *UpdatePoolInput, opts ...request.Option) (*UpdatePoolOutput, error)

UpdatePoolWithContext is the same as UpdatePool with the addition of the ability to pass a context and additional request options.

See UpdatePool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdateProtectConfiguration

UpdateProtectConfiguration API operation for Amazon Pinpoint SMS Voice V2.

Update the setting for an existing protect configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdateProtectConfiguration for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateProtectConfiguration

func (*PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSet

UpdateProtectConfigurationCountryRuleSet API operation for Amazon Pinpoint SMS Voice V2.

Update a country rule set to ALLOW or BLOCK messages to be sent to the specified destination counties. You can update one or multiple countries at a time. The updates are only applied to the specified NumberCapability type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdateProtectConfigurationCountryRuleSet for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateProtectConfigurationCountryRuleSet

func (*PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSetRequest

func (c *PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSetRequest(input *UpdateProtectConfigurationCountryRuleSetInput) (req *request.Request, output *UpdateProtectConfigurationCountryRuleSetOutput)

UpdateProtectConfigurationCountryRuleSetRequest generates a "aws/request.Request" representing the client's request for the UpdateProtectConfigurationCountryRuleSet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateProtectConfigurationCountryRuleSet for more information on using the UpdateProtectConfigurationCountryRuleSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateProtectConfigurationCountryRuleSetRequest method.
req, resp := client.UpdateProtectConfigurationCountryRuleSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateProtectConfigurationCountryRuleSet

func (*PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSetWithContext

func (c *PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSetWithContext(ctx aws.Context, input *UpdateProtectConfigurationCountryRuleSetInput, opts ...request.Option) (*UpdateProtectConfigurationCountryRuleSetOutput, error)

UpdateProtectConfigurationCountryRuleSetWithContext is the same as UpdateProtectConfigurationCountryRuleSet with the addition of the ability to pass a context and additional request options.

See UpdateProtectConfigurationCountryRuleSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdateProtectConfigurationRequest

func (c *PinpointSMSVoiceV2) UpdateProtectConfigurationRequest(input *UpdateProtectConfigurationInput) (req *request.Request, output *UpdateProtectConfigurationOutput)

UpdateProtectConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateProtectConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateProtectConfiguration for more information on using the UpdateProtectConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateProtectConfigurationRequest method.
req, resp := client.UpdateProtectConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateProtectConfiguration

func (*PinpointSMSVoiceV2) UpdateProtectConfigurationWithContext

func (c *PinpointSMSVoiceV2) UpdateProtectConfigurationWithContext(ctx aws.Context, input *UpdateProtectConfigurationInput, opts ...request.Option) (*UpdateProtectConfigurationOutput, error)

UpdateProtectConfigurationWithContext is the same as UpdateProtectConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateProtectConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) UpdateSenderId

func (c *PinpointSMSVoiceV2) UpdateSenderId(input *UpdateSenderIdInput) (*UpdateSenderIdOutput, error)

UpdateSenderId API operation for Amazon Pinpoint SMS Voice V2.

Updates the configuration of an existing sender ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation UpdateSenderId for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateSenderId

func (*PinpointSMSVoiceV2) UpdateSenderIdRequest

func (c *PinpointSMSVoiceV2) UpdateSenderIdRequest(input *UpdateSenderIdInput) (req *request.Request, output *UpdateSenderIdOutput)

UpdateSenderIdRequest generates a "aws/request.Request" representing the client's request for the UpdateSenderId operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSenderId for more information on using the UpdateSenderId API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSenderIdRequest method.
req, resp := client.UpdateSenderIdRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateSenderId

func (*PinpointSMSVoiceV2) UpdateSenderIdWithContext

func (c *PinpointSMSVoiceV2) UpdateSenderIdWithContext(ctx aws.Context, input *UpdateSenderIdInput, opts ...request.Option) (*UpdateSenderIdOutput, error)

UpdateSenderIdWithContext is the same as UpdateSenderId with the addition of the ability to pass a context and additional request options.

See UpdateSenderId for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*PinpointSMSVoiceV2) VerifyDestinationNumber

VerifyDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.

Use the verification code that was received by the verified destination phone number to opt-in the verified destination phone number to receive more messages.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation VerifyDestinationNumber for usage and error information.

Returned Error Types:

  • ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.

  • AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.

  • ResourceNotFoundException A requested resource couldn't be found.

  • ValidationException A validation exception for a field.

  • ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

  • InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/VerifyDestinationNumber

func (*PinpointSMSVoiceV2) VerifyDestinationNumberRequest

func (c *PinpointSMSVoiceV2) VerifyDestinationNumberRequest(input *VerifyDestinationNumberInput) (req *request.Request, output *VerifyDestinationNumberOutput)

VerifyDestinationNumberRequest generates a "aws/request.Request" representing the client's request for the VerifyDestinationNumber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See VerifyDestinationNumber for more information on using the VerifyDestinationNumber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the VerifyDestinationNumberRequest method.
req, resp := client.VerifyDestinationNumberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/VerifyDestinationNumber

func (*PinpointSMSVoiceV2) VerifyDestinationNumberWithContext

func (c *PinpointSMSVoiceV2) VerifyDestinationNumberWithContext(ctx aws.Context, input *VerifyDestinationNumberInput, opts ...request.Option) (*VerifyDestinationNumberOutput, error)

VerifyDestinationNumberWithContext is the same as VerifyDestinationNumber with the addition of the ability to pass a context and additional request options.

See VerifyDestinationNumber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type PoolFilter

type PoolFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"PoolFilterName"`

	// An array values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for a pool that meets a specified criteria.

func (PoolFilter) GoString

func (s PoolFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PoolFilter) SetName

func (s *PoolFilter) SetName(v string) *PoolFilter

SetName sets the Name field's value.

func (*PoolFilter) SetValues

func (s *PoolFilter) SetValues(v []*string) *PoolFilter

SetValues sets the Values field's value.

func (PoolFilter) String

func (s PoolFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PoolFilter) Validate

func (s *PoolFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PoolInformation

type PoolInformation struct {

	// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// When set to true the pool can't be deleted.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageType is a required field
	MessageType *string `type:"string" required:"true" enum:"MessageType"`

	// The name of the OptOutList associated with the pool.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the pool.
	//
	// PoolArn is a required field
	PoolArn *string `type:"string" required:"true"`

	// The unique identifier for the pool.
	//
	// PoolId is a required field
	PoolId *string `type:"string" required:"true"`

	// When set to false, an end recipient sends a message that begins with HELP
	// or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
	// with a customizable message and adds the end recipient to the OptOutList.
	// When set to true you're responsible for responding to HELP and STOP requests.
	// You're also responsible for tracking and honoring opt-out requests. For more
	// information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
	//
	// SelfManagedOptOutsEnabled is a required field
	SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`

	// Allows you to enable shared routes on your pool.
	//
	// By default, this is set to False. If you set this value to True, your messages
	// are sent using phone numbers or sender IDs (depending on the country) that
	// are shared with other Amazon Pinpoint users. In some countries, such as the
	// United States, senders aren't allowed to use shared routes and must use a
	// dedicated phone number or short code.
	//
	// SharedRoutesEnabled is a required field
	SharedRoutesEnabled *bool `type:"boolean" required:"true"`

	// The current status of the pool.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"PoolStatus"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// When set to true you can receive incoming text messages from your end recipients
	// using the TwoWayChannelArn.
	//
	// TwoWayEnabled is a required field
	TwoWayEnabled *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The information for a pool in an Amazon Web Services account.

func (PoolInformation) GoString

func (s PoolInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PoolInformation) SetCreatedTimestamp

func (s *PoolInformation) SetCreatedTimestamp(v time.Time) *PoolInformation

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*PoolInformation) SetDeletionProtectionEnabled

func (s *PoolInformation) SetDeletionProtectionEnabled(v bool) *PoolInformation

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*PoolInformation) SetMessageType

func (s *PoolInformation) SetMessageType(v string) *PoolInformation

SetMessageType sets the MessageType field's value.

func (*PoolInformation) SetOptOutListName

func (s *PoolInformation) SetOptOutListName(v string) *PoolInformation

SetOptOutListName sets the OptOutListName field's value.

func (*PoolInformation) SetPoolArn

func (s *PoolInformation) SetPoolArn(v string) *PoolInformation

SetPoolArn sets the PoolArn field's value.

func (*PoolInformation) SetPoolId

func (s *PoolInformation) SetPoolId(v string) *PoolInformation

SetPoolId sets the PoolId field's value.

func (*PoolInformation) SetSelfManagedOptOutsEnabled

func (s *PoolInformation) SetSelfManagedOptOutsEnabled(v bool) *PoolInformation

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*PoolInformation) SetSharedRoutesEnabled

func (s *PoolInformation) SetSharedRoutesEnabled(v bool) *PoolInformation

SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.

func (*PoolInformation) SetStatus

func (s *PoolInformation) SetStatus(v string) *PoolInformation

SetStatus sets the Status field's value.

func (*PoolInformation) SetTwoWayChannelArn

func (s *PoolInformation) SetTwoWayChannelArn(v string) *PoolInformation

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*PoolInformation) SetTwoWayChannelRole

func (s *PoolInformation) SetTwoWayChannelRole(v string) *PoolInformation

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*PoolInformation) SetTwoWayEnabled

func (s *PoolInformation) SetTwoWayEnabled(v bool) *PoolInformation

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (PoolInformation) String

func (s PoolInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PoolOriginationIdentitiesFilter

type PoolOriginationIdentitiesFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"PoolOriginationIdentitiesFilterName"`

	// An array values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information about origination identities associated with a pool that meets a specified criteria.

func (PoolOriginationIdentitiesFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PoolOriginationIdentitiesFilter) SetName

SetName sets the Name field's value.

func (*PoolOriginationIdentitiesFilter) SetValues

SetValues sets the Values field's value.

func (PoolOriginationIdentitiesFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PoolOriginationIdentitiesFilter) Validate

func (s *PoolOriginationIdentitiesFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProtectConfigurationCountryRuleSetInformation

type ProtectConfigurationCountryRuleSetInformation struct {

	// The types of protection that can be used.
	//
	// ProtectStatus is a required field
	ProtectStatus *string `type:"string" required:"true" enum:"ProtectStatus"`
	// contains filtered or unexported fields
}

The types of statuses that can be used.

func (ProtectConfigurationCountryRuleSetInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProtectConfigurationCountryRuleSetInformation) SetProtectStatus

SetProtectStatus sets the ProtectStatus field's value.

func (ProtectConfigurationCountryRuleSetInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProtectConfigurationCountryRuleSetInformation) Validate

Validate inspects the fields of the type to determine if they are valid.

type ProtectConfigurationFilter

type ProtectConfigurationFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"ProtectConfigurationFilterName"`

	// An array of values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering protect configurations that meet a specified criteria.

func (ProtectConfigurationFilter) GoString

func (s ProtectConfigurationFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProtectConfigurationFilter) SetName

SetName sets the Name field's value.

func (*ProtectConfigurationFilter) SetValues

SetValues sets the Values field's value.

func (ProtectConfigurationFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProtectConfigurationFilter) Validate

func (s *ProtectConfigurationFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProtectConfigurationInformation

type ProtectConfigurationInformation struct {

	// This is true if the protect configuration is set as your account default
	// protect configuration.
	//
	// AccountDefault is a required field
	AccountDefault *bool `type:"boolean" required:"true"`

	// The time when the protect configuration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The status of deletion protection for the protect configuration. When set
	// to true deletion protection is enabled. By default this is set to false.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information on the specified protect configuration.

func (ProtectConfigurationInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProtectConfigurationInformation) SetAccountDefault

SetAccountDefault sets the AccountDefault field's value.

func (*ProtectConfigurationInformation) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ProtectConfigurationInformation) SetDeletionProtectionEnabled

func (s *ProtectConfigurationInformation) SetDeletionProtectionEnabled(v bool) *ProtectConfigurationInformation

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*ProtectConfigurationInformation) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*ProtectConfigurationInformation) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (ProtectConfigurationInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutKeywordInput

type PutKeywordInput struct {

	// The new keyword to add.
	//
	// Keyword is a required field
	Keyword *string `min:"1" type:"string" required:"true"`

	// The action to perform for the new keyword when it is received.
	//
	//    * AUTOMATIC_RESPONSE: A message is sent to the recipient.
	//
	//    * OPT_OUT: Keeps the recipient from receiving future messages.
	//
	//    * OPT_IN: The recipient wants to receive future messages.
	KeywordAction *string `type:"string" enum:"KeywordAction"`

	// The message associated with the keyword.
	//
	// KeywordMessage is a required field
	KeywordMessage *string `min:"1" type:"string" required:"true"`

	// The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
	// SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values
	// for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
	// to get the values for SenderId and SenderIdArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutKeywordInput) GoString

func (s PutKeywordInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutKeywordInput) SetKeyword

func (s *PutKeywordInput) SetKeyword(v string) *PutKeywordInput

SetKeyword sets the Keyword field's value.

func (*PutKeywordInput) SetKeywordAction

func (s *PutKeywordInput) SetKeywordAction(v string) *PutKeywordInput

SetKeywordAction sets the KeywordAction field's value.

func (*PutKeywordInput) SetKeywordMessage

func (s *PutKeywordInput) SetKeywordMessage(v string) *PutKeywordInput

SetKeywordMessage sets the KeywordMessage field's value.

func (*PutKeywordInput) SetOriginationIdentity

func (s *PutKeywordInput) SetOriginationIdentity(v string) *PutKeywordInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (PutKeywordInput) String

func (s PutKeywordInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutKeywordInput) Validate

func (s *PutKeywordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutKeywordOutput

type PutKeywordOutput struct {

	// The keyword that was added.
	Keyword *string `min:"1" type:"string"`

	// The action to perform when the keyword is used.
	KeywordAction *string `type:"string" enum:"KeywordAction"`

	// The message associated with the keyword.
	KeywordMessage *string `min:"1" type:"string"`

	// The PhoneNumberId or PoolId that the keyword was associated with.
	OriginationIdentity *string `type:"string"`

	// The PhoneNumberArn or PoolArn that the keyword was associated with.
	OriginationIdentityArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutKeywordOutput) GoString

func (s PutKeywordOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutKeywordOutput) SetKeyword

func (s *PutKeywordOutput) SetKeyword(v string) *PutKeywordOutput

SetKeyword sets the Keyword field's value.

func (*PutKeywordOutput) SetKeywordAction

func (s *PutKeywordOutput) SetKeywordAction(v string) *PutKeywordOutput

SetKeywordAction sets the KeywordAction field's value.

func (*PutKeywordOutput) SetKeywordMessage

func (s *PutKeywordOutput) SetKeywordMessage(v string) *PutKeywordOutput

SetKeywordMessage sets the KeywordMessage field's value.

func (*PutKeywordOutput) SetOriginationIdentity

func (s *PutKeywordOutput) SetOriginationIdentity(v string) *PutKeywordOutput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*PutKeywordOutput) SetOriginationIdentityArn

func (s *PutKeywordOutput) SetOriginationIdentityArn(v string) *PutKeywordOutput

SetOriginationIdentityArn sets the OriginationIdentityArn field's value.

func (PutKeywordOutput) String

func (s PutKeywordOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutOptedOutNumberInput

type PutOptedOutNumberInput struct {

	// The OptOutListName or OptOutListArn to add the phone number to.
	//
	// OptOutListName is a required field
	OptOutListName *string `min:"1" type:"string" required:"true"`

	// The phone number to add to the OptOutList in E.164 format.
	//
	// OptedOutNumber is a required field
	OptedOutNumber *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutOptedOutNumberInput) GoString

func (s PutOptedOutNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutOptedOutNumberInput) SetOptOutListName

func (s *PutOptedOutNumberInput) SetOptOutListName(v string) *PutOptedOutNumberInput

SetOptOutListName sets the OptOutListName field's value.

func (*PutOptedOutNumberInput) SetOptedOutNumber

func (s *PutOptedOutNumberInput) SetOptedOutNumber(v string) *PutOptedOutNumberInput

SetOptedOutNumber sets the OptedOutNumber field's value.

func (PutOptedOutNumberInput) String

func (s PutOptedOutNumberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutOptedOutNumberInput) Validate

func (s *PutOptedOutNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutOptedOutNumberOutput

type PutOptedOutNumberOutput struct {

	// This is true if it was the end user who requested their phone number be removed.
	EndUserOptedOut *bool `type:"boolean"`

	// The OptOutListArn that the phone number was removed from.
	OptOutListArn *string `type:"string"`

	// The OptOutListName that the phone number was removed from.
	OptOutListName *string `min:"1" type:"string"`

	// The phone number that was added to the OptOutList.
	OptedOutNumber *string `min:"1" type:"string"`

	// The time that the phone number was added to the OptOutList, in UNIX epoch
	// time (https://www.epochconverter.com/) format.
	OptedOutTimestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (PutOptedOutNumberOutput) GoString

func (s PutOptedOutNumberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutOptedOutNumberOutput) SetEndUserOptedOut

func (s *PutOptedOutNumberOutput) SetEndUserOptedOut(v bool) *PutOptedOutNumberOutput

SetEndUserOptedOut sets the EndUserOptedOut field's value.

func (*PutOptedOutNumberOutput) SetOptOutListArn

func (s *PutOptedOutNumberOutput) SetOptOutListArn(v string) *PutOptedOutNumberOutput

SetOptOutListArn sets the OptOutListArn field's value.

func (*PutOptedOutNumberOutput) SetOptOutListName

func (s *PutOptedOutNumberOutput) SetOptOutListName(v string) *PutOptedOutNumberOutput

SetOptOutListName sets the OptOutListName field's value.

func (*PutOptedOutNumberOutput) SetOptedOutNumber

func (s *PutOptedOutNumberOutput) SetOptedOutNumber(v string) *PutOptedOutNumberOutput

SetOptedOutNumber sets the OptedOutNumber field's value.

func (*PutOptedOutNumberOutput) SetOptedOutTimestamp

func (s *PutOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *PutOptedOutNumberOutput

SetOptedOutTimestamp sets the OptedOutTimestamp field's value.

func (PutOptedOutNumberOutput) String

func (s PutOptedOutNumberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRegistrationFieldValueInput

type PutRegistrationFieldValueInput struct {

	// The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
	// for a list of FieldPaths.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	RegistrationAttachmentId *string `min:"1" type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`

	// An array of values for the form field.
	SelectChoices []*string `type:"list"`

	// The text data for a free form field.
	TextValue *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutRegistrationFieldValueInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRegistrationFieldValueInput) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*PutRegistrationFieldValueInput) SetRegistrationAttachmentId

func (s *PutRegistrationFieldValueInput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueInput

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (*PutRegistrationFieldValueInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*PutRegistrationFieldValueInput) SetSelectChoices

SetSelectChoices sets the SelectChoices field's value.

func (*PutRegistrationFieldValueInput) SetTextValue

SetTextValue sets the TextValue field's value.

func (PutRegistrationFieldValueInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRegistrationFieldValueInput) Validate

func (s *PutRegistrationFieldValueInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutRegistrationFieldValueOutput

type PutRegistrationFieldValueOutput struct {

	// The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
	// for a list of FieldPaths.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	RegistrationAttachmentId *string `type:"string"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// An array of values for the form field.
	SelectChoices []*string `type:"list"`

	// The text data for a free form field.
	TextValue *string `min:"1" type:"string"`

	// The version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (PutRegistrationFieldValueOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRegistrationFieldValueOutput) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*PutRegistrationFieldValueOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*PutRegistrationFieldValueOutput) SetRegistrationAttachmentId

func (s *PutRegistrationFieldValueOutput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueOutput

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (*PutRegistrationFieldValueOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*PutRegistrationFieldValueOutput) SetSelectChoices

SetSelectChoices sets the SelectChoices field's value.

func (*PutRegistrationFieldValueOutput) SetTextValue

SetTextValue sets the TextValue field's value.

func (*PutRegistrationFieldValueOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (PutRegistrationFieldValueOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationAssociationFilter

type RegistrationAssociationFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"RegistrationAssociationFilterName"`

	// An array of values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering registrations that meets a specified criteria.

func (RegistrationAssociationFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAssociationFilter) SetName

SetName sets the Name field's value.

func (*RegistrationAssociationFilter) SetValues

SetValues sets the Values field's value.

func (RegistrationAssociationFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAssociationFilter) Validate

func (s *RegistrationAssociationFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegistrationAssociationMetadata

type RegistrationAssociationMetadata struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The phone number associated with the registration in E.164 format.
	PhoneNumber *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the origination identity that is associated
	// with the registration.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// The unique identifier for the origination identity. For example this could
	// be a PhoneNumberId or SenderId.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// The origination identity type.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Metadata for the origination identity that is associated with the registration.

func (RegistrationAssociationMetadata) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAssociationMetadata) SetIsoCountryCode

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*RegistrationAssociationMetadata) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*RegistrationAssociationMetadata) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*RegistrationAssociationMetadata) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*RegistrationAssociationMetadata) SetResourceType

SetResourceType sets the ResourceType field's value.

func (RegistrationAssociationMetadata) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationAttachmentFilter

type RegistrationAttachmentFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"RegistrationAttachmentFilterName"`

	// An array of values to filter on.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering registration attachments that meets a specified criteria.

func (RegistrationAttachmentFilter) GoString

func (s RegistrationAttachmentFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAttachmentFilter) SetName

SetName sets the Name field's value.

func (*RegistrationAttachmentFilter) SetValues

SetValues sets the Values field's value.

func (RegistrationAttachmentFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAttachmentFilter) Validate

func (s *RegistrationAttachmentFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegistrationAttachmentsInformation

type RegistrationAttachmentsInformation struct {

	// The status of the registration attachment.
	//
	//    * UPLOAD_IN_PROGRESS The attachment is being uploaded.
	//
	//    * UPLOAD_COMPLETE The attachment has been uploaded.
	//
	//    * UPLOAD_FAILED The attachment failed to uploaded.
	//
	//    * DELETED The attachment has been deleted..
	//
	// AttachmentStatus is a required field
	AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`

	// A description of why the upload didn't successfully complete.
	AttachmentUploadErrorReason *string `type:"string" enum:"AttachmentUploadErrorReason"`

	// The time when the registration attachment was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The Amazon Resource Name (ARN) for the registration attachment.
	//
	// RegistrationAttachmentArn is a required field
	RegistrationAttachmentArn *string `type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	//
	// RegistrationAttachmentId is a required field
	RegistrationAttachmentId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information on the specified registration attachments.

func (RegistrationAttachmentsInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationAttachmentsInformation) SetAttachmentStatus

SetAttachmentStatus sets the AttachmentStatus field's value.

func (*RegistrationAttachmentsInformation) SetAttachmentUploadErrorReason

SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.

func (*RegistrationAttachmentsInformation) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*RegistrationAttachmentsInformation) SetRegistrationAttachmentArn

SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.

func (*RegistrationAttachmentsInformation) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (RegistrationAttachmentsInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationDeniedReasonInformation

type RegistrationDeniedReasonInformation struct {

	// The link to the document.
	DocumentationLink *string `type:"string"`

	// The title of the document.
	DocumentationTitle *string `type:"string"`

	// A long description of the rejection reason.
	LongDescription *string `type:"string"`

	// The reason a registration was rejected.
	//
	// Reason is a required field
	Reason *string `type:"string" required:"true"`

	// A short description of the rejection reason.
	//
	// ShortDescription is a required field
	ShortDescription *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides the reason a registration was rejected.

func (RegistrationDeniedReasonInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

SetDocumentationLink sets the DocumentationLink field's value.

func (*RegistrationDeniedReasonInformation) SetDocumentationTitle

SetDocumentationTitle sets the DocumentationTitle field's value.

func (*RegistrationDeniedReasonInformation) SetLongDescription

SetLongDescription sets the LongDescription field's value.

func (*RegistrationDeniedReasonInformation) SetReason

SetReason sets the Reason field's value.

func (*RegistrationDeniedReasonInformation) SetShortDescription

SetShortDescription sets the ShortDescription field's value.

func (RegistrationDeniedReasonInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationFieldDefinition

type RegistrationFieldDefinition struct {

	// An array of RegistrationFieldDisplayHints objects for the field.
	//
	// DisplayHints is a required field
	DisplayHints *RegistrationFieldDisplayHints `type:"structure" required:"true"`

	// The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
	// for a list of FieldPaths.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// Specifies if the field for the registration form is required, conditional
	// or optional.
	//
	// FieldRequirement is a required field
	FieldRequirement *string `type:"string" required:"true" enum:"FieldRequirement"`

	// The type of field.
	//
	// FieldType is a required field
	FieldType *string `type:"string" required:"true" enum:"FieldType"`

	// The section path of the field.
	//
	// SectionPath is a required field
	SectionPath *string `min:"1" type:"string" required:"true"`

	// The validation rules for a select field.
	SelectValidation *SelectValidation `type:"structure"`

	// The validation rules for a text field.
	TextValidation *TextValidation `type:"structure"`
	// contains filtered or unexported fields
}

Provides a description of the specified field.

func (RegistrationFieldDefinition) GoString

func (s RegistrationFieldDefinition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationFieldDefinition) SetDisplayHints

SetDisplayHints sets the DisplayHints field's value.

func (*RegistrationFieldDefinition) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*RegistrationFieldDefinition) SetFieldRequirement

SetFieldRequirement sets the FieldRequirement field's value.

func (*RegistrationFieldDefinition) SetFieldType

SetFieldType sets the FieldType field's value.

func (*RegistrationFieldDefinition) SetSectionPath

SetSectionPath sets the SectionPath field's value.

func (*RegistrationFieldDefinition) SetSelectValidation

SetSelectValidation sets the SelectValidation field's value.

func (*RegistrationFieldDefinition) SetTextValidation

SetTextValidation sets the TextValidation field's value.

func (RegistrationFieldDefinition) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationFieldDisplayHints

type RegistrationFieldDisplayHints struct {

	// The link to the document the display hint is associated with.
	DocumentationLink *string `type:"string"`

	// The title of the document the display hint is associated with.
	DocumentationTitle *string `type:"string"`

	// Example text of what the value of a field should contain.
	ExampleTextValue *string `type:"string"`

	// A full description of the display hint.
	LongDescription *string `type:"string"`

	// An array of SelectOptionDescription objects.
	SelectOptionDescriptions []*SelectOptionDescription `type:"list"`

	// A short description of the display hint.
	//
	// ShortDescription is a required field
	ShortDescription *string `type:"string" required:"true"`

	// The validation rules for the text field.
	TextValidationDescription *string `type:"string"`

	// The title of the display hint.
	//
	// Title is a required field
	Title *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides help information on the registration field.

func (RegistrationFieldDisplayHints) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

SetDocumentationLink sets the DocumentationLink field's value.

func (*RegistrationFieldDisplayHints) SetDocumentationTitle

SetDocumentationTitle sets the DocumentationTitle field's value.

func (*RegistrationFieldDisplayHints) SetExampleTextValue

SetExampleTextValue sets the ExampleTextValue field's value.

func (*RegistrationFieldDisplayHints) SetLongDescription

SetLongDescription sets the LongDescription field's value.

func (*RegistrationFieldDisplayHints) SetSelectOptionDescriptions

SetSelectOptionDescriptions sets the SelectOptionDescriptions field's value.

func (*RegistrationFieldDisplayHints) SetShortDescription

SetShortDescription sets the ShortDescription field's value.

func (*RegistrationFieldDisplayHints) SetTextValidationDescription

func (s *RegistrationFieldDisplayHints) SetTextValidationDescription(v string) *RegistrationFieldDisplayHints

SetTextValidationDescription sets the TextValidationDescription field's value.

func (*RegistrationFieldDisplayHints) SetTitle

SetTitle sets the Title field's value.

func (RegistrationFieldDisplayHints) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationFieldValueInformation

type RegistrationFieldValueInformation struct {

	// A description of why the registration was denied.
	DeniedReason *string `type:"string"`

	// The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
	// for a list of FieldPaths.
	//
	// FieldPath is a required field
	FieldPath *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the registration attachment.
	RegistrationAttachmentId *string `min:"1" type:"string"`

	// An array of values for the form field.
	SelectChoices []*string `type:"list"`

	// The text data for a free form field.
	TextValue *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides the values of the specified field.

func (RegistrationFieldValueInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationFieldValueInformation) SetDeniedReason

SetDeniedReason sets the DeniedReason field's value.

func (*RegistrationFieldValueInformation) SetFieldPath

SetFieldPath sets the FieldPath field's value.

func (*RegistrationFieldValueInformation) SetRegistrationAttachmentId

SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.

func (*RegistrationFieldValueInformation) SetSelectChoices

SetSelectChoices sets the SelectChoices field's value.

func (*RegistrationFieldValueInformation) SetTextValue

SetTextValue sets the TextValue field's value.

func (RegistrationFieldValueInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationFilter

type RegistrationFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"RegistrationFilterName"`

	// An array of values to filter on.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering registrations that meets a specified criteria.

func (RegistrationFilter) GoString

func (s RegistrationFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationFilter) SetName

SetName sets the Name field's value.

func (*RegistrationFilter) SetValues

func (s *RegistrationFilter) SetValues(v []*string) *RegistrationFilter

SetValues sets the Values field's value.

func (RegistrationFilter) String

func (s RegistrationFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationFilter) Validate

func (s *RegistrationFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegistrationInformation

type RegistrationInformation struct {

	// Metadata about a given registration which is specific to that registration
	// type.
	AdditionalAttributes map[string]*string `type:"map"`

	// The version number of the registration that was approved.
	ApprovedVersionNumber *int64 `min:"1" type:"long"`

	// The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The current version number of the registration.
	//
	// CurrentVersionNumber is a required field
	CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`

	// The latest version number of the registration that was denied.
	LatestDeniedVersionNumber *int64 `min:"1" type:"long"`

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration.
	//
	//    * CREATED: Your registration is created but not submitted.
	//
	//    * SUBMITTED: Your registration has been submitted and is awaiting review.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * PROVISIONING: Your registration has been approved and your origination
	//    identity is being created.
	//
	//    * COMPLETE: Your registration has been approved and and your origination
	//    identity has been created.
	//
	//    * REQUIRES_UPDATES: You must fix your registration and resubmit it.
	//
	//    * CLOSED: The phone number or sender ID has been deleted and you must
	//    also delete the registration for the number.
	//
	//    * DELETED: The registration has been deleted.
	//
	// RegistrationStatus is a required field
	RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information about the requested registration.

func (RegistrationInformation) GoString

func (s RegistrationInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationInformation) SetAdditionalAttributes

func (s *RegistrationInformation) SetAdditionalAttributes(v map[string]*string) *RegistrationInformation

SetAdditionalAttributes sets the AdditionalAttributes field's value.

func (*RegistrationInformation) SetApprovedVersionNumber

func (s *RegistrationInformation) SetApprovedVersionNumber(v int64) *RegistrationInformation

SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.

func (*RegistrationInformation) SetCreatedTimestamp

func (s *RegistrationInformation) SetCreatedTimestamp(v time.Time) *RegistrationInformation

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*RegistrationInformation) SetCurrentVersionNumber

func (s *RegistrationInformation) SetCurrentVersionNumber(v int64) *RegistrationInformation

SetCurrentVersionNumber sets the CurrentVersionNumber field's value.

func (*RegistrationInformation) SetLatestDeniedVersionNumber

func (s *RegistrationInformation) SetLatestDeniedVersionNumber(v int64) *RegistrationInformation

SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.

func (*RegistrationInformation) SetRegistrationArn

func (s *RegistrationInformation) SetRegistrationArn(v string) *RegistrationInformation

SetRegistrationArn sets the RegistrationArn field's value.

func (*RegistrationInformation) SetRegistrationId

func (s *RegistrationInformation) SetRegistrationId(v string) *RegistrationInformation

SetRegistrationId sets the RegistrationId field's value.

func (*RegistrationInformation) SetRegistrationStatus

func (s *RegistrationInformation) SetRegistrationStatus(v string) *RegistrationInformation

SetRegistrationStatus sets the RegistrationStatus field's value.

func (*RegistrationInformation) SetRegistrationType

func (s *RegistrationInformation) SetRegistrationType(v string) *RegistrationInformation

SetRegistrationType sets the RegistrationType field's value.

func (RegistrationInformation) String

func (s RegistrationInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationSectionDefinition

type RegistrationSectionDefinition struct {

	// The path to the section of the registration.
	//
	// DisplayHints is a required field
	DisplayHints *RegistrationSectionDisplayHints `type:"structure" required:"true"`

	// The path to the section of the registration.
	//
	// SectionPath is a required field
	SectionPath *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information on the specified section definition.

func (RegistrationSectionDefinition) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationSectionDefinition) SetDisplayHints

SetDisplayHints sets the DisplayHints field's value.

func (*RegistrationSectionDefinition) SetSectionPath

SetSectionPath sets the SectionPath field's value.

func (RegistrationSectionDefinition) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationSectionDisplayHints

type RegistrationSectionDisplayHints struct {

	// The link to the document the display hint is associated with.
	DocumentationLink *string `type:"string"`

	// The title of the document the display hint is associated with.
	DocumentationTitle *string `type:"string"`

	// A full description of the display hint.
	LongDescription *string `type:"string"`

	// A short description of the display hint.
	//
	// ShortDescription is a required field
	ShortDescription *string `type:"string" required:"true"`

	// The title of the display hint.
	//
	// Title is a required field
	Title *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides help information on the registration section.

func (RegistrationSectionDisplayHints) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

SetDocumentationLink sets the DocumentationLink field's value.

func (*RegistrationSectionDisplayHints) SetDocumentationTitle

SetDocumentationTitle sets the DocumentationTitle field's value.

func (*RegistrationSectionDisplayHints) SetLongDescription

SetLongDescription sets the LongDescription field's value.

func (*RegistrationSectionDisplayHints) SetShortDescription

SetShortDescription sets the ShortDescription field's value.

func (*RegistrationSectionDisplayHints) SetTitle

SetTitle sets the Title field's value.

func (RegistrationSectionDisplayHints) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationTypeDefinition

type RegistrationTypeDefinition struct {

	// Provides help information on the registration.
	//
	// DisplayHints is a required field
	DisplayHints *RegistrationTypeDisplayHints `type:"structure" required:"true"`

	// The type of registration form. The list of RegistrationTypes can be found
	// using the DescribeRegistrationTypeDefinitions action.
	//
	// RegistrationType is a required field
	RegistrationType *string `min:"1" type:"string" required:"true"`

	// The supported association behavior for the registration type.
	SupportedAssociations []*SupportedAssociation `type:"list"`
	// contains filtered or unexported fields
}

Provides information on the supported registration type.

func (RegistrationTypeDefinition) GoString

func (s RegistrationTypeDefinition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationTypeDefinition) SetDisplayHints

SetDisplayHints sets the DisplayHints field's value.

func (*RegistrationTypeDefinition) SetRegistrationType

SetRegistrationType sets the RegistrationType field's value.

func (*RegistrationTypeDefinition) SetSupportedAssociations

SetSupportedAssociations sets the SupportedAssociations field's value.

func (RegistrationTypeDefinition) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationTypeDisplayHints

type RegistrationTypeDisplayHints struct {

	// The link to the document the display hint is associated with.
	DocumentationLink *string `type:"string"`

	// The title of the document the display hint is associated with.
	DocumentationTitle *string `type:"string"`

	// A full description of the display hint.
	LongDescription *string `type:"string"`

	// A short description of the display hint.
	ShortDescription *string `type:"string"`

	// The title of the display hint.
	//
	// Title is a required field
	Title *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides help information on the registration type.

func (RegistrationTypeDisplayHints) GoString

func (s RegistrationTypeDisplayHints) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

SetDocumentationLink sets the DocumentationLink field's value.

func (*RegistrationTypeDisplayHints) SetDocumentationTitle

SetDocumentationTitle sets the DocumentationTitle field's value.

func (*RegistrationTypeDisplayHints) SetLongDescription

SetLongDescription sets the LongDescription field's value.

func (*RegistrationTypeDisplayHints) SetShortDescription

SetShortDescription sets the ShortDescription field's value.

func (*RegistrationTypeDisplayHints) SetTitle

SetTitle sets the Title field's value.

func (RegistrationTypeDisplayHints) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationTypeFilter

type RegistrationTypeFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"RegistrationTypeFilterName"`

	// An array of values to filter on.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering registration types that meets a specified criteria.

func (RegistrationTypeFilter) GoString

func (s RegistrationTypeFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationTypeFilter) SetName

SetName sets the Name field's value.

func (*RegistrationTypeFilter) SetValues

SetValues sets the Values field's value.

func (RegistrationTypeFilter) String

func (s RegistrationTypeFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationTypeFilter) Validate

func (s *RegistrationTypeFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegistrationVersionFilter

type RegistrationVersionFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"RegistrationVersionFilterName"`

	// An array of values to filter on.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering registration versions that meets a specified criteria.

func (RegistrationVersionFilter) GoString

func (s RegistrationVersionFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationVersionFilter) SetName

SetName sets the Name field's value.

func (*RegistrationVersionFilter) SetValues

SetValues sets the Values field's value.

func (RegistrationVersionFilter) String

func (s RegistrationVersionFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationVersionFilter) Validate

func (s *RegistrationVersionFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegistrationVersionInformation

type RegistrationVersionInformation struct {

	// An array of RegistrationDeniedReasonInformation objects.
	DeniedReasons []*RegistrationDeniedReasonInformation `type:"list"`

	// The status of the registration.
	//
	//    * DRAFT: The initial status of a registration version after it’s created.
	//
	//    * SUBMITTED: Your registration has been submitted.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * APPROVED: Your registration has been approved.
	//
	//    * DISCARDED: You've abandon this version of their registration to start
	//    over with a new version.
	//
	//    * DENIED: You must fix your registration and resubmit it.
	//
	//    * REVOKED: Your previously approved registration has been revoked.
	//
	//    * ARCHIVED: Your previously approved registration version moves into this
	//    status when a more recently submitted version is approved.
	//
	// RegistrationVersionStatus is a required field
	RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`

	// The RegistrationVersionStatusHistory object contains the time stamps for
	// when the reservations status changes.
	//
	// RegistrationVersionStatusHistory is a required field
	RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`

	// The version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

Provides information about the specified version of the registration.

func (RegistrationVersionInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationVersionInformation) SetDeniedReasons

SetDeniedReasons sets the DeniedReasons field's value.

func (*RegistrationVersionInformation) SetRegistrationVersionStatus

func (s *RegistrationVersionInformation) SetRegistrationVersionStatus(v string) *RegistrationVersionInformation

SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.

func (*RegistrationVersionInformation) SetRegistrationVersionStatusHistory

SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.

func (*RegistrationVersionInformation) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (RegistrationVersionInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistrationVersionStatusHistory

type RegistrationVersionStatusHistory struct {

	// The time when the registration was in the approved state, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	ApprovedTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the archived state, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	ArchivedTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the denied state, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	DeniedTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the discarded state, in UNIX epoch
	// time (https://www.epochconverter.com/) format.
	DiscardedTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the draft state, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// DraftTimestamp is a required field
	DraftTimestamp *time.Time `type:"timestamp" required:"true"`

	// The time when the registration was in the reviewing state, in UNIX epoch
	// time (https://www.epochconverter.com/) format.
	ReviewingTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the revoked state, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	RevokedTimestamp *time.Time `type:"timestamp"`

	// The time when the registration was in the submitted state, in UNIX epoch
	// time (https://www.epochconverter.com/) format.
	SubmittedTimestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.

func (RegistrationVersionStatusHistory) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistrationVersionStatusHistory) SetApprovedTimestamp

SetApprovedTimestamp sets the ApprovedTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetArchivedTimestamp

SetArchivedTimestamp sets the ArchivedTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetDeniedTimestamp

SetDeniedTimestamp sets the DeniedTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetDiscardedTimestamp

SetDiscardedTimestamp sets the DiscardedTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetDraftTimestamp

SetDraftTimestamp sets the DraftTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetReviewingTimestamp

SetReviewingTimestamp sets the ReviewingTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetRevokedTimestamp

SetRevokedTimestamp sets the RevokedTimestamp field's value.

func (*RegistrationVersionStatusHistory) SetSubmittedTimestamp

SetSubmittedTimestamp sets the SubmittedTimestamp field's value.

func (RegistrationVersionStatusHistory) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReleasePhoneNumberInput

type ReleasePhoneNumberInput struct {

	// The PhoneNumberId or PhoneNumberArn of the phone number to release. You can
	// use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.
	//
	// PhoneNumberId is a required field
	PhoneNumberId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ReleasePhoneNumberInput) GoString

func (s ReleasePhoneNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleasePhoneNumberInput) SetPhoneNumberId

func (s *ReleasePhoneNumberInput) SetPhoneNumberId(v string) *ReleasePhoneNumberInput

SetPhoneNumberId sets the PhoneNumberId field's value.

func (ReleasePhoneNumberInput) String

func (s ReleasePhoneNumberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleasePhoneNumberInput) Validate

func (s *ReleasePhoneNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReleasePhoneNumberOutput

type ReleasePhoneNumberOutput struct {

	// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The message type that was associated with the phone number.
	MessageType *string `type:"string" enum:"MessageType"`

	// The monthly price of the phone number, in US dollars.
	MonthlyLeasingPrice *string `type:"string"`

	// Specifies if the number could be used for text messages, voice, or both.
	NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`

	// The type of number that was released.
	NumberType *string `type:"string" enum:"NumberType"`

	// The name of the OptOutList that was associated with the phone number.
	OptOutListName *string `min:"1" type:"string"`

	// The phone number that was released.
	PhoneNumber *string `min:"1" type:"string"`

	// The PhoneNumberArn of the phone number that was released.
	PhoneNumberArn *string `type:"string"`

	// The PhoneNumberId of the phone number that was released.
	PhoneNumberId *string `type:"string"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// The current status of the request.
	Status *string `type:"string" enum:"NumberStatus"`

	// The Amazon Resource Name (ARN) of the TwoWayChannel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (ReleasePhoneNumberOutput) GoString

func (s ReleasePhoneNumberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleasePhoneNumberOutput) SetCreatedTimestamp

func (s *ReleasePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *ReleasePhoneNumberOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ReleasePhoneNumberOutput) SetIsoCountryCode

func (s *ReleasePhoneNumberOutput) SetIsoCountryCode(v string) *ReleasePhoneNumberOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*ReleasePhoneNumberOutput) SetMessageType

SetMessageType sets the MessageType field's value.

func (*ReleasePhoneNumberOutput) SetMonthlyLeasingPrice

func (s *ReleasePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *ReleasePhoneNumberOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*ReleasePhoneNumberOutput) SetNumberCapabilities

func (s *ReleasePhoneNumberOutput) SetNumberCapabilities(v []*string) *ReleasePhoneNumberOutput

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*ReleasePhoneNumberOutput) SetNumberType

SetNumberType sets the NumberType field's value.

func (*ReleasePhoneNumberOutput) SetOptOutListName

func (s *ReleasePhoneNumberOutput) SetOptOutListName(v string) *ReleasePhoneNumberOutput

SetOptOutListName sets the OptOutListName field's value.

func (*ReleasePhoneNumberOutput) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*ReleasePhoneNumberOutput) SetPhoneNumberArn

func (s *ReleasePhoneNumberOutput) SetPhoneNumberArn(v string) *ReleasePhoneNumberOutput

SetPhoneNumberArn sets the PhoneNumberArn field's value.

func (*ReleasePhoneNumberOutput) SetPhoneNumberId

SetPhoneNumberId sets the PhoneNumberId field's value.

func (*ReleasePhoneNumberOutput) SetRegistrationId

func (s *ReleasePhoneNumberOutput) SetRegistrationId(v string) *ReleasePhoneNumberOutput

SetRegistrationId sets the RegistrationId field's value.

func (*ReleasePhoneNumberOutput) SetSelfManagedOptOutsEnabled

func (s *ReleasePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *ReleasePhoneNumberOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*ReleasePhoneNumberOutput) SetStatus

SetStatus sets the Status field's value.

func (*ReleasePhoneNumberOutput) SetTwoWayChannelArn

func (s *ReleasePhoneNumberOutput) SetTwoWayChannelArn(v string) *ReleasePhoneNumberOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*ReleasePhoneNumberOutput) SetTwoWayChannelRole

func (s *ReleasePhoneNumberOutput) SetTwoWayChannelRole(v string) *ReleasePhoneNumberOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*ReleasePhoneNumberOutput) SetTwoWayEnabled

func (s *ReleasePhoneNumberOutput) SetTwoWayEnabled(v bool) *ReleasePhoneNumberOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (ReleasePhoneNumberOutput) String

func (s ReleasePhoneNumberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReleaseSenderIdInput

type ReleaseSenderIdInput struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The sender ID to release.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ReleaseSenderIdInput) GoString

func (s ReleaseSenderIdInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleaseSenderIdInput) SetIsoCountryCode

func (s *ReleaseSenderIdInput) SetIsoCountryCode(v string) *ReleaseSenderIdInput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*ReleaseSenderIdInput) SetSenderId

SetSenderId sets the SenderId field's value.

func (ReleaseSenderIdInput) String

func (s ReleaseSenderIdInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleaseSenderIdInput) Validate

func (s *ReleaseSenderIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReleaseSenderIdOutput

type ReleaseSenderIdOutput struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageTypes is a required field
	MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`

	// The monthly price, in US dollars, to lease the sender ID.
	//
	// MonthlyLeasingPrice is a required field
	MonthlyLeasingPrice *string `type:"string" required:"true"`

	// True if the sender ID is registered.
	//
	// Registered is a required field
	Registered *bool `type:"boolean" required:"true"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// The sender ID that was released.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the SenderId.
	//
	// SenderIdArn is a required field
	SenderIdArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ReleaseSenderIdOutput) GoString

func (s ReleaseSenderIdOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleaseSenderIdOutput) SetIsoCountryCode

func (s *ReleaseSenderIdOutput) SetIsoCountryCode(v string) *ReleaseSenderIdOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*ReleaseSenderIdOutput) SetMessageTypes

func (s *ReleaseSenderIdOutput) SetMessageTypes(v []*string) *ReleaseSenderIdOutput

SetMessageTypes sets the MessageTypes field's value.

func (*ReleaseSenderIdOutput) SetMonthlyLeasingPrice

func (s *ReleaseSenderIdOutput) SetMonthlyLeasingPrice(v string) *ReleaseSenderIdOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*ReleaseSenderIdOutput) SetRegistered

func (s *ReleaseSenderIdOutput) SetRegistered(v bool) *ReleaseSenderIdOutput

SetRegistered sets the Registered field's value.

func (*ReleaseSenderIdOutput) SetRegistrationId

func (s *ReleaseSenderIdOutput) SetRegistrationId(v string) *ReleaseSenderIdOutput

SetRegistrationId sets the RegistrationId field's value.

func (*ReleaseSenderIdOutput) SetSenderId

SetSenderId sets the SenderId field's value.

func (*ReleaseSenderIdOutput) SetSenderIdArn

func (s *ReleaseSenderIdOutput) SetSenderIdArn(v string) *ReleaseSenderIdOutput

SetSenderIdArn sets the SenderIdArn field's value.

func (ReleaseSenderIdOutput) String

func (s ReleaseSenderIdOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RequestPhoneNumberInput

type RequestPhoneNumberInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// By default this is set to false. When set to true the phone number can't
	// be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageType is a required field
	MessageType *string `type:"string" required:"true" enum:"MessageType"`

	// Indicates if the phone number will be used for text messages, voice messages,
	// or both.
	//
	// NumberCapabilities is a required field
	NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`

	// The type of phone number to request.
	//
	// NumberType is a required field
	NumberType *string `type:"string" required:"true" enum:"RequestableNumberType"`

	// The name of the OptOutList to associate with the phone number. You can use
	// the OptOutListName or OptOutListArn.
	OptOutListName *string `min:"1" type:"string"`

	// The pool to associated with the phone number. You can use the PoolId or PoolArn.
	PoolId *string `min:"1" type:"string"`

	// Use this field to attach your phone number for an external registration process.
	RegistrationId *string `min:"1" type:"string"`

	// An array of tags (key and value pairs) associate with the requested phone
	// number.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (RequestPhoneNumberInput) GoString

func (s RequestPhoneNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestPhoneNumberInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*RequestPhoneNumberInput) SetDeletionProtectionEnabled

func (s *RequestPhoneNumberInput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*RequestPhoneNumberInput) SetIsoCountryCode

func (s *RequestPhoneNumberInput) SetIsoCountryCode(v string) *RequestPhoneNumberInput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*RequestPhoneNumberInput) SetMessageType

SetMessageType sets the MessageType field's value.

func (*RequestPhoneNumberInput) SetNumberCapabilities

func (s *RequestPhoneNumberInput) SetNumberCapabilities(v []*string) *RequestPhoneNumberInput

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*RequestPhoneNumberInput) SetNumberType

SetNumberType sets the NumberType field's value.

func (*RequestPhoneNumberInput) SetOptOutListName

func (s *RequestPhoneNumberInput) SetOptOutListName(v string) *RequestPhoneNumberInput

SetOptOutListName sets the OptOutListName field's value.

func (*RequestPhoneNumberInput) SetPoolId

SetPoolId sets the PoolId field's value.

func (*RequestPhoneNumberInput) SetRegistrationId

func (s *RequestPhoneNumberInput) SetRegistrationId(v string) *RequestPhoneNumberInput

SetRegistrationId sets the RegistrationId field's value.

func (*RequestPhoneNumberInput) SetTags

SetTags sets the Tags field's value.

func (RequestPhoneNumberInput) String

func (s RequestPhoneNumberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestPhoneNumberInput) Validate

func (s *RequestPhoneNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestPhoneNumberOutput

type RequestPhoneNumberOutput struct {

	// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// By default this is set to false. When set to true the phone number can't
	// be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	MessageType *string `type:"string" enum:"MessageType"`

	// The monthly price, in US dollars, to lease the phone number.
	MonthlyLeasingPrice *string `type:"string"`

	// Indicates if the phone number will be used for text messages, voice messages
	// or both.
	NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`

	// The type of number that was released.
	NumberType *string `type:"string" enum:"RequestableNumberType"`

	// The name of the OptOutList that is associated with the requested phone number.
	OptOutListName *string `min:"1" type:"string"`

	// The new phone number that was requested.
	PhoneNumber *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the requested phone number.
	PhoneNumberArn *string `type:"string"`

	// The unique identifier of the new phone number.
	PhoneNumberId *string `type:"string"`

	// The unique identifier of the pool associated with the phone number
	PoolId *string `type:"string"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// The current status of the request.
	Status *string `type:"string" enum:"NumberStatus"`

	// An array of key and value pair tags that are associated with the phone number.
	Tags []*Tag `type:"list"`

	// The ARN used to identify the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (RequestPhoneNumberOutput) GoString

func (s RequestPhoneNumberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestPhoneNumberOutput) SetCreatedTimestamp

func (s *RequestPhoneNumberOutput) SetCreatedTimestamp(v time.Time) *RequestPhoneNumberOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*RequestPhoneNumberOutput) SetDeletionProtectionEnabled

func (s *RequestPhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*RequestPhoneNumberOutput) SetIsoCountryCode

func (s *RequestPhoneNumberOutput) SetIsoCountryCode(v string) *RequestPhoneNumberOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*RequestPhoneNumberOutput) SetMessageType

SetMessageType sets the MessageType field's value.

func (*RequestPhoneNumberOutput) SetMonthlyLeasingPrice

func (s *RequestPhoneNumberOutput) SetMonthlyLeasingPrice(v string) *RequestPhoneNumberOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*RequestPhoneNumberOutput) SetNumberCapabilities

func (s *RequestPhoneNumberOutput) SetNumberCapabilities(v []*string) *RequestPhoneNumberOutput

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*RequestPhoneNumberOutput) SetNumberType

SetNumberType sets the NumberType field's value.

func (*RequestPhoneNumberOutput) SetOptOutListName

func (s *RequestPhoneNumberOutput) SetOptOutListName(v string) *RequestPhoneNumberOutput

SetOptOutListName sets the OptOutListName field's value.

func (*RequestPhoneNumberOutput) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*RequestPhoneNumberOutput) SetPhoneNumberArn

func (s *RequestPhoneNumberOutput) SetPhoneNumberArn(v string) *RequestPhoneNumberOutput

SetPhoneNumberArn sets the PhoneNumberArn field's value.

func (*RequestPhoneNumberOutput) SetPhoneNumberId

SetPhoneNumberId sets the PhoneNumberId field's value.

func (*RequestPhoneNumberOutput) SetPoolId

SetPoolId sets the PoolId field's value.

func (*RequestPhoneNumberOutput) SetRegistrationId

func (s *RequestPhoneNumberOutput) SetRegistrationId(v string) *RequestPhoneNumberOutput

SetRegistrationId sets the RegistrationId field's value.

func (*RequestPhoneNumberOutput) SetSelfManagedOptOutsEnabled

func (s *RequestPhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *RequestPhoneNumberOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*RequestPhoneNumberOutput) SetStatus

SetStatus sets the Status field's value.

func (*RequestPhoneNumberOutput) SetTags

SetTags sets the Tags field's value.

func (*RequestPhoneNumberOutput) SetTwoWayChannelArn

func (s *RequestPhoneNumberOutput) SetTwoWayChannelArn(v string) *RequestPhoneNumberOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*RequestPhoneNumberOutput) SetTwoWayChannelRole

func (s *RequestPhoneNumberOutput) SetTwoWayChannelRole(v string) *RequestPhoneNumberOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*RequestPhoneNumberOutput) SetTwoWayEnabled

func (s *RequestPhoneNumberOutput) SetTwoWayEnabled(v bool) *RequestPhoneNumberOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (RequestPhoneNumberOutput) String

func (s RequestPhoneNumberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RequestSenderIdInput

type RequestSenderIdInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request. If you don't specify a client token, a randomly generated
	// token is used for the request to ensure idempotency.
	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// By default this is set to false. When set to true the sender ID can't be
	// deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	MessageTypes []*string `type:"list" enum:"MessageType"`

	// The sender ID string to request.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the sender ID.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (RequestSenderIdInput) GoString

func (s RequestSenderIdInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestSenderIdInput) SetClientToken

func (s *RequestSenderIdInput) SetClientToken(v string) *RequestSenderIdInput

SetClientToken sets the ClientToken field's value.

func (*RequestSenderIdInput) SetDeletionProtectionEnabled

func (s *RequestSenderIdInput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*RequestSenderIdInput) SetIsoCountryCode

func (s *RequestSenderIdInput) SetIsoCountryCode(v string) *RequestSenderIdInput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*RequestSenderIdInput) SetMessageTypes

func (s *RequestSenderIdInput) SetMessageTypes(v []*string) *RequestSenderIdInput

SetMessageTypes sets the MessageTypes field's value.

func (*RequestSenderIdInput) SetSenderId

SetSenderId sets the SenderId field's value.

func (*RequestSenderIdInput) SetTags

func (s *RequestSenderIdInput) SetTags(v []*Tag) *RequestSenderIdInput

SetTags sets the Tags field's value.

func (RequestSenderIdInput) String

func (s RequestSenderIdInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestSenderIdInput) Validate

func (s *RequestSenderIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestSenderIdOutput

type RequestSenderIdOutput struct {

	// By default this is set to false. When set to true the sender ID can't be
	// deleted.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageTypes is a required field
	MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`

	// The monthly price, in US dollars, to lease the sender ID.
	//
	// MonthlyLeasingPrice is a required field
	MonthlyLeasingPrice *string `type:"string" required:"true"`

	// True if the sender ID is registered.
	//
	// Registered is a required field
	Registered *bool `type:"boolean" required:"true"`

	// The sender ID that was requested.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the SenderId.
	//
	// SenderIdArn is a required field
	SenderIdArn *string `type:"string" required:"true"`

	// An array of tags (key and value pairs) to associate with the sender ID.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (RequestSenderIdOutput) GoString

func (s RequestSenderIdOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestSenderIdOutput) SetDeletionProtectionEnabled

func (s *RequestSenderIdOutput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*RequestSenderIdOutput) SetIsoCountryCode

func (s *RequestSenderIdOutput) SetIsoCountryCode(v string) *RequestSenderIdOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*RequestSenderIdOutput) SetMessageTypes

func (s *RequestSenderIdOutput) SetMessageTypes(v []*string) *RequestSenderIdOutput

SetMessageTypes sets the MessageTypes field's value.

func (*RequestSenderIdOutput) SetMonthlyLeasingPrice

func (s *RequestSenderIdOutput) SetMonthlyLeasingPrice(v string) *RequestSenderIdOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*RequestSenderIdOutput) SetRegistered

func (s *RequestSenderIdOutput) SetRegistered(v bool) *RequestSenderIdOutput

SetRegistered sets the Registered field's value.

func (*RequestSenderIdOutput) SetSenderId

SetSenderId sets the SenderId field's value.

func (*RequestSenderIdOutput) SetSenderIdArn

func (s *RequestSenderIdOutput) SetSenderIdArn(v string) *RequestSenderIdOutput

SetSenderIdArn sets the SenderIdArn field's value.

func (*RequestSenderIdOutput) SetTags

SetTags sets the Tags field's value.

func (RequestSenderIdOutput) String

func (s RequestSenderIdOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The unique identifier of the resource.
	ResourceId *string `type:"string"`

	// The type of resource that caused the exception.
	ResourceType *string `type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

A requested resource couldn't be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SelectOptionDescription

type SelectOptionDescription struct {

	// A description of the option meaning.
	Description *string `type:"string"`

	// The value of the option.
	//
	// Option is a required field
	Option *string `type:"string" required:"true"`

	// The title of the select option.
	Title *string `type:"string"`
	// contains filtered or unexported fields
}

A description of each select option.

func (SelectOptionDescription) GoString

func (s SelectOptionDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SelectOptionDescription) SetDescription

SetDescription sets the Description field's value.

func (*SelectOptionDescription) SetOption

SetOption sets the Option field's value.

func (*SelectOptionDescription) SetTitle

SetTitle sets the Title field's value.

func (SelectOptionDescription) String

func (s SelectOptionDescription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SelectValidation

type SelectValidation struct {

	// The maximum number of choices for the select.
	//
	// MaxChoices is a required field
	MaxChoices *int64 `type:"integer" required:"true"`

	// The minimum number of choices for the select.
	//
	// MinChoices is a required field
	MinChoices *int64 `type:"integer" required:"true"`

	// An array of strings for the possible selection options.
	//
	// Options is a required field
	Options []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Validation rules for a select field.

func (SelectValidation) GoString

func (s SelectValidation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SelectValidation) SetMaxChoices

func (s *SelectValidation) SetMaxChoices(v int64) *SelectValidation

SetMaxChoices sets the MaxChoices field's value.

func (*SelectValidation) SetMinChoices

func (s *SelectValidation) SetMinChoices(v int64) *SelectValidation

SetMinChoices sets the MinChoices field's value.

func (*SelectValidation) SetOptions

func (s *SelectValidation) SetOptions(v []*string) *SelectValidation

SetOptions sets the Options field's value.

func (SelectValidation) String

func (s SelectValidation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendDestinationNumberVerificationCodeInput

type SendDestinationNumberVerificationCodeInput struct {

	// The name of the configuration set to use. This can be either the ConfigurationSetName
	// or ConfigurationSetArn.
	ConfigurationSetName *string `min:"1" type:"string"`

	// You can specify custom data in this field. If you do, that data is logged
	// to the event destination.
	Context map[string]*string `type:"map"`

	// This field is used for any country-specific registration requirements. Currently,
	// this setting is only used when you send messages to recipients in India using
	// a sender ID. For more information see Special requirements for sending SMS
	// messages to recipients in India (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-senderid-india.html).
	DestinationCountryParameters map[string]*string `type:"map"`

	// Choose the language to use for the message.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The origination identity of the message. This can be either the PhoneNumber,
	// PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
	OriginationIdentity *string `min:"1" type:"string"`

	// Choose to send the verification code as an SMS or voice message.
	//
	// VerificationChannel is a required field
	VerificationChannel *string `type:"string" required:"true" enum:"VerificationChannel"`

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SendDestinationNumberVerificationCodeInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendDestinationNumberVerificationCodeInput) SetConfigurationSetName

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendDestinationNumberVerificationCodeInput) SetContext

SetContext sets the Context field's value.

func (*SendDestinationNumberVerificationCodeInput) SetDestinationCountryParameters

SetDestinationCountryParameters sets the DestinationCountryParameters field's value.

func (*SendDestinationNumberVerificationCodeInput) SetLanguageCode

SetLanguageCode sets the LanguageCode field's value.

func (*SendDestinationNumberVerificationCodeInput) SetOriginationIdentity

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*SendDestinationNumberVerificationCodeInput) SetVerificationChannel

SetVerificationChannel sets the VerificationChannel field's value.

func (*SendDestinationNumberVerificationCodeInput) SetVerifiedDestinationNumberId

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (SendDestinationNumberVerificationCodeInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendDestinationNumberVerificationCodeInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SendDestinationNumberVerificationCodeOutput

type SendDestinationNumberVerificationCodeOutput struct {

	// The unique identifier for the message.
	//
	// MessageId is a required field
	MessageId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SendDestinationNumberVerificationCodeOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendDestinationNumberVerificationCodeOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (SendDestinationNumberVerificationCodeOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendMediaMessageInput

type SendMediaMessageInput struct {

	// The name of the configuration set to use. This can be either the ConfigurationSetName
	// or ConfigurationSetArn.
	ConfigurationSetName *string `min:"1" type:"string"`

	// You can specify custom data in this field. If you do, that data is logged
	// to the event destination.
	Context map[string]*string `type:"map"`

	// The destination phone number in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// When set to true, the message is checked and validated, but isn't sent to
	// the end recipient.
	DryRun *bool `type:"boolean"`

	// The maximum amount that you want to spend, in US dollars, per each MMS message.
	MaxPrice *string `min:"2" type:"string"`

	// An array of URLs to each media file to send.
	//
	// The media files have to be stored in a publicly available S3 bucket. Supported
	// media file formats are listed in MMS file types, size and character limits
	// (https://docs.aws.amazon.com/sms-voice/latest/userguide/mms-limitations-character.html).
	// For more information on creating an S3 bucket and managing objects, see Creating
	// a bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html)
	// and Uploading objects (https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html)
	// in the S3 user guide.
	MediaUrls []*string `min:"1" type:"list"`

	// The text body of the message.
	MessageBody *string `min:"1" type:"string"`

	// The origination identity of the message. This can be either the PhoneNumber,
	// PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`

	// The unique identifier of the protect configuration to use.
	ProtectConfigurationId *string `min:"1" type:"string"`

	// How long the text message is valid for. By default this is 72 hours.
	TimeToLive *int64 `min:"5" type:"integer"`
	// contains filtered or unexported fields
}

func (SendMediaMessageInput) GoString

func (s SendMediaMessageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMediaMessageInput) SetConfigurationSetName

func (s *SendMediaMessageInput) SetConfigurationSetName(v string) *SendMediaMessageInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendMediaMessageInput) SetContext

SetContext sets the Context field's value.

func (*SendMediaMessageInput) SetDestinationPhoneNumber

func (s *SendMediaMessageInput) SetDestinationPhoneNumber(v string) *SendMediaMessageInput

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*SendMediaMessageInput) SetDryRun

SetDryRun sets the DryRun field's value.

func (*SendMediaMessageInput) SetMaxPrice

SetMaxPrice sets the MaxPrice field's value.

func (*SendMediaMessageInput) SetMediaUrls

func (s *SendMediaMessageInput) SetMediaUrls(v []*string) *SendMediaMessageInput

SetMediaUrls sets the MediaUrls field's value.

func (*SendMediaMessageInput) SetMessageBody

func (s *SendMediaMessageInput) SetMessageBody(v string) *SendMediaMessageInput

SetMessageBody sets the MessageBody field's value.

func (*SendMediaMessageInput) SetOriginationIdentity

func (s *SendMediaMessageInput) SetOriginationIdentity(v string) *SendMediaMessageInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*SendMediaMessageInput) SetProtectConfigurationId

func (s *SendMediaMessageInput) SetProtectConfigurationId(v string) *SendMediaMessageInput

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (*SendMediaMessageInput) SetTimeToLive

func (s *SendMediaMessageInput) SetTimeToLive(v int64) *SendMediaMessageInput

SetTimeToLive sets the TimeToLive field's value.

func (SendMediaMessageInput) String

func (s SendMediaMessageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMediaMessageInput) Validate

func (s *SendMediaMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendMediaMessageOutput

type SendMediaMessageOutput struct {

	// The unique identifier for the message.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (SendMediaMessageOutput) GoString

func (s SendMediaMessageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendMediaMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (SendMediaMessageOutput) String

func (s SendMediaMessageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendTextMessageInput

type SendTextMessageInput struct {

	// The name of the configuration set to use. This can be either the ConfigurationSetName
	// or ConfigurationSetArn.
	ConfigurationSetName *string `min:"1" type:"string"`

	// You can specify custom data in this field. If you do, that data is logged
	// to the event destination.
	Context map[string]*string `type:"map"`

	// This field is used for any country-specific registration requirements. Currently,
	// this setting is only used when you send messages to recipients in India using
	// a sender ID. For more information see Special requirements for sending SMS
	// messages to recipients in India (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-senderid-india.html).
	DestinationCountryParameters map[string]*string `type:"map"`

	// The destination phone number in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// When set to true, the message is checked and validated, but isn't sent to
	// the end recipient.
	DryRun *bool `type:"boolean"`

	// When you register a short code in the US, you must specify a program name.
	// If you don’t have a US short code, omit this attribute.
	Keyword *string `min:"1" type:"string"`

	// The maximum amount that you want to spend, in US dollars, per each text message
	// part. A text message can contain multiple parts.
	MaxPrice *string `min:"2" type:"string"`

	// The body of the text message.
	MessageBody *string `min:"1" type:"string"`

	// The type of message. Valid values are for messages that are critical or time-sensitive
	// and PROMOTIONAL for messages that aren't critical or time-sensitive.
	MessageType *string `type:"string" enum:"MessageType"`

	// The origination identity of the message. This can be either the PhoneNumber,
	// PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
	OriginationIdentity *string `min:"1" type:"string"`

	// The unique identifier for the protect configuration.
	ProtectConfigurationId *string `min:"1" type:"string"`

	// How long the text message is valid for. By default this is 72 hours.
	TimeToLive *int64 `min:"5" type:"integer"`
	// contains filtered or unexported fields
}

func (SendTextMessageInput) GoString

func (s SendTextMessageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendTextMessageInput) SetConfigurationSetName

func (s *SendTextMessageInput) SetConfigurationSetName(v string) *SendTextMessageInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendTextMessageInput) SetContext

func (s *SendTextMessageInput) SetContext(v map[string]*string) *SendTextMessageInput

SetContext sets the Context field's value.

func (*SendTextMessageInput) SetDestinationCountryParameters

func (s *SendTextMessageInput) SetDestinationCountryParameters(v map[string]*string) *SendTextMessageInput

SetDestinationCountryParameters sets the DestinationCountryParameters field's value.

func (*SendTextMessageInput) SetDestinationPhoneNumber

func (s *SendTextMessageInput) SetDestinationPhoneNumber(v string) *SendTextMessageInput

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*SendTextMessageInput) SetDryRun

SetDryRun sets the DryRun field's value.

func (*SendTextMessageInput) SetKeyword

SetKeyword sets the Keyword field's value.

func (*SendTextMessageInput) SetMaxPrice

SetMaxPrice sets the MaxPrice field's value.

func (*SendTextMessageInput) SetMessageBody

func (s *SendTextMessageInput) SetMessageBody(v string) *SendTextMessageInput

SetMessageBody sets the MessageBody field's value.

func (*SendTextMessageInput) SetMessageType

func (s *SendTextMessageInput) SetMessageType(v string) *SendTextMessageInput

SetMessageType sets the MessageType field's value.

func (*SendTextMessageInput) SetOriginationIdentity

func (s *SendTextMessageInput) SetOriginationIdentity(v string) *SendTextMessageInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*SendTextMessageInput) SetProtectConfigurationId

func (s *SendTextMessageInput) SetProtectConfigurationId(v string) *SendTextMessageInput

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (*SendTextMessageInput) SetTimeToLive

func (s *SendTextMessageInput) SetTimeToLive(v int64) *SendTextMessageInput

SetTimeToLive sets the TimeToLive field's value.

func (SendTextMessageInput) String

func (s SendTextMessageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendTextMessageInput) Validate

func (s *SendTextMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendTextMessageOutput

type SendTextMessageOutput struct {

	// The unique identifier for the message.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (SendTextMessageOutput) GoString

func (s SendTextMessageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendTextMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (SendTextMessageOutput) String

func (s SendTextMessageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendVoiceMessageInput

type SendVoiceMessageInput struct {

	// The name of the configuration set to use. This can be either the ConfigurationSetName
	// or ConfigurationSetArn.
	ConfigurationSetName *string `min:"1" type:"string"`

	// You can specify custom data in this field. If you do, that data is logged
	// to the event destination.
	Context map[string]*string `type:"map"`

	// The destination phone number in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// When set to true, the message is checked and validated, but isn't sent to
	// the end recipient.
	DryRun *bool `type:"boolean"`

	// The maximum amount to spend per voice message, in US dollars.
	MaxPricePerMinute *string `min:"2" type:"string"`

	// The text to convert to a voice message.
	MessageBody *string `min:"1" type:"string"`

	// Specifies if the MessageBody field contains text or speech synthesis markup
	// language (SSML) (https://docs.aws.amazon.com/polly/latest/dg/what-is.html).
	//
	//    * TEXT: This is the default value. When used the maximum character limit
	//    is 3000.
	//
	//    * SSML: When used the maximum character limit is 6000 including SSML tagging.
	MessageBodyTextType *string `type:"string" enum:"VoiceMessageBodyTextType"`

	// The origination identity to use for the voice call. This can be the PhoneNumber,
	// PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
	//
	// OriginationIdentity is a required field
	OriginationIdentity *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	ProtectConfigurationId *string `min:"1" type:"string"`

	// How long the voice message is valid for. By default this is 72 hours.
	TimeToLive *int64 `min:"5" type:"integer"`

	// The voice for the Amazon Polly (https://docs.aws.amazon.com/polly/latest/dg/what-is.html)
	// service to use. By default this is set to "MATTHEW".
	VoiceId *string `type:"string" enum:"VoiceId"`
	// contains filtered or unexported fields
}

func (SendVoiceMessageInput) GoString

func (s SendVoiceMessageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendVoiceMessageInput) SetConfigurationSetName

func (s *SendVoiceMessageInput) SetConfigurationSetName(v string) *SendVoiceMessageInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SendVoiceMessageInput) SetContext

SetContext sets the Context field's value.

func (*SendVoiceMessageInput) SetDestinationPhoneNumber

func (s *SendVoiceMessageInput) SetDestinationPhoneNumber(v string) *SendVoiceMessageInput

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*SendVoiceMessageInput) SetDryRun

SetDryRun sets the DryRun field's value.

func (*SendVoiceMessageInput) SetMaxPricePerMinute

func (s *SendVoiceMessageInput) SetMaxPricePerMinute(v string) *SendVoiceMessageInput

SetMaxPricePerMinute sets the MaxPricePerMinute field's value.

func (*SendVoiceMessageInput) SetMessageBody

func (s *SendVoiceMessageInput) SetMessageBody(v string) *SendVoiceMessageInput

SetMessageBody sets the MessageBody field's value.

func (*SendVoiceMessageInput) SetMessageBodyTextType

func (s *SendVoiceMessageInput) SetMessageBodyTextType(v string) *SendVoiceMessageInput

SetMessageBodyTextType sets the MessageBodyTextType field's value.

func (*SendVoiceMessageInput) SetOriginationIdentity

func (s *SendVoiceMessageInput) SetOriginationIdentity(v string) *SendVoiceMessageInput

SetOriginationIdentity sets the OriginationIdentity field's value.

func (*SendVoiceMessageInput) SetProtectConfigurationId

func (s *SendVoiceMessageInput) SetProtectConfigurationId(v string) *SendVoiceMessageInput

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (*SendVoiceMessageInput) SetTimeToLive

func (s *SendVoiceMessageInput) SetTimeToLive(v int64) *SendVoiceMessageInput

SetTimeToLive sets the TimeToLive field's value.

func (*SendVoiceMessageInput) SetVoiceId

SetVoiceId sets the VoiceId field's value.

func (SendVoiceMessageInput) String

func (s SendVoiceMessageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendVoiceMessageInput) Validate

func (s *SendVoiceMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendVoiceMessageOutput

type SendVoiceMessageOutput struct {

	// The unique identifier for the message.
	MessageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (SendVoiceMessageOutput) GoString

func (s SendVoiceMessageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendVoiceMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (SendVoiceMessageOutput) String

func (s SendVoiceMessageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SenderIdAndCountry

type SenderIdAndCountry struct {

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The unique identifier of the sender.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs for SMS messaging with Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-sender-id.html) in the Amazon Pinpoint User Guide.

func (SenderIdAndCountry) GoString

func (s SenderIdAndCountry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SenderIdAndCountry) SetIsoCountryCode

func (s *SenderIdAndCountry) SetIsoCountryCode(v string) *SenderIdAndCountry

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*SenderIdAndCountry) SetSenderId

func (s *SenderIdAndCountry) SetSenderId(v string) *SenderIdAndCountry

SetSenderId sets the SenderId field's value.

func (SenderIdAndCountry) String

func (s SenderIdAndCountry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SenderIdAndCountry) Validate

func (s *SenderIdAndCountry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SenderIdFilter

type SenderIdFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"SenderIdFilterName"`

	// An array of values to filter for.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The information for a sender ID that meets a specified criteria.

func (SenderIdFilter) GoString

func (s SenderIdFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SenderIdFilter) SetName

func (s *SenderIdFilter) SetName(v string) *SenderIdFilter

SetName sets the Name field's value.

func (*SenderIdFilter) SetValues

func (s *SenderIdFilter) SetValues(v []*string) *SenderIdFilter

SetValues sets the Values field's value.

func (SenderIdFilter) String

func (s SenderIdFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SenderIdFilter) Validate

func (s *SenderIdFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SenderIdInformation

type SenderIdInformation struct {

	// By default this is set to false. When set to true the sender ID can't be
	// deleted.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageTypes is a required field
	MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`

	// The monthly leasing price, in US dollars.
	//
	// MonthlyLeasingPrice is a required field
	MonthlyLeasingPrice *string `type:"string" required:"true"`

	// True if the sender ID is registered.
	//
	// Registered is a required field
	Registered *bool `type:"boolean" required:"true"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// The alphanumeric sender ID in a specific country that you'd like to describe.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the SenderId.
	//
	// SenderIdArn is a required field
	SenderIdArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The information for all SenderIds in an Amazon Web Services account.

func (SenderIdInformation) GoString

func (s SenderIdInformation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SenderIdInformation) SetDeletionProtectionEnabled

func (s *SenderIdInformation) SetDeletionProtectionEnabled(v bool) *SenderIdInformation

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*SenderIdInformation) SetIsoCountryCode

func (s *SenderIdInformation) SetIsoCountryCode(v string) *SenderIdInformation

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*SenderIdInformation) SetMessageTypes

func (s *SenderIdInformation) SetMessageTypes(v []*string) *SenderIdInformation

SetMessageTypes sets the MessageTypes field's value.

func (*SenderIdInformation) SetMonthlyLeasingPrice

func (s *SenderIdInformation) SetMonthlyLeasingPrice(v string) *SenderIdInformation

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*SenderIdInformation) SetRegistered

func (s *SenderIdInformation) SetRegistered(v bool) *SenderIdInformation

SetRegistered sets the Registered field's value.

func (*SenderIdInformation) SetRegistrationId

func (s *SenderIdInformation) SetRegistrationId(v string) *SenderIdInformation

SetRegistrationId sets the RegistrationId field's value.

func (*SenderIdInformation) SetSenderId

func (s *SenderIdInformation) SetSenderId(v string) *SenderIdInformation

SetSenderId sets the SenderId field's value.

func (*SenderIdInformation) SetSenderIdArn

func (s *SenderIdInformation) SetSenderIdArn(v string) *SenderIdInformation

SetSenderIdArn sets the SenderIdArn field's value.

func (SenderIdInformation) String

func (s SenderIdInformation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason for the exception.
	Reason *string `type:"string" enum:"ServiceQuotaExceededExceptionReason"`
	// contains filtered or unexported fields
}

The request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetAccountDefaultProtectConfigurationInput

type SetAccountDefaultProtectConfigurationInput struct {

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetAccountDefaultProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetAccountDefaultProtectConfigurationInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (SetAccountDefaultProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetAccountDefaultProtectConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SetAccountDefaultProtectConfigurationOutput

type SetAccountDefaultProtectConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the account default protect configuration.
	//
	// DefaultProtectConfigurationArn is a required field
	DefaultProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier of the account default protect configuration.
	//
	// DefaultProtectConfigurationId is a required field
	DefaultProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetAccountDefaultProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationArn

SetDefaultProtectConfigurationArn sets the DefaultProtectConfigurationArn field's value.

func (*SetAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationId

SetDefaultProtectConfigurationId sets the DefaultProtectConfigurationId field's value.

func (SetAccountDefaultProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetDefaultMessageTypeInput

type SetDefaultMessageTypeInput struct {

	// The configuration set to update with a new default message type. This field
	// can be the ConsigurationSetName or ConfigurationSetArn.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageType is a required field
	MessageType *string `type:"string" required:"true" enum:"MessageType"`
	// contains filtered or unexported fields
}

func (SetDefaultMessageTypeInput) GoString

func (s SetDefaultMessageTypeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultMessageTypeInput) SetConfigurationSetName

func (s *SetDefaultMessageTypeInput) SetConfigurationSetName(v string) *SetDefaultMessageTypeInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SetDefaultMessageTypeInput) SetMessageType

SetMessageType sets the MessageType field's value.

func (SetDefaultMessageTypeInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultMessageTypeInput) Validate

func (s *SetDefaultMessageTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetDefaultMessageTypeOutput

type SetDefaultMessageTypeOutput struct {

	// The Amazon Resource Name (ARN) of the updated configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set that was updated.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The new default message type of the configuration set.
	MessageType *string `type:"string" enum:"MessageType"`
	// contains filtered or unexported fields
}

func (SetDefaultMessageTypeOutput) GoString

func (s SetDefaultMessageTypeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultMessageTypeOutput) SetConfigurationSetArn

func (s *SetDefaultMessageTypeOutput) SetConfigurationSetArn(v string) *SetDefaultMessageTypeOutput

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*SetDefaultMessageTypeOutput) SetConfigurationSetName

func (s *SetDefaultMessageTypeOutput) SetConfigurationSetName(v string) *SetDefaultMessageTypeOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SetDefaultMessageTypeOutput) SetMessageType

SetMessageType sets the MessageType field's value.

func (SetDefaultMessageTypeOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetDefaultSenderIdInput

type SetDefaultSenderIdInput struct {

	// The configuration set to updated with a new default SenderId. This field
	// can be the ConsigurationSetName or ConfigurationSetArn.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// The current sender ID for the configuration set. When sending a text message
	// to a destination country which supports SenderIds, the default sender ID
	// on the configuration set specified on SendTextMessage will be used if no
	// dedicated origination phone numbers or registered SenderIds are available
	// in your account, instead of a generic sender ID, such as 'NOTICE'.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetDefaultSenderIdInput) GoString

func (s SetDefaultSenderIdInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultSenderIdInput) SetConfigurationSetName

func (s *SetDefaultSenderIdInput) SetConfigurationSetName(v string) *SetDefaultSenderIdInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SetDefaultSenderIdInput) SetSenderId

SetSenderId sets the SenderId field's value.

func (SetDefaultSenderIdInput) String

func (s SetDefaultSenderIdInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultSenderIdInput) Validate

func (s *SetDefaultSenderIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetDefaultSenderIdOutput

type SetDefaultSenderIdOutput struct {

	// The Amazon Resource Name (ARN) of the updated configuration set.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set that was updated.
	ConfigurationSetName *string `min:"1" type:"string"`

	// The default sender ID to set for the ConfigurationSet.
	SenderId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (SetDefaultSenderIdOutput) GoString

func (s SetDefaultSenderIdOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultSenderIdOutput) SetConfigurationSetArn

func (s *SetDefaultSenderIdOutput) SetConfigurationSetArn(v string) *SetDefaultSenderIdOutput

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*SetDefaultSenderIdOutput) SetConfigurationSetName

func (s *SetDefaultSenderIdOutput) SetConfigurationSetName(v string) *SetDefaultSenderIdOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*SetDefaultSenderIdOutput) SetSenderId

SetSenderId sets the SenderId field's value.

func (SetDefaultSenderIdOutput) String

func (s SetDefaultSenderIdOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetMediaMessageSpendLimitOverrideInput

type SetMediaMessageSpendLimitOverrideInput struct {

	// The new monthly limit to enforce on text messages.
	//
	// MonthlyLimit is a required field
	MonthlyLimit *int64 `type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (SetMediaMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetMediaMessageSpendLimitOverrideInput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetMediaMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetMediaMessageSpendLimitOverrideInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SetMediaMessageSpendLimitOverrideOutput

type SetMediaMessageSpendLimitOverrideOutput struct {

	// The current monthly limit to enforce on sending text messages.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (SetMediaMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetMediaMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetMediaMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetTextMessageSpendLimitOverrideInput

type SetTextMessageSpendLimitOverrideInput struct {

	// The new monthly limit to enforce on text messages.
	//
	// MonthlyLimit is a required field
	MonthlyLimit *int64 `type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (SetTextMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTextMessageSpendLimitOverrideInput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetTextMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTextMessageSpendLimitOverrideInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SetTextMessageSpendLimitOverrideOutput

type SetTextMessageSpendLimitOverrideOutput struct {

	// The current monthly limit to enforce on sending text messages.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (SetTextMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTextMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetTextMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetVoiceMessageSpendLimitOverrideInput

type SetVoiceMessageSpendLimitOverrideInput struct {

	// The new monthly limit to enforce on voice messages.
	//
	// MonthlyLimit is a required field
	MonthlyLimit *int64 `type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (SetVoiceMessageSpendLimitOverrideInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetVoiceMessageSpendLimitOverrideInput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetVoiceMessageSpendLimitOverrideInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetVoiceMessageSpendLimitOverrideInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SetVoiceMessageSpendLimitOverrideOutput

type SetVoiceMessageSpendLimitOverrideOutput struct {

	// The current monthly limit to enforce on sending voice messages.
	MonthlyLimit *int64 `type:"long"`
	// contains filtered or unexported fields
}

func (SetVoiceMessageSpendLimitOverrideOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit

SetMonthlyLimit sets the MonthlyLimit field's value.

func (SetVoiceMessageSpendLimitOverrideOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SnsDestination

type SnsDestination struct {

	// The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish
	// events to.
	//
	// TopicArn is a required field
	TopicArn *string `min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An object that defines an Amazon SNS destination for events. You can use Amazon SNS to send notification when certain events occur.

func (SnsDestination) GoString

func (s SnsDestination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SnsDestination) SetTopicArn

func (s *SnsDestination) SetTopicArn(v string) *SnsDestination

SetTopicArn sets the TopicArn field's value.

func (SnsDestination) String

func (s SnsDestination) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SnsDestination) Validate

func (s *SnsDestination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SpendLimit

type SpendLimit struct {

	// The maximum amount of money, in US dollars, that you want to be able to spend
	// sending messages each month. This value has to be less than or equal to the
	// amount in MaxLimit. To use this custom limit, Overridden must be set to true.
	//
	// EnforcedLimit is a required field
	EnforcedLimit *int64 `type:"long" required:"true"`

	// The maximum amount of money that you are able to spend to send messages each
	// month, in US dollars.
	//
	// MaxLimit is a required field
	MaxLimit *int64 `type:"long" required:"true"`

	// The name for the SpendLimit.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"SpendLimitName"`

	// When set to True, the value that has been specified in the EnforcedLimit
	// is used to determine the maximum amount in US dollars that can be spent to
	// send messages each month, in US dollars.
	//
	// Overridden is a required field
	Overridden *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Describes the current Amazon Pinpoint monthly spend limits for sending voice and text messages. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html) in the Amazon Pinpoint User Guide.

func (SpendLimit) GoString

func (s SpendLimit) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpendLimit) SetEnforcedLimit

func (s *SpendLimit) SetEnforcedLimit(v int64) *SpendLimit

SetEnforcedLimit sets the EnforcedLimit field's value.

func (*SpendLimit) SetMaxLimit

func (s *SpendLimit) SetMaxLimit(v int64) *SpendLimit

SetMaxLimit sets the MaxLimit field's value.

func (*SpendLimit) SetName

func (s *SpendLimit) SetName(v string) *SpendLimit

SetName sets the Name field's value.

func (*SpendLimit) SetOverridden

func (s *SpendLimit) SetOverridden(v bool) *SpendLimit

SetOverridden sets the Overridden field's value.

func (SpendLimit) String

func (s SpendLimit) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SubmitRegistrationVersionInput

type SubmitRegistrationVersionInput struct {

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SubmitRegistrationVersionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubmitRegistrationVersionInput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (SubmitRegistrationVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubmitRegistrationVersionInput) Validate

func (s *SubmitRegistrationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SubmitRegistrationVersionOutput

type SubmitRegistrationVersionOutput struct {

	// The Amazon Resource Name (ARN) for the registration.
	//
	// RegistrationArn is a required field
	RegistrationArn *string `type:"string" required:"true"`

	// The unique identifier for the registration.
	//
	// RegistrationId is a required field
	RegistrationId *string `type:"string" required:"true"`

	// The status of the registration version.
	//
	//    * DRAFT: The initial status of a registration version after it’s created.
	//
	//    * SUBMITTED: Your registration has been submitted.
	//
	//    * REVIEWING: Your registration has been accepted and is being reviewed.
	//
	//    * APPROVED: Your registration has been approved.
	//
	//    * DISCARDED: You've abandon this version of their registration to start
	//    over with a new version.
	//
	//    * DENIED: You must fix your registration and resubmit it.
	//
	//    * REVOKED: Your previously approved registration has been revoked.
	//
	//    * ARCHIVED: Your previously approved registration version moves into this
	//    status when a more recently submitted version is approved.
	//
	// RegistrationVersionStatus is a required field
	RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`

	// The RegistrationVersionStatusHistory object contains the time stamps for
	// when the reservations status changes.
	//
	// RegistrationVersionStatusHistory is a required field
	RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`

	// The version number of the registration.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `min:"1" type:"long" required:"true"`
	// contains filtered or unexported fields
}

func (SubmitRegistrationVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubmitRegistrationVersionOutput) SetRegistrationArn

SetRegistrationArn sets the RegistrationArn field's value.

func (*SubmitRegistrationVersionOutput) SetRegistrationId

SetRegistrationId sets the RegistrationId field's value.

func (*SubmitRegistrationVersionOutput) SetRegistrationVersionStatus

func (s *SubmitRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *SubmitRegistrationVersionOutput

SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.

func (*SubmitRegistrationVersionOutput) SetRegistrationVersionStatusHistory

SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.

func (*SubmitRegistrationVersionOutput) SetVersionNumber

SetVersionNumber sets the VersionNumber field's value.

func (SubmitRegistrationVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SupportedAssociation

type SupportedAssociation struct {

	// The association behavior.
	//
	//    * ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied
	//    when creating a registration.
	//
	//    * ASSOCIATE_ON_APPROVAL This applies to all short code registrations.
	//    The short code will be automatically provisioned once the registration
	//    is approved.
	//
	//    * ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations
	//    when you must complete a registration first, then associate one or more
	//    phone numbers later. For example 10DLC campaigns and long codes.
	//
	// AssociationBehavior is a required field
	AssociationBehavior *string `type:"string" required:"true" enum:"RegistrationAssociationBehavior"`

	// The disassociation behavior.
	//
	//    * DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must
	//    be disassociated from the registration before the registration can be
	//    closed.
	//
	//    * DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities
	//    must be disassociated from the registration before the registration can
	//    be deleted.
	//
	//    * DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and
	//    all origination identities will be disasscoiated.
	//
	// DisassociationBehavior is a required field
	DisassociationBehavior *string `type:"string" required:"true" enum:"RegistrationDisassociationBehavior"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// Defines the behavior of when an origination identity and registration can
	// be associated with each other.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The processing rules for when a registration can be associated with an origination identity and disassociated from an origination identity.

func (SupportedAssociation) GoString

func (s SupportedAssociation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SupportedAssociation) SetAssociationBehavior

func (s *SupportedAssociation) SetAssociationBehavior(v string) *SupportedAssociation

SetAssociationBehavior sets the AssociationBehavior field's value.

func (*SupportedAssociation) SetDisassociationBehavior

func (s *SupportedAssociation) SetDisassociationBehavior(v string) *SupportedAssociation

SetDisassociationBehavior sets the DisassociationBehavior field's value.

func (*SupportedAssociation) SetIsoCountryCode

func (s *SupportedAssociation) SetIsoCountryCode(v string) *SupportedAssociation

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*SupportedAssociation) SetResourceType

func (s *SupportedAssociation) SetResourceType(v string) *SupportedAssociation

SetResourceType sets the ResourceType field's value.

func (SupportedAssociation) String

func (s SupportedAssociation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// The key identifier, or name, of the tag.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The string value associated with the key of the tag.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"20" type:"string" required:"true"`

	// An array of key and value pair tags that are associated with the resource.
	//
	// Tags is a required field
	Tags []*Tag `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TextValidation

type TextValidation struct {

	// The maximum number of characters for the text field.
	//
	// MaxLength is a required field
	MaxLength *int64 `type:"integer" required:"true"`

	// The minimum number of characters for the text field.
	//
	// MinLength is a required field
	MinLength *int64 `type:"integer" required:"true"`

	// The regular expression used to validate the text field.
	//
	// Pattern is a required field
	Pattern *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Validation rules for a text field.

func (TextValidation) GoString

func (s TextValidation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TextValidation) SetMaxLength

func (s *TextValidation) SetMaxLength(v int64) *TextValidation

SetMaxLength sets the MaxLength field's value.

func (*TextValidation) SetMinLength

func (s *TextValidation) SetMinLength(v int64) *TextValidation

SetMinLength sets the MinLength field's value.

func (*TextValidation) SetPattern

func (s *TextValidation) SetPattern(v string) *TextValidation

SetPattern sets the Pattern field's value.

func (TextValidation) String

func (s TextValidation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

An error that occurred because too many requests were sent during a certain amount of time.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"20" type:"string" required:"true"`

	// An array of tag key values to unassociate with the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateEventDestinationInput

type UpdateEventDestinationInput struct {

	// An object that contains information about an event destination that sends
	// data to CloudWatch Logs.
	CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`

	// The configuration set to update with the new event destination. Valid values
	// for this can be the ConfigurationSetName or ConfigurationSetArn.
	//
	// ConfigurationSetName is a required field
	ConfigurationSetName *string `min:"1" type:"string" required:"true"`

	// When set to true logging is enabled.
	Enabled *bool `type:"boolean"`

	// The name to use for the event destination.
	//
	// EventDestinationName is a required field
	EventDestinationName *string `min:"1" type:"string" required:"true"`

	// An object that contains information about an event destination for logging
	// to Kinesis Data Firehose.
	KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`

	// An array of event types that determine which events to log.
	//
	// The TEXT_SENT event type is not supported.
	MatchingEventTypes []*string `min:"1" type:"list" enum:"EventType"`

	// An object that contains information about an event destination that sends
	// data to Amazon SNS.
	SnsDestination *SnsDestination `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateEventDestinationInput) GoString

func (s UpdateEventDestinationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEventDestinationInput) SetCloudWatchLogsDestination

SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.

func (*UpdateEventDestinationInput) SetConfigurationSetName

func (s *UpdateEventDestinationInput) SetConfigurationSetName(v string) *UpdateEventDestinationInput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*UpdateEventDestinationInput) SetEnabled

SetEnabled sets the Enabled field's value.

func (*UpdateEventDestinationInput) SetEventDestinationName

func (s *UpdateEventDestinationInput) SetEventDestinationName(v string) *UpdateEventDestinationInput

SetEventDestinationName sets the EventDestinationName field's value.

func (*UpdateEventDestinationInput) SetKinesisFirehoseDestination

SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.

func (*UpdateEventDestinationInput) SetMatchingEventTypes

func (s *UpdateEventDestinationInput) SetMatchingEventTypes(v []*string) *UpdateEventDestinationInput

SetMatchingEventTypes sets the MatchingEventTypes field's value.

func (*UpdateEventDestinationInput) SetSnsDestination

SetSnsDestination sets the SnsDestination field's value.

func (UpdateEventDestinationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEventDestinationInput) Validate

func (s *UpdateEventDestinationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEventDestinationOutput

type UpdateEventDestinationOutput struct {

	// The Amazon Resource Name (ARN) for the ConfigurationSet that was updated.
	ConfigurationSetArn *string `type:"string"`

	// The name of the configuration set.
	ConfigurationSetName *string `min:"1" type:"string"`

	// An EventDestination object containing the details of where events will be
	// logged.
	EventDestination *EventDestination `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateEventDestinationOutput) GoString

func (s UpdateEventDestinationOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateEventDestinationOutput) SetConfigurationSetArn

SetConfigurationSetArn sets the ConfigurationSetArn field's value.

func (*UpdateEventDestinationOutput) SetConfigurationSetName

func (s *UpdateEventDestinationOutput) SetConfigurationSetName(v string) *UpdateEventDestinationOutput

SetConfigurationSetName sets the ConfigurationSetName field's value.

func (*UpdateEventDestinationOutput) SetEventDestination

SetEventDestination sets the EventDestination field's value.

func (UpdateEventDestinationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePhoneNumberInput

type UpdatePhoneNumberInput struct {

	// By default this is set to false. When set to true the phone number can't
	// be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The OptOutList to add the phone number to. Valid values for this field can
	// be either the OutOutListName or OutOutListArn.
	OptOutListName *string `min:"1" type:"string"`

	// The unique identifier of the phone number. Valid values for this field can
	// be either the PhoneNumberId or PhoneNumberArn.
	//
	// PhoneNumberId is a required field
	PhoneNumberId *string `min:"1" type:"string" required:"true"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdatePhoneNumberInput) GoString

func (s UpdatePhoneNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePhoneNumberInput) SetDeletionProtectionEnabled

func (s *UpdatePhoneNumberInput) SetDeletionProtectionEnabled(v bool) *UpdatePhoneNumberInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdatePhoneNumberInput) SetOptOutListName

func (s *UpdatePhoneNumberInput) SetOptOutListName(v string) *UpdatePhoneNumberInput

SetOptOutListName sets the OptOutListName field's value.

func (*UpdatePhoneNumberInput) SetPhoneNumberId

func (s *UpdatePhoneNumberInput) SetPhoneNumberId(v string) *UpdatePhoneNumberInput

SetPhoneNumberId sets the PhoneNumberId field's value.

func (*UpdatePhoneNumberInput) SetSelfManagedOptOutsEnabled

func (s *UpdatePhoneNumberInput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePhoneNumberInput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*UpdatePhoneNumberInput) SetTwoWayChannelArn

func (s *UpdatePhoneNumberInput) SetTwoWayChannelArn(v string) *UpdatePhoneNumberInput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*UpdatePhoneNumberInput) SetTwoWayChannelRole

func (s *UpdatePhoneNumberInput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberInput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*UpdatePhoneNumberInput) SetTwoWayEnabled

func (s *UpdatePhoneNumberInput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberInput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (UpdatePhoneNumberInput) String

func (s UpdatePhoneNumberInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePhoneNumberInput) Validate

func (s *UpdatePhoneNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePhoneNumberOutput

type UpdatePhoneNumberOutput struct {

	// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// When set to true the phone number can't be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	IsoCountryCode *string `min:"2" type:"string"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	MessageType *string `type:"string" enum:"MessageType"`

	// The monthly leasing price of the phone number, in US dollars.
	MonthlyLeasingPrice *string `type:"string"`

	// Specifies if the number could be used for text messages, voice or both.
	NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`

	// The type of number that was requested.
	NumberType *string `type:"string" enum:"NumberType"`

	// The name of the OptOutList associated with the phone number.
	OptOutListName *string `min:"1" type:"string"`

	// The phone number that was updated.
	PhoneNumber *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the updated phone number.
	PhoneNumberArn *string `type:"string"`

	// The unique identifier of the phone number.
	PhoneNumberId *string `type:"string"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// This is true if self managed opt-out are enabled.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// The current status of the request.
	Status *string `type:"string" enum:"NumberStatus"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdatePhoneNumberOutput) GoString

func (s UpdatePhoneNumberOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePhoneNumberOutput) SetCreatedTimestamp

func (s *UpdatePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *UpdatePhoneNumberOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*UpdatePhoneNumberOutput) SetDeletionProtectionEnabled

func (s *UpdatePhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *UpdatePhoneNumberOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdatePhoneNumberOutput) SetIsoCountryCode

func (s *UpdatePhoneNumberOutput) SetIsoCountryCode(v string) *UpdatePhoneNumberOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*UpdatePhoneNumberOutput) SetMessageType

SetMessageType sets the MessageType field's value.

func (*UpdatePhoneNumberOutput) SetMonthlyLeasingPrice

func (s *UpdatePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *UpdatePhoneNumberOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*UpdatePhoneNumberOutput) SetNumberCapabilities

func (s *UpdatePhoneNumberOutput) SetNumberCapabilities(v []*string) *UpdatePhoneNumberOutput

SetNumberCapabilities sets the NumberCapabilities field's value.

func (*UpdatePhoneNumberOutput) SetNumberType

SetNumberType sets the NumberType field's value.

func (*UpdatePhoneNumberOutput) SetOptOutListName

func (s *UpdatePhoneNumberOutput) SetOptOutListName(v string) *UpdatePhoneNumberOutput

SetOptOutListName sets the OptOutListName field's value.

func (*UpdatePhoneNumberOutput) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*UpdatePhoneNumberOutput) SetPhoneNumberArn

func (s *UpdatePhoneNumberOutput) SetPhoneNumberArn(v string) *UpdatePhoneNumberOutput

SetPhoneNumberArn sets the PhoneNumberArn field's value.

func (*UpdatePhoneNumberOutput) SetPhoneNumberId

func (s *UpdatePhoneNumberOutput) SetPhoneNumberId(v string) *UpdatePhoneNumberOutput

SetPhoneNumberId sets the PhoneNumberId field's value.

func (*UpdatePhoneNumberOutput) SetRegistrationId

func (s *UpdatePhoneNumberOutput) SetRegistrationId(v string) *UpdatePhoneNumberOutput

SetRegistrationId sets the RegistrationId field's value.

func (*UpdatePhoneNumberOutput) SetSelfManagedOptOutsEnabled

func (s *UpdatePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePhoneNumberOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*UpdatePhoneNumberOutput) SetStatus

SetStatus sets the Status field's value.

func (*UpdatePhoneNumberOutput) SetTwoWayChannelArn

func (s *UpdatePhoneNumberOutput) SetTwoWayChannelArn(v string) *UpdatePhoneNumberOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*UpdatePhoneNumberOutput) SetTwoWayChannelRole

func (s *UpdatePhoneNumberOutput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*UpdatePhoneNumberOutput) SetTwoWayEnabled

func (s *UpdatePhoneNumberOutput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (UpdatePhoneNumberOutput) String

func (s UpdatePhoneNumberOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePoolInput

type UpdatePoolInput struct {

	// When set to true the pool can't be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The OptOutList to associate with the pool. Valid values are either OptOutListName
	// or OptOutListArn.
	OptOutListName *string `min:"1" type:"string"`

	// The unique identifier of the pool to update. Valid values are either the
	// PoolId or PoolArn.
	//
	// PoolId is a required field
	PoolId *string `min:"1" type:"string" required:"true"`

	// By default this is set to false. When an end recipient sends a message that
	// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
	// automatically replies with a customizable message and adds the end recipient
	// to the OptOutList. When set to true you're responsible for responding to
	// HELP and STOP requests. You're also responsible for tracking and honoring
	// opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// Indicates whether shared routes are enabled for the pool.
	SharedRoutesEnabled *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdatePoolInput) GoString

func (s UpdatePoolInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePoolInput) SetDeletionProtectionEnabled

func (s *UpdatePoolInput) SetDeletionProtectionEnabled(v bool) *UpdatePoolInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdatePoolInput) SetOptOutListName

func (s *UpdatePoolInput) SetOptOutListName(v string) *UpdatePoolInput

SetOptOutListName sets the OptOutListName field's value.

func (*UpdatePoolInput) SetPoolId

func (s *UpdatePoolInput) SetPoolId(v string) *UpdatePoolInput

SetPoolId sets the PoolId field's value.

func (*UpdatePoolInput) SetSelfManagedOptOutsEnabled

func (s *UpdatePoolInput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePoolInput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*UpdatePoolInput) SetSharedRoutesEnabled

func (s *UpdatePoolInput) SetSharedRoutesEnabled(v bool) *UpdatePoolInput

SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.

func (*UpdatePoolInput) SetTwoWayChannelArn

func (s *UpdatePoolInput) SetTwoWayChannelArn(v string) *UpdatePoolInput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*UpdatePoolInput) SetTwoWayChannelRole

func (s *UpdatePoolInput) SetTwoWayChannelRole(v string) *UpdatePoolInput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*UpdatePoolInput) SetTwoWayEnabled

func (s *UpdatePoolInput) SetTwoWayEnabled(v bool) *UpdatePoolInput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (UpdatePoolInput) String

func (s UpdatePoolInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePoolInput) Validate

func (s *UpdatePoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePoolOutput

type UpdatePoolOutput struct {

	// The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// When set to true the pool can't be deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The type of message for the pool to use.
	MessageType *string `type:"string" enum:"MessageType"`

	// The name of the OptOutList associated with the pool.
	OptOutListName *string `min:"1" type:"string"`

	// The ARN of the pool.
	PoolArn *string `type:"string"`

	// The unique identifier of the pool.
	PoolId *string `type:"string"`

	// When an end recipient sends a message that begins with HELP or STOP to one
	// of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable
	// message and adds the end recipient to the OptOutList. When set to true you're
	// responsible for responding to HELP and STOP requests. You're also responsible
	// for tracking and honoring opt-out requests.
	SelfManagedOptOutsEnabled *bool `type:"boolean"`

	// Indicates whether shared routes are enabled for the pool.
	SharedRoutesEnabled *bool `type:"boolean"`

	// The current status of the pool update request.
	Status *string `type:"string" enum:"PoolStatus"`

	// The Amazon Resource Name (ARN) of the two way channel.
	TwoWayChannelArn *string `min:"20" type:"string"`

	// An optional IAM Role Arn for a service to assume, to be able to post inbound
	// SMS messages.
	TwoWayChannelRole *string `min:"20" type:"string"`

	// By default this is set to false. When set to true you can receive incoming
	// text messages from your end recipients.
	TwoWayEnabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdatePoolOutput) GoString

func (s UpdatePoolOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePoolOutput) SetCreatedTimestamp

func (s *UpdatePoolOutput) SetCreatedTimestamp(v time.Time) *UpdatePoolOutput

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*UpdatePoolOutput) SetDeletionProtectionEnabled

func (s *UpdatePoolOutput) SetDeletionProtectionEnabled(v bool) *UpdatePoolOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdatePoolOutput) SetMessageType

func (s *UpdatePoolOutput) SetMessageType(v string) *UpdatePoolOutput

SetMessageType sets the MessageType field's value.

func (*UpdatePoolOutput) SetOptOutListName

func (s *UpdatePoolOutput) SetOptOutListName(v string) *UpdatePoolOutput

SetOptOutListName sets the OptOutListName field's value.

func (*UpdatePoolOutput) SetPoolArn

func (s *UpdatePoolOutput) SetPoolArn(v string) *UpdatePoolOutput

SetPoolArn sets the PoolArn field's value.

func (*UpdatePoolOutput) SetPoolId

func (s *UpdatePoolOutput) SetPoolId(v string) *UpdatePoolOutput

SetPoolId sets the PoolId field's value.

func (*UpdatePoolOutput) SetSelfManagedOptOutsEnabled

func (s *UpdatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePoolOutput

SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.

func (*UpdatePoolOutput) SetSharedRoutesEnabled

func (s *UpdatePoolOutput) SetSharedRoutesEnabled(v bool) *UpdatePoolOutput

SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.

func (*UpdatePoolOutput) SetStatus

func (s *UpdatePoolOutput) SetStatus(v string) *UpdatePoolOutput

SetStatus sets the Status field's value.

func (*UpdatePoolOutput) SetTwoWayChannelArn

func (s *UpdatePoolOutput) SetTwoWayChannelArn(v string) *UpdatePoolOutput

SetTwoWayChannelArn sets the TwoWayChannelArn field's value.

func (*UpdatePoolOutput) SetTwoWayChannelRole

func (s *UpdatePoolOutput) SetTwoWayChannelRole(v string) *UpdatePoolOutput

SetTwoWayChannelRole sets the TwoWayChannelRole field's value.

func (*UpdatePoolOutput) SetTwoWayEnabled

func (s *UpdatePoolOutput) SetTwoWayEnabled(v bool) *UpdatePoolOutput

SetTwoWayEnabled sets the TwoWayEnabled field's value.

func (UpdatePoolOutput) String

func (s UpdatePoolOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateProtectConfigurationCountryRuleSetInput

type UpdateProtectConfigurationCountryRuleSetInput struct {

	// A map of ProtectConfigurationCountryRuleSetInformation objects that contain
	// the details for the requested NumberCapability. The Key is the two-letter
	// ISO country code. For a list of supported ISO country codes, see Supported
	// countries and regions (SMS channel) (https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html)
	// in the Amazon Pinpoint SMS user guide.
	//
	// CountryRuleSetUpdates is a required field
	CountryRuleSetUpdates map[string]*ProtectConfigurationCountryRuleSetInformation `min:"1" type:"map" required:"true"`

	// The number capability to apply the CountryRuleSetUpdates updates to.
	//
	// NumberCapability is a required field
	NumberCapability *string `type:"string" required:"true" enum:"NumberCapability"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProtectConfigurationCountryRuleSetInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationCountryRuleSetInput) SetCountryRuleSetUpdates

SetCountryRuleSetUpdates sets the CountryRuleSetUpdates field's value.

func (*UpdateProtectConfigurationCountryRuleSetInput) SetNumberCapability

SetNumberCapability sets the NumberCapability field's value.

func (*UpdateProtectConfigurationCountryRuleSetInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (UpdateProtectConfigurationCountryRuleSetInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationCountryRuleSetInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateProtectConfigurationCountryRuleSetOutput

type UpdateProtectConfigurationCountryRuleSetOutput struct {

	// An array of ProtectConfigurationCountryRuleSetInformation containing the
	// rules for the NumberCapability.
	//
	// CountryRuleSet is a required field
	CountryRuleSet map[string]*ProtectConfigurationCountryRuleSetInformation `min:"1" type:"map" required:"true"`

	// The number capability that was updated
	//
	// NumberCapability is a required field
	NumberCapability *string `type:"string" required:"true" enum:"NumberCapability"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProtectConfigurationCountryRuleSetOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationCountryRuleSetOutput) SetCountryRuleSet

SetCountryRuleSet sets the CountryRuleSet field's value.

func (*UpdateProtectConfigurationCountryRuleSetOutput) SetNumberCapability

SetNumberCapability sets the NumberCapability field's value.

func (*UpdateProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*UpdateProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (UpdateProtectConfigurationCountryRuleSetOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateProtectConfigurationInput

type UpdateProtectConfigurationInput struct {

	// When set to true deletion protection is enabled. By default this is set to
	// false.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProtectConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationInput) SetDeletionProtectionEnabled

func (s *UpdateProtectConfigurationInput) SetDeletionProtectionEnabled(v bool) *UpdateProtectConfigurationInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdateProtectConfigurationInput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (UpdateProtectConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationInput) Validate

func (s *UpdateProtectConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateProtectConfigurationOutput

type UpdateProtectConfigurationOutput struct {

	// This is true if the protect configuration is set as your account default
	// protect configuration.
	//
	// AccountDefault is a required field
	AccountDefault *bool `type:"boolean" required:"true"`

	// The time when the protect configuration was created, in UNIX epoch time (https://www.epochconverter.com/)
	// format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The status of deletion protection for the protect configuration. When set
	// to true deletion protection is enabled. By default this is set to false.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The Amazon Resource Name (ARN) of the protect configuration.
	//
	// ProtectConfigurationArn is a required field
	ProtectConfigurationArn *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the protect configuration.
	//
	// ProtectConfigurationId is a required field
	ProtectConfigurationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateProtectConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProtectConfigurationOutput) SetAccountDefault

SetAccountDefault sets the AccountDefault field's value.

func (*UpdateProtectConfigurationOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*UpdateProtectConfigurationOutput) SetDeletionProtectionEnabled

func (s *UpdateProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *UpdateProtectConfigurationOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdateProtectConfigurationOutput) SetProtectConfigurationArn

SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.

func (*UpdateProtectConfigurationOutput) SetProtectConfigurationId

SetProtectConfigurationId sets the ProtectConfigurationId field's value.

func (UpdateProtectConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateSenderIdInput

type UpdateSenderIdInput struct {

	// By default this is set to false. When set to true the sender ID can't be
	// deleted.
	DeletionProtectionEnabled *bool `type:"boolean"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The sender ID to update.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSenderIdInput) GoString

func (s UpdateSenderIdInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSenderIdInput) SetDeletionProtectionEnabled

func (s *UpdateSenderIdInput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdInput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdateSenderIdInput) SetIsoCountryCode

func (s *UpdateSenderIdInput) SetIsoCountryCode(v string) *UpdateSenderIdInput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*UpdateSenderIdInput) SetSenderId

func (s *UpdateSenderIdInput) SetSenderId(v string) *UpdateSenderIdInput

SetSenderId sets the SenderId field's value.

func (UpdateSenderIdInput) String

func (s UpdateSenderIdInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSenderIdInput) Validate

func (s *UpdateSenderIdInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSenderIdOutput

type UpdateSenderIdOutput struct {

	// By default this is set to false. When set to true the sender ID can't be
	// deleted.
	//
	// DeletionProtectionEnabled is a required field
	DeletionProtectionEnabled *bool `type:"boolean" required:"true"`

	// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
	// region.
	//
	// IsoCountryCode is a required field
	IsoCountryCode *string `min:"2" type:"string" required:"true"`

	// The type of message. Valid values are TRANSACTIONAL for messages that are
	// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
	// or time-sensitive.
	//
	// MessageTypes is a required field
	MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`

	// The monthly price, in US dollars, to lease the sender ID.
	//
	// MonthlyLeasingPrice is a required field
	MonthlyLeasingPrice *string `type:"string" required:"true"`

	// True if the sender ID is registered..
	//
	// Registered is a required field
	Registered *bool `type:"boolean" required:"true"`

	// The unique identifier for the registration.
	RegistrationId *string `type:"string"`

	// The sender ID that was updated.
	//
	// SenderId is a required field
	SenderId *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) associated with the SenderId.
	//
	// SenderIdArn is a required field
	SenderIdArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSenderIdOutput) GoString

func (s UpdateSenderIdOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSenderIdOutput) SetDeletionProtectionEnabled

func (s *UpdateSenderIdOutput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdOutput

SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.

func (*UpdateSenderIdOutput) SetIsoCountryCode

func (s *UpdateSenderIdOutput) SetIsoCountryCode(v string) *UpdateSenderIdOutput

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*UpdateSenderIdOutput) SetMessageTypes

func (s *UpdateSenderIdOutput) SetMessageTypes(v []*string) *UpdateSenderIdOutput

SetMessageTypes sets the MessageTypes field's value.

func (*UpdateSenderIdOutput) SetMonthlyLeasingPrice

func (s *UpdateSenderIdOutput) SetMonthlyLeasingPrice(v string) *UpdateSenderIdOutput

SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.

func (*UpdateSenderIdOutput) SetRegistered

func (s *UpdateSenderIdOutput) SetRegistered(v bool) *UpdateSenderIdOutput

SetRegistered sets the Registered field's value.

func (*UpdateSenderIdOutput) SetRegistrationId

func (s *UpdateSenderIdOutput) SetRegistrationId(v string) *UpdateSenderIdOutput

SetRegistrationId sets the RegistrationId field's value.

func (*UpdateSenderIdOutput) SetSenderId

SetSenderId sets the SenderId field's value.

func (*UpdateSenderIdOutput) SetSenderIdArn

func (s *UpdateSenderIdOutput) SetSenderIdArn(v string) *UpdateSenderIdOutput

SetSenderIdArn sets the SenderIdArn field's value.

func (UpdateSenderIdOutput) String

func (s UpdateSenderIdOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The field that failed validation.
	Fields []*ValidationExceptionField `type:"list"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason for the exception.
	Reason *string `type:"string" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

A validation exception for a field.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The message associated with the validation exception with information to
	// help determine its cause.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

	// The name of the field.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The field associated with the validation exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VerifiedDestinationNumberFilter

type VerifiedDestinationNumberFilter struct {

	// The name of the attribute to filter on.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"VerifiedDestinationNumberFilterName"`

	// An array of values to filter on.
	//
	// Values is a required field
	Values []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The filter definition for filtering verified destination phone numbers that meets a specified criteria.

func (VerifiedDestinationNumberFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifiedDestinationNumberFilter) SetName

SetName sets the Name field's value.

func (*VerifiedDestinationNumberFilter) SetValues

SetValues sets the Values field's value.

func (VerifiedDestinationNumberFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifiedDestinationNumberFilter) Validate

func (s *VerifiedDestinationNumberFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type VerifiedDestinationNumberInformation

type VerifiedDestinationNumberInformation struct {

	// The time when the destination phone number was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The verified destination phone number, in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// The status of the verified destination phone number.
	//
	//    * PENDING: The phone number hasn't been verified yet.
	//
	//    * VERIFIED: The phone number is verified and can receive messages.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"VerificationStatus"`

	// The Amazon Resource Name (ARN) for the verified destination phone number.
	//
	// VerifiedDestinationNumberArn is a required field
	VerifiedDestinationNumberArn *string `type:"string" required:"true"`

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides information about the requested verified destintion phone number.

func (VerifiedDestinationNumberInformation) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifiedDestinationNumberInformation) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*VerifiedDestinationNumberInformation) SetDestinationPhoneNumber

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*VerifiedDestinationNumberInformation) SetStatus

SetStatus sets the Status field's value.

func (*VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberArn

SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.

func (*VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberId

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (VerifiedDestinationNumberInformation) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VerifyDestinationNumberInput

type VerifyDestinationNumberInput struct {

	// The verification code that was received by the verified destination phone
	// number.
	//
	// VerificationCode is a required field
	VerificationCode *string `min:"1" type:"string" required:"true"`

	// The unique identifier for the verififed destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (VerifyDestinationNumberInput) GoString

func (s VerifyDestinationNumberInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifyDestinationNumberInput) SetVerificationCode

SetVerificationCode sets the VerificationCode field's value.

func (*VerifyDestinationNumberInput) SetVerifiedDestinationNumberId

func (s *VerifyDestinationNumberInput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberInput

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (VerifyDestinationNumberInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifyDestinationNumberInput) Validate

func (s *VerifyDestinationNumberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type VerifyDestinationNumberOutput

type VerifyDestinationNumberOutput struct {

	// The time when the destination phone number was created, in UNIX epoch time
	// (https://www.epochconverter.com/) format.
	//
	// CreatedTimestamp is a required field
	CreatedTimestamp *time.Time `type:"timestamp" required:"true"`

	// The phone number in E.164 format.
	//
	// DestinationPhoneNumber is a required field
	DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`

	// The status for being able to send messages to the phone number.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"VerificationStatus"`

	// The Amazon Resource Name (ARN) for the verified destination phone number.
	//
	// VerifiedDestinationNumberArn is a required field
	VerifiedDestinationNumberArn *string `type:"string" required:"true"`

	// The unique identifier for the verified destination phone number.
	//
	// VerifiedDestinationNumberId is a required field
	VerifiedDestinationNumberId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (VerifyDestinationNumberOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VerifyDestinationNumberOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*VerifyDestinationNumberOutput) SetDestinationPhoneNumber

func (s *VerifyDestinationNumberOutput) SetDestinationPhoneNumber(v string) *VerifyDestinationNumberOutput

SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.

func (*VerifyDestinationNumberOutput) SetStatus

SetStatus sets the Status field's value.

func (*VerifyDestinationNumberOutput) SetVerifiedDestinationNumberArn

func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *VerifyDestinationNumberOutput

SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.

func (*VerifyDestinationNumberOutput) SetVerifiedDestinationNumberId

func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberOutput

SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.

func (VerifyDestinationNumberOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package pinpointsmsvoicev2iface provides an interface to enable mocking the Amazon Pinpoint SMS Voice V2 service client for testing your code.
Package pinpointsmsvoicev2iface provides an interface to enable mocking the Amazon Pinpoint SMS Voice V2 service client for testing your code.

Jump to

Keyboard shortcuts

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