Smaws_Client_SNS.SetSMSAttributesUse 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ThrottledException of Types.throttled_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.set_sms_attributes_input ->
(Types.set_sms_attributes_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ThrottledException of Types.throttled_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.set_sms_attributes_input ->
(Types.set_sms_attributes_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ThrottledException of Types.throttled_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result