| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMContacts.Types.Contact
Description
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.
Constructors
| Contact' | |
Fields
| |
Instances
| FromJSON Contact Source # | |
| Generic Contact Source # | |
| Read Contact Source # | |
| Show Contact Source # | |
| NFData Contact Source # | |
Defined in Amazonka.SSMContacts.Types.Contact | |
| Eq Contact Source # | |
| Hashable Contact Source # | |
Defined in Amazonka.SSMContacts.Types.Contact | |
| type Rep Contact Source # | |
Defined in Amazonka.SSMContacts.Types.Contact type Rep Contact = D1 ('MetaData "Contact" "Amazonka.SSMContacts.Types.Contact" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" '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)))) | |
Arguments
| :: 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.