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 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 CloudWatchLogsDestination struct { // The Amazon Resource Name (ARN) of an Amazon Identity and Access Management // (IAM) 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"` // 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) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in 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 Kinesis Data Firehose. KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"` // An array of event types that determine which events to log. If "ALL" is used, // then Amazon Pinpoint logs every event type. // // The TEXT_SENT event type is not supported. // // MatchingEventTypes is a required field MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"` // An object that contains information about an event destination for logging // to Amazon SNS. SnsDestination *SnsDestination `type:"structure"` // contains filtered or unexported fields }
func (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. // // MessageType is a required field MessageType *string `type:"string" required:"true" enum:"MessageType"` // The origination identity to use such as a PhoneNumberId, PhoneNumberArn, // SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used // to get the values for SenderId and SenderIdArn. // // OriginationIdentity is a required field OriginationIdentity *string `min:"1" type:"string" required:"true"` // An array of tags (key and value pairs) associated with the pool. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (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, Amazon Pinpoint // automatically replies with a customizable message and adds the end recipient // to the OptOutList. When set to true you're responsible for responding to // HELP and STOP requests. You're also responsible for tracking and honoring // opt-out requests. SelfManagedOptOutsEnabled *bool `type:"boolean"` // Indicates whether shared routes are enabled for the pool. SharedRoutesEnabled *bool `type:"boolean"` // The current status of the pool. // // * CREATING: The pool is currently being created and isn't yet available // for use. // // * ACTIVE: The pool is active and available for use. // // * DELETING: The pool is being deleted. Status *string `type:"string" enum:"PoolStatus"` // An array of tags (key and value pairs) associated with the pool. Tags []*Tag `type:"list"` // The Amazon Resource Name (ARN) of the two way channel. TwoWayChannelArn *string `min:"20" type:"string"` // An optional IAM Role Arn for a service to assume, to be able to post inbound // SMS messages. TwoWayChannelRole *string `min:"20" type:"string"` // By default this is set to false. When set to true you can receive incoming // text messages from your end recipients. TwoWayEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
func (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 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 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 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, Amazon Pinpoint // automatically replies with a customizable message and adds the end recipient // to the OptOutList. When set to true you're responsible for responding to // HELP and STOP requests. You're also responsible for tracking and honoring // opt-out requests. SelfManagedOptOutsEnabled *bool `type:"boolean"` // Indicates whether shared routes are enabled for the pool. SharedRoutesEnabled *bool `type:"boolean"` // The current status of the pool. // // * CREATING: The pool is currently being created and isn't yet available // for use. // // * ACTIVE: The pool is active and available for use. // // * DELETING: The pool is being deleted. Status *string `type:"string" enum:"PoolStatus"` // The Amazon Resource Name (ARN) of the TwoWayChannel. TwoWayChannelArn *string `min:"20" type:"string"` // An optional IAM Role Arn for a service to assume, to be able to post inbound // SMS messages. TwoWayChannelRole *string `min:"20" type:"string"` // By default this is set to false. When set to true you can receive incoming // text messages from your end recipients. TwoWayEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
func (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 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 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 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 Kinesis Data Firehose. KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"` // An array of event types that determine which events to log. // // The TEXT_SENT event type is not supported. // // MatchingEventTypes is a required field MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"` // An object that contains information about an event destination that sends // logging events to Amazon SNS. SnsDestination *SnsDestination `type:"structure"` // contains filtered or unexported fields }
Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Kinesis Data Firehose,or Amazon SNS.
func (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 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 Amazon Identity and Access Management (IAM) role that is able // to write event data to an Amazon 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 an Kinesis Data Firehose event destination.
Event destinations, such as Kinesis Data Firehose, are associated with configuration sets, which enable you to publish message sending events.
func (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, Amazon Pinpoint automatically replies // with a customizable message and adds the end recipient to the OptOutList. // When set to true you're responsible for responding to HELP and STOP requests. // You're also responsible for tracking and honoring opt-out request. For more // information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out) // // SelfManagedOptOutsEnabled is a required field SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"` // The current status of the phone number. // // Status is a required field Status *string `type:"string" required:"true" enum:"NumberStatus"` // The Amazon Resource Name (ARN) of the two way channel. TwoWayChannelArn *string `min:"20" type:"string"` // An optional IAM Role Arn for a service to assume, to be able to post inbound // SMS messages. TwoWayChannelRole *string `min:"20" type:"string"` // By default this is set to false. When set to true you can receive incoming // text messages from your end recipients using the TwoWayChannelArn. // // TwoWayEnabled is a required field TwoWayEnabled *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
The information for a phone number, in E.164 format, in an Amazon Web Services account.
func (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) 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 Kinesis Data Firehose, or Amazon SNS. For example, when a message is delivered successfully, you can send information about that event to an event destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.
Each configuration set can contain between 0 and 5 event destinations. Each event destination can contain a reference to a single destination, such as a CloudWatch or Kinesis Data Firehose destination.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateEventDestination for usage and error information.
Returned Error Types:
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ResourceNotFoundException A requested resource couldn't be found.
ValidationException A validation exception for a field.
ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateEventDestination
func (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 Amazon Pinpoint User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation CreateOptOutList for usage and error information.
Returned Error Types:
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateOptOutList
func (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) 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) 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, Amazon Pinpoint responds with a customizable message.
Keywords "HELP" and "STOP" can't be deleted or modified.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteKeyword for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ResourceNotFoundException A requested resource couldn't be found.
ValidationException A validation exception for a field.
ConflictException Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword
func (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) 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) 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 Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteTextMessageSpendLimitOverride for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
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 Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DeleteVoiceMessageSpendLimitOverride for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
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 Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The sandbox protects both Amazon Web Services end recipients and SMS or voice recipients from fraud and abuse.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeAccountAttributes for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes
func (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 Amazon Pinpoint SMS Voice V2 resource quotas for your account. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of configuration sets, opt-out lists, phone numbers, and pools that you can create in a given Region. For more information see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html) in the Amazon Pinpoint Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeAccountLimits for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits
func (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, Amazon Pinpoint responds with a customizable message.
If you specify a keyword that isn't valid, an error is returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeKeywords for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ResourceNotFoundException A requested resource couldn't be found.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords
func (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) 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 Amazon Pinpoint monthly spend limits for sending voice and text messages.
When you establish an Amazon Web Services account, the account has initial monthly spend limit in a given Region. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html) in the Amazon Pinpoint User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's API operation DescribeSpendLimits for usage and error information.
Returned Error Types:
ThrottlingException An error that occurred because too many requests were sent during a certain amount of time.
AccessDeniedException The request was denied because you don't have sufficient permissions to access the resource.
ValidationException A validation exception for a field.
InternalServerException The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits
func (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.DescribeVerifiedDestinationNumbersReques