Smaws_Client_SNS.ListPhoneNumbersOptedOutReturns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them.
The results for ListPhoneNumbersOptedOut are paginated, and each page returns up to 100 phone numbers. If additional phone numbers are available after the first page of results, then a NextToken string will be returned. To receive the next page, you call ListPhoneNumbersOptedOut again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null.
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.list_phone_numbers_opted_out_input ->
(Types.list_phone_numbers_opted_out_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.list_phone_numbers_opted_out_input ->
(Types.list_phone_numbers_opted_out_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