Set Sms Attributes
sns_set_sms_attributes | R Documentation |
Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports¶
Description¶
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.
Usage¶
sns_set_sms_attributes(attributes)
Arguments¶
attributes |
[required] The default settings for sending SMS messages from your Amazon Web Services account. You can set values for the following attribute names:
Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit. By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase.
To receive the report, the bucket must have a policy that allows the
Amazon SNS service principal to perform the For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide. |
Value¶
An empty list.
Request syntax¶
svc$set_sms_attributes(
attributes = list(
"string"
)
)