AWS SDK Version 3 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.

This is the response object from the UpdatePhoneNumber operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.PinpointSMSVoiceV2.Model.UpdatePhoneNumberResponse

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

Syntax

C#
public class UpdatePhoneNumberResponse : AmazonWebServiceResponse

The UpdatePhoneNumberResponse type exposes the following members

Constructors

NameDescription
Public Method UpdatePhoneNumberResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreatedTimestamp System.DateTime

Gets and sets the property CreatedTimestamp.

The time when the phone number was created, in UNIX epoch time format.

Public Property DeletionProtectionEnabled System.Boolean

Gets and sets the property DeletionProtectionEnabled.

When set to true the phone number can't be deleted.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property IsoCountryCode System.String

Gets and sets the property IsoCountryCode.

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Public Property MessageType Amazon.PinpointSMSVoiceV2.MessageType

Gets and sets the property MessageType.

The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

Public Property MonthlyLeasingPrice System.String

Gets and sets the property MonthlyLeasingPrice.

The monthly leasing price of the phone number, in US dollars.

Public Property NumberCapabilities System.Collections.Generic.List<System.String>

Gets and sets the property NumberCapabilities.

Specifies if the number could be used for text messages, voice or both.

Public Property NumberType Amazon.PinpointSMSVoiceV2.NumberType

Gets and sets the property NumberType.

The type of number that was requested.

Public Property OptOutListName System.String

Gets and sets the property OptOutListName.

The name of the OptOutList associated with the phone number.

Public Property PhoneNumber System.String

Gets and sets the property PhoneNumber.

The phone number that was updated.

Public Property PhoneNumberArn System.String

Gets and sets the property PhoneNumberArn.

The Amazon Resource Name (ARN) of the updated phone number.

Public Property PhoneNumberId System.String

Gets and sets the property PhoneNumberId.

The unique identifier of the phone number.

Public Property RegistrationId System.String

Gets and sets the property RegistrationId.

The unique identifier for the registration.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SelfManagedOptOutsEnabled System.Boolean

Gets and sets the property SelfManagedOptOutsEnabled.

This is true if self managed opt-out are enabled.

Public Property Status Amazon.PinpointSMSVoiceV2.NumberStatus

Gets and sets the property Status.

The current status of the request.

Public Property TwoWayChannelArn System.String

Gets and sets the property TwoWayChannelArn.

The Amazon Resource Name (ARN) of the two way channel.

Public Property TwoWayChannelRole System.String

Gets and sets the property TwoWayChannelRole.

An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

Public Property TwoWayEnabled System.Boolean

Gets and sets the property TwoWayEnabled.

By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5