Skip to content

ListPhoneNumbersOptedOut

Source: src/AWS/SNS/ListPhoneNumbersOptedOut.ts

Runtime binding for sns:ListPhoneNumbersOptedOut.

An account-scoped operation — pages through the phone numbers whose owners opted out of receiving SMS from this account. Provide the ListPhoneNumbersOptedOutHttp layer on the Function to implement the binding.

const listOptedOut = yield* SNS.ListPhoneNumbersOptedOut();
const { phoneNumbers } = yield* listOptedOut();