Module Smaws_Client_Lightsail.GetContactMethods

val request : Smaws_Lib.Context.t -> get_contact_methods_request -> (get_contact_methods_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `InvalidInputException of invalid_input_exception | `NotFoundException of not_found_exception | `OperationFailureException of operation_failure_exception | `ServiceException of service_exception | `UnauthenticatedException of unauthenticated_exception ]) Stdlib.result

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.