libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.ListEngagements

Description

Lists all engagements that have happened in an incident.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEngagements Source #

See: newListEngagements smart constructor.

Constructors

ListEngagements' 

Fields

Instances

Instances details
Eq ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Read ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Show ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Generic ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Associated Types

type Rep ListEngagements :: Type -> Type #

NFData ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Methods

rnf :: ListEngagements -> () #

Hashable ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

ToJSON ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

AWSPager ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

AWSRequest ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Associated Types

type AWSResponse ListEngagements #

ToHeaders ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

ToPath ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

ToQuery ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

type Rep ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

type Rep ListEngagements = D1 ('MetaData "ListEngagements" "Amazonka.SSMContacts.ListEngagements" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListEngagements'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timeRangeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeRange)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "incidentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListEngagements Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

newListEngagements :: ListEngagements Source #

Create a value of ListEngagements 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:timeRangeValue:ListEngagements', listEngagements_timeRangeValue - The time range to lists engagements for an incident.

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

$sel:incidentId:ListEngagements', listEngagements_incidentId - The Amazon Resource Name (ARN) of the incident you're listing engagements for.

$sel:maxResults:ListEngagements', listEngagements_maxResults - The maximum number of engagements per page of results.

Request Lenses

listEngagements_timeRangeValue :: Lens' ListEngagements (Maybe TimeRange) Source #

The time range to lists engagements for an incident.

listEngagements_nextToken :: Lens' ListEngagements (Maybe Text) Source #

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

listEngagements_incidentId :: Lens' ListEngagements (Maybe Text) Source #

The Amazon Resource Name (ARN) of the incident you're listing engagements for.

listEngagements_maxResults :: Lens' ListEngagements (Maybe Natural) Source #

The maximum number of engagements per page of results.

Destructuring the Response

data ListEngagementsResponse Source #

See: newListEngagementsResponse smart constructor.

Constructors

ListEngagementsResponse' 

Fields

Instances

Instances details
Eq ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Read ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Show ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Generic ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Associated Types

type Rep ListEngagementsResponse :: Type -> Type #

NFData ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

Methods

rnf :: ListEngagementsResponse -> () #

type Rep ListEngagementsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListEngagements

type Rep ListEngagementsResponse = D1 ('MetaData "ListEngagementsResponse" "Amazonka.SSMContacts.ListEngagements" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListEngagementsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "engagements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Engagement]))))

newListEngagementsResponse Source #

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

$sel:httpStatus:ListEngagementsResponse', listEngagementsResponse_httpStatus - The response's http status code.

$sel:engagements:ListEngagementsResponse', listEngagementsResponse_engagements - A list of each engagement that occurred during the specified time range of an incident.

Response Lenses

listEngagementsResponse_nextToken :: Lens' ListEngagementsResponse (Maybe Text) Source #

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

listEngagementsResponse_engagements :: Lens' ListEngagementsResponse [Engagement] Source #

A list of each engagement that occurred during the specified time range of an incident.