libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.SMSChannelRequest

Description

 
Synopsis

Documentation

data SMSChannelRequest Source #

Specifies the status and settings of the SMS channel for an application.

See: newSMSChannelRequest smart constructor.

Constructors

SMSChannelRequest' 

Fields

  • shortCode :: Maybe Text

    The registered short code that you want to use when you send messages through the SMS channel.

  • enabled :: Maybe Bool

    Specifies whether to enable the SMS channel for the application.

  • senderId :: Maybe Text

    The identity that you want to display on recipients' devices when they receive messages from the SMS channel.

Instances

Instances details
Eq SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

Read SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

Show SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

Generic SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

Associated Types

type Rep SMSChannelRequest :: Type -> Type #

NFData SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

Methods

rnf :: SMSChannelRequest -> () #

Hashable SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

ToJSON SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

type Rep SMSChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SMSChannelRequest

type Rep SMSChannelRequest = D1 ('MetaData "SMSChannelRequest" "Amazonka.Pinpoint.Types.SMSChannelRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SMSChannelRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shortCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "senderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSMSChannelRequest :: SMSChannelRequest Source #

Create a value of SMSChannelRequest 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:shortCode:SMSChannelRequest', sMSChannelRequest_shortCode - The registered short code that you want to use when you send messages through the SMS channel.

$sel:enabled:SMSChannelRequest', sMSChannelRequest_enabled - Specifies whether to enable the SMS channel for the application.

$sel:senderId:SMSChannelRequest', sMSChannelRequest_senderId - The identity that you want to display on recipients' devices when they receive messages from the SMS channel.

sMSChannelRequest_shortCode :: Lens' SMSChannelRequest (Maybe Text) Source #

The registered short code that you want to use when you send messages through the SMS channel.

sMSChannelRequest_enabled :: Lens' SMSChannelRequest (Maybe Bool) Source #

Specifies whether to enable the SMS channel for the application.

sMSChannelRequest_senderId :: Lens' SMSChannelRequest (Maybe Text) Source #

The identity that you want to display on recipients' devices when they receive messages from the SMS channel.