AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the VerifySMSSandboxPhoneNumber operation. Verifies a destination phone number with a one-time password (OTP) for the calling Amazon Web Services account.

When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceRequest
      Amazon.SimpleNotificationService.Model.VerifySMSSandboxPhoneNumberRequest

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.SimpleNotificationService.dll
Version: 3.x.y.z

Syntax

C#
public class VerifySMSSandboxPhoneNumberRequest : AmazonSimpleNotificationServiceRequest
         IAmazonWebServiceRequest

The VerifySMSSandboxPhoneNumberRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property OneTimePassword System.String

Gets and sets the property OneTimePassword.

The OTP sent to the destination number from the CreateSMSSandBoxPhoneNumber call.

Public Property PhoneNumber System.String

Gets and sets the property PhoneNumber.

The destination phone number to verify.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer