amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Description

 
Synopsis

Documentation

data PhoneNumberInformation Source #

The information for a phone number in an Amazon Web Services account.

See: newPhoneNumberInformation smart constructor.

Constructors

PhoneNumberInformation' 

Fields

Instances

Instances details
FromJSON PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Generic PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Associated Types

type Rep PhoneNumberInformation :: Type -> Type #

Read PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Show PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

NFData PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Methods

rnf :: PhoneNumberInformation -> () #

Eq PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

Hashable PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

type Rep PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation

type Rep PhoneNumberInformation = D1 ('MetaData "PhoneNumberInformation" "Amazonka.PinpointSmsVoiceV2.Types.PhoneNumberInformation" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "PhoneNumberInformation'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "twoWayChannelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumberArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NumberStatus)) :*: (S1 ('MetaSel ('Just "isoCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType)))) :*: (((S1 ('MetaSel ('Just "numberCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty NumberCapability)) :*: S1 ('MetaSel ('Just "numberType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NumberType)) :*: (S1 ('MetaSel ('Just "monthlyLeasingPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "twoWayEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "selfManagedOptOutsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "optOutListName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "deletionProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newPhoneNumberInformation Source #

Create a value of PhoneNumberInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumberId:PhoneNumberInformation', phoneNumberInformation_phoneNumberId - The unique identifier for the phone number.

$sel:poolId:PhoneNumberInformation', phoneNumberInformation_poolId - The unique identifier of the pool associated with the phone number.

$sel:twoWayChannelArn:PhoneNumberInformation', phoneNumberInformation_twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.

$sel:phoneNumberArn:PhoneNumberInformation', phoneNumberInformation_phoneNumberArn - The Amazon Resource Name (ARN) associated with the phone number.

$sel:phoneNumber:PhoneNumberInformation', phoneNumberInformation_phoneNumber - The phone number in E.164 format.

$sel:status:PhoneNumberInformation', phoneNumberInformation_status - The current status of the phone number.

$sel:isoCountryCode:PhoneNumberInformation', phoneNumberInformation_isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

$sel:messageType:PhoneNumberInformation', phoneNumberInformation_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.

$sel:numberCapabilities:PhoneNumberInformation', phoneNumberInformation_numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.

$sel:numberType:PhoneNumberInformation', phoneNumberInformation_numberType - The type of phone number.

$sel:monthlyLeasingPrice:PhoneNumberInformation', phoneNumberInformation_monthlyLeasingPrice - The price, in US dollars, to lease the phone number.

$sel:twoWayEnabled:PhoneNumberInformation', phoneNumberInformation_twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

$sel:selfManagedOptOutsEnabled:PhoneNumberInformation', phoneNumberInformation_selfManagedOptOutsEnabled - When set to false an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see Self-managed opt-outs

$sel:optOutListName:PhoneNumberInformation', phoneNumberInformation_optOutListName - The name of the OptOutList associated with the phone number.

$sel:deletionProtectionEnabled:PhoneNumberInformation', phoneNumberInformation_deletionProtectionEnabled - When set to true the phone number can't be deleted.

$sel:createdTimestamp:PhoneNumberInformation', phoneNumberInformation_createdTimestamp - The time when the phone number was created, in UNIX epoch time format.

phoneNumberInformation_phoneNumberId :: Lens' PhoneNumberInformation (Maybe Text) Source #

The unique identifier for the phone number.

phoneNumberInformation_poolId :: Lens' PhoneNumberInformation (Maybe Text) Source #

The unique identifier of the pool associated with the phone number.

phoneNumberInformation_twoWayChannelArn :: Lens' PhoneNumberInformation (Maybe Text) Source #

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

phoneNumberInformation_phoneNumberArn :: Lens' PhoneNumberInformation Text Source #

The Amazon Resource Name (ARN) associated with the phone number.

phoneNumberInformation_isoCountryCode :: Lens' PhoneNumberInformation Text Source #

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

phoneNumberInformation_messageType :: Lens' PhoneNumberInformation MessageType Source #

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.

phoneNumberInformation_numberCapabilities :: Lens' PhoneNumberInformation (NonEmpty NumberCapability) Source #

Describes if the origination identity can be used for text messages, voice calls or both.

phoneNumberInformation_monthlyLeasingPrice :: Lens' PhoneNumberInformation Text Source #

The price, in US dollars, to lease the phone number.

phoneNumberInformation_twoWayEnabled :: Lens' PhoneNumberInformation Bool Source #

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

phoneNumberInformation_selfManagedOptOutsEnabled :: Lens' PhoneNumberInformation Bool Source #

When set to false an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see Self-managed opt-outs

phoneNumberInformation_optOutListName :: Lens' PhoneNumberInformation Text Source #

The name of the OptOutList associated with the phone number.

phoneNumberInformation_deletionProtectionEnabled :: Lens' PhoneNumberInformation Bool Source #

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