setSmsAttributes
inline suspend fun SnsClient.setSmsAttributes(crossinline block: SetSmsAttributesRequest.Builder.() -> Unit): SetSmsAttributesResponse
Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.
You can override some of these settings for a single message when you use the Publish
action with the MessageAttributes.entry.N
parameter. For more information, see Publishing to a mobile phone in the Amazon SNS Developer Guide.
To use this operation, you must grant the Amazon SNS service principal (sns.amazonaws.com
) permission to perform the s3:ListBucket
action.