CheckIfPhoneNumberIsOptedOut
Source:
src/AWS/SNS/CheckIfPhoneNumberIsOptedOut.ts
Runtime binding for sns:CheckIfPhoneNumberIsOptedOut.
An account-scoped operation — reports whether SMS delivery to a phone
number is blocked because its owner opted out.
Provide the CheckIfPhoneNumberIsOptedOutHttp layer on the Function to implement the binding.
SMS Opt-Out Management
Section titled “SMS Opt-Out Management”const checkOptOut = yield* SNS.CheckIfPhoneNumberIsOptedOut();const { isOptedOut } = yield* checkOptOut({ phoneNumber: "+15555550123" });