Smaws_Client_SNS.ListOriginationNumbersLists the calling Amazon Web Services account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.
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
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_origination_numbers_request ->
(Types.list_origination_numbers_result,
[> 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
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_origination_numbers_request ->
(Types.list_origination_numbers_result 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
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result