Class EumsSmsConfigurationType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EumsSmsConfigurationType.Builder,EumsSmsConfigurationType>
The configuration that Amazon Cognito uses to send SMS messages through Amazon Web Services End User Messaging SMS.
Provide this structure in the EumsSms member of SmsConfigurationType to use Amazon Web
Services End User Messaging SMS instead of Amazon SNS.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe ARN of the IAM role that Amazon Cognito assumes to send SMS messages through Amazon Web Services End User Messaging SMS.final StringThe name of the Amazon Web Services End User Messaging SMS configuration set that Amazon Cognito applies to messages, for logging and event destinations.final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe external ID that Amazon Cognito includes when it assumes theCallerArnrole.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe principal entity ID required by India's Distributed Ledger Technology (DLT) regulations for SMS messages.final StringThe registered template ID for the message template required by India's DLT regulations for SMS messages.final StringThe origination identity that Amazon Web Services End User Messaging SMS uses to send messages to your users.final Stringregion()The Amazon Web Services Region of the Amazon Web Services End User Messaging SMS resources that Amazon Cognito uses to send messages.static Class<? extends EumsSmsConfigurationType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
callerArn
The ARN of the IAM role that Amazon Cognito assumes to send SMS messages through Amazon Web Services End User Messaging SMS. The role must grant permission to call the
sms-voice:SendTextMessageoperation.- Returns:
- The ARN of the IAM role that Amazon Cognito assumes to send SMS messages through Amazon Web Services End
User Messaging SMS. The role must grant permission to call the
sms-voice:SendTextMessageoperation.
-
externalId
The external ID that Amazon Cognito includes when it assumes the
CallerArnrole. Use this value as a condition in the role trust policy to prevent the confused deputy problem.- Returns:
- The external ID that Amazon Cognito includes when it assumes the
CallerArnrole. Use this value as a condition in the role trust policy to prevent the confused deputy problem.
-
originationIdentity
The origination identity that Amazon Web Services End User Messaging SMS uses to send messages to your users. This value can be one of the following:
-
A phone number – A long code, toll-free number, or short code that is assigned to your account.
-
A sender ID – An alphabetic name that identifies the message sender in supported countries.
-
A phone pool – A group of phone numbers that Amazon Web Services End User Messaging SMS selects from when it sends messages.
You can provide an E.164 phone number or the ARN of the phone number, sender ID, or phone pool. Amazon Web Services End User Messaging SMS evaluates IAM authorization with the value that you provide. If the permissions policy of your
CallerArnrole scopes thesms-voice:SendTextMessageresource to a specific ARN, provide that same ARN. If the formats do not match, requests fail with anInvalidSmsRoleAccessPolicyException.Depending on the destination country, you must provide an origination identity. For country-specific requirements, see Supported countries and regions for SMS messaging in the Amazon Web Services End User Messaging SMS User Guide.
- Returns:
- The origination identity that Amazon Web Services End User Messaging SMS uses to send messages to your
users. This value can be one of the following:
-
A phone number – A long code, toll-free number, or short code that is assigned to your account.
-
A sender ID – An alphabetic name that identifies the message sender in supported countries.
-
A phone pool – A group of phone numbers that Amazon Web Services End User Messaging SMS selects from when it sends messages.
You can provide an E.164 phone number or the ARN of the phone number, sender ID, or phone pool. Amazon Web Services End User Messaging SMS evaluates IAM authorization with the value that you provide. If the permissions policy of your
CallerArnrole scopes thesms-voice:SendTextMessageresource to a specific ARN, provide that same ARN. If the formats do not match, requests fail with anInvalidSmsRoleAccessPolicyException.Depending on the destination country, you must provide an origination identity. For country-specific requirements, see Supported countries and regions for SMS messaging in the Amazon Web Services End User Messaging SMS User Guide.
-
-
-
configurationSetName
The name of the Amazon Web Services End User Messaging SMS configuration set that Amazon Cognito applies to messages, for logging and event destinations. If you omit this member, Amazon Cognito sends messages without applying a configuration set.
- Returns:
- The name of the Amazon Web Services End User Messaging SMS configuration set that Amazon Cognito applies to messages, for logging and event destinations. If you omit this member, Amazon Cognito sends messages without applying a configuration set.
-
inEntityId
The principal entity ID required by India's Distributed Ledger Technology (DLT) regulations for SMS messages.
- Returns:
- The principal entity ID required by India's Distributed Ledger Technology (DLT) regulations for SMS messages.
-
inTemplateId
The registered template ID for the message template required by India's DLT regulations for SMS messages.
- Returns:
- The registered template ID for the message template required by India's DLT regulations for SMS messages.
-
region
The Amazon Web Services Region of the Amazon Web Services End User Messaging SMS resources that Amazon Cognito uses to send messages. Amazon Web Services End User Messaging SMS must be available in your user pool's Region.
If you omit this parameter, Amazon Cognito uses the same Region as your user pool. You can also set this parameter to your user pool's Region explicitly. Amazon Cognito rejects any other value with an
InvalidParameterException.- Returns:
- The Amazon Web Services Region of the Amazon Web Services End User Messaging SMS resources that Amazon
Cognito uses to send messages. Amazon Web Services End User Messaging SMS must be available in your user
pool's Region.
If you omit this parameter, Amazon Cognito uses the same Region as your user pool. You can also set this parameter to your user pool's Region explicitly. Amazon Cognito rejects any other value with an
InvalidParameterException.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<EumsSmsConfigurationType.Builder,EumsSmsConfigurationType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-