Skip to content

/AWS1/CL_LSA=>GETCONTACTMETHODS()

About 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.

Method Signature

IMPORTING

Optional arguments:

IT_PROTOCOLS TYPE /AWS1/CL_LSACONTACTPROTOCOLS00=>TT_CONTACTPROTOCOLSLIST TT_CONTACTPROTOCOLSLIST

The protocols used to send notifications, such as Email, or SMS (text messaging).

Specify a protocol in your request to return information about a specific contact method protocol.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAGETCONTACTMTHSRS /AWS1/CL_LSAGETCONTACTMTHSRS