libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.Types.ContactChannelAddress

Description

 
Synopsis

Documentation

data ContactChannelAddress Source #

The details that Incident Manager uses when trying to engage the contact channel.

See: newContactChannelAddress smart constructor.

Constructors

ContactChannelAddress' 

Fields

  • simpleAddress :: Maybe Text

    The format is dependent on the type of the contact channel. The following are the expected formats:

    • SMS - '+' followed by the country code and phone number
    • VOICE - '+' followed by the country code and phone number
    • EMAIL - any standard email format

Instances

Instances details
Eq ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

Read ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

Show ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

Generic ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

Associated Types

type Rep ContactChannelAddress :: Type -> Type #

NFData ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

Methods

rnf :: ContactChannelAddress -> () #

Hashable ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

ToJSON ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

FromJSON ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

type Rep ContactChannelAddress Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.ContactChannelAddress

type Rep ContactChannelAddress = D1 ('MetaData "ContactChannelAddress" "Amazonka.SSMContacts.Types.ContactChannelAddress" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ContactChannelAddress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "simpleAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newContactChannelAddress :: ContactChannelAddress Source #

Create a value of ContactChannelAddress 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:simpleAddress:ContactChannelAddress', contactChannelAddress_simpleAddress - The format is dependent on the type of the contact channel. The following are the expected formats:

  • SMS - '+' followed by the country code and phone number
  • VOICE - '+' followed by the country code and phone number
  • EMAIL - any standard email format

contactChannelAddress_simpleAddress :: Lens' ContactChannelAddress (Maybe Text) Source #

The format is dependent on the type of the contact channel. The following are the expected formats:

  • SMS - '+' followed by the country code and phone number
  • VOICE - '+' followed by the country code and phone number
  • EMAIL - any standard email format