Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Contact = Contact' {
- displayName :: Maybe Text
- contactArn :: Text
- alias :: Text
- type' :: ContactType
- newContact :: Text -> Text -> ContactType -> Contact
- contact_displayName :: Lens' Contact (Maybe Text)
- contact_contactArn :: Lens' Contact Text
- contact_alias :: Lens' Contact Text
- contact_type :: Lens' Contact ContactType
Documentation
A personal contact or escalation plan that Incident Manager engages during an incident.
See: newContact
smart constructor.
Contact' | |
|
Instances
Eq Contact Source # | |
Read Contact Source # | |
Show Contact Source # | |
Generic Contact Source # | |
NFData Contact Source # | |
Defined in Amazonka.SSMContacts.Types.Contact | |
Hashable Contact Source # | |
Defined in Amazonka.SSMContacts.Types.Contact | |
FromJSON Contact Source # | |
type Rep Contact Source # | |
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)))) |
:: Text | |
-> Text | |
-> ContactType | |
-> Contact |
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
.