Smaws_Client_SNS.OptInPhoneNumberUse this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.
You can opt in a phone number only once every 30 days.
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.opt_in_phone_number_input ->
(Types.opt_in_phone_number_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.opt_in_phone_number_input ->
(Types.opt_in_phone_number_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