Smaws_Client_Lightsail.GetContactMethods
Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidInputException of Types.invalid_input_exception
| `NotFoundException of Types.not_found_exception
| `OperationFailureException of Types.operation_failure_exception
| `ServiceException of Types.service_exception
| `UnauthenticatedException of Types.unauthenticated_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.get_contact_methods_request ->
(Types.get_contact_methods_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidInputException of Types.invalid_input_exception
| `NotFoundException of Types.not_found_exception
| `OperationFailureException of Types.operation_failure_exception
| `ServiceException of Types.service_exception
| `UnauthenticatedException of Types.unauthenticated_exception ])
Stdlib.result