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.PoolInformation

Description

 
Synopsis

Documentation

data PoolInformation Source #

The information for a pool in an Amazon Web Services account.

See: newPoolInformation smart constructor.

Constructors

PoolInformation' 

Fields

  • twoWayChannelArn :: Maybe Text

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

  • poolArn :: Text

    The Amazon Resource Name (ARN) for the pool.

  • poolId :: Text

    The unique identifier for the pool.

  • status :: PoolStatus

    The current status of the pool.

  • messageType :: 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.

  • twoWayEnabled :: Bool

    When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

  • selfManagedOptOutsEnabled :: Bool

    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 requests. For more information see Self-managed opt-outs

  • optOutListName :: Text

    The name of the OptOutList associated with the pool.

  • sharedRoutesEnabled :: Bool

    Allows you to enable shared routes on your pool.

    By default, this is set to False. If you set this value to True, your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other Amazon Pinpoint users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.

  • deletionProtectionEnabled :: Bool

    When set to true the pool can't be deleted.

  • createdTimestamp :: POSIX

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

Instances

Instances details
FromJSON PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

Generic PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

Associated Types

type Rep PoolInformation :: Type -> Type #

Read PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

Show PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

NFData PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

Methods

rnf :: PoolInformation -> () #

Eq PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

Hashable PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

type Rep PoolInformation Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.PoolInformation

type Rep PoolInformation = D1 ('MetaData "PoolInformation" "Amazonka.PinpointSmsVoiceV2.Types.PoolInformation" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "PoolInformation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "twoWayChannelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "poolArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "poolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PoolStatus) :*: S1 ('MetaSel ('Just "messageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType)))) :*: ((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 "sharedRoutesEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "deletionProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newPoolInformation Source #

Create a value of PoolInformation 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:twoWayChannelArn:PoolInformation', poolInformation_twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.

$sel:poolArn:PoolInformation', poolInformation_poolArn - The Amazon Resource Name (ARN) for the pool.

$sel:poolId:PoolInformation', poolInformation_poolId - The unique identifier for the pool.

$sel:status:PoolInformation', poolInformation_status - The current status of the pool.

$sel:messageType:PoolInformation', poolInformation_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:twoWayEnabled:PoolInformation', poolInformation_twoWayEnabled - When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

$sel:selfManagedOptOutsEnabled:PoolInformation', poolInformation_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 requests. For more information see Self-managed opt-outs

$sel:optOutListName:PoolInformation', poolInformation_optOutListName - The name of the OptOutList associated with the pool.

$sel:sharedRoutesEnabled:PoolInformation', poolInformation_sharedRoutesEnabled - Allows you to enable shared routes on your pool.

By default, this is set to False. If you set this value to True, your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other Amazon Pinpoint users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.

$sel:deletionProtectionEnabled:PoolInformation', poolInformation_deletionProtectionEnabled - When set to true the pool can't be deleted.

$sel:createdTimestamp:PoolInformation', poolInformation_createdTimestamp - The time when the pool was created, in UNIX epoch time format.

poolInformation_twoWayChannelArn :: Lens' PoolInformation (Maybe Text) Source #

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

poolInformation_poolArn :: Lens' PoolInformation Text Source #

The Amazon Resource Name (ARN) for the pool.

poolInformation_poolId :: Lens' PoolInformation Text Source #

The unique identifier for the pool.

poolInformation_messageType :: Lens' PoolInformation 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.

poolInformation_twoWayEnabled :: Lens' PoolInformation Bool Source #

When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

poolInformation_selfManagedOptOutsEnabled :: Lens' PoolInformation 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 requests. For more information see Self-managed opt-outs

poolInformation_optOutListName :: Lens' PoolInformation Text Source #

The name of the OptOutList associated with the pool.

poolInformation_sharedRoutesEnabled :: Lens' PoolInformation Bool Source #

Allows you to enable shared routes on your pool.

By default, this is set to False. If you set this value to True, your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other Amazon Pinpoint users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.

poolInformation_deletionProtectionEnabled :: Lens' PoolInformation Bool Source #

When set to true the pool can't be deleted.

poolInformation_createdTimestamp :: Lens' PoolInformation UTCTime Source #

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