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.ListTimelineEvents

Description

Lists timeline events of the specified incident record.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTimelineEvents Source #

See: newListTimelineEvents smart constructor.

Constructors

ListTimelineEvents' 

Fields

Instances

Instances details
Eq ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Read ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Show ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Generic ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Associated Types

type Rep ListTimelineEvents :: Type -> Type #

NFData ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Methods

rnf :: ListTimelineEvents -> () #

Hashable ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

ToJSON ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

AWSPager ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

AWSRequest ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Associated Types

type AWSResponse ListTimelineEvents #

ToHeaders ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

ToPath ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

ToQuery ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

type Rep ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

type Rep ListTimelineEvents = D1 ('MetaData "ListTimelineEvents" "Amazonka.SSMIncidents.ListTimelineEvents" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "ListTimelineEvents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrder)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimelineEventSort)) :*: S1 ('MetaSel ('Just "incidentRecordArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListTimelineEvents Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

newListTimelineEvents Source #

Create a value of ListTimelineEvents 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:filters:ListTimelineEvents', listTimelineEvents_filters - Filters the timeline events based on the provided conditional values. You can filter timeline events using the following keys:

  • eventTime
  • eventType

$sel:sortOrder:ListTimelineEvents', listTimelineEvents_sortOrder - Sorts the order of timeline events by the value specified in the sortBy field.

$sel:nextToken:ListTimelineEvents', listTimelineEvents_nextToken - The pagination token to continue to the next page of results.

$sel:maxResults:ListTimelineEvents', listTimelineEvents_maxResults - The maximum number of results per page.

$sel:sortBy:ListTimelineEvents', listTimelineEvents_sortBy - Sort by the specified key value pair.

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

Request Lenses

listTimelineEvents_filters :: Lens' ListTimelineEvents (Maybe [Filter]) Source #

Filters the timeline events based on the provided conditional values. You can filter timeline events using the following keys:

  • eventTime
  • eventType

listTimelineEvents_sortOrder :: Lens' ListTimelineEvents (Maybe SortOrder) Source #

Sorts the order of timeline events by the value specified in the sortBy field.

listTimelineEvents_nextToken :: Lens' ListTimelineEvents (Maybe Text) Source #

The pagination token to continue to the next page of results.

listTimelineEvents_maxResults :: Lens' ListTimelineEvents (Maybe Natural) Source #

The maximum number of results per page.

listTimelineEvents_incidentRecordArn :: Lens' ListTimelineEvents Text Source #

The Amazon Resource Name (ARN) of the incident that the event is part of.

Destructuring the Response

data ListTimelineEventsResponse Source #

See: newListTimelineEventsResponse smart constructor.

Constructors

ListTimelineEventsResponse' 

Fields

Instances

Instances details
Eq ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Read ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Show ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Generic ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

Associated Types

type Rep ListTimelineEventsResponse :: Type -> Type #

NFData ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

type Rep ListTimelineEventsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListTimelineEvents

type Rep ListTimelineEventsResponse = D1 ('MetaData "ListTimelineEventsResponse" "Amazonka.SSMIncidents.ListTimelineEvents" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "ListTimelineEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "eventSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EventSummary]))))

newListTimelineEventsResponse Source #

Create a value of ListTimelineEventsResponse 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:nextToken:ListTimelineEvents', listTimelineEventsResponse_nextToken - The pagination token to continue to the next page of results.

$sel:httpStatus:ListTimelineEventsResponse', listTimelineEventsResponse_httpStatus - The response's http status code.

$sel:eventSummaries:ListTimelineEventsResponse', listTimelineEventsResponse_eventSummaries - Details about each event that occurred during the incident.

Response Lenses

listTimelineEventsResponse_nextToken :: Lens' ListTimelineEventsResponse (Maybe Text) Source #

The pagination token to continue to the next page of results.

listTimelineEventsResponse_eventSummaries :: Lens' ListTimelineEventsResponse [EventSummary] Source #

Details about each event that occurred during the incident.