Class CheckIfPhoneNumberIsOptedOutRequest
- Namespace
- Amazon.SimpleNotificationService.Model
- Assembly
- AWSSDK.SimpleNotificationService.dll
Container for the parameters to the CheckIfPhoneNumberIsOptedOut operation. Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your account. You cannot send SMS messages to a number that is opted out.
To resume sending messages, you can opt in the number by using the
OptInPhoneNumber
action.
public class CheckIfPhoneNumberIsOptedOutRequest : AmazonSimpleNotificationServiceRequest
- Inheritance
-
CheckIfPhoneNumberIsOptedOutRequest
Constructors
CheckIfPhoneNumberIsOptedOutRequest()
public CheckIfPhoneNumberIsOptedOutRequest()
Properties
PhoneNumber
Gets and sets the property PhoneNumber.
The phone number for which you want to check the opt out status.
public string PhoneNumber { get; set; }