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

Description

List all related items for an incident record.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRelatedItems Source #

See: newListRelatedItems smart constructor.

Constructors

ListRelatedItems' 

Fields

Instances

Instances details
Eq ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Read ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Show ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Generic ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Associated Types

type Rep ListRelatedItems :: Type -> Type #

NFData ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Methods

rnf :: ListRelatedItems -> () #

Hashable ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

ToJSON ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

AWSPager ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

AWSRequest ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Associated Types

type AWSResponse ListRelatedItems #

ToHeaders ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

ToPath ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

ToQuery ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

type Rep ListRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

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

Defined in Amazonka.SSMIncidents.ListRelatedItems

newListRelatedItems Source #

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

$sel:maxResults:ListRelatedItems', listRelatedItems_maxResults - The maximum number of related items per page.

$sel:incidentRecordArn:ListRelatedItems', listRelatedItems_incidentRecordArn - The Amazon Resource Name (ARN) of the incident record that you are listing related items for.

Request Lenses

listRelatedItems_nextToken :: Lens' ListRelatedItems (Maybe Text) Source #

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

listRelatedItems_maxResults :: Lens' ListRelatedItems (Maybe Natural) Source #

The maximum number of related items per page.

listRelatedItems_incidentRecordArn :: Lens' ListRelatedItems Text Source #

The Amazon Resource Name (ARN) of the incident record that you are listing related items for.

Destructuring the Response

data ListRelatedItemsResponse Source #

See: newListRelatedItemsResponse smart constructor.

Constructors

ListRelatedItemsResponse' 

Fields

Instances

Instances details
Eq ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Read ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Show ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Generic ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

Associated Types

type Rep ListRelatedItemsResponse :: Type -> Type #

NFData ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

type Rep ListRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.ListRelatedItems

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

newListRelatedItemsResponse Source #

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

$sel:httpStatus:ListRelatedItemsResponse', listRelatedItemsResponse_httpStatus - The response's http status code.

$sel:relatedItems:ListRelatedItemsResponse', listRelatedItemsResponse_relatedItems - Details about each related item.

Response Lenses

listRelatedItemsResponse_nextToken :: Lens' ListRelatedItemsResponse (Maybe Text) Source #

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