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

Description

 
Synopsis

Documentation

data Contact Source #

A personal contact or escalation plan that Incident Manager engages during an incident.

See: newContact smart constructor.

Constructors

Contact' 

Fields

  • displayName :: Maybe Text

    The full name of the contact or escalation plan.

  • contactArn :: Text

    The Amazon Resource Name (ARN) of the contact or escalation plan.

  • alias :: Text

    The unique and identifiable alias of the contact or escalation plan.

  • type' :: ContactType

    Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type ESCALATION.

Instances

Instances details
Eq Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Methods

(==) :: Contact -> Contact -> Bool #

(/=) :: Contact -> Contact -> Bool #

Read Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Show Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Generic Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Associated Types

type Rep Contact :: Type -> Type #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

NFData Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Methods

rnf :: Contact -> () #

Hashable Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

Methods

hashWithSalt :: Int -> Contact -> Int #

hash :: Contact -> Int #

FromJSON Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

type Rep Contact Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Contact

type Rep Contact = D1 ('MetaData "Contact" "Amazonka.SSMContacts.Types.Contact" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "Contact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "alias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContactType))))

newContact Source #

Create a value of Contact 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:displayName:Contact', contact_displayName - The full name of the contact or escalation plan.

$sel:contactArn:Contact', contact_contactArn - The Amazon Resource Name (ARN) of the contact or escalation plan.

$sel:alias:Contact', contact_alias - The unique and identifiable alias of the contact or escalation plan.

$sel:type':Contact', contact_type - Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type ESCALATION.

contact_displayName :: Lens' Contact (Maybe Text) Source #

The full name of the contact or escalation plan.

contact_contactArn :: Lens' Contact Text Source #

The Amazon Resource Name (ARN) of the contact or escalation plan.

contact_alias :: Lens' Contact Text Source #

The unique and identifiable alias of the contact or escalation plan.

contact_type :: Lens' Contact ContactType Source #

Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type ESCALATION.