amazonka-ssm-incidents-2.0: Amazon Systems Manager Incident Manager 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.SSMIncidents.GetTimelineEvent

Description

Retrieves a timeline event based on its ID and incident record.

Synopsis

Creating a Request

data GetTimelineEvent Source #

See: newGetTimelineEvent smart constructor.

Constructors

GetTimelineEvent' 

Fields

  • eventId :: Text

    The ID of the event. You can get an event's ID when you create it, or by using ListTimelineEvents.

  • incidentRecordArn :: Text

    The Amazon Resource Name (ARN) of the incident that includes the timeline event.

Instances

Instances details
ToHeaders GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

ToPath GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

ToQuery GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

AWSRequest GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type AWSResponse GetTimelineEvent #

Generic GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type Rep GetTimelineEvent :: Type -> Type #

Read GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Show GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

NFData GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Methods

rnf :: GetTimelineEvent -> () #

Eq GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Hashable GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type AWSResponse GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type Rep GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type Rep GetTimelineEvent = D1 ('MetaData "GetTimelineEvent" "Amazonka.SSMIncidents.GetTimelineEvent" "amazonka-ssm-incidents-2.0-JEcCJ5TIs2l5vrFa2RYlgd" 'False) (C1 ('MetaCons "GetTimelineEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "incidentRecordArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetTimelineEvent Source #

Create a value of GetTimelineEvent 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:

GetTimelineEvent, getTimelineEvent_eventId - The ID of the event. You can get an event's ID when you create it, or by using ListTimelineEvents.

GetTimelineEvent, getTimelineEvent_incidentRecordArn - The Amazon Resource Name (ARN) of the incident that includes the timeline event.

Request Lenses

getTimelineEvent_eventId :: Lens' GetTimelineEvent Text Source #

The ID of the event. You can get an event's ID when you create it, or by using ListTimelineEvents.

getTimelineEvent_incidentRecordArn :: Lens' GetTimelineEvent Text Source #

The Amazon Resource Name (ARN) of the incident that includes the timeline event.

Destructuring the Response

data GetTimelineEventResponse Source #

See: newGetTimelineEventResponse smart constructor.

Constructors

GetTimelineEventResponse' 

Fields

Instances

Instances details
Generic GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type Rep GetTimelineEventResponse :: Type -> Type #

Read GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Show GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

NFData GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Eq GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type Rep GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type Rep GetTimelineEventResponse = D1 ('MetaData "GetTimelineEventResponse" "Amazonka.SSMIncidents.GetTimelineEvent" "amazonka-ssm-incidents-2.0-JEcCJ5TIs2l5vrFa2RYlgd" 'False) (C1 ('MetaCons "GetTimelineEventResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimelineEvent)))

newGetTimelineEventResponse Source #

Create a value of GetTimelineEventResponse 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:httpStatus:GetTimelineEventResponse', getTimelineEventResponse_httpStatus - The response's http status code.

$sel:event:GetTimelineEventResponse', getTimelineEventResponse_event - Details about the timeline event.

Response Lenses