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

Description

Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.

This operation returns paginated results.

Synopsis

Creating a Request

data ListIncidentRecords Source #

See: newListIncidentRecords smart constructor.

Constructors

ListIncidentRecords' 

Fields

  • filters :: Maybe [Filter]

    Filter the list of incident records you are searching through. You can filter on the following keys:

    • creationTime
    • impact
    • status
    • createdBy
  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of results per page.

Instances

Instances details
Eq ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Read ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Show ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Generic ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Associated Types

type Rep ListIncidentRecords :: Type -> Type #

NFData ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Methods

rnf :: ListIncidentRecords -> () #

Hashable ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

ToJSON ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

AWSPager ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

AWSRequest ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Associated Types

type AWSResponse ListIncidentRecords #

ToHeaders ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

ToPath ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

ToQuery ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

type Rep ListIncidentRecords Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

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

Defined in Amazonka.SSMIncidents.ListIncidentRecords

newListIncidentRecords :: ListIncidentRecords Source #

Create a value of ListIncidentRecords 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:ListIncidentRecords', listIncidentRecords_filters - Filter the list of incident records you are searching through. You can filter on the following keys:

  • creationTime
  • impact
  • status
  • createdBy

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

$sel:maxResults:ListIncidentRecords', listIncidentRecords_maxResults - The maximum number of results per page.

Request Lenses

listIncidentRecords_filters :: Lens' ListIncidentRecords (Maybe [Filter]) Source #

Filter the list of incident records you are searching through. You can filter on the following keys:

  • creationTime
  • impact
  • status
  • createdBy

listIncidentRecords_nextToken :: Lens' ListIncidentRecords (Maybe Text) Source #

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

listIncidentRecords_maxResults :: Lens' ListIncidentRecords (Maybe Natural) Source #

The maximum number of results per page.

Destructuring the Response

data ListIncidentRecordsResponse Source #

See: newListIncidentRecordsResponse smart constructor.

Constructors

ListIncidentRecordsResponse' 

Fields

Instances

Instances details
Eq ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Read ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Show ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Generic ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

Associated Types

type Rep ListIncidentRecordsResponse :: Type -> Type #

NFData ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

type Rep ListIncidentRecordsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListIncidentRecords

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

newListIncidentRecordsResponse Source #

Create a value of ListIncidentRecordsResponse 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:ListIncidentRecords', listIncidentRecordsResponse_nextToken - The pagination token to continue to the next page of results.

$sel:httpStatus:ListIncidentRecordsResponse', listIncidentRecordsResponse_httpStatus - The response's http status code.

$sel:incidentRecordSummaries:ListIncidentRecordsResponse', listIncidentRecordsResponse_incidentRecordSummaries - The details of each listed incident record.

Response Lenses

listIncidentRecordsResponse_nextToken :: Lens' ListIncidentRecordsResponse (Maybe Text) Source #

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