Skip to content

/AWS1/CL_SNS=>CHECKIFPHONENUMBERISOPTEDOUT()

About CheckIfPhoneNumberIsOptedOut

Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number that is opted out.

To resume sending messages, you can opt in the number by using the OptInPhoneNumber action.

Method Signature

IMPORTING

Required arguments:

IV_PHONENUMBER TYPE /AWS1/SNSPHONENUMBER /AWS1/SNSPHONENUMBER

The phone number for which you want to check the opt out status.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SNSCHECKIFPHONENOIS01 /AWS1/CL_SNSCHECKIFPHONENOIS01