Skip to content

CreateSMSSandboxPhoneNumber

Source: src/AWS/SNS/CreateSMSSandboxPhoneNumber.ts

Runtime binding for sns:CreateSMSSandboxPhoneNumber.

An account-scoped operation — registers a destination phone number in the SMS sandbox, which sends it a one-time verification code. Provide the CreateSMSSandboxPhoneNumberHttp layer on the Function to implement the binding.

const createSandboxNumber = yield* SNS.CreateSMSSandboxPhoneNumber();
yield* createSandboxNumber({ PhoneNumber: "+15555550123" });