Skip to content

VerifySMSSandboxPhoneNumber

Source: src/AWS/SNS/VerifySMSSandboxPhoneNumber.ts

Runtime binding for sns:VerifySMSSandboxPhoneNumber.

An account-scoped operation — verifies a sandbox destination phone number with the one-time password SNS texted to it. Provide the VerifySMSSandboxPhoneNumberHttp layer on the Function to implement the binding.

const verifySandboxNumber = yield* SNS.VerifySMSSandboxPhoneNumber();
yield* verifySandboxNumber({
PhoneNumber: "+15555550123",
OneTimePassword: "123456",
});