libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.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 the timeline event is part of.

Instances

Instances details
Eq GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Read GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Show GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Generic GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type Rep GetTimelineEvent :: Type -> Type #

NFData GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Methods

rnf :: GetTimelineEvent -> () #

Hashable GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

AWSRequest GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type AWSResponse GetTimelineEvent #

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

type Rep GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

type Rep GetTimelineEvent = D1 ('MetaData "GetTimelineEvent" "Amazonka.SSMIncidents.GetTimelineEvent" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "GetTimelineEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "incidentRecordArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

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:

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

$sel:incidentRecordArn:GetTimelineEvent', getTimelineEvent_incidentRecordArn - The Amazon Resource Name (ARN) of the incident that the timeline event is part of.

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 the timeline event is part of.

Destructuring the Response

data GetTimelineEventResponse Source #

See: newGetTimelineEventResponse smart constructor.

Constructors

GetTimelineEventResponse' 

Fields

Instances

Instances details
Eq GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Read GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Show GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Generic GetTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetTimelineEvent

Associated Types

type Rep GetTimelineEventResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" '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