func AccessDeniedExceptionReason_Values() []string
AccessDeniedExceptionReason_Values returns all elements of the AccessDeniedExceptionReason enum
func AccountAttributeName_Values() []string
AccountAttributeName_Values returns all elements of the AccountAttributeName enum
func AccountLimitName_Values() []string
AccountLimitName_Values returns all elements of the AccountLimitName enum
func AttachmentStatus_Values() []string
AttachmentStatus_Values returns all elements of the AttachmentStatus enum
func AttachmentUploadErrorReason_Values() []string
AttachmentUploadErrorReason_Values returns all elements of the AttachmentUploadErrorReason enum
func ConfigurationSetFilterName_Values() []string
ConfigurationSetFilterName_Values returns all elements of the ConfigurationSetFilterName enum
func ConflictExceptionReason_Values() []string
ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum
func DestinationCountryParameterKey_Values() []string
DestinationCountryParameterKey_Values returns all elements of the DestinationCountryParameterKey enum
func EventType_Values() []string
EventType_Values returns all elements of the EventType enum
func FieldRequirement_Values() []string
FieldRequirement_Values returns all elements of the FieldRequirement enum
func FieldType_Values() []string
FieldType_Values returns all elements of the FieldType enum
func KeywordAction_Values() []string
KeywordAction_Values returns all elements of the KeywordAction enum
func KeywordFilterName_Values() []string
KeywordFilterName_Values returns all elements of the KeywordFilterName enum
func LanguageCode_Values() []string
LanguageCode_Values returns all elements of the LanguageCode enum
func MessageType_Values() []string
MessageType_Values returns all elements of the MessageType enum
func NumberCapability_Values() []string
NumberCapability_Values returns all elements of the NumberCapability enum
func NumberStatus_Values() []string
NumberStatus_Values returns all elements of the NumberStatus enum
func NumberType_Values() []string
NumberType_Values returns all elements of the NumberType enum
func OptedOutFilterName_Values() []string
OptedOutFilterName_Values returns all elements of the OptedOutFilterName enum
func PhoneNumberFilterName_Values() []string
PhoneNumberFilterName_Values returns all elements of the PhoneNumberFilterName enum
func PoolFilterName_Values() []string
PoolFilterName_Values returns all elements of the PoolFilterName enum
func PoolOriginationIdentitiesFilterName_Values() []string
PoolOriginationIdentitiesFilterName_Values returns all elements of the PoolOriginationIdentitiesFilterName enum
func PoolStatus_Values() []string
PoolStatus_Values returns all elements of the PoolStatus enum
func ProtectConfigurationFilterName_Values() []string
ProtectConfigurationFilterName_Values returns all elements of the ProtectConfigurationFilterName enum
func ProtectStatus_Values() []string
ProtectStatus_Values returns all elements of the ProtectStatus enum
func RegistrationAssociationBehavior_Values() []string
RegistrationAssociationBehavior_Values returns all elements of the RegistrationAssociationBehavior enum
func RegistrationAssociationFilterName_Values() []string
RegistrationAssociationFilterName_Values returns all elements of the RegistrationAssociationFilterName enum
func RegistrationAttachmentFilterName_Values() []string
RegistrationAttachmentFilterName_Values returns all elements of the RegistrationAttachmentFilterName enum
func RegistrationDisassociationBehavior_Values() []string
RegistrationDisassociationBehavior_Values returns all elements of the RegistrationDisassociationBehavior enum
func RegistrationFilterName_Values() []string
RegistrationFilterName_Values returns all elements of the RegistrationFilterName enum
func RegistrationStatus_Values() []string
RegistrationStatus_Values returns all elements of the RegistrationStatus enum
func RegistrationTypeFilterName_Values() []string
RegistrationTypeFilterName_Values returns all elements of the RegistrationTypeFilterName enum
func RegistrationVersionFilterName_Values() []string
RegistrationVersionFilterName_Values returns all elements of the RegistrationVersionFilterName enum
func RegistrationVersionStatus_Values() []string
RegistrationVersionStatus_Values returns all elements of the RegistrationVersionStatus enum
func RequestableNumberType_Values() []string
RequestableNumberType_Values returns all elements of the RequestableNumberType enum
func ResourceType_Values() []string
ResourceType_Values returns all elements of the ResourceType enum
func SenderIdFilterName_Values() []string
SenderIdFilterName_Values returns all elements of the SenderIdFilterName enum
func ServiceQuotaExceededExceptionReason_Values() []string
ServiceQuotaExceededExceptionReason_Values returns all elements of the ServiceQuotaExceededExceptionReason enum
func SpendLimitName_Values() []string
SpendLimitName_Values returns all elements of the SpendLimitName enum
func ValidationExceptionReason_Values() []string
ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
func VerificationChannel_Values() []string
VerificationChannel_Values returns all elements of the VerificationChannel enum
func VerificationStatus_Values() []string
VerificationStatus_Values returns all elements of the VerificationStatus enum
func VerifiedDestinationNumberFilterName_Values() []string
VerifiedDestinationNumberFilterName_Values returns all elements of the VerifiedDestinationNumberFilterName enum
func VoiceId_Values() []string
VoiceId_Values returns all elements of the VoiceId enum
func VoiceMessageBodyTextType_Values() []string
VoiceMessageBodyTextType_Values returns all elements of the VoiceMessageBodyTextType enum
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 (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
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 (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *AccountAttribute) SetName(v string) *AccountAttribute
SetName sets the Name field's value.
func (s *AccountAttribute) SetValue(v string) *AccountAttribute
SetValue sets the Value field's value.
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 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 (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 (s *AccountLimit) SetMax(v int64) *AccountLimit
SetMax sets the Max field's value.
func (s *AccountLimit) SetName(v string) *AccountLimit
SetName sets the Name field's value.
func (s *AccountLimit) SetUsed(v int64) *AccountLimit
SetUsed sets the Used field's value.
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 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 (s AssociateOriginationIdentityInput) 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 (s *AssociateOriginationIdentityInput) SetClientToken(v string) *AssociateOriginationIdentityInput
SetClientToken sets the ClientToken field's value.
func (s *AssociateOriginationIdentityInput) SetIsoCountryCode(v string) *AssociateOriginationIdentityInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *AssociateOriginationIdentityInput) SetOriginationIdentity(v string) *AssociateOriginationIdentityInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *AssociateOriginationIdentityInput) SetPoolId(v string) *AssociateOriginationIdentityInput
SetPoolId sets the PoolId field's value.
func (s AssociateOriginationIdentityInput) 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 (s *AssociateOriginationIdentityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s AssociateOriginationIdentityOutput) 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 (s *AssociateOriginationIdentityOutput) SetIsoCountryCode(v string) *AssociateOriginationIdentityOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *AssociateOriginationIdentityOutput) SetOriginationIdentity(v string) *AssociateOriginationIdentityOutput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *AssociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *AssociateOriginationIdentityOutput
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
func (s *AssociateOriginationIdentityOutput) SetPoolArn(v string) *AssociateOriginationIdentityOutput
SetPoolArn sets the PoolArn field's value.
func (s *AssociateOriginationIdentityOutput) SetPoolId(v string) *AssociateOriginationIdentityOutput
SetPoolId sets the PoolId field's value.
func (s AssociateOriginationIdentityOutput) 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 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 (s AssociateProtectConfigurationInput) 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 (s *AssociateProtectConfigurationInput) SetConfigurationSetName(v string) *AssociateProtectConfigurationInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *AssociateProtectConfigurationInput) SetProtectConfigurationId(v string) *AssociateProtectConfigurationInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s AssociateProtectConfigurationInput) 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 (s *AssociateProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s AssociateProtectConfigurationOutput) 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 (s *AssociateProtectConfigurationOutput) SetConfigurationSetArn(v string) *AssociateProtectConfigurationOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *AssociateProtectConfigurationOutput) SetConfigurationSetName(v string) *AssociateProtectConfigurationOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *AssociateProtectConfigurationOutput) SetProtectConfigurationArn(v string) *AssociateProtectConfigurationOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *AssociateProtectConfigurationOutput) SetProtectConfigurationId(v string) *AssociateProtectConfigurationOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s AssociateProtectConfigurationOutput) 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 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 (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 (s *CloudWatchLogsDestination) SetIamRoleArn(v string) *CloudWatchLogsDestination
SetIamRoleArn sets the IamRoleArn field's value.
func (s *CloudWatchLogsDestination) SetLogGroupArn(v string) *CloudWatchLogsDestination
SetLogGroupArn sets the LogGroupArn field's value.
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 (s *CloudWatchLogsDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ConfigurationSetFilter) SetName(v string) *ConfigurationSetFilter
SetName sets the Name field's value.
func (s *ConfigurationSetFilter) SetValues(v []*string) *ConfigurationSetFilter
SetValues sets the Values field's value.
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 (s *ConfigurationSetFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ConfigurationSetInformation) SetConfigurationSetArn(v string) *ConfigurationSetInformation
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *ConfigurationSetInformation) SetConfigurationSetName(v string) *ConfigurationSetInformation
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *ConfigurationSetInformation) SetCreatedTimestamp(v time.Time) *ConfigurationSetInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *ConfigurationSetInformation) SetDefaultMessageType(v string) *ConfigurationSetInformation
SetDefaultMessageType sets the DefaultMessageType field's value.
func (s *ConfigurationSetInformation) SetDefaultSenderId(v string) *ConfigurationSetInformation
SetDefaultSenderId sets the DefaultSenderId field's value.
func (s *ConfigurationSetInformation) SetEventDestinations(v []*EventDestination) *ConfigurationSetInformation
SetEventDestinations sets the EventDestinations field's value.
func (s *ConfigurationSetInformation) SetProtectConfigurationId(v string) *ConfigurationSetInformation
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s ConfigurationSetInformation) 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 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 (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
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 (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *CreateConfigurationSetInput) SetClientToken(v string) *CreateConfigurationSetInput
SetClientToken sets the ClientToken field's value.
func (s *CreateConfigurationSetInput) SetConfigurationSetName(v string) *CreateConfigurationSetInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *CreateConfigurationSetInput) SetTags(v []*Tag) *CreateConfigurationSetInput
SetTags sets the Tags field's value.
func (s CreateConfigurationSetInput) 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 (s *CreateConfigurationSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CreateConfigurationSetOutput) SetConfigurationSetArn(v string) *CreateConfigurationSetOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *CreateConfigurationSetOutput) SetConfigurationSetName(v string) *CreateConfigurationSetOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *CreateConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *CreateConfigurationSetOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateConfigurationSetOutput) SetTags(v []*Tag) *CreateConfigurationSetOutput
SetTags sets the Tags field's value.
func (s CreateConfigurationSetOutput) 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 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 Data Firehose. KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"` // An array of event types that determine which events to log. If "ALL" is used, // then AWS End User Messaging SMS and Voice 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 (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 (s *CreateEventDestinationInput) SetClientToken(v string) *CreateEventDestinationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateEventDestinationInput) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *CreateEventDestinationInput
SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
func (s *CreateEventDestinationInput) SetConfigurationSetName(v string) *CreateEventDestinationInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *CreateEventDestinationInput) SetEventDestinationName(v string) *CreateEventDestinationInput
SetEventDestinationName sets the EventDestinationName field's value.
func (s *CreateEventDestinationInput) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *CreateEventDestinationInput
SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
func (s *CreateEventDestinationInput) SetMatchingEventTypes(v []*string) *CreateEventDestinationInput
SetMatchingEventTypes sets the MatchingEventTypes field's value.
func (s *CreateEventDestinationInput) SetSnsDestination(v *SnsDestination) *CreateEventDestinationInput
SetSnsDestination sets the SnsDestination field's value.
func (s CreateEventDestinationInput) 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 (s *CreateEventDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CreateEventDestinationOutput) SetConfigurationSetArn(v string) *CreateEventDestinationOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *CreateEventDestinationOutput) SetConfigurationSetName(v string) *CreateEventDestinationOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *CreateEventDestinationOutput) SetEventDestination(v *EventDestination) *CreateEventDestinationOutput
SetEventDestination sets the EventDestination field's value.
func (s CreateEventDestinationOutput) 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 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 (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 (s *CreateOptOutListInput) SetClientToken(v string) *CreateOptOutListInput
SetClientToken sets the ClientToken field's value.
func (s *CreateOptOutListInput) SetOptOutListName(v string) *CreateOptOutListInput
SetOptOutListName sets the OptOutListName field's value.
func (s *CreateOptOutListInput) SetTags(v []*Tag) *CreateOptOutListInput
SetTags sets the Tags field's value.
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 (s *CreateOptOutListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CreateOptOutListOutput) SetCreatedTimestamp(v time.Time) *CreateOptOutListOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateOptOutListOutput) SetOptOutListArn(v string) *CreateOptOutListOutput
SetOptOutListArn sets the OptOutListArn field's value.
func (s *CreateOptOutListOutput) SetOptOutListName(v string) *CreateOptOutListOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *CreateOptOutListOutput) SetTags(v []*Tag) *CreateOptOutListOutput
SetTags sets the Tags field's value.
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 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. After the pool is created the MessageType can't be changed. // // 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. // // After the pool is created you can add more origination identities to the // pool by using AssociateOriginationIdentity (https://docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_AssociateOriginationIdentity.html). // // 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 (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 (s *CreatePoolInput) SetClientToken(v string) *CreatePoolInput
SetClientToken sets the ClientToken field's value.
func (s *CreatePoolInput) SetDeletionProtectionEnabled(v bool) *CreatePoolInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *CreatePoolInput) SetIsoCountryCode(v string) *CreatePoolInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *CreatePoolInput) SetMessageType(v string) *CreatePoolInput
SetMessageType sets the MessageType field's value.
func (s *CreatePoolInput) SetOriginationIdentity(v string) *CreatePoolInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *CreatePoolInput) SetTags(v []*Tag) *CreatePoolInput
SetTags sets the Tags field's value.
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 (s *CreatePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging // SMS and Voice 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. Set to false and // only origination identities in this pool are used to send messages. 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 (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 (s *CreatePoolOutput) SetCreatedTimestamp(v time.Time) *CreatePoolOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreatePoolOutput) SetDeletionProtectionEnabled(v bool) *CreatePoolOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *CreatePoolOutput) SetMessageType(v string) *CreatePoolOutput
SetMessageType sets the MessageType field's value.
func (s *CreatePoolOutput) SetOptOutListName(v string) *CreatePoolOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *CreatePoolOutput) SetPoolArn(v string) *CreatePoolOutput
SetPoolArn sets the PoolArn field's value.
func (s *CreatePoolOutput) SetPoolId(v string) *CreatePoolOutput
SetPoolId sets the PoolId field's value.
func (s *CreatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *CreatePoolOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *CreatePoolOutput) SetSharedRoutesEnabled(v bool) *CreatePoolOutput
SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
func (s *CreatePoolOutput) SetStatus(v string) *CreatePoolOutput
SetStatus sets the Status field's value.
func (s *CreatePoolOutput) SetTags(v []*Tag) *CreatePoolOutput
SetTags sets the Tags field's value.
func (s *CreatePoolOutput) SetTwoWayChannelArn(v string) *CreatePoolOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *CreatePoolOutput) SetTwoWayChannelRole(v string) *CreatePoolOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *CreatePoolOutput) SetTwoWayEnabled(v bool) *CreatePoolOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 (s CreateProtectConfigurationInput) 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 (s *CreateProtectConfigurationInput) SetClientToken(v string) *CreateProtectConfigurationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateProtectConfigurationInput) SetDeletionProtectionEnabled(v bool) *CreateProtectConfigurationInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *CreateProtectConfigurationInput) SetTags(v []*Tag) *CreateProtectConfigurationInput
SetTags sets the Tags field's value.
func (s CreateProtectConfigurationInput) 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 (s *CreateProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateProtectConfigurationOutput) 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 (s *CreateProtectConfigurationOutput) SetAccountDefault(v bool) *CreateProtectConfigurationOutput
SetAccountDefault sets the AccountDefault field's value.
func (s *CreateProtectConfigurationOutput) SetCreatedTimestamp(v time.Time) *CreateProtectConfigurationOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *CreateProtectConfigurationOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *CreateProtectConfigurationOutput) SetProtectConfigurationArn(v string) *CreateProtectConfigurationOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *CreateProtectConfigurationOutput) SetProtectConfigurationId(v string) *CreateProtectConfigurationOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s *CreateProtectConfigurationOutput) SetTags(v []*Tag) *CreateProtectConfigurationOutput
SetTags sets the Tags field's value.
func (s CreateProtectConfigurationOutput) 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 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 (s CreateRegistrationAssociationInput) 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 (s *CreateRegistrationAssociationInput) SetRegistrationId(v string) *CreateRegistrationAssociationInput
SetRegistrationId sets the RegistrationId field's value.
func (s *CreateRegistrationAssociationInput) SetResourceId(v string) *CreateRegistrationAssociationInput
SetResourceId sets the ResourceId field's value.
func (s CreateRegistrationAssociationInput) 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 (s *CreateRegistrationAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateRegistrationAssociationOutput) 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 (s *CreateRegistrationAssociationOutput) SetIsoCountryCode(v string) *CreateRegistrationAssociationOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *CreateRegistrationAssociationOutput) SetPhoneNumber(v string) *CreateRegistrationAssociationOutput
SetPhoneNumber sets the PhoneNumber field's value.
func (s *CreateRegistrationAssociationOutput) SetRegistrationArn(v string) *CreateRegistrationAssociationOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *CreateRegistrationAssociationOutput) SetRegistrationId(v string) *CreateRegistrationAssociationOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *CreateRegistrationAssociationOutput) SetRegistrationType(v string) *CreateRegistrationAssociationOutput
SetRegistrationType sets the RegistrationType field's value.
func (s *CreateRegistrationAssociationOutput) SetResourceArn(v string) *CreateRegistrationAssociationOutput
SetResourceArn sets the ResourceArn field's value.
func (s *CreateRegistrationAssociationOutput) SetResourceId(v string) *CreateRegistrationAssociationOutput
SetResourceId sets the ResourceId field's value.
func (s *CreateRegistrationAssociationOutput) SetResourceType(v string) *CreateRegistrationAssociationOutput
SetResourceType sets the ResourceType field's value.
func (s CreateRegistrationAssociationOutput) 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 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 (s CreateRegistrationAttachmentInput) 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 (s *CreateRegistrationAttachmentInput) SetAttachmentBody(v []byte) *CreateRegistrationAttachmentInput
SetAttachmentBody sets the AttachmentBody field's value.
func (s *CreateRegistrationAttachmentInput) SetAttachmentUrl(v string) *CreateRegistrationAttachmentInput
SetAttachmentUrl sets the AttachmentUrl field's value.
func (s *CreateRegistrationAttachmentInput) SetClientToken(v string) *CreateRegistrationAttachmentInput
SetClientToken sets the ClientToken field's value.
func (s *CreateRegistrationAttachmentInput) SetTags(v []*Tag) *CreateRegistrationAttachmentInput
SetTags sets the Tags field's value.
func (s CreateRegistrationAttachmentInput) 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 (s *CreateRegistrationAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateRegistrationAttachmentOutput) 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 (s *CreateRegistrationAttachmentOutput) SetAttachmentStatus(v string) *CreateRegistrationAttachmentOutput
SetAttachmentStatus sets the AttachmentStatus field's value.
func (s *CreateRegistrationAttachmentOutput) SetCreatedTimestamp(v time.Time) *CreateRegistrationAttachmentOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateRegistrationAttachmentOutput) SetRegistrationAttachmentArn(v string) *CreateRegistrationAttachmentOutput
SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
func (s *CreateRegistrationAttachmentOutput) SetRegistrationAttachmentId(v string) *CreateRegistrationAttachmentOutput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s *CreateRegistrationAttachmentOutput) SetTags(v []*Tag) *CreateRegistrationAttachmentOutput
SetTags sets the Tags field's value.
func (s CreateRegistrationAttachmentOutput) 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 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 (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 (s *CreateRegistrationInput) SetClientToken(v string) *CreateRegistrationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateRegistrationInput) SetRegistrationType(v string) *CreateRegistrationInput
SetRegistrationType sets the RegistrationType field's value.
func (s *CreateRegistrationInput) SetTags(v []*Tag) *CreateRegistrationInput
SetTags sets the Tags field's value.
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 (s *CreateRegistrationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *CreateRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *CreateRegistrationOutput
SetAdditionalAttributes sets the AdditionalAttributes field's value.
func (s *CreateRegistrationOutput) SetCreatedTimestamp(v time.Time) *CreateRegistrationOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateRegistrationOutput) SetCurrentVersionNumber(v int64) *CreateRegistrationOutput
SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
func (s *CreateRegistrationOutput) SetRegistrationArn(v string) *CreateRegistrationOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *CreateRegistrationOutput) SetRegistrationId(v string) *CreateRegistrationOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *CreateRegistrationOutput) SetRegistrationStatus(v string) *CreateRegistrationOutput
SetRegistrationStatus sets the RegistrationStatus field's value.
func (s *CreateRegistrationOutput) SetRegistrationType(v string) *CreateRegistrationOutput
SetRegistrationType sets the RegistrationType field's value.
func (s *CreateRegistrationOutput) SetTags(v []*Tag) *CreateRegistrationOutput
SetTags sets the Tags field's value.
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 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 (s CreateRegistrationVersionInput) 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 (s *CreateRegistrationVersionInput) SetRegistrationId(v string) *CreateRegistrationVersionInput
SetRegistrationId sets the RegistrationId field's value.
func (s CreateRegistrationVersionInput) 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 (s *CreateRegistrationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateRegistrationVersionOutput) 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 (s *CreateRegistrationVersionOutput) SetRegistrationArn(v string) *CreateRegistrationVersionOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *CreateRegistrationVersionOutput) SetRegistrationId(v string) *CreateRegistrationVersionOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *CreateRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *CreateRegistrationVersionOutput
SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
func (s *CreateRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *CreateRegistrationVersionOutput
SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
func (s *CreateRegistrationVersionOutput) SetVersionNumber(v int64) *CreateRegistrationVersionOutput
SetVersionNumber sets the VersionNumber field's value.
func (s CreateRegistrationVersionOutput) 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 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 (s CreateVerifiedDestinationNumberInput) 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 (s *CreateVerifiedDestinationNumberInput) SetClientToken(v string) *CreateVerifiedDestinationNumberInput
SetClientToken sets the ClientToken field's value.
func (s *CreateVerifiedDestinationNumberInput) SetDestinationPhoneNumber(v string) *CreateVerifiedDestinationNumberInput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *CreateVerifiedDestinationNumberInput) SetTags(v []*Tag) *CreateVerifiedDestinationNumberInput
SetTags sets the Tags field's value.
func (s CreateVerifiedDestinationNumberInput) 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 (s *CreateVerifiedDestinationNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateVerifiedDestinationNumberOutput) 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 (s *CreateVerifiedDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *CreateVerifiedDestinationNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *CreateVerifiedDestinationNumberOutput) SetDestinationPhoneNumber(v string) *CreateVerifiedDestinationNumberOutput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *CreateVerifiedDestinationNumberOutput) SetStatus(v string) *CreateVerifiedDestinationNumberOutput
SetStatus sets the Status field's value.
func (s *CreateVerifiedDestinationNumberOutput) SetTags(v []*Tag) *CreateVerifiedDestinationNumberOutput
SetTags sets the Tags field's value.
func (s *CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *CreateVerifiedDestinationNumberOutput
SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
func (s *CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *CreateVerifiedDestinationNumberOutput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s CreateVerifiedDestinationNumberOutput) 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 DeleteAccountDefaultProtectConfigurationInput struct {
// contains filtered or unexported fields
}
func (s DeleteAccountDefaultProtectConfigurationInput) 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 (s DeleteAccountDefaultProtectConfigurationInput) 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 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 (s DeleteAccountDefaultProtectConfigurationOutput) 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 (s *DeleteAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationArn(v string) *DeleteAccountDefaultProtectConfigurationOutput
SetDefaultProtectConfigurationArn sets the DefaultProtectConfigurationArn field's value.
func (s *DeleteAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationId(v string) *DeleteAccountDefaultProtectConfigurationOutput
SetDefaultProtectConfigurationId sets the DefaultProtectConfigurationId field's value.
func (s DeleteAccountDefaultProtectConfigurationOutput) 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 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 (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 (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s DeleteConfigurationSetInput) 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 (s *DeleteConfigurationSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteConfigurationSetOutput) SetConfigurationSetArn(v string) *DeleteConfigurationSetOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *DeleteConfigurationSetOutput) SetConfigurationSetName(v string) *DeleteConfigurationSetOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DeleteConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *DeleteConfigurationSetOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteConfigurationSetOutput) SetDefaultMessageType(v string) *DeleteConfigurationSetOutput
SetDefaultMessageType sets the DefaultMessageType field's value.
func (s *DeleteConfigurationSetOutput) SetDefaultSenderId(v string) *DeleteConfigurationSetOutput
SetDefaultSenderId sets the DefaultSenderId field's value.
func (s *DeleteConfigurationSetOutput) SetEventDestinations(v []*EventDestination) *DeleteConfigurationSetOutput
SetEventDestinations sets the EventDestinations field's value.
func (s DeleteConfigurationSetOutput) 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 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 (s DeleteDefaultMessageTypeInput) 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 (s *DeleteDefaultMessageTypeInput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s DeleteDefaultMessageTypeInput) 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 (s *DeleteDefaultMessageTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DeleteDefaultMessageTypeOutput) 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 (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetArn(v string) *DeleteDefaultMessageTypeOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DeleteDefaultMessageTypeOutput) SetMessageType(v string) *DeleteDefaultMessageTypeOutput
SetMessageType sets the MessageType field's value.
func (s DeleteDefaultMessageTypeOutput) 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 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 (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 (s *DeleteDefaultSenderIdInput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s DeleteDefaultSenderIdInput) 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 (s *DeleteDefaultSenderIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteDefaultSenderIdOutput) SetConfigurationSetArn(v string) *DeleteDefaultSenderIdOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DeleteDefaultSenderIdOutput) SetSenderId(v string) *DeleteDefaultSenderIdOutput
SetSenderId sets the SenderId field's value.
func (s DeleteDefaultSenderIdOutput) 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 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 (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 (s *DeleteEventDestinationInput) SetConfigurationSetName(v string) *DeleteEventDestinationInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DeleteEventDestinationInput) SetEventDestinationName(v string) *DeleteEventDestinationInput
SetEventDestinationName sets the EventDestinationName field's value.
func (s DeleteEventDestinationInput) 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 (s *DeleteEventDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteEventDestinationOutput) SetConfigurationSetArn(v string) *DeleteEventDestinationOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *DeleteEventDestinationOutput) SetConfigurationSetName(v string) *DeleteEventDestinationOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DeleteEventDestinationOutput) SetEventDestination(v *EventDestination) *DeleteEventDestinationOutput
SetEventDestination sets the EventDestination field's value.
func (s DeleteEventDestinationOutput) 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 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 (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 (s *DeleteKeywordInput) SetKeyword(v string) *DeleteKeywordInput
SetKeyword sets the Keyword field's value.
func (s *DeleteKeywordInput) SetOriginationIdentity(v string) *DeleteKeywordInput
SetOriginationIdentity sets the OriginationIdentity field's value.
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 (s *DeleteKeywordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteKeywordOutput) SetKeyword(v string) *DeleteKeywordOutput
SetKeyword sets the Keyword field's value.
func (s *DeleteKeywordOutput) SetKeywordAction(v string) *DeleteKeywordOutput
SetKeywordAction sets the KeywordAction field's value.
func (s *DeleteKeywordOutput) SetKeywordMessage(v string) *DeleteKeywordOutput
SetKeywordMessage sets the KeywordMessage field's value.
func (s *DeleteKeywordOutput) SetOriginationIdentity(v string) *DeleteKeywordOutput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *DeleteKeywordOutput) SetOriginationIdentityArn(v string) *DeleteKeywordOutput
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
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 struct {
// contains filtered or unexported fields
}
func (s DeleteMediaMessageSpendLimitOverrideInput) 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 (s DeleteMediaMessageSpendLimitOverrideInput) 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 DeleteMediaMessageSpendLimitOverrideOutput struct { // The current monthly limit, in US dollars. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s DeleteMediaMessageSpendLimitOverrideOutput) 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 (s *DeleteMediaMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteMediaMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s DeleteMediaMessageSpendLimitOverrideOutput) 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 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 (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 (s *DeleteOptOutListInput) SetOptOutListName(v string) *DeleteOptOutListInput
SetOptOutListName sets the OptOutListName field's value.
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 (s *DeleteOptOutListInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteOptOutListOutput) SetCreatedTimestamp(v time.Time) *DeleteOptOutListOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteOptOutListOutput) SetOptOutListArn(v string) *DeleteOptOutListOutput
SetOptOutListArn sets the OptOutListArn field's value.
func (s *DeleteOptOutListOutput) SetOptOutListName(v string) *DeleteOptOutListOutput
SetOptOutListName sets the OptOutListName field's value.
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 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 (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 (s *DeleteOptedOutNumberInput) SetOptOutListName(v string) *DeleteOptedOutNumberInput
SetOptOutListName sets the OptOutListName field's value.
func (s *DeleteOptedOutNumberInput) SetOptedOutNumber(v string) *DeleteOptedOutNumberInput
SetOptedOutNumber sets the OptedOutNumber field's value.
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 (s *DeleteOptedOutNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteOptedOutNumberOutput) SetEndUserOptedOut(v bool) *DeleteOptedOutNumberOutput
SetEndUserOptedOut sets the EndUserOptedOut field's value.
func (s *DeleteOptedOutNumberOutput) SetOptOutListArn(v string) *DeleteOptedOutNumberOutput
SetOptOutListArn sets the OptOutListArn field's value.
func (s *DeleteOptedOutNumberOutput) SetOptOutListName(v string) *DeleteOptedOutNumberOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *DeleteOptedOutNumberOutput) SetOptedOutNumber(v string) *DeleteOptedOutNumberOutput
SetOptedOutNumber sets the OptedOutNumber field's value.
func (s *DeleteOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *DeleteOptedOutNumberOutput
SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
func (s DeleteOptedOutNumberOutput) 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 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 (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 (s *DeletePoolInput) SetPoolId(v string) *DeletePoolInput
SetPoolId sets the PoolId field's value.
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 (s *DeletePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging // SMS and Voice 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 (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 (s *DeletePoolOutput) SetCreatedTimestamp(v time.Time) *DeletePoolOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeletePoolOutput) SetMessageType(v string) *DeletePoolOutput
SetMessageType sets the MessageType field's value.
func (s *DeletePoolOutput) SetOptOutListName(v string) *DeletePoolOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *DeletePoolOutput) SetPoolArn(v string) *DeletePoolOutput
SetPoolArn sets the PoolArn field's value.
func (s *DeletePoolOutput) SetPoolId(v string) *DeletePoolOutput
SetPoolId sets the PoolId field's value.
func (s *DeletePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *DeletePoolOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *DeletePoolOutput) SetSharedRoutesEnabled(v bool) *DeletePoolOutput
SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
func (s *DeletePoolOutput) SetStatus(v string) *DeletePoolOutput
SetStatus sets the Status field's value.
func (s *DeletePoolOutput) SetTwoWayChannelArn(v string) *DeletePoolOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *DeletePoolOutput) SetTwoWayChannelRole(v string) *DeletePoolOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *DeletePoolOutput) SetTwoWayEnabled(v bool) *DeletePoolOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 (s DeleteProtectConfigurationInput) 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 (s *DeleteProtectConfigurationInput) SetProtectConfigurationId(v string) *DeleteProtectConfigurationInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s DeleteProtectConfigurationInput) 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 (s *DeleteProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DeleteProtectConfigurationOutput) 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 (s *DeleteProtectConfigurationOutput) SetAccountDefault(v bool) *DeleteProtectConfigurationOutput
SetAccountDefault sets the AccountDefault field's value.
func (s *DeleteProtectConfigurationOutput) SetCreatedTimestamp(v time.Time) *DeleteProtectConfigurationOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *DeleteProtectConfigurationOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *DeleteProtectConfigurationOutput) SetProtectConfigurationArn(v string) *DeleteProtectConfigurationOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *DeleteProtectConfigurationOutput) SetProtectConfigurationId(v string) *DeleteProtectConfigurationOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s DeleteProtectConfigurationOutput) 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 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 (s DeleteRegistrationAttachmentInput) 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 (s *DeleteRegistrationAttachmentInput) SetRegistrationAttachmentId(v string) *DeleteRegistrationAttachmentInput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s DeleteRegistrationAttachmentInput) 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 (s *DeleteRegistrationAttachmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DeleteRegistrationAttachmentOutput) 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 (s *DeleteRegistrationAttachmentOutput) SetAttachmentStatus(v string) *DeleteRegistrationAttachmentOutput
SetAttachmentStatus sets the AttachmentStatus field's value.
func (s *DeleteRegistrationAttachmentOutput) SetAttachmentUploadErrorReason(v string) *DeleteRegistrationAttachmentOutput
SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.
func (s *DeleteRegistrationAttachmentOutput) SetCreatedTimestamp(v time.Time) *DeleteRegistrationAttachmentOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentArn(v string) *DeleteRegistrationAttachmentOutput
SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
func (s *DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentId(v string) *DeleteRegistrationAttachmentOutput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s DeleteRegistrationAttachmentOutput) 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 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 (s DeleteRegistrationFieldValueInput) 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 (s *DeleteRegistrationFieldValueInput) SetFieldPath(v string) *DeleteRegistrationFieldValueInput
SetFieldPath sets the FieldPath field's value.
func (s *DeleteRegistrationFieldValueInput) SetRegistrationId(v string) *DeleteRegistrationFieldValueInput
SetRegistrationId sets the RegistrationId field's value.
func (s DeleteRegistrationFieldValueInput) 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 (s *DeleteRegistrationFieldValueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DeleteRegistrationFieldValueOutput) 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 (s *DeleteRegistrationFieldValueOutput) SetFieldPath(v string) *DeleteRegistrationFieldValueOutput
SetFieldPath sets the FieldPath field's value.
func (s *DeleteRegistrationFieldValueOutput) SetRegistrationArn(v string) *DeleteRegistrationFieldValueOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *DeleteRegistrationFieldValueOutput) SetRegistrationAttachmentId(v string) *DeleteRegistrationFieldValueOutput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s *DeleteRegistrationFieldValueOutput) SetRegistrationId(v string) *DeleteRegistrationFieldValueOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *DeleteRegistrationFieldValueOutput) SetSelectChoices(v []*string) *DeleteRegistrationFieldValueOutput
SetSelectChoices sets the SelectChoices field's value.
func (s *DeleteRegistrationFieldValueOutput) SetTextValue(v string) *DeleteRegistrationFieldValueOutput
SetTextValue sets the TextValue field's value.
func (s *DeleteRegistrationFieldValueOutput) SetVersionNumber(v int64) *DeleteRegistrationFieldValueOutput
SetVersionNumber sets the VersionNumber field's value.
func (s DeleteRegistrationFieldValueOutput) 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 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 (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 (s *DeleteRegistrationInput) SetRegistrationId(v string) *DeleteRegistrationInput
SetRegistrationId sets the RegistrationId field's value.
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 (s *DeleteRegistrationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DeleteRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *DeleteRegistrationOutput
SetAdditionalAttributes sets the AdditionalAttributes field's value.
func (s *DeleteRegistrationOutput) SetApprovedVersionNumber(v int64) *DeleteRegistrationOutput
SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.
func (s *DeleteRegistrationOutput) SetCreatedTimestamp(v time.Time) *DeleteRegistrationOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteRegistrationOutput) SetCurrentVersionNumber(v int64) *DeleteRegistrationOutput
SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
func (s *DeleteRegistrationOutput) SetLatestDeniedVersionNumber(v int64) *DeleteRegistrationOutput
SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.
func (s *DeleteRegistrationOutput) SetRegistrationArn(v string) *DeleteRegistrationOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *DeleteRegistrationOutput) SetRegistrationId(v string) *DeleteRegistrationOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *DeleteRegistrationOutput) SetRegistrationStatus(v string) *DeleteRegistrationOutput
SetRegistrationStatus sets the RegistrationStatus field's value.
func (s *DeleteRegistrationOutput) SetRegistrationType(v string) *DeleteRegistrationOutput
SetRegistrationType sets the RegistrationType field's value.
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 struct {
// contains filtered or unexported fields
}
func (s DeleteTextMessageSpendLimitOverrideInput) 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 (s DeleteTextMessageSpendLimitOverrideInput) 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 DeleteTextMessageSpendLimitOverrideOutput struct { // The current monthly limit, in US dollars. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s DeleteTextMessageSpendLimitOverrideOutput) 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 (s *DeleteTextMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteTextMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s DeleteTextMessageSpendLimitOverrideOutput) 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 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 (s DeleteVerifiedDestinationNumberInput) 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 (s *DeleteVerifiedDestinationNumberInput) SetVerifiedDestinationNumberId(v string) *DeleteVerifiedDestinationNumberInput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s DeleteVerifiedDestinationNumberInput) 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 (s *DeleteVerifiedDestinationNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DeleteVerifiedDestinationNumberOutput) 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 (s *DeleteVerifiedDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *DeleteVerifiedDestinationNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *DeleteVerifiedDestinationNumberOutput) SetDestinationPhoneNumber(v string) *DeleteVerifiedDestinationNumberOutput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *DeleteVerifiedDestinationNumberOutput
SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
func (s *DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *DeleteVerifiedDestinationNumberOutput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s DeleteVerifiedDestinationNumberOutput) 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 DeleteVoiceMessageSpendLimitOverrideInput struct {
// contains filtered or unexported fields
}
func (s DeleteVoiceMessageSpendLimitOverrideInput) 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 (s DeleteVoiceMessageSpendLimitOverrideInput) 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 DeleteVoiceMessageSpendLimitOverrideOutput struct { // The current monthly limit, in US dollars. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s DeleteVoiceMessageSpendLimitOverrideOutput) 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 (s *DeleteVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteVoiceMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s DeleteVoiceMessageSpendLimitOverrideOutput) 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 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 (s DescribeAccountAttributesInput) 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 (s *DescribeAccountAttributesInput) SetMaxResults(v int64) *DescribeAccountAttributesInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeAccountAttributesInput) SetNextToken(v string) *DescribeAccountAttributesInput
SetNextToken sets the NextToken field's value.
func (s DescribeAccountAttributesInput) 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 (s *DescribeAccountAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeAccountAttributesOutput) 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 (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput
SetAccountAttributes sets the AccountAttributes field's value.
func (s *DescribeAccountAttributesOutput) SetNextToken(v string) *DescribeAccountAttributesOutput
SetNextToken sets the NextToken field's value.
func (s DescribeAccountAttributesOutput) 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 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 (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 (s *DescribeAccountLimitsInput) SetMaxResults(v int64) *DescribeAccountLimitsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimitsInput
SetNextToken sets the NextToken field's value.
func (s DescribeAccountLimitsInput) 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 (s *DescribeAccountLimitsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeAccountLimitsOutput) SetAccountLimits(v []*AccountLimit) *DescribeAccountLimitsOutput
SetAccountLimits sets the AccountLimits field's value.
func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLimitsOutput
SetNextToken sets the NextToken field's value.
func (s DescribeAccountLimitsOutput) 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 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 (s DescribeConfigurationSetsInput) 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 (s *DescribeConfigurationSetsInput) SetConfigurationSetNames(v []*string) *DescribeConfigurationSetsInput
SetConfigurationSetNames sets the ConfigurationSetNames field's value.
func (s *DescribeConfigurationSetsInput) SetFilters(v []*ConfigurationSetFilter) *DescribeConfigurationSetsInput
SetFilters sets the Filters field's value.
func (s *DescribeConfigurationSetsInput) SetMaxResults(v int64) *DescribeConfigurationSetsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeConfigurationSetsInput) SetNextToken(v string) *DescribeConfigurationSetsInput
SetNextToken sets the NextToken field's value.
func (s DescribeConfigurationSetsInput) 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 (s *DescribeConfigurationSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeConfigurationSetsOutput) 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 (s *DescribeConfigurationSetsOutput) SetConfigurationSets(v []*ConfigurationSetInformation) *DescribeConfigurationSetsOutput
SetConfigurationSets sets the ConfigurationSets field's value.
func (s *DescribeConfigurationSetsOutput) SetNextToken(v string) *DescribeConfigurationSetsOutput
SetNextToken sets the NextToken field's value.
func (s DescribeConfigurationSetsOutput) 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 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 (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 (s *DescribeKeywordsInput) SetFilters(v []*KeywordFilter) *DescribeKeywordsInput
SetFilters sets the Filters field's value.
func (s *DescribeKeywordsInput) SetKeywords(v []*string) *DescribeKeywordsInput
SetKeywords sets the Keywords field's value.
func (s *DescribeKeywordsInput) SetMaxResults(v int64) *DescribeKeywordsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeKeywordsInput) SetNextToken(v string) *DescribeKeywordsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeKeywordsInput) SetOriginationIdentity(v string) *DescribeKeywordsInput
SetOriginationIdentity sets the OriginationIdentity field's value.
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 (s *DescribeKeywordsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeKeywordsOutput) SetKeywords(v []*KeywordInformation) *DescribeKeywordsOutput
SetKeywords sets the Keywords field's value.
func (s *DescribeKeywordsOutput) SetNextToken(v string) *DescribeKeywordsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeKeywordsOutput) SetOriginationIdentity(v string) *DescribeKeywordsOutput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *DescribeKeywordsOutput) SetOriginationIdentityArn(v string) *DescribeKeywordsOutput
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
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 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 (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 (s *DescribeOptOutListsInput) SetMaxResults(v int64) *DescribeOptOutListsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeOptOutListsInput) SetNextToken(v string) *DescribeOptOutListsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeOptOutListsInput) SetOptOutListNames(v []*string) *DescribeOptOutListsInput
SetOptOutListNames sets the OptOutListNames field's value.
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 (s *DescribeOptOutListsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeOptOutListsOutput) SetNextToken(v string) *DescribeOptOutListsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeOptOutListsOutput) SetOptOutLists(v []*OptOutListInformation) *DescribeOptOutListsOutput
SetOptOutLists sets the OptOutLists field's value.
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 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 (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 (s *DescribeOptedOutNumbersInput) SetFilters(v []*OptedOutFilter) *DescribeOptedOutNumbersInput
SetFilters sets the Filters field's value.
func (s *DescribeOptedOutNumbersInput) SetMaxResults(v int64) *DescribeOptedOutNumbersInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeOptedOutNumbersInput) SetNextToken(v string) *DescribeOptedOutNumbersInput
SetNextToken sets the NextToken field's value.
func (s *DescribeOptedOutNumbersInput) SetOptOutListName(v string) *DescribeOptedOutNumbersInput
SetOptOutListName sets the OptOutListName field's value.
func (s *DescribeOptedOutNumbersInput) SetOptedOutNumbers(v []*string) *DescribeOptedOutNumbersInput
SetOptedOutNumbers sets the OptedOutNumbers field's value.
func (s DescribeOptedOutNumbersInput) 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 (s *DescribeOptedOutNumbersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeOptedOutNumbersOutput) 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 (s *DescribeOptedOutNumbersOutput) SetNextToken(v string) *DescribeOptedOutNumbersOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeOptedOutNumbersOutput) SetOptOutListArn(v string) *DescribeOptedOutNumbersOutput
SetOptOutListArn sets the OptOutListArn field's value.
func (s *DescribeOptedOutNumbersOutput) SetOptOutListName(v string) *DescribeOptedOutNumbersOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *DescribeOptedOutNumbersOutput) SetOptedOutNumbers(v []*OptedOutNumberInformation) *DescribeOptedOutNumbersOutput
SetOptedOutNumbers sets the OptedOutNumbers field's value.
func (s DescribeOptedOutNumbersOutput) 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 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 (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 (s *DescribePhoneNumbersInput) SetFilters(v []*PhoneNumberFilter) *DescribePhoneNumbersInput
SetFilters sets the Filters field's value.
func (s *DescribePhoneNumbersInput) SetMaxResults(v int64) *DescribePhoneNumbersInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribePhoneNumbersInput) SetNextToken(v string) *DescribePhoneNumbersInput
SetNextToken sets the NextToken field's value.
func (s *DescribePhoneNumbersInput) SetPhoneNumberIds(v []*string) *DescribePhoneNumbersInput
SetPhoneNumberIds sets the PhoneNumberIds field's value.
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 (s *DescribePhoneNumbersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribePhoneNumbersOutput) SetNextToken(v string) *DescribePhoneNumbersOutput
SetNextToken sets the NextToken field's value.
func (s *DescribePhoneNumbersOutput) SetPhoneNumbers(v []*PhoneNumberInformation) *DescribePhoneNumbersOutput
SetPhoneNumbers sets the PhoneNumbers field's value.
func (s DescribePhoneNumbersOutput) 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 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 (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 (s *DescribePoolsInput) SetFilters(v []*PoolFilter) *DescribePoolsInput
SetFilters sets the Filters field's value.
func (s *DescribePoolsInput) SetMaxResults(v int64) *DescribePoolsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribePoolsInput) SetNextToken(v string) *DescribePoolsInput
SetNextToken sets the NextToken field's value.
func (s *DescribePoolsInput) SetPoolIds(v []*string) *DescribePoolsInput
SetPoolIds sets the PoolIds field's value.
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 (s *DescribePoolsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribePoolsOutput) SetNextToken(v string) *DescribePoolsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribePoolsOutput) SetPools(v []*PoolInformation) *DescribePoolsOutput
SetPools sets the Pools field's value.
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 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 (s DescribeProtectConfigurationsInput) 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 (s *DescribeProtectConfigurationsInput) SetFilters(v []*ProtectConfigurationFilter) *DescribeProtectConfigurationsInput
SetFilters sets the Filters field's value.
func (s *DescribeProtectConfigurationsInput) SetMaxResults(v int64) *DescribeProtectConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeProtectConfigurationsInput) SetNextToken(v string) *DescribeProtectConfigurationsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeProtectConfigurationsInput) SetProtectConfigurationIds(v []*string) *DescribeProtectConfigurationsInput
SetProtectConfigurationIds sets the ProtectConfigurationIds field's value.
func (s DescribeProtectConfigurationsInput) 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 (s *DescribeProtectConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeProtectConfigurationsOutput) 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 (s *DescribeProtectConfigurationsOutput) SetNextToken(v string) *DescribeProtectConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeProtectConfigurationsOutput) SetProtectConfigurations(v []*ProtectConfigurationInformation) *DescribeProtectConfigurationsOutput
SetProtectConfigurations sets the ProtectConfigurations field's value.
func (s DescribeProtectConfigurationsOutput) 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 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 (s DescribeRegistrationAttachmentsInput) 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 (s *DescribeRegistrationAttachmentsInput) SetFilters(v []*RegistrationAttachmentFilter) *DescribeRegistrationAttachmentsInput
SetFilters sets the Filters field's value.
func (s *DescribeRegistrationAttachmentsInput) SetMaxResults(v int64) *DescribeRegistrationAttachmentsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationAttachmentsInput) SetNextToken(v string) *DescribeRegistrationAttachmentsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationAttachmentsInput) SetRegistrationAttachmentIds(v []*string) *DescribeRegistrationAttachmentsInput
SetRegistrationAttachmentIds sets the RegistrationAttachmentIds field's value.
func (s DescribeRegistrationAttachmentsInput) 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 (s *DescribeRegistrationAttachmentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationAttachmentsOutput) 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 (s *DescribeRegistrationAttachmentsOutput) SetNextToken(v string) *DescribeRegistrationAttachmentsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationAttachmentsOutput) SetRegistrationAttachments(v []*RegistrationAttachmentsInformation) *DescribeRegistrationAttachmentsOutput
SetRegistrationAttachments sets the RegistrationAttachments field's value.
func (s DescribeRegistrationAttachmentsOutput) 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 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 (s DescribeRegistrationFieldDefinitionsInput) 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 (s *DescribeRegistrationFieldDefinitionsInput) SetFieldPaths(v []*string) *DescribeRegistrationFieldDefinitionsInput
SetFieldPaths sets the FieldPaths field's value.
func (s *DescribeRegistrationFieldDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationFieldDefinitionsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationFieldDefinitionsInput) SetNextToken(v string) *DescribeRegistrationFieldDefinitionsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationFieldDefinitionsInput) SetRegistrationType(v string) *DescribeRegistrationFieldDefinitionsInput
SetRegistrationType sets the RegistrationType field's value.
func (s *DescribeRegistrationFieldDefinitionsInput) SetSectionPath(v string) *DescribeRegistrationFieldDefinitionsInput
SetSectionPath sets the SectionPath field's value.
func (s DescribeRegistrationFieldDefinitionsInput) 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 (s *DescribeRegistrationFieldDefinitionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationFieldDefinitionsOutput) 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 (s *DescribeRegistrationFieldDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationFieldDefinitionsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationFieldDefinitionsOutput) SetRegistrationFieldDefinitions(v []*RegistrationFieldDefinition) *DescribeRegistrationFieldDefinitionsOutput
SetRegistrationFieldDefinitions sets the RegistrationFieldDefinitions field's value.
func (s *DescribeRegistrationFieldDefinitionsOutput) SetRegistrationType(v string) *DescribeRegistrationFieldDefinitionsOutput
SetRegistrationType sets the RegistrationType field's value.
func (s DescribeRegistrationFieldDefinitionsOutput) 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 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 (s DescribeRegistrationFieldValuesInput) 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 (s *DescribeRegistrationFieldValuesInput) SetFieldPaths(v []*string) *DescribeRegistrationFieldValuesInput
SetFieldPaths sets the FieldPaths field's value.
func (s *DescribeRegistrationFieldValuesInput) SetMaxResults(v int64) *DescribeRegistrationFieldValuesInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationFieldValuesInput) SetNextToken(v string) *DescribeRegistrationFieldValuesInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationFieldValuesInput) SetRegistrationId(v string) *DescribeRegistrationFieldValuesInput
SetRegistrationId sets the RegistrationId field's value.
func (s *DescribeRegistrationFieldValuesInput) SetSectionPath(v string) *DescribeRegistrationFieldValuesInput
SetSectionPath sets the SectionPath field's value.
func (s *DescribeRegistrationFieldValuesInput) SetVersionNumber(v int64) *DescribeRegistrationFieldValuesInput
SetVersionNumber sets the VersionNumber field's value.
func (s DescribeRegistrationFieldValuesInput) 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 (s *DescribeRegistrationFieldValuesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationFieldValuesOutput) 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 (s *DescribeRegistrationFieldValuesOutput) SetNextToken(v string) *DescribeRegistrationFieldValuesOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationArn(v string) *DescribeRegistrationFieldValuesOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationFieldValues(v []*RegistrationFieldValueInformation) *DescribeRegistrationFieldValuesOutput
SetRegistrationFieldValues sets the RegistrationFieldValues field's value.
func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationId(v string) *DescribeRegistrationFieldValuesOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *DescribeRegistrationFieldValuesOutput) SetVersionNumber(v int64) *DescribeRegistrationFieldValuesOutput
SetVersionNumber sets the VersionNumber field's value.
func (s DescribeRegistrationFieldValuesOutput) 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 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 (s DescribeRegistrationSectionDefinitionsInput) 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 (s *DescribeRegistrationSectionDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationSectionDefinitionsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationSectionDefinitionsInput) SetNextToken(v string) *DescribeRegistrationSectionDefinitionsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationSectionDefinitionsInput) SetRegistrationType(v string) *DescribeRegistrationSectionDefinitionsInput
SetRegistrationType sets the RegistrationType field's value.
func (s *DescribeRegistrationSectionDefinitionsInput) SetSectionPaths(v []*string) *DescribeRegistrationSectionDefinitionsInput
SetSectionPaths sets the SectionPaths field's value.
func (s DescribeRegistrationSectionDefinitionsInput) 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 (s *DescribeRegistrationSectionDefinitionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationSectionDefinitionsOutput) 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 (s *DescribeRegistrationSectionDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationSectionDefinitionsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationSectionDefinitionsOutput) SetRegistrationSectionDefinitions(v []*RegistrationSectionDefinition) *DescribeRegistrationSectionDefinitionsOutput
SetRegistrationSectionDefinitions sets the RegistrationSectionDefinitions field's value.
func (s *DescribeRegistrationSectionDefinitionsOutput) SetRegistrationType(v string) *DescribeRegistrationSectionDefinitionsOutput
SetRegistrationType sets the RegistrationType field's value.
func (s DescribeRegistrationSectionDefinitionsOutput) 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 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 (s DescribeRegistrationTypeDefinitionsInput) 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 (s *DescribeRegistrationTypeDefinitionsInput) SetFilters(v []*RegistrationTypeFilter) *DescribeRegistrationTypeDefinitionsInput
SetFilters sets the Filters field's value.
func (s *DescribeRegistrationTypeDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationTypeDefinitionsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationTypeDefinitionsInput) SetNextToken(v string) *DescribeRegistrationTypeDefinitionsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationTypeDefinitionsInput) SetRegistrationTypes(v []*string) *DescribeRegistrationTypeDefinitionsInput
SetRegistrationTypes sets the RegistrationTypes field's value.
func (s DescribeRegistrationTypeDefinitionsInput) 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 (s *DescribeRegistrationTypeDefinitionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationTypeDefinitionsOutput) 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 (s *DescribeRegistrationTypeDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationTypeDefinitionsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationTypeDefinitionsOutput) SetRegistrationTypeDefinitions(v []*RegistrationTypeDefinition) *DescribeRegistrationTypeDefinitionsOutput
SetRegistrationTypeDefinitions sets the RegistrationTypeDefinitions field's value.
func (s DescribeRegistrationTypeDefinitionsOutput) 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 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 (s DescribeRegistrationVersionsInput) 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 (s *DescribeRegistrationVersionsInput) SetFilters(v []*RegistrationVersionFilter) *DescribeRegistrationVersionsInput
SetFilters sets the Filters field's value.
func (s *DescribeRegistrationVersionsInput) SetMaxResults(v int64) *DescribeRegistrationVersionsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationVersionsInput) SetNextToken(v string) *DescribeRegistrationVersionsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationVersionsInput) SetRegistrationId(v string) *DescribeRegistrationVersionsInput
SetRegistrationId sets the RegistrationId field's value.
func (s *DescribeRegistrationVersionsInput) SetVersionNumbers(v []*int64) *DescribeRegistrationVersionsInput
SetVersionNumbers sets the VersionNumbers field's value.
func (s DescribeRegistrationVersionsInput) 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 (s *DescribeRegistrationVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRegistrationVersionsOutput) 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 (s *DescribeRegistrationVersionsOutput) SetNextToken(v string) *DescribeRegistrationVersionsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationVersionsOutput) SetRegistrationArn(v string) *DescribeRegistrationVersionsOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *DescribeRegistrationVersionsOutput) SetRegistrationId(v string) *DescribeRegistrationVersionsOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *DescribeRegistrationVersionsOutput) SetRegistrationVersions(v []*RegistrationVersionInformation) *DescribeRegistrationVersionsOutput
SetRegistrationVersions sets the RegistrationVersions field's value.
func (s DescribeRegistrationVersionsOutput) 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 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 (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 (s *DescribeRegistrationsInput) SetFilters(v []*RegistrationFilter) *DescribeRegistrationsInput
SetFilters sets the Filters field's value.
func (s *DescribeRegistrationsInput) SetMaxResults(v int64) *DescribeRegistrationsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeRegistrationsInput) SetNextToken(v string) *DescribeRegistrationsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationsInput) SetRegistrationIds(v []*string) *DescribeRegistrationsInput
SetRegistrationIds sets the RegistrationIds field's value.
func (s DescribeRegistrationsInput) 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 (s *DescribeRegistrationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeRegistrationsOutput) SetNextToken(v string) *DescribeRegistrationsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeRegistrationsOutput) SetRegistrations(v []*RegistrationInformation) *DescribeRegistrationsOutput
SetRegistrations sets the Registrations field's value.
func (s DescribeRegistrationsOutput) 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 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 (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 (s *DescribeSenderIdsInput) SetFilters(v []*SenderIdFilter) *DescribeSenderIdsInput
SetFilters sets the Filters field's value.
func (s *DescribeSenderIdsInput) SetMaxResults(v int64) *DescribeSenderIdsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeSenderIdsInput) SetNextToken(v string) *DescribeSenderIdsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeSenderIdsInput) SetSenderIds(v []*SenderIdAndCountry) *DescribeSenderIdsInput
SetSenderIds sets the SenderIds field's value.
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 (s *DescribeSenderIdsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeSenderIdsOutput) SetNextToken(v string) *DescribeSenderIdsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeSenderIdsOutput) SetSenderIds(v []*SenderIdInformation) *DescribeSenderIdsOutput
SetSenderIds sets the SenderIds field's value.
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 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 (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 (s *DescribeSpendLimitsInput) SetMaxResults(v int64) *DescribeSpendLimitsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeSpendLimitsInput) SetNextToken(v string) *DescribeSpendLimitsInput
SetNextToken sets the NextToken field's value.
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 (s *DescribeSpendLimitsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *DescribeSpendLimitsOutput) SetNextToken(v string) *DescribeSpendLimitsOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeSpendLimitsOutput) SetSpendLimits(v []*SpendLimit) *DescribeSpendLimitsOutput
SetSpendLimits sets the SpendLimits field's value.
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 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 (s DescribeVerifiedDestinationNumbersInput) 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 (s *DescribeVerifiedDestinationNumbersInput) SetDestinationPhoneNumbers(v []*string) *DescribeVerifiedDestinationNumbersInput
SetDestinationPhoneNumbers sets the DestinationPhoneNumbers field's value.
func (s *DescribeVerifiedDestinationNumbersInput) SetFilters(v []*VerifiedDestinationNumberFilter) *DescribeVerifiedDestinationNumbersInput
SetFilters sets the Filters field's value.
func (s *DescribeVerifiedDestinationNumbersInput) SetMaxResults(v int64) *DescribeVerifiedDestinationNumbersInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeVerifiedDestinationNumbersInput) SetNextToken(v string) *DescribeVerifiedDestinationNumbersInput
SetNextToken sets the NextToken field's value.
func (s *DescribeVerifiedDestinationNumbersInput) SetVerifiedDestinationNumberIds(v []*string) *DescribeVerifiedDestinationNumbersInput
SetVerifiedDestinationNumberIds sets the VerifiedDestinationNumberIds field's value.
func (s DescribeVerifiedDestinationNumbersInput) 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 (s *DescribeVerifiedDestinationNumbersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeVerifiedDestinationNumbersOutput) 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 (s *DescribeVerifiedDestinationNumbersOutput) SetNextToken(v string) *DescribeVerifiedDestinationNumbersOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeVerifiedDestinationNumbersOutput) SetVerifiedDestinationNumbers(v []*VerifiedDestinationNumberInformation) *DescribeVerifiedDestinationNumbersOutput
SetVerifiedDestinationNumbers sets the VerifiedDestinationNumbers field's value.
func (s DescribeVerifiedDestinationNumbersOutput) 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 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 (s DisassociateOriginationIdentityInput) 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 (s *DisassociateOriginationIdentityInput) SetClientToken(v string) *DisassociateOriginationIdentityInput
SetClientToken sets the ClientToken field's value.
func (s *DisassociateOriginationIdentityInput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *DisassociateOriginationIdentityInput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *DisassociateOriginationIdentityInput) SetPoolId(v string) *DisassociateOriginationIdentityInput
SetPoolId sets the PoolId field's value.
func (s DisassociateOriginationIdentityInput) 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 (s *DisassociateOriginationIdentityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DisassociateOriginationIdentityOutput) 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 (s *DisassociateOriginationIdentityOutput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityOutput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *DisassociateOriginationIdentityOutput
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
func (s *DisassociateOriginationIdentityOutput) SetPoolArn(v string) *DisassociateOriginationIdentityOutput
SetPoolArn sets the PoolArn field's value.
func (s *DisassociateOriginationIdentityOutput) SetPoolId(v string) *DisassociateOriginationIdentityOutput
SetPoolId sets the PoolId field's value.
func (s DisassociateOriginationIdentityOutput) 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 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 (s DisassociateProtectConfigurationInput) 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 (s *DisassociateProtectConfigurationInput) SetConfigurationSetName(v string) *DisassociateProtectConfigurationInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DisassociateProtectConfigurationInput) SetProtectConfigurationId(v string) *DisassociateProtectConfigurationInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s DisassociateProtectConfigurationInput) 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 (s *DisassociateProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DisassociateProtectConfigurationOutput) 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 (s *DisassociateProtectConfigurationOutput) SetConfigurationSetArn(v string) *DisassociateProtectConfigurationOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *DisassociateProtectConfigurationOutput) SetConfigurationSetName(v string) *DisassociateProtectConfigurationOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *DisassociateProtectConfigurationOutput) SetProtectConfigurationArn(v string) *DisassociateProtectConfigurationOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *DisassociateProtectConfigurationOutput) SetProtectConfigurationId(v string) *DisassociateProtectConfigurationOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s DisassociateProtectConfigurationOutput) 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 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 (s DiscardRegistrationVersionInput) 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 (s *DiscardRegistrationVersionInput) SetRegistrationId(v string) *DiscardRegistrationVersionInput
SetRegistrationId sets the RegistrationId field's value.
func (s DiscardRegistrationVersionInput) 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 (s *DiscardRegistrationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DiscardRegistrationVersionOutput) 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 (s *DiscardRegistrationVersionOutput) SetRegistrationArn(v string) *DiscardRegistrationVersionOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *DiscardRegistrationVersionOutput) SetRegistrationId(v string) *DiscardRegistrationVersionOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *DiscardRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *DiscardRegistrationVersionOutput
SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
func (s *DiscardRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *DiscardRegistrationVersionOutput
SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
func (s *DiscardRegistrationVersionOutput) SetVersionNumber(v int64) *DiscardRegistrationVersionOutput
SetVersionNumber sets the VersionNumber field's value.
func (s DiscardRegistrationVersionOutput) 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 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 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, Firehose, or Amazon SNS.
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 (s *EventDestination) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *EventDestination
SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
func (s *EventDestination) SetEnabled(v bool) *EventDestination
SetEnabled sets the Enabled field's value.
func (s *EventDestination) SetEventDestinationName(v string) *EventDestination
SetEventDestinationName sets the EventDestinationName field's value.
func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination
SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination
SetMatchingEventTypes sets the MatchingEventTypes field's value.
func (s *EventDestination) SetSnsDestination(v *SnsDestination) *EventDestination
SetSnsDestination sets the SnsDestination field's value.
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 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 (s GetProtectConfigurationCountryRuleSetInput) 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 (s *GetProtectConfigurationCountryRuleSetInput) SetNumberCapability(v string) *GetProtectConfigurationCountryRuleSetInput
SetNumberCapability sets the NumberCapability field's value.
func (s *GetProtectConfigurationCountryRuleSetInput) SetProtectConfigurationId(v string) *GetProtectConfigurationCountryRuleSetInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s GetProtectConfigurationCountryRuleSetInput) 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 (s *GetProtectConfigurationCountryRuleSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS End User Messaging 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 (s GetProtectConfigurationCountryRuleSetOutput) 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 (s *GetProtectConfigurationCountryRuleSetOutput) SetCountryRuleSet(v map[string]*ProtectConfigurationCountryRuleSetInformation) *GetProtectConfigurationCountryRuleSetOutput
SetCountryRuleSet sets the CountryRuleSet field's value.
func (s *GetProtectConfigurationCountryRuleSetOutput) SetNumberCapability(v string) *GetProtectConfigurationCountryRuleSetOutput
SetNumberCapability sets the NumberCapability field's value.
func (s *GetProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationArn(v string) *GetProtectConfigurationCountryRuleSetOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *GetProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationId(v string) *GetProtectConfigurationCountryRuleSetOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s GetProtectConfigurationCountryRuleSetOutput) 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 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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *KeywordFilter) SetName(v string) *KeywordFilter
SetName sets the Name field's value.
func (s *KeywordFilter) SetValues(v []*string) *KeywordFilter
SetValues sets the Values field's value.
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 (s *KeywordFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *KeywordInformation) SetKeyword(v string) *KeywordInformation
SetKeyword sets the Keyword field's value.
func (s *KeywordInformation) SetKeywordAction(v string) *KeywordInformation
SetKeywordAction sets the KeywordAction field's value.
func (s *KeywordInformation) SetKeywordMessage(v string) *KeywordInformation
SetKeywordMessage sets the KeywordMessage field's value.
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 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 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 Firehose event destination.
Event destinations, such as Firehose, are associated with configuration sets, which enable you to publish message sending events.
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 (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v string) *KinesisFirehoseDestination
SetDeliveryStreamArn sets the DeliveryStreamArn field's value.
func (s *KinesisFirehoseDestination) SetIamRoleArn(v string) *KinesisFirehoseDestination
SetIamRoleArn sets the IamRoleArn field's value.
func (s KinesisFirehoseDestination) 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 (s *KinesisFirehoseDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListPoolOriginationIdentitiesInput) 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 (s *ListPoolOriginationIdentitiesInput) SetFilters(v []*PoolOriginationIdentitiesFilter) *ListPoolOriginationIdentitiesInput
SetFilters sets the Filters field's value.
func (s *ListPoolOriginationIdentitiesInput) SetMaxResults(v int64) *ListPoolOriginationIdentitiesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListPoolOriginationIdentitiesInput) SetNextToken(v string) *ListPoolOriginationIdentitiesInput
SetNextToken sets the NextToken field's value.
func (s *ListPoolOriginationIdentitiesInput) SetPoolId(v string) *ListPoolOriginationIdentitiesInput
SetPoolId sets the PoolId field's value.
func (s ListPoolOriginationIdentitiesInput) 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 (s *ListPoolOriginationIdentitiesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListPoolOriginationIdentitiesOutput) 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 (s *ListPoolOriginationIdentitiesOutput) SetNextToken(v string) *ListPoolOriginationIdentitiesOutput
SetNextToken sets the NextToken field's value.
func (s *ListPoolOriginationIdentitiesOutput) SetOriginationIdentities(v []*OriginationIdentityMetadata) *ListPoolOriginationIdentitiesOutput
SetOriginationIdentities sets the OriginationIdentities field's value.
func (s *ListPoolOriginationIdentitiesOutput) SetPoolArn(v string) *ListPoolOriginationIdentitiesOutput
SetPoolArn sets the PoolArn field's value.
func (s *ListPoolOriginationIdentitiesOutput) SetPoolId(v string) *ListPoolOriginationIdentitiesOutput
SetPoolId sets the PoolId field's value.
func (s ListPoolOriginationIdentitiesOutput) 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 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 (s ListRegistrationAssociationsInput) 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 (s *ListRegistrationAssociationsInput) SetFilters(v []*RegistrationAssociationFilter) *ListRegistrationAssociationsInput
SetFilters sets the Filters field's value.
func (s *ListRegistrationAssociationsInput) SetMaxResults(v int64) *ListRegistrationAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListRegistrationAssociationsInput) SetNextToken(v string) *ListRegistrationAssociationsInput
SetNextToken sets the NextToken field's value.
func (s *ListRegistrationAssociationsInput) SetRegistrationId(v string) *ListRegistrationAssociationsInput
SetRegistrationId sets the RegistrationId field's value.
func (s ListRegistrationAssociationsInput) 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 (s *ListRegistrationAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListRegistrationAssociationsOutput) 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 (s *ListRegistrationAssociationsOutput) SetNextToken(v string) *ListRegistrationAssociationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListRegistrationAssociationsOutput) SetRegistrationArn(v string) *ListRegistrationAssociationsOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *ListRegistrationAssociationsOutput) SetRegistrationAssociations(v []*RegistrationAssociationMetadata) *ListRegistrationAssociationsOutput
SetRegistrationAssociations sets the RegistrationAssociations field's value.
func (s *ListRegistrationAssociationsOutput) SetRegistrationId(v string) *ListRegistrationAssociationsOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *ListRegistrationAssociationsOutput) SetRegistrationType(v string) *ListRegistrationAssociationsOutput
SetRegistrationType sets the RegistrationType field's value.
func (s ListRegistrationAssociationsOutput) 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 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 (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 (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
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 (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListTagsForResourceOutput) SetResourceArn(v string) *ListTagsForResourceOutput
SetResourceArn sets the ResourceArn field's value.
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
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 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 (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 (s *OptOutListInformation) SetCreatedTimestamp(v time.Time) *OptOutListInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *OptOutListInformation) SetOptOutListArn(v string) *OptOutListInformation
SetOptOutListArn sets the OptOutListArn field's value.
func (s *OptOutListInformation) SetOptOutListName(v string) *OptOutListInformation
SetOptOutListName sets the OptOutListName field's value.
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 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 (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 (s *OptedOutFilter) SetName(v string) *OptedOutFilter
SetName sets the Name field's value.
func (s *OptedOutFilter) SetValues(v []*string) *OptedOutFilter
SetValues sets the Values field's value.
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 (s *OptedOutFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *OptedOutNumberInformation) SetEndUserOptedOut(v bool) *OptedOutNumberInformation
SetEndUserOptedOut sets the EndUserOptedOut field's value.
func (s *OptedOutNumberInformation) SetOptedOutNumber(v string) *OptedOutNumberInformation
SetOptedOutNumber sets the OptedOutNumber field's value.
func (s *OptedOutNumberInformation) SetOptedOutTimestamp(v time.Time) *OptedOutNumberInformation
SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
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 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 (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 (s *OriginationIdentityMetadata) SetIsoCountryCode(v string) *OriginationIdentityMetadata
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *OriginationIdentityMetadata) SetNumberCapabilities(v []*string) *OriginationIdentityMetadata
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *OriginationIdentityMetadata) SetOriginationIdentity(v string) *OriginationIdentityMetadata
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *OriginationIdentityMetadata) SetOriginationIdentityArn(v string) *OriginationIdentityMetadata
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
func (s *OriginationIdentityMetadata) SetPhoneNumber(v string) *OriginationIdentityMetadata
SetPhoneNumber sets the PhoneNumber field's value.
func (s OriginationIdentityMetadata) 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 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 (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 (s *PhoneNumberFilter) SetName(v string) *PhoneNumberFilter
SetName sets the Name field's value.
func (s *PhoneNumberFilter) SetValues(v []*string) *PhoneNumberFilter
SetValues sets the Values field's value.
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 (s *PhoneNumberFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging SMS and // Voice 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 (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 (s *PhoneNumberInformation) SetCreatedTimestamp(v time.Time) *PhoneNumberInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *PhoneNumberInformation) SetDeletionProtectionEnabled(v bool) *PhoneNumberInformation
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *PhoneNumberInformation) SetIsoCountryCode(v string) *PhoneNumberInformation
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *PhoneNumberInformation) SetMessageType(v string) *PhoneNumberInformation
SetMessageType sets the MessageType field's value.
func (s *PhoneNumberInformation) SetMonthlyLeasingPrice(v string) *PhoneNumberInformation
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *PhoneNumberInformation) SetNumberCapabilities(v []*string) *PhoneNumberInformation
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *PhoneNumberInformation) SetNumberType(v string) *PhoneNumberInformation
SetNumberType sets the NumberType field's value.
func (s *PhoneNumberInformation) SetOptOutListName(v string) *PhoneNumberInformation
SetOptOutListName sets the OptOutListName field's value.
func (s *PhoneNumberInformation) SetPhoneNumber(v string) *PhoneNumberInformation
SetPhoneNumber sets the PhoneNumber field's value.
func (s *PhoneNumberInformation) SetPhoneNumberArn(v string) *PhoneNumberInformation
SetPhoneNumberArn sets the PhoneNumberArn field's value.
func (s *PhoneNumberInformation) SetPhoneNumberId(v string) *PhoneNumberInformation
SetPhoneNumberId sets the PhoneNumberId field's value.
func (s *PhoneNumberInformation) SetPoolId(v string) *PhoneNumberInformation
SetPoolId sets the PoolId field's value.
func (s *PhoneNumberInformation) SetRegistrationId(v string) *PhoneNumberInformation
SetRegistrationId sets the RegistrationId field's value.
func (s *PhoneNumberInformation) SetSelfManagedOptOutsEnabled(v bool) *PhoneNumberInformation
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *PhoneNumberInformation) SetStatus(v string) *PhoneNumberInformation
SetStatus sets the Status field's value.
func (s *PhoneNumberInformation) SetTwoWayChannelArn(v string) *PhoneNumberInformation
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *PhoneNumberInformation) SetTwoWayChannelRole(v string) *PhoneNumberInformation
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *PhoneNumberInformation) SetTwoWayEnabled(v bool) *PhoneNumberInformation
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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(p client.ConfigProvider, cfgs ...*aws.Config) *PinpointSMSVoiceV2
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 (c *PinpointSMSVoiceV2) AssociateOriginationIdentity(input *AssociateOriginationIdentityInput) (*AssociateOriginationIdentityOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) AssociateProtectConfiguration(input *AssociateProtectConfigurationInput) (*AssociateProtectConfigurationOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) CreateEventDestination(input *CreateEventDestinationInput) (*CreateEventDestinationOutput, error)
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 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 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 (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 (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 (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 AWS End User Messaging SMS 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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) CreateProtectConfiguration(input *CreateProtectConfigurationInput) (*CreateProtectConfigurationOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) CreateRegistration(input *CreateRegistrationInput) (*CreateRegistrationOutput, error)
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 (c *PinpointSMSVoiceV2) CreateRegistrationAssociation(input *CreateRegistrationAssociationInput) (*CreateRegistrationAssociationOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) CreateRegistrationAttachment(input *CreateRegistrationAttachmentInput) (*CreateRegistrationAttachmentOutput, error)
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.
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) }
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 (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 (c *PinpointSMSVoiceV2) CreateRegistrationVersion(input *CreateRegistrationVersionInput) (*CreateRegistrationVersionOutput, error)
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 (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 (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 (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 (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumber(input *CreateVerifiedDestinationNumberInput) (*CreateVerifiedDestinationNumberOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DeleteAccountDefaultProtectConfiguration(input *DeleteAccountDefaultProtectConfigurationInput) (*DeleteAccountDefaultProtectConfigurationOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) DeleteDefaultMessageType(input *DeleteDefaultMessageTypeInput) (*DeleteDefaultMessageTypeOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) DeleteDefaultSenderId(input *DeleteDefaultSenderIdInput) (*DeleteDefaultSenderIdOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) DeleteEventDestination(input *DeleteEventDestinationInput) (*DeleteEventDestinationOutput, error)
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 (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 (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 (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, AWS End User Messaging SMS and Voice 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 (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 (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 (c *PinpointSMSVoiceV2) DeleteMediaMessageSpendLimitOverride(input *DeleteMediaMessageSpendLimitOverrideInput) (*DeleteMediaMessageSpendLimitOverrideOutput, error)
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.
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) }
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 (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 (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 (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 (c *PinpointSMSVoiceV2) DeleteOptedOutNumber(input *DeleteOptedOutNumberInput) (*DeleteOptedOutNumberOutput, error)
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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DeleteProtectConfiguration(input *DeleteProtectConfigurationInput) (*DeleteProtectConfigurationOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) DeleteRegistration(input *DeleteRegistrationInput) (*DeleteRegistrationOutput, error)
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 (c *PinpointSMSVoiceV2) DeleteRegistrationAttachment(input *DeleteRegistrationAttachmentInput) (*DeleteRegistrationAttachmentOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValue(input *DeleteRegistrationFieldValueInput) (*DeleteRegistrationFieldValueOutput, error)
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.
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) }
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 (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 (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 (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverride(input *DeleteTextMessageSpendLimitOverrideInput) (*DeleteTextMessageSpendLimitOverrideOutput, error)
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 Quotas (https://docs.aws.amazon.com/sms-voice/latest/userguide/quotas.html) in the AWS End User Messaging SMS 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 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.
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) }
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 (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumber(input *DeleteVerifiedDestinationNumberInput) (*DeleteVerifiedDestinationNumberOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverride(input *DeleteVoiceMessageSpendLimitOverrideInput) (*DeleteVoiceMessageSpendLimitOverrideOutput, error)
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 Quotas (https://docs.aws.amazon.com/sms-voice/latest/userguide/quotas.html) in the AWS End User Messaging SMS 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 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.
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) }
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 (c *PinpointSMSVoiceV2) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error)
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 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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error)
DescribeAccountLimits API operation for Amazon Pinpoint SMS Voice V2.
Describes the current AWS End User Messaging SMS and Voice 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 Quotas (https://docs.aws.amazon.com/sms-voice/latest/userguide/quotas.html) in the AWS End User Messaging SMS 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 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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeConfigurationSets(input *DescribeConfigurationSetsInput) (*DescribeConfigurationSetsOutput, error)
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 (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 (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 (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 (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 (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, AWS End User Messaging SMS and Voice 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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeOptOutLists(input *DescribeOptOutListsInput) (*DescribeOptOutListsOutput, error)
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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeOptedOutNumbers(input *DescribeOptedOutNumbersInput) (*DescribeOptedOutNumbersOutput, error)
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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribePhoneNumbers(input *DescribePhoneNumbersInput) (*DescribePhoneNumbersOutput, error)
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeProtectConfigurations(input *DescribeProtectConfigurationsInput) (*DescribeProtectConfigurationsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationAttachments(input *DescribeRegistrationAttachmentsInput) (*DescribeRegistrationAttachmentsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitions(input *DescribeRegistrationFieldDefinitionsInput) (*DescribeRegistrationFieldDefinitionsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValues(input *DescribeRegistrationFieldValuesInput) (*DescribeRegistrationFieldValuesOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitions(input *DescribeRegistrationSectionDefinitionsInput) (*DescribeRegistrationSectionDefinitionsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitions(input *DescribeRegistrationTypeDefinitionsInput) (*DescribeRegistrationTypeDefinitionsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrationVersions(input *DescribeRegistrationVersionsInput) (*DescribeRegistrationVersionsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DescribeRegistrations(input *DescribeRegistrationsInput) (*DescribeRegistrationsOutput, error)
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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeSenderIds(input *DescribeSenderIdsInput) (*DescribeSenderIdsOutput, error)
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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeSpendLimits(input *DescribeSpendLimitsInput) (*DescribeSpendLimitsOutput, error)
DescribeSpendLimits API operation for Amazon Pinpoint SMS Voice V2.
Describes the current 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, MMS, or Voice spending quota (https://docs.aws.amazon.com/sms-voice/latest/userguide/awssupport-spend-threshold.html) in the AWS End User Messaging SMS 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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbers(input *DescribeVerifiedDestinationNumbersInput) (*DescribeVerifiedDestinationNumbersOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) DisassociateOriginationIdentity(input *DisassociateOriginationIdentityInput) (*DisassociateOriginationIdentityOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DisassociateProtectConfiguration(input *DisassociateProtectConfigurationInput) (*DisassociateProtectConfigurationOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) DiscardRegistrationVersion(input *DiscardRegistrationVersionInput) (*DiscardRegistrationVersionOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) GetProtectConfigurationCountryRuleSet(input *GetProtectConfigurationCountryRuleSetInput) (*GetProtectConfigurationCountryRuleSetOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) ListPoolOriginationIdentities(input *ListPoolOriginationIdentitiesInput) (*ListPoolOriginationIdentitiesOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) ListRegistrationAssociations(input *ListRegistrationAssociationsInput) (*ListRegistrationAssociationsOutput, error)
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.
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 (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 (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) }
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 (c *PinpointSMSVoiceV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
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 (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 (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 (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, AWS End User Messaging SMS and Voice 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 (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 (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 (c *PinpointSMSVoiceV2) PutOptedOutNumber(input *PutOptedOutNumberInput) (*PutOptedOutNumberOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) PutRegistrationFieldValue(input *PutRegistrationFieldValueInput) (*PutRegistrationFieldValueOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) ReleasePhoneNumber(input *ReleasePhoneNumberInput) (*ReleasePhoneNumberOutput, error)
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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) RequestPhoneNumber(input *RequestPhoneNumberInput) (*RequestPhoneNumberOutput, error)
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 Request a phone number (https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html) in the AWS End User Messaging SMS 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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCode(input *SendDestinationNumberVerificationCodeInput) (*SendDestinationNumberVerificationCodeOutput, error)
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.
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) }
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 (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 (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 (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 (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. SendTextMessage only sends an SMS message to one recipient each time it is invoked.
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 about MPS, see Message Parts per Second (MPS) limits (https://docs.aws.amazon.com/sms-voice/latest/userguide/sms-limitations-mps.html) in the AWS End User Messaging SMS 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 (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 (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 (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. 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 (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 (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 (c *PinpointSMSVoiceV2) SetAccountDefaultProtectConfiguration(input *SetAccountDefaultProtectConfigurationInput) (*SetAccountDefaultProtectConfigurationOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) SetDefaultMessageType(input *SetDefaultMessageTypeInput) (*SetDefaultMessageTypeOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) SetDefaultSenderId(input *SetDefaultSenderIdInput) (*SetDefaultSenderIdOutput, error)
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 (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 (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 (c *PinpointSMSVoiceV2) SetMediaMessageSpendLimitOverride(input *SetMediaMessageSpendLimitOverrideInput) (*SetMediaMessageSpendLimitOverrideOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverride(input *SetTextMessageSpendLimitOverrideInput) (*SetTextMessageSpendLimitOverrideOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverride(input *SetVoiceMessageSpendLimitOverrideInput) (*SetVoiceMessageSpendLimitOverrideOutput, error)
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.
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) }
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 (c *PinpointSMSVoiceV2) SubmitRegistrationVersion(input *SubmitRegistrationVersionInput) (*SubmitRegistrationVersionOutput, error)
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 (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 (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 (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 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 Tags (https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-tags.html) in the AWS End User Messaging SMS 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 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 (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 (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 (c *PinpointSMSVoiceV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Pinpoint SMS Voice V2.
Removes the association of the specified tags from a resource. For more information on tags see Tags (https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-tags.html) in the AWS End User Messaging SMS 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 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 (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 (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 (c *PinpointSMSVoiceV2) UpdateEventDestination(input *UpdateEventDestinationInput) (*UpdateEventDestinationOutput, error)
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 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, 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 (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 (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 (c *PinpointSMSVoiceV2) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error)
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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) UpdateProtectConfiguration(input *UpdateProtectConfigurationInput) (*UpdateProtectConfigurationOutput, error)
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 (c *PinpointSMSVoiceV2) UpdateProtectConfigurationCountryRuleSet(input *UpdateProtectConfigurationCountryRuleSetInput) (*UpdateProtectConfigurationCountryRuleSetOutput, error)
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.
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) }
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 (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 (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 (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 (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 (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 (c *PinpointSMSVoiceV2) VerifyDestinationNumber(input *VerifyDestinationNumberInput) (*VerifyDestinationNumberOutput, error)
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 (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 (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 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 (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 (s *PoolFilter) SetName(v string) *PoolFilter
SetName sets the Name field's value.
func (s *PoolFilter) SetValues(v []*string) *PoolFilter
SetValues sets the Values field's value.
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 (s *PoolFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging SMS and // Voice 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 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 (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 (s *PoolInformation) SetCreatedTimestamp(v time.Time) *PoolInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *PoolInformation) SetDeletionProtectionEnabled(v bool) *PoolInformation
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *PoolInformation) SetMessageType(v string) *PoolInformation
SetMessageType sets the MessageType field's value.
func (s *PoolInformation) SetOptOutListName(v string) *PoolInformation
SetOptOutListName sets the OptOutListName field's value.
func (s *PoolInformation) SetPoolArn(v string) *PoolInformation
SetPoolArn sets the PoolArn field's value.
func (s *PoolInformation) SetPoolId(v string) *PoolInformation
SetPoolId sets the PoolId field's value.
func (s *PoolInformation) SetSelfManagedOptOutsEnabled(v bool) *PoolInformation
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *PoolInformation) SetSharedRoutesEnabled(v bool) *PoolInformation
SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
func (s *PoolInformation) SetStatus(v string) *PoolInformation
SetStatus sets the Status field's value.
func (s *PoolInformation) SetTwoWayChannelArn(v string) *PoolInformation
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *PoolInformation) SetTwoWayChannelRole(v string) *PoolInformation
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *PoolInformation) SetTwoWayEnabled(v bool) *PoolInformation
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 (s PoolOriginationIdentitiesFilter) 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 (s *PoolOriginationIdentitiesFilter) SetName(v string) *PoolOriginationIdentitiesFilter
SetName sets the Name field's value.
func (s *PoolOriginationIdentitiesFilter) SetValues(v []*string) *PoolOriginationIdentitiesFilter
SetValues sets the Values field's value.
func (s PoolOriginationIdentitiesFilter) 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 (s *PoolOriginationIdentitiesFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ProtectConfigurationCountryRuleSetInformation) 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 (s *ProtectConfigurationCountryRuleSetInformation) SetProtectStatus(v string) *ProtectConfigurationCountryRuleSetInformation
SetProtectStatus sets the ProtectStatus field's value.
func (s ProtectConfigurationCountryRuleSetInformation) 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 (s *ProtectConfigurationCountryRuleSetInformation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ProtectConfigurationFilter) SetName(v string) *ProtectConfigurationFilter
SetName sets the Name field's value.
func (s *ProtectConfigurationFilter) SetValues(v []*string) *ProtectConfigurationFilter
SetValues sets the Values field's value.
func (s ProtectConfigurationFilter) 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 (s *ProtectConfigurationFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ProtectConfigurationInformation) 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 (s *ProtectConfigurationInformation) SetAccountDefault(v bool) *ProtectConfigurationInformation
SetAccountDefault sets the AccountDefault field's value.
func (s *ProtectConfigurationInformation) SetCreatedTimestamp(v time.Time) *ProtectConfigurationInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *ProtectConfigurationInformation) SetDeletionProtectionEnabled(v bool) *ProtectConfigurationInformation
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *ProtectConfigurationInformation) SetProtectConfigurationArn(v string) *ProtectConfigurationInformation
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *ProtectConfigurationInformation) SetProtectConfigurationId(v string) *ProtectConfigurationInformation
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s ProtectConfigurationInformation) 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 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 (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 (s *PutKeywordInput) SetKeyword(v string) *PutKeywordInput
SetKeyword sets the Keyword field's value.
func (s *PutKeywordInput) SetKeywordAction(v string) *PutKeywordInput
SetKeywordAction sets the KeywordAction field's value.
func (s *PutKeywordInput) SetKeywordMessage(v string) *PutKeywordInput
SetKeywordMessage sets the KeywordMessage field's value.
func (s *PutKeywordInput) SetOriginationIdentity(v string) *PutKeywordInput
SetOriginationIdentity sets the OriginationIdentity field's value.
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 (s *PutKeywordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *PutKeywordOutput) SetKeyword(v string) *PutKeywordOutput
SetKeyword sets the Keyword field's value.
func (s *PutKeywordOutput) SetKeywordAction(v string) *PutKeywordOutput
SetKeywordAction sets the KeywordAction field's value.
func (s *PutKeywordOutput) SetKeywordMessage(v string) *PutKeywordOutput
SetKeywordMessage sets the KeywordMessage field's value.
func (s *PutKeywordOutput) SetOriginationIdentity(v string) *PutKeywordOutput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *PutKeywordOutput) SetOriginationIdentityArn(v string) *PutKeywordOutput
SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
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 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 (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 (s *PutOptedOutNumberInput) SetOptOutListName(v string) *PutOptedOutNumberInput
SetOptOutListName sets the OptOutListName field's value.
func (s *PutOptedOutNumberInput) SetOptedOutNumber(v string) *PutOptedOutNumberInput
SetOptedOutNumber sets the OptedOutNumber field's value.
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 (s *PutOptedOutNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *PutOptedOutNumberOutput) SetEndUserOptedOut(v bool) *PutOptedOutNumberOutput
SetEndUserOptedOut sets the EndUserOptedOut field's value.
func (s *PutOptedOutNumberOutput) SetOptOutListArn(v string) *PutOptedOutNumberOutput
SetOptOutListArn sets the OptOutListArn field's value.
func (s *PutOptedOutNumberOutput) SetOptOutListName(v string) *PutOptedOutNumberOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *PutOptedOutNumberOutput) SetOptedOutNumber(v string) *PutOptedOutNumberOutput
SetOptedOutNumber sets the OptedOutNumber field's value.
func (s *PutOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *PutOptedOutNumberOutput
SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
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 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 (s PutRegistrationFieldValueInput) 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 (s *PutRegistrationFieldValueInput) SetFieldPath(v string) *PutRegistrationFieldValueInput
SetFieldPath sets the FieldPath field's value.
func (s *PutRegistrationFieldValueInput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueInput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s *PutRegistrationFieldValueInput) SetRegistrationId(v string) *PutRegistrationFieldValueInput
SetRegistrationId sets the RegistrationId field's value.
func (s *PutRegistrationFieldValueInput) SetSelectChoices(v []*string) *PutRegistrationFieldValueInput
SetSelectChoices sets the SelectChoices field's value.
func (s *PutRegistrationFieldValueInput) SetTextValue(v string) *PutRegistrationFieldValueInput
SetTextValue sets the TextValue field's value.
func (s PutRegistrationFieldValueInput) 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 (s *PutRegistrationFieldValueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s PutRegistrationFieldValueOutput) 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 (s *PutRegistrationFieldValueOutput) SetFieldPath(v string) *PutRegistrationFieldValueOutput
SetFieldPath sets the FieldPath field's value.
func (s *PutRegistrationFieldValueOutput) SetRegistrationArn(v string) *PutRegistrationFieldValueOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *PutRegistrationFieldValueOutput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueOutput
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s *PutRegistrationFieldValueOutput) SetRegistrationId(v string) *PutRegistrationFieldValueOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *PutRegistrationFieldValueOutput) SetSelectChoices(v []*string) *PutRegistrationFieldValueOutput
SetSelectChoices sets the SelectChoices field's value.
func (s *PutRegistrationFieldValueOutput) SetTextValue(v string) *PutRegistrationFieldValueOutput
SetTextValue sets the TextValue field's value.
func (s *PutRegistrationFieldValueOutput) SetVersionNumber(v int64) *PutRegistrationFieldValueOutput
SetVersionNumber sets the VersionNumber field's value.
func (s PutRegistrationFieldValueOutput) 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 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 (s RegistrationAssociationFilter) 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 (s *RegistrationAssociationFilter) SetName(v string) *RegistrationAssociationFilter
SetName sets the Name field's value.
func (s *RegistrationAssociationFilter) SetValues(v []*string) *RegistrationAssociationFilter
SetValues sets the Values field's value.
func (s RegistrationAssociationFilter) 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 (s *RegistrationAssociationFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s RegistrationAssociationMetadata) 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 (s *RegistrationAssociationMetadata) SetIsoCountryCode(v string) *RegistrationAssociationMetadata
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *RegistrationAssociationMetadata) SetPhoneNumber(v string) *RegistrationAssociationMetadata
SetPhoneNumber sets the PhoneNumber field's value.
func (s *RegistrationAssociationMetadata) SetResourceArn(v string) *RegistrationAssociationMetadata
SetResourceArn sets the ResourceArn field's value.
func (s *RegistrationAssociationMetadata) SetResourceId(v string) *RegistrationAssociationMetadata
SetResourceId sets the ResourceId field's value.
func (s *RegistrationAssociationMetadata) SetResourceType(v string) *RegistrationAssociationMetadata
SetResourceType sets the ResourceType field's value.
func (s RegistrationAssociationMetadata) 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 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 (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 (s *RegistrationAttachmentFilter) SetName(v string) *RegistrationAttachmentFilter
SetName sets the Name field's value.
func (s *RegistrationAttachmentFilter) SetValues(v []*string) *RegistrationAttachmentFilter
SetValues sets the Values field's value.
func (s RegistrationAttachmentFilter) 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 (s *RegistrationAttachmentFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s RegistrationAttachmentsInformation) 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 (s *RegistrationAttachmentsInformation) SetAttachmentStatus(v string) *RegistrationAttachmentsInformation
SetAttachmentStatus sets the AttachmentStatus field's value.
func (s *RegistrationAttachmentsInformation) SetAttachmentUploadErrorReason(v string) *RegistrationAttachmentsInformation
SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.
func (s *RegistrationAttachmentsInformation) SetCreatedTimestamp(v time.Time) *RegistrationAttachmentsInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *RegistrationAttachmentsInformation) SetRegistrationAttachmentArn(v string) *RegistrationAttachmentsInformation
SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
func (s *RegistrationAttachmentsInformation) SetRegistrationAttachmentId(v string) *RegistrationAttachmentsInformation
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s RegistrationAttachmentsInformation) 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 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 (s RegistrationDeniedReasonInformation) 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 (s *RegistrationDeniedReasonInformation) SetDocumentationLink(v string) *RegistrationDeniedReasonInformation
SetDocumentationLink sets the DocumentationLink field's value.
func (s *RegistrationDeniedReasonInformation) SetDocumentationTitle(v string) *RegistrationDeniedReasonInformation
SetDocumentationTitle sets the DocumentationTitle field's value.
func (s *RegistrationDeniedReasonInformation) SetLongDescription(v string) *RegistrationDeniedReasonInformation
SetLongDescription sets the LongDescription field's value.
func (s *RegistrationDeniedReasonInformation) SetReason(v string) *RegistrationDeniedReasonInformation
SetReason sets the Reason field's value.
func (s *RegistrationDeniedReasonInformation) SetShortDescription(v string) *RegistrationDeniedReasonInformation
SetShortDescription sets the ShortDescription field's value.
func (s RegistrationDeniedReasonInformation) 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 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 (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 (s *RegistrationFieldDefinition) SetDisplayHints(v *RegistrationFieldDisplayHints) *RegistrationFieldDefinition
SetDisplayHints sets the DisplayHints field's value.
func (s *RegistrationFieldDefinition) SetFieldPath(v string) *RegistrationFieldDefinition
SetFieldPath sets the FieldPath field's value.
func (s *RegistrationFieldDefinition) SetFieldRequirement(v string) *RegistrationFieldDefinition
SetFieldRequirement sets the FieldRequirement field's value.
func (s *RegistrationFieldDefinition) SetFieldType(v string) *RegistrationFieldDefinition
SetFieldType sets the FieldType field's value.
func (s *RegistrationFieldDefinition) SetSectionPath(v string) *RegistrationFieldDefinition
SetSectionPath sets the SectionPath field's value.
func (s *RegistrationFieldDefinition) SetSelectValidation(v *SelectValidation) *RegistrationFieldDefinition
SetSelectValidation sets the SelectValidation field's value.
func (s *RegistrationFieldDefinition) SetTextValidation(v *TextValidation) *RegistrationFieldDefinition
SetTextValidation sets the TextValidation field's value.
func (s RegistrationFieldDefinition) 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 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 (s RegistrationFieldDisplayHints) 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 (s *RegistrationFieldDisplayHints) SetDocumentationLink(v string) *RegistrationFieldDisplayHints
SetDocumentationLink sets the DocumentationLink field's value.
func (s *RegistrationFieldDisplayHints) SetDocumentationTitle(v string) *RegistrationFieldDisplayHints
SetDocumentationTitle sets the DocumentationTitle field's value.
func (s *RegistrationFieldDisplayHints) SetExampleTextValue(v string) *RegistrationFieldDisplayHints
SetExampleTextValue sets the ExampleTextValue field's value.
func (s *RegistrationFieldDisplayHints) SetLongDescription(v string) *RegistrationFieldDisplayHints
SetLongDescription sets the LongDescription field's value.
func (s *RegistrationFieldDisplayHints) SetSelectOptionDescriptions(v []*SelectOptionDescription) *RegistrationFieldDisplayHints
SetSelectOptionDescriptions sets the SelectOptionDescriptions field's value.
func (s *RegistrationFieldDisplayHints) SetShortDescription(v string) *RegistrationFieldDisplayHints
SetShortDescription sets the ShortDescription field's value.
func (s *RegistrationFieldDisplayHints) SetTextValidationDescription(v string) *RegistrationFieldDisplayHints
SetTextValidationDescription sets the TextValidationDescription field's value.
func (s *RegistrationFieldDisplayHints) SetTitle(v string) *RegistrationFieldDisplayHints
SetTitle sets the Title field's value.
func (s RegistrationFieldDisplayHints) 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 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 (s RegistrationFieldValueInformation) 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 (s *RegistrationFieldValueInformation) SetDeniedReason(v string) *RegistrationFieldValueInformation
SetDeniedReason sets the DeniedReason field's value.
func (s *RegistrationFieldValueInformation) SetFieldPath(v string) *RegistrationFieldValueInformation
SetFieldPath sets the FieldPath field's value.
func (s *RegistrationFieldValueInformation) SetRegistrationAttachmentId(v string) *RegistrationFieldValueInformation
SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
func (s *RegistrationFieldValueInformation) SetSelectChoices(v []*string) *RegistrationFieldValueInformation
SetSelectChoices sets the SelectChoices field's value.
func (s *RegistrationFieldValueInformation) SetTextValue(v string) *RegistrationFieldValueInformation
SetTextValue sets the TextValue field's value.
func (s RegistrationFieldValueInformation) 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 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 (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 (s *RegistrationFilter) SetName(v string) *RegistrationFilter
SetName sets the Name field's value.
func (s *RegistrationFilter) SetValues(v []*string) *RegistrationFilter
SetValues sets the Values field's value.
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 (s *RegistrationFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *RegistrationInformation) SetAdditionalAttributes(v map[string]*string) *RegistrationInformation
SetAdditionalAttributes sets the AdditionalAttributes field's value.
func (s *RegistrationInformation) SetApprovedVersionNumber(v int64) *RegistrationInformation
SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.
func (s *RegistrationInformation) SetCreatedTimestamp(v time.Time) *RegistrationInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *RegistrationInformation) SetCurrentVersionNumber(v int64) *RegistrationInformation
SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
func (s *RegistrationInformation) SetLatestDeniedVersionNumber(v int64) *RegistrationInformation
SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.
func (s *RegistrationInformation) SetRegistrationArn(v string) *RegistrationInformation
SetRegistrationArn sets the RegistrationArn field's value.
func (s *RegistrationInformation) SetRegistrationId(v string) *RegistrationInformation
SetRegistrationId sets the RegistrationId field's value.
func (s *RegistrationInformation) SetRegistrationStatus(v string) *RegistrationInformation
SetRegistrationStatus sets the RegistrationStatus field's value.
func (s *RegistrationInformation) SetRegistrationType(v string) *RegistrationInformation
SetRegistrationType sets the RegistrationType field's value.
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 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 (s RegistrationSectionDefinition) 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 (s *RegistrationSectionDefinition) SetDisplayHints(v *RegistrationSectionDisplayHints) *RegistrationSectionDefinition
SetDisplayHints sets the DisplayHints field's value.
func (s *RegistrationSectionDefinition) SetSectionPath(v string) *RegistrationSectionDefinition
SetSectionPath sets the SectionPath field's value.
func (s RegistrationSectionDefinition) 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 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 (s RegistrationSectionDisplayHints) 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 (s *RegistrationSectionDisplayHints) SetDocumentationLink(v string) *RegistrationSectionDisplayHints
SetDocumentationLink sets the DocumentationLink field's value.
func (s *RegistrationSectionDisplayHints) SetDocumentationTitle(v string) *RegistrationSectionDisplayHints
SetDocumentationTitle sets the DocumentationTitle field's value.
func (s *RegistrationSectionDisplayHints) SetLongDescription(v string) *RegistrationSectionDisplayHints
SetLongDescription sets the LongDescription field's value.
func (s *RegistrationSectionDisplayHints) SetShortDescription(v string) *RegistrationSectionDisplayHints
SetShortDescription sets the ShortDescription field's value.
func (s *RegistrationSectionDisplayHints) SetTitle(v string) *RegistrationSectionDisplayHints
SetTitle sets the Title field's value.
func (s RegistrationSectionDisplayHints) 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 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 (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 (s *RegistrationTypeDefinition) SetDisplayHints(v *RegistrationTypeDisplayHints) *RegistrationTypeDefinition
SetDisplayHints sets the DisplayHints field's value.
func (s *RegistrationTypeDefinition) SetRegistrationType(v string) *RegistrationTypeDefinition
SetRegistrationType sets the RegistrationType field's value.
func (s *RegistrationTypeDefinition) SetSupportedAssociations(v []*SupportedAssociation) *RegistrationTypeDefinition
SetSupportedAssociations sets the SupportedAssociations field's value.
func (s RegistrationTypeDefinition) 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 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 (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".
func (s *RegistrationTypeDisplayHints) SetDocumentationLink(v string) *RegistrationTypeDisplayHints
SetDocumentationLink sets the DocumentationLink field's value.
func (s *RegistrationTypeDisplayHints) SetDocumentationTitle(v string) *RegistrationTypeDisplayHints
SetDocumentationTitle sets the DocumentationTitle field's value.
func (s *RegistrationTypeDisplayHints) SetLongDescription(v string) *RegistrationTypeDisplayHints
SetLongDescription sets the LongDescription field's value.
func (s *RegistrationTypeDisplayHints) SetShortDescription(v string) *RegistrationTypeDisplayHints
SetShortDescription sets the ShortDescription field's value.
func (s *RegistrationTypeDisplayHints) SetTitle(v string) *RegistrationTypeDisplayHints
SetTitle sets the Title field's value.
func (s RegistrationTypeDisplayHints) 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 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 (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 (s *RegistrationTypeFilter) SetName(v string) *RegistrationTypeFilter
SetName sets the Name field's value.
func (s *RegistrationTypeFilter) SetValues(v []*string) *RegistrationTypeFilter
SetValues sets the Values field's value.
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 (s *RegistrationTypeFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *RegistrationVersionFilter) SetName(v string) *RegistrationVersionFilter
SetName sets the Name field's value.
func (s *RegistrationVersionFilter) SetValues(v []*string) *RegistrationVersionFilter
SetValues sets the Values field's value.
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 (s *RegistrationVersionFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s RegistrationVersionInformation) 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 (s *RegistrationVersionInformation) SetDeniedReasons(v []*RegistrationDeniedReasonInformation) *RegistrationVersionInformation
SetDeniedReasons sets the DeniedReasons field's value.
func (s *RegistrationVersionInformation) SetRegistrationVersionStatus(v string) *RegistrationVersionInformation
SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
func (s *RegistrationVersionInformation) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *RegistrationVersionInformation
SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
func (s *RegistrationVersionInformation) SetVersionNumber(v int64) *RegistrationVersionInformation
SetVersionNumber sets the VersionNumber field's value.
func (s RegistrationVersionInformation) 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 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 (s RegistrationVersionStatusHistory) 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 (s *RegistrationVersionStatusHistory) SetApprovedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetApprovedTimestamp sets the ApprovedTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetArchivedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetArchivedTimestamp sets the ArchivedTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetDeniedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetDeniedTimestamp sets the DeniedTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetDiscardedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetDiscardedTimestamp sets the DiscardedTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetDraftTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetDraftTimestamp sets the DraftTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetReviewingTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetReviewingTimestamp sets the ReviewingTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetRevokedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetRevokedTimestamp sets the RevokedTimestamp field's value.
func (s *RegistrationVersionStatusHistory) SetSubmittedTimestamp(v time.Time) *RegistrationVersionStatusHistory
SetSubmittedTimestamp sets the SubmittedTimestamp field's value.
func (s RegistrationVersionStatusHistory) 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 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 (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 (s *ReleasePhoneNumberInput) SetPhoneNumberId(v string) *ReleasePhoneNumberInput
SetPhoneNumberId sets the PhoneNumberId field's value.
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 (s *ReleasePhoneNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging // SMS and Voice 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 (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 (s *ReleasePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *ReleasePhoneNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *ReleasePhoneNumberOutput) SetIsoCountryCode(v string) *ReleasePhoneNumberOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *ReleasePhoneNumberOutput) SetMessageType(v string) *ReleasePhoneNumberOutput
SetMessageType sets the MessageType field's value.
func (s *ReleasePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *ReleasePhoneNumberOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *ReleasePhoneNumberOutput) SetNumberCapabilities(v []*string) *ReleasePhoneNumberOutput
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *ReleasePhoneNumberOutput) SetNumberType(v string) *ReleasePhoneNumberOutput
SetNumberType sets the NumberType field's value.
func (s *ReleasePhoneNumberOutput) SetOptOutListName(v string) *ReleasePhoneNumberOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *ReleasePhoneNumberOutput) SetPhoneNumber(v string) *ReleasePhoneNumberOutput
SetPhoneNumber sets the PhoneNumber field's value.
func (s *ReleasePhoneNumberOutput) SetPhoneNumberArn(v string) *ReleasePhoneNumberOutput
SetPhoneNumberArn sets the PhoneNumberArn field's value.
func (s *ReleasePhoneNumberOutput) SetPhoneNumberId(v string) *ReleasePhoneNumberOutput
SetPhoneNumberId sets the PhoneNumberId field's value.
func (s *ReleasePhoneNumberOutput) SetRegistrationId(v string) *ReleasePhoneNumberOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *ReleasePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *ReleasePhoneNumberOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *ReleasePhoneNumberOutput) SetStatus(v string) *ReleasePhoneNumberOutput
SetStatus sets the Status field's value.
func (s *ReleasePhoneNumberOutput) SetTwoWayChannelArn(v string) *ReleasePhoneNumberOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *ReleasePhoneNumberOutput) SetTwoWayChannelRole(v string) *ReleasePhoneNumberOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *ReleasePhoneNumberOutput) SetTwoWayEnabled(v bool) *ReleasePhoneNumberOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 (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 (s *ReleaseSenderIdInput) SetIsoCountryCode(v string) *ReleaseSenderIdInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *ReleaseSenderIdInput) SetSenderId(v string) *ReleaseSenderIdInput
SetSenderId sets the SenderId field's value.
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 (s *ReleaseSenderIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ReleaseSenderIdOutput) SetIsoCountryCode(v string) *ReleaseSenderIdOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *ReleaseSenderIdOutput) SetMessageTypes(v []*string) *ReleaseSenderIdOutput
SetMessageTypes sets the MessageTypes field's value.
func (s *ReleaseSenderIdOutput) SetMonthlyLeasingPrice(v string) *ReleaseSenderIdOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *ReleaseSenderIdOutput) SetRegistered(v bool) *ReleaseSenderIdOutput
SetRegistered sets the Registered field's value.
func (s *ReleaseSenderIdOutput) SetRegistrationId(v string) *ReleaseSenderIdOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *ReleaseSenderIdOutput) SetSenderId(v string) *ReleaseSenderIdOutput
SetSenderId sets the SenderId field's value.
func (s *ReleaseSenderIdOutput) SetSenderIdArn(v string) *ReleaseSenderIdOutput
SetSenderIdArn sets the SenderIdArn field's value.
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 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 (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 (s *RequestPhoneNumberInput) SetClientToken(v string) *RequestPhoneNumberInput
SetClientToken sets the ClientToken field's value.
func (s *RequestPhoneNumberInput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *RequestPhoneNumberInput) SetIsoCountryCode(v string) *RequestPhoneNumberInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *RequestPhoneNumberInput) SetMessageType(v string) *RequestPhoneNumberInput
SetMessageType sets the MessageType field's value.
func (s *RequestPhoneNumberInput) SetNumberCapabilities(v []*string) *RequestPhoneNumberInput
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *RequestPhoneNumberInput) SetNumberType(v string) *RequestPhoneNumberInput
SetNumberType sets the NumberType field's value.
func (s *RequestPhoneNumberInput) SetOptOutListName(v string) *RequestPhoneNumberInput
SetOptOutListName sets the OptOutListName field's value.
func (s *RequestPhoneNumberInput) SetPoolId(v string) *RequestPhoneNumberInput
SetPoolId sets the PoolId field's value.
func (s *RequestPhoneNumberInput) SetRegistrationId(v string) *RequestPhoneNumberInput
SetRegistrationId sets the RegistrationId field's value.
func (s *RequestPhoneNumberInput) SetTags(v []*Tag) *RequestPhoneNumberInput
SetTags sets the Tags field's value.
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 (s *RequestPhoneNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging // SMS and Voice 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 (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 (s *RequestPhoneNumberOutput) SetCreatedTimestamp(v time.Time) *RequestPhoneNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *RequestPhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *RequestPhoneNumberOutput) SetIsoCountryCode(v string) *RequestPhoneNumberOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *RequestPhoneNumberOutput) SetMessageType(v string) *RequestPhoneNumberOutput
SetMessageType sets the MessageType field's value.
func (s *RequestPhoneNumberOutput) SetMonthlyLeasingPrice(v string) *RequestPhoneNumberOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *RequestPhoneNumberOutput) SetNumberCapabilities(v []*string) *RequestPhoneNumberOutput
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *RequestPhoneNumberOutput) SetNumberType(v string) *RequestPhoneNumberOutput
SetNumberType sets the NumberType field's value.
func (s *RequestPhoneNumberOutput) SetOptOutListName(v string) *RequestPhoneNumberOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *RequestPhoneNumberOutput) SetPhoneNumber(v string) *RequestPhoneNumberOutput
SetPhoneNumber sets the PhoneNumber field's value.
func (s *RequestPhoneNumberOutput) SetPhoneNumberArn(v string) *RequestPhoneNumberOutput
SetPhoneNumberArn sets the PhoneNumberArn field's value.
func (s *RequestPhoneNumberOutput) SetPhoneNumberId(v string) *RequestPhoneNumberOutput
SetPhoneNumberId sets the PhoneNumberId field's value.
func (s *RequestPhoneNumberOutput) SetPoolId(v string) *RequestPhoneNumberOutput
SetPoolId sets the PoolId field's value.
func (s *RequestPhoneNumberOutput) SetRegistrationId(v string) *RequestPhoneNumberOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *RequestPhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *RequestPhoneNumberOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *RequestPhoneNumberOutput) SetStatus(v string) *RequestPhoneNumberOutput
SetStatus sets the Status field's value.
func (s *RequestPhoneNumberOutput) SetTags(v []*Tag) *RequestPhoneNumberOutput
SetTags sets the Tags field's value.
func (s *RequestPhoneNumberOutput) SetTwoWayChannelArn(v string) *RequestPhoneNumberOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *RequestPhoneNumberOutput) SetTwoWayChannelRole(v string) *RequestPhoneNumberOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *RequestPhoneNumberOutput) SetTwoWayEnabled(v bool) *RequestPhoneNumberOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 (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 (s *RequestSenderIdInput) SetClientToken(v string) *RequestSenderIdInput
SetClientToken sets the ClientToken field's value.
func (s *RequestSenderIdInput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *RequestSenderIdInput) SetIsoCountryCode(v string) *RequestSenderIdInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *RequestSenderIdInput) SetMessageTypes(v []*string) *RequestSenderIdInput
SetMessageTypes sets the MessageTypes field's value.
func (s *RequestSenderIdInput) SetSenderId(v string) *RequestSenderIdInput
SetSenderId sets the SenderId field's value.
func (s *RequestSenderIdInput) SetTags(v []*Tag) *RequestSenderIdInput
SetTags sets the Tags field's value.
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 (s *RequestSenderIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *RequestSenderIdOutput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *RequestSenderIdOutput) SetIsoCountryCode(v string) *RequestSenderIdOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *RequestSenderIdOutput) SetMessageTypes(v []*string) *RequestSenderIdOutput
SetMessageTypes sets the MessageTypes field's value.
func (s *RequestSenderIdOutput) SetMonthlyLeasingPrice(v string) *RequestSenderIdOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *RequestSenderIdOutput) SetRegistered(v bool) *RequestSenderIdOutput
SetRegistered sets the Registered field's value.
func (s *RequestSenderIdOutput) SetSenderId(v string) *RequestSenderIdOutput
SetSenderId sets the SenderId field's value.
func (s *RequestSenderIdOutput) SetSenderIdArn(v string) *RequestSenderIdOutput
SetSenderIdArn sets the SenderIdArn field's value.
func (s *RequestSenderIdOutput) SetTags(v []*Tag) *RequestSenderIdOutput
SetTags sets the Tags field's value.
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 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 (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
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 (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *SelectOptionDescription) SetDescription(v string) *SelectOptionDescription
SetDescription sets the Description field's value.
func (s *SelectOptionDescription) SetOption(v string) *SelectOptionDescription
SetOption sets the Option field's value.
func (s *SelectOptionDescription) SetTitle(v string) *SelectOptionDescription
SetTitle sets the Title field's value.
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 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 (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 (s *SelectValidation) SetMaxChoices(v int64) *SelectValidation
SetMaxChoices sets the MaxChoices field's value.
func (s *SelectValidation) SetMinChoices(v int64) *SelectValidation
SetMinChoices sets the MinChoices field's value.
func (s *SelectValidation) SetOptions(v []*string) *SelectValidation
SetOptions sets the Options field's value.
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 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 (s SendDestinationNumberVerificationCodeInput) 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 (s *SendDestinationNumberVerificationCodeInput) SetConfigurationSetName(v string) *SendDestinationNumberVerificationCodeInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetContext(v map[string]*string) *SendDestinationNumberVerificationCodeInput
SetContext sets the Context field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetDestinationCountryParameters(v map[string]*string) *SendDestinationNumberVerificationCodeInput
SetDestinationCountryParameters sets the DestinationCountryParameters field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetLanguageCode(v string) *SendDestinationNumberVerificationCodeInput
SetLanguageCode sets the LanguageCode field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetOriginationIdentity(v string) *SendDestinationNumberVerificationCodeInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetVerificationChannel(v string) *SendDestinationNumberVerificationCodeInput
SetVerificationChannel sets the VerificationChannel field's value.
func (s *SendDestinationNumberVerificationCodeInput) SetVerifiedDestinationNumberId(v string) *SendDestinationNumberVerificationCodeInput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s SendDestinationNumberVerificationCodeInput) 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 (s *SendDestinationNumberVerificationCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s SendDestinationNumberVerificationCodeOutput) 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 (s *SendDestinationNumberVerificationCodeOutput) SetMessageId(v string) *SendDestinationNumberVerificationCodeOutput
SetMessageId sets the MessageId field's value.
func (s SendDestinationNumberVerificationCodeOutput) 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 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 (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 (s *SendMediaMessageInput) SetConfigurationSetName(v string) *SendMediaMessageInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SendMediaMessageInput) SetContext(v map[string]*string) *SendMediaMessageInput
SetContext sets the Context field's value.
func (s *SendMediaMessageInput) SetDestinationPhoneNumber(v string) *SendMediaMessageInput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *SendMediaMessageInput) SetDryRun(v bool) *SendMediaMessageInput
SetDryRun sets the DryRun field's value.
func (s *SendMediaMessageInput) SetMaxPrice(v string) *SendMediaMessageInput
SetMaxPrice sets the MaxPrice field's value.
func (s *SendMediaMessageInput) SetMediaUrls(v []*string) *SendMediaMessageInput
SetMediaUrls sets the MediaUrls field's value.
func (s *SendMediaMessageInput) SetMessageBody(v string) *SendMediaMessageInput
SetMessageBody sets the MessageBody field's value.
func (s *SendMediaMessageInput) SetOriginationIdentity(v string) *SendMediaMessageInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *SendMediaMessageInput) SetProtectConfigurationId(v string) *SendMediaMessageInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s *SendMediaMessageInput) SetTimeToLive(v int64) *SendMediaMessageInput
SetTimeToLive sets the TimeToLive field's value.
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 (s *SendMediaMessageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendMediaMessageOutput struct { // The unique identifier for the message. MessageId *string `type:"string"` // contains filtered or unexported fields }
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 (s *SendMediaMessageOutput) SetMessageId(v string) *SendMediaMessageOutput
SetMessageId sets the MessageId field's value.
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 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). // // * IN_ENTITY_ID The entity ID or Principal Entity (PE) ID that you received // after completing the sender ID registration process. // // * IN_TEMPLATE_ID The template ID that you received after completing the // sender ID registration process. Make sure that the Template ID that you // specify matches your message template exactly. If your message doesn't // match the template that you provided during the registration process, // the mobile carriers might reject your message. 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. You are not charged for using DryRun. // // The Message Parts per Second (MPS) limit when using DryRun is five. If your // origination identity has a lower MPS limit then the lower MPS limit is used. // For more information about MPS limits, see Message Parts per Second (MPS) // limits (https://docs.aws.amazon.com/sms-voice/latest/userguide/sms-limitations-mps.html) // in the AWS End User Messaging SMS User Guide.. 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. // If the calculated amount to send the text message is greater than MaxPrice, // the message is not sent and an error is returned. 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, in seconds. By default this is 72 // hours. If the messages isn't handed off before the TTL expires we stop attempting // to hand off the message and return TTL_EXPIRED event. TimeToLive *int64 `min:"5" type:"integer"` // contains filtered or unexported fields }
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 (s *SendTextMessageInput) SetConfigurationSetName(v string) *SendTextMessageInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SendTextMessageInput) SetContext(v map[string]*string) *SendTextMessageInput
SetContext sets the Context field's value.
func (s *SendTextMessageInput) SetDestinationCountryParameters(v map[string]*string) *SendTextMessageInput
SetDestinationCountryParameters sets the DestinationCountryParameters field's value.
func (s *SendTextMessageInput) SetDestinationPhoneNumber(v string) *SendTextMessageInput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *SendTextMessageInput) SetDryRun(v bool) *SendTextMessageInput
SetDryRun sets the DryRun field's value.
func (s *SendTextMessageInput) SetKeyword(v string) *SendTextMessageInput
SetKeyword sets the Keyword field's value.
func (s *SendTextMessageInput) SetMaxPrice(v string) *SendTextMessageInput
SetMaxPrice sets the MaxPrice field's value.
func (s *SendTextMessageInput) SetMessageBody(v string) *SendTextMessageInput
SetMessageBody sets the MessageBody field's value.
func (s *SendTextMessageInput) SetMessageType(v string) *SendTextMessageInput
SetMessageType sets the MessageType field's value.
func (s *SendTextMessageInput) SetOriginationIdentity(v string) *SendTextMessageInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *SendTextMessageInput) SetProtectConfigurationId(v string) *SendTextMessageInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s *SendTextMessageInput) SetTimeToLive(v int64) *SendTextMessageInput
SetTimeToLive sets the TimeToLive field's value.
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 (s *SendTextMessageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendTextMessageOutput struct { // The unique identifier for the message. MessageId *string `type:"string"` // contains filtered or unexported fields }
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 (s *SendTextMessageOutput) SetMessageId(v string) *SendTextMessageOutput
SetMessageId sets the MessageId field's value.
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 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 (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 (s *SendVoiceMessageInput) SetConfigurationSetName(v string) *SendVoiceMessageInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SendVoiceMessageInput) SetContext(v map[string]*string) *SendVoiceMessageInput
SetContext sets the Context field's value.
func (s *SendVoiceMessageInput) SetDestinationPhoneNumber(v string) *SendVoiceMessageInput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *SendVoiceMessageInput) SetDryRun(v bool) *SendVoiceMessageInput
SetDryRun sets the DryRun field's value.
func (s *SendVoiceMessageInput) SetMaxPricePerMinute(v string) *SendVoiceMessageInput
SetMaxPricePerMinute sets the MaxPricePerMinute field's value.
func (s *SendVoiceMessageInput) SetMessageBody(v string) *SendVoiceMessageInput
SetMessageBody sets the MessageBody field's value.
func (s *SendVoiceMessageInput) SetMessageBodyTextType(v string) *SendVoiceMessageInput
SetMessageBodyTextType sets the MessageBodyTextType field's value.
func (s *SendVoiceMessageInput) SetOriginationIdentity(v string) *SendVoiceMessageInput
SetOriginationIdentity sets the OriginationIdentity field's value.
func (s *SendVoiceMessageInput) SetProtectConfigurationId(v string) *SendVoiceMessageInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s *SendVoiceMessageInput) SetTimeToLive(v int64) *SendVoiceMessageInput
SetTimeToLive sets the TimeToLive field's value.
func (s *SendVoiceMessageInput) SetVoiceId(v string) *SendVoiceMessageInput
SetVoiceId sets the VoiceId field's value.
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 (s *SendVoiceMessageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendVoiceMessageOutput struct { // The unique identifier for the message. MessageId *string `type:"string"` // contains filtered or unexported fields }
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 (s *SendVoiceMessageOutput) SetMessageId(v string) *SendVoiceMessageOutput
SetMessageId sets the MessageId field's value.
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 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 (https://docs.aws.amazon.com/sms-voice/latest/userguide/sender-id-request.html) in the AWS End User Messaging SMS User Guide.
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 (s *SenderIdAndCountry) SetIsoCountryCode(v string) *SenderIdAndCountry
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *SenderIdAndCountry) SetSenderId(v string) *SenderIdAndCountry
SetSenderId sets the SenderId field's value.
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 (s *SenderIdAndCountry) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SenderIdFilter) SetName(v string) *SenderIdFilter
SetName sets the Name field's value.
func (s *SenderIdFilter) SetValues(v []*string) *SenderIdFilter
SetValues sets the Values field's value.
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 (s *SenderIdFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SenderIdInformation) SetDeletionProtectionEnabled(v bool) *SenderIdInformation
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *SenderIdInformation) SetIsoCountryCode(v string) *SenderIdInformation
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *SenderIdInformation) SetMessageTypes(v []*string) *SenderIdInformation
SetMessageTypes sets the MessageTypes field's value.
func (s *SenderIdInformation) SetMonthlyLeasingPrice(v string) *SenderIdInformation
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *SenderIdInformation) SetRegistered(v bool) *SenderIdInformation
SetRegistered sets the Registered field's value.
func (s *SenderIdInformation) SetRegistrationId(v string) *SenderIdInformation
SetRegistrationId sets the RegistrationId field's value.
func (s *SenderIdInformation) SetSenderId(v string) *SenderIdInformation
SetSenderId sets the SenderId field's value.
func (s *SenderIdInformation) SetSenderIdArn(v string) *SenderIdInformation
SetSenderIdArn sets the SenderIdArn field's value.
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 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 (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) 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 (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) 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 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 (s SetAccountDefaultProtectConfigurationInput) 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 (s *SetAccountDefaultProtectConfigurationInput) SetProtectConfigurationId(v string) *SetAccountDefaultProtectConfigurationInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s SetAccountDefaultProtectConfigurationInput) 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 (s *SetAccountDefaultProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s SetAccountDefaultProtectConfigurationOutput) 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 (s *SetAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationArn(v string) *SetAccountDefaultProtectConfigurationOutput
SetDefaultProtectConfigurationArn sets the DefaultProtectConfigurationArn field's value.
func (s *SetAccountDefaultProtectConfigurationOutput) SetDefaultProtectConfigurationId(v string) *SetAccountDefaultProtectConfigurationOutput
SetDefaultProtectConfigurationId sets the DefaultProtectConfigurationId field's value.
func (s SetAccountDefaultProtectConfigurationOutput) 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 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 (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 (s *SetDefaultMessageTypeInput) SetConfigurationSetName(v string) *SetDefaultMessageTypeInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SetDefaultMessageTypeInput) SetMessageType(v string) *SetDefaultMessageTypeInput
SetMessageType sets the MessageType field's value.
func (s SetDefaultMessageTypeInput) 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 (s *SetDefaultMessageTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SetDefaultMessageTypeOutput) SetConfigurationSetArn(v string) *SetDefaultMessageTypeOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *SetDefaultMessageTypeOutput) SetConfigurationSetName(v string) *SetDefaultMessageTypeOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SetDefaultMessageTypeOutput) SetMessageType(v string) *SetDefaultMessageTypeOutput
SetMessageType sets the MessageType field's value.
func (s SetDefaultMessageTypeOutput) 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 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 (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 (s *SetDefaultSenderIdInput) SetConfigurationSetName(v string) *SetDefaultSenderIdInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SetDefaultSenderIdInput) SetSenderId(v string) *SetDefaultSenderIdInput
SetSenderId sets the SenderId field's value.
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 (s *SetDefaultSenderIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *SetDefaultSenderIdOutput) SetConfigurationSetArn(v string) *SetDefaultSenderIdOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *SetDefaultSenderIdOutput) SetConfigurationSetName(v string) *SetDefaultSenderIdOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *SetDefaultSenderIdOutput) SetSenderId(v string) *SetDefaultSenderIdOutput
SetSenderId sets the SenderId field's value.
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 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 (s SetMediaMessageSpendLimitOverrideInput) 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 (s *SetMediaMessageSpendLimitOverrideInput) SetMonthlyLimit(v int64) *SetMediaMessageSpendLimitOverrideInput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetMediaMessageSpendLimitOverrideInput) 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 (s *SetMediaMessageSpendLimitOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetMediaMessageSpendLimitOverrideOutput struct { // The current monthly limit to enforce on sending text messages. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s SetMediaMessageSpendLimitOverrideOutput) 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 (s *SetMediaMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *SetMediaMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetMediaMessageSpendLimitOverrideOutput) 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 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 (s SetTextMessageSpendLimitOverrideInput) 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 (s *SetTextMessageSpendLimitOverrideInput) SetMonthlyLimit(v int64) *SetTextMessageSpendLimitOverrideInput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetTextMessageSpendLimitOverrideInput) 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 (s *SetTextMessageSpendLimitOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetTextMessageSpendLimitOverrideOutput struct { // The current monthly limit to enforce on sending text messages. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s SetTextMessageSpendLimitOverrideOutput) 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 (s *SetTextMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *SetTextMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetTextMessageSpendLimitOverrideOutput) 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 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 (s SetVoiceMessageSpendLimitOverrideInput) 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 (s *SetVoiceMessageSpendLimitOverrideInput) SetMonthlyLimit(v int64) *SetVoiceMessageSpendLimitOverrideInput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetVoiceMessageSpendLimitOverrideInput) 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 (s *SetVoiceMessageSpendLimitOverrideInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetVoiceMessageSpendLimitOverrideOutput struct { // The current monthly limit to enforce on sending voice messages. MonthlyLimit *int64 `type:"long"` // contains filtered or unexported fields }
func (s SetVoiceMessageSpendLimitOverrideOutput) 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 (s *SetVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *SetVoiceMessageSpendLimitOverrideOutput
SetMonthlyLimit sets the MonthlyLimit field's value.
func (s SetVoiceMessageSpendLimitOverrideOutput) 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 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 (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 (s *SnsDestination) SetTopicArn(v string) *SnsDestination
SetTopicArn sets the TopicArn field's value.
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 (s *SnsDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 monthly spend limits for sending voice and text messages. For more information on increasing your monthly spend limit, see Requesting a spending quota increase (https://docs.aws.amazon.com/sms-voice/latest/userguide/awssupport-spend-threshold.html) in the AWS End User Messaging SMS User Guide.
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 (s *SpendLimit) SetEnforcedLimit(v int64) *SpendLimit
SetEnforcedLimit sets the EnforcedLimit field's value.
func (s *SpendLimit) SetMaxLimit(v int64) *SpendLimit
SetMaxLimit sets the MaxLimit field's value.
func (s *SpendLimit) SetName(v string) *SpendLimit
SetName sets the Name field's value.
func (s *SpendLimit) SetOverridden(v bool) *SpendLimit
SetOverridden sets the Overridden field's value.
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 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 (s SubmitRegistrationVersionInput) 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 (s *SubmitRegistrationVersionInput) SetRegistrationId(v string) *SubmitRegistrationVersionInput
SetRegistrationId sets the RegistrationId field's value.
func (s SubmitRegistrationVersionInput) 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 (s *SubmitRegistrationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s SubmitRegistrationVersionOutput) 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 (s *SubmitRegistrationVersionOutput) SetRegistrationArn(v string) *SubmitRegistrationVersionOutput
SetRegistrationArn sets the RegistrationArn field's value.
func (s *SubmitRegistrationVersionOutput) SetRegistrationId(v string) *SubmitRegistrationVersionOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *SubmitRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *SubmitRegistrationVersionOutput
SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
func (s *SubmitRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *SubmitRegistrationVersionOutput
SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
func (s *SubmitRegistrationVersionOutput) SetVersionNumber(v int64) *SubmitRegistrationVersionOutput
SetVersionNumber sets the VersionNumber field's value.
func (s SubmitRegistrationVersionOutput) 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 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 (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 (s *SupportedAssociation) SetAssociationBehavior(v string) *SupportedAssociation
SetAssociationBehavior sets the AssociationBehavior field's value.
func (s *SupportedAssociation) SetDisassociationBehavior(v string) *SupportedAssociation
SetDisassociationBehavior sets the DisassociationBehavior field's value.
func (s *SupportedAssociation) SetIsoCountryCode(v string) *SupportedAssociation
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *SupportedAssociation) SetResourceType(v string) *SupportedAssociation
SetResourceType sets the ResourceType field's value.
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 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 (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 (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
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 (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
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 (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *TextValidation) SetMaxLength(v int64) *TextValidation
SetMaxLength sets the MaxLength field's value.
func (s *TextValidation) SetMinLength(v int64) *TextValidation
SetMinLength sets the MinLength field's value.
func (s *TextValidation) SetPattern(v string) *TextValidation
SetPattern sets the Pattern field's value.
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 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 (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
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 (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
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 (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
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 (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 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 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 (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 (s *UpdateEventDestinationInput) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *UpdateEventDestinationInput
SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
func (s *UpdateEventDestinationInput) SetConfigurationSetName(v string) *UpdateEventDestinationInput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *UpdateEventDestinationInput) SetEnabled(v bool) *UpdateEventDestinationInput
SetEnabled sets the Enabled field's value.
func (s *UpdateEventDestinationInput) SetEventDestinationName(v string) *UpdateEventDestinationInput
SetEventDestinationName sets the EventDestinationName field's value.
func (s *UpdateEventDestinationInput) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *UpdateEventDestinationInput
SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
func (s *UpdateEventDestinationInput) SetMatchingEventTypes(v []*string) *UpdateEventDestinationInput
SetMatchingEventTypes sets the MatchingEventTypes field's value.
func (s *UpdateEventDestinationInput) SetSnsDestination(v *SnsDestination) *UpdateEventDestinationInput
SetSnsDestination sets the SnsDestination field's value.
func (s UpdateEventDestinationInput) 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 (s *UpdateEventDestinationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *UpdateEventDestinationOutput) SetConfigurationSetArn(v string) *UpdateEventDestinationOutput
SetConfigurationSetArn sets the ConfigurationSetArn field's value.
func (s *UpdateEventDestinationOutput) SetConfigurationSetName(v string) *UpdateEventDestinationOutput
SetConfigurationSetName sets the ConfigurationSetName field's value.
func (s *UpdateEventDestinationOutput) SetEventDestination(v *EventDestination) *UpdateEventDestinationOutput
SetEventDestination sets the EventDestination field's value.
func (s UpdateEventDestinationOutput) 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 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, AWS End User Messaging // SMS and Voice 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 (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 (s *UpdatePhoneNumberInput) SetDeletionProtectionEnabled(v bool) *UpdatePhoneNumberInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdatePhoneNumberInput) SetOptOutListName(v string) *UpdatePhoneNumberInput
SetOptOutListName sets the OptOutListName field's value.
func (s *UpdatePhoneNumberInput) SetPhoneNumberId(v string) *UpdatePhoneNumberInput
SetPhoneNumberId sets the PhoneNumberId field's value.
func (s *UpdatePhoneNumberInput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePhoneNumberInput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *UpdatePhoneNumberInput) SetTwoWayChannelArn(v string) *UpdatePhoneNumberInput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *UpdatePhoneNumberInput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberInput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *UpdatePhoneNumberInput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberInput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 (s *UpdatePhoneNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *UpdatePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *UpdatePhoneNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *UpdatePhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *UpdatePhoneNumberOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdatePhoneNumberOutput) SetIsoCountryCode(v string) *UpdatePhoneNumberOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *UpdatePhoneNumberOutput) SetMessageType(v string) *UpdatePhoneNumberOutput
SetMessageType sets the MessageType field's value.
func (s *UpdatePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *UpdatePhoneNumberOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *UpdatePhoneNumberOutput) SetNumberCapabilities(v []*string) *UpdatePhoneNumberOutput
SetNumberCapabilities sets the NumberCapabilities field's value.
func (s *UpdatePhoneNumberOutput) SetNumberType(v string) *UpdatePhoneNumberOutput
SetNumberType sets the NumberType field's value.
func (s *UpdatePhoneNumberOutput) SetOptOutListName(v string) *UpdatePhoneNumberOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *UpdatePhoneNumberOutput) SetPhoneNumber(v string) *UpdatePhoneNumberOutput
SetPhoneNumber sets the PhoneNumber field's value.
func (s *UpdatePhoneNumberOutput) SetPhoneNumberArn(v string) *UpdatePhoneNumberOutput
SetPhoneNumberArn sets the PhoneNumberArn field's value.
func (s *UpdatePhoneNumberOutput) SetPhoneNumberId(v string) *UpdatePhoneNumberOutput
SetPhoneNumberId sets the PhoneNumberId field's value.
func (s *UpdatePhoneNumberOutput) SetRegistrationId(v string) *UpdatePhoneNumberOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *UpdatePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePhoneNumberOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *UpdatePhoneNumberOutput) SetStatus(v string) *UpdatePhoneNumberOutput
SetStatus sets the Status field's value.
func (s *UpdatePhoneNumberOutput) SetTwoWayChannelArn(v string) *UpdatePhoneNumberOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *UpdatePhoneNumberOutput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *UpdatePhoneNumberOutput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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, AWS End User Messaging // SMS and Voice 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 (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 (s *UpdatePoolInput) SetDeletionProtectionEnabled(v bool) *UpdatePoolInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdatePoolInput) SetOptOutListName(v string) *UpdatePoolInput
SetOptOutListName sets the OptOutListName field's value.
func (s *UpdatePoolInput) SetPoolId(v string) *UpdatePoolInput
SetPoolId sets the PoolId field's value.
func (s *UpdatePoolInput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePoolInput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *UpdatePoolInput) SetSharedRoutesEnabled(v bool) *UpdatePoolInput
SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
func (s *UpdatePoolInput) SetTwoWayChannelArn(v string) *UpdatePoolInput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *UpdatePoolInput) SetTwoWayChannelRole(v string) *UpdatePoolInput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *UpdatePoolInput) SetTwoWayEnabled(v bool) *UpdatePoolInput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 (s *UpdatePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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, AWS End User Messaging SMS and Voice 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 (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 (s *UpdatePoolOutput) SetCreatedTimestamp(v time.Time) *UpdatePoolOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *UpdatePoolOutput) SetDeletionProtectionEnabled(v bool) *UpdatePoolOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdatePoolOutput) SetMessageType(v string) *UpdatePoolOutput
SetMessageType sets the MessageType field's value.
func (s *UpdatePoolOutput) SetOptOutListName(v string) *UpdatePoolOutput
SetOptOutListName sets the OptOutListName field's value.
func (s *UpdatePoolOutput) SetPoolArn(v string) *UpdatePoolOutput
SetPoolArn sets the PoolArn field's value.
func (s *UpdatePoolOutput) SetPoolId(v string) *UpdatePoolOutput
SetPoolId sets the PoolId field's value.
func (s *UpdatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePoolOutput
SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *UpdatePoolOutput) SetSharedRoutesEnabled(v bool) *UpdatePoolOutput
SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
func (s *UpdatePoolOutput) SetStatus(v string) *UpdatePoolOutput
SetStatus sets the Status field's value.
func (s *UpdatePoolOutput) SetTwoWayChannelArn(v string) *UpdatePoolOutput
SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
func (s *UpdatePoolOutput) SetTwoWayChannelRole(v string) *UpdatePoolOutput
SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
func (s *UpdatePoolOutput) SetTwoWayEnabled(v bool) *UpdatePoolOutput
SetTwoWayEnabled sets the TwoWayEnabled field's value.
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 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 AWS End User Messaging 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 (s UpdateProtectConfigurationCountryRuleSetInput) 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 (s *UpdateProtectConfigurationCountryRuleSetInput) SetCountryRuleSetUpdates(v map[string]*ProtectConfigurationCountryRuleSetInformation) *UpdateProtectConfigurationCountryRuleSetInput
SetCountryRuleSetUpdates sets the CountryRuleSetUpdates field's value.
func (s *UpdateProtectConfigurationCountryRuleSetInput) SetNumberCapability(v string) *UpdateProtectConfigurationCountryRuleSetInput
SetNumberCapability sets the NumberCapability field's value.
func (s *UpdateProtectConfigurationCountryRuleSetInput) SetProtectConfigurationId(v string) *UpdateProtectConfigurationCountryRuleSetInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s UpdateProtectConfigurationCountryRuleSetInput) 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 (s *UpdateProtectConfigurationCountryRuleSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateProtectConfigurationCountryRuleSetOutput) 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 (s *UpdateProtectConfigurationCountryRuleSetOutput) SetCountryRuleSet(v map[string]*ProtectConfigurationCountryRuleSetInformation) *UpdateProtectConfigurationCountryRuleSetOutput
SetCountryRuleSet sets the CountryRuleSet field's value.
func (s *UpdateProtectConfigurationCountryRuleSetOutput) SetNumberCapability(v string) *UpdateProtectConfigurationCountryRuleSetOutput
SetNumberCapability sets the NumberCapability field's value.
func (s *UpdateProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationArn(v string) *UpdateProtectConfigurationCountryRuleSetOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *UpdateProtectConfigurationCountryRuleSetOutput) SetProtectConfigurationId(v string) *UpdateProtectConfigurationCountryRuleSetOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s UpdateProtectConfigurationCountryRuleSetOutput) 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 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 (s UpdateProtectConfigurationInput) 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 (s *UpdateProtectConfigurationInput) SetDeletionProtectionEnabled(v bool) *UpdateProtectConfigurationInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdateProtectConfigurationInput) SetProtectConfigurationId(v string) *UpdateProtectConfigurationInput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s UpdateProtectConfigurationInput) 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 (s *UpdateProtectConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateProtectConfigurationOutput) 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 (s *UpdateProtectConfigurationOutput) SetAccountDefault(v bool) *UpdateProtectConfigurationOutput
SetAccountDefault sets the AccountDefault field's value.
func (s *UpdateProtectConfigurationOutput) SetCreatedTimestamp(v time.Time) *UpdateProtectConfigurationOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *UpdateProtectConfigurationOutput) SetDeletionProtectionEnabled(v bool) *UpdateProtectConfigurationOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdateProtectConfigurationOutput) SetProtectConfigurationArn(v string) *UpdateProtectConfigurationOutput
SetProtectConfigurationArn sets the ProtectConfigurationArn field's value.
func (s *UpdateProtectConfigurationOutput) SetProtectConfigurationId(v string) *UpdateProtectConfigurationOutput
SetProtectConfigurationId sets the ProtectConfigurationId field's value.
func (s UpdateProtectConfigurationOutput) 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 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 (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 (s *UpdateSenderIdInput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdInput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdateSenderIdInput) SetIsoCountryCode(v string) *UpdateSenderIdInput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *UpdateSenderIdInput) SetSenderId(v string) *UpdateSenderIdInput
SetSenderId sets the SenderId field's value.
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 (s *UpdateSenderIdInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *UpdateSenderIdOutput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdOutput
SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
func (s *UpdateSenderIdOutput) SetIsoCountryCode(v string) *UpdateSenderIdOutput
SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *UpdateSenderIdOutput) SetMessageTypes(v []*string) *UpdateSenderIdOutput
SetMessageTypes sets the MessageTypes field's value.
func (s *UpdateSenderIdOutput) SetMonthlyLeasingPrice(v string) *UpdateSenderIdOutput
SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
func (s *UpdateSenderIdOutput) SetRegistered(v bool) *UpdateSenderIdOutput
SetRegistered sets the Registered field's value.
func (s *UpdateSenderIdOutput) SetRegistrationId(v string) *UpdateSenderIdOutput
SetRegistrationId sets the RegistrationId field's value.
func (s *UpdateSenderIdOutput) SetSenderId(v string) *UpdateSenderIdOutput
SetSenderId sets the SenderId field's value.
func (s *UpdateSenderIdOutput) SetSenderIdArn(v string) *UpdateSenderIdOutput
SetSenderIdArn sets the SenderIdArn field's value.
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 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 (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
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 (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
SetName sets the Name field's value.
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 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 (s VerifiedDestinationNumberFilter) 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 (s *VerifiedDestinationNumberFilter) SetName(v string) *VerifiedDestinationNumberFilter
SetName sets the Name field's value.
func (s *VerifiedDestinationNumberFilter) SetValues(v []*string) *VerifiedDestinationNumberFilter
SetValues sets the Values field's value.
func (s VerifiedDestinationNumberFilter) 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 (s *VerifiedDestinationNumberFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s VerifiedDestinationNumberInformation) 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 (s *VerifiedDestinationNumberInformation) SetCreatedTimestamp(v time.Time) *VerifiedDestinationNumberInformation
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *VerifiedDestinationNumberInformation) SetDestinationPhoneNumber(v string) *VerifiedDestinationNumberInformation
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *VerifiedDestinationNumberInformation) SetStatus(v string) *VerifiedDestinationNumberInformation
SetStatus sets the Status field's value.
func (s *VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberArn(v string) *VerifiedDestinationNumberInformation
SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
func (s *VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberId(v string) *VerifiedDestinationNumberInformation
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s VerifiedDestinationNumberInformation) 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 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 (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 (s *VerifyDestinationNumberInput) SetVerificationCode(v string) *VerifyDestinationNumberInput
SetVerificationCode sets the VerificationCode field's value.
func (s *VerifyDestinationNumberInput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberInput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s VerifyDestinationNumberInput) 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 (s *VerifyDestinationNumberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s VerifyDestinationNumberOutput) 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 (s *VerifyDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *VerifyDestinationNumberOutput
SetCreatedTimestamp sets the CreatedTimestamp field's value.
func (s *VerifyDestinationNumberOutput) SetDestinationPhoneNumber(v string) *VerifyDestinationNumberOutput
SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
func (s *VerifyDestinationNumberOutput) SetStatus(v string) *VerifyDestinationNumberOutput
SetStatus sets the Status field's value.
func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *VerifyDestinationNumberOutput
SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberOutput
SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
func (s VerifyDestinationNumberOutput) 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".