amazonka-ssm-contacts-2.0: Amazon Systems Manager Incident Manager Contacts SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSMContacts.Types.Engagement

Description

 
Synopsis

Documentation

data Engagement Source #

Incident Manager reaching out to a contact or escalation plan to engage contact during an incident.

See: newEngagement smart constructor.

Constructors

Engagement' 

Fields

Instances

Instances details
FromJSON Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

Generic Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

Associated Types

type Rep Engagement :: Type -> Type #

Read Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

Show Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

NFData Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

Methods

rnf :: Engagement -> () #

Eq Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

Hashable Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

type Rep Engagement Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Engagement

type Rep Engagement = D1 ('MetaData "Engagement" "Amazonka.SSMContacts.Types.Engagement" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "Engagement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "incidentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "stopTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "engagementArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newEngagement Source #

Create a value of Engagement 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:incidentId:Engagement', engagement_incidentId - The ARN of the incident that's engaging the contact.

$sel:startTime:Engagement', engagement_startTime - The time that the engagement began.

$sel:stopTime:Engagement', engagement_stopTime - The time that the engagement ended.

$sel:engagementArn:Engagement', engagement_engagementArn - The Amazon Resource Name (ARN) of the engagement.

$sel:contactArn:Engagement', engagement_contactArn - The ARN of the escalation plan or contact that Incident Manager is engaging.

$sel:sender:Engagement', engagement_sender - The user that started the engagement.

engagement_incidentId :: Lens' Engagement (Maybe Text) Source #

The ARN of the incident that's engaging the contact.

engagement_startTime :: Lens' Engagement (Maybe UTCTime) Source #

The time that the engagement began.

engagement_stopTime :: Lens' Engagement (Maybe UTCTime) Source #

The time that the engagement ended.

engagement_engagementArn :: Lens' Engagement Text Source #

The Amazon Resource Name (ARN) of the engagement.

engagement_contactArn :: Lens' Engagement Text Source #

The ARN of the escalation plan or contact that Incident Manager is engaging.

engagement_sender :: Lens' Engagement Text Source #

The user that started the engagement.