amazonka-ssm-contacts-2.0: Amazon Systems Manager Incident Manager Contacts SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSMContacts.ListPagesByContact

Description

Lists the engagements to a contact's contact channels.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPagesByContact Source #

See: newListPagesByContact smart constructor.

Constructors

ListPagesByContact' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of engagements to contact channels to list per page of results.

  • nextToken :: Maybe Text

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

  • contactId :: Text

    The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.

Instances

Instances details
ToJSON ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

ToHeaders ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

ToPath ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

ToQuery ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

AWSPager ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

AWSRequest ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Associated Types

type AWSResponse ListPagesByContact #

Generic ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Associated Types

type Rep ListPagesByContact :: Type -> Type #

Read ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Show ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

NFData ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Methods

rnf :: ListPagesByContact -> () #

Eq ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Hashable ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type AWSResponse ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type Rep ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type Rep ListPagesByContact = D1 ('MetaData "ListPagesByContact" "Amazonka.SSMContacts.ListPagesByContact" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "ListPagesByContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListPagesByContact Source #

Create a value of ListPagesByContact 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:maxResults:ListPagesByContact', listPagesByContact_maxResults - The maximum number of engagements to contact channels to list per page of results.

ListPagesByContact, listPagesByContact_nextToken - The pagination token to continue to the next page of results.

ListPagesByContact, listPagesByContact_contactId - The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.

Request Lenses

listPagesByContact_maxResults :: Lens' ListPagesByContact (Maybe Natural) Source #

The maximum number of engagements to contact channels to list per page of results.

listPagesByContact_nextToken :: Lens' ListPagesByContact (Maybe Text) Source #

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

listPagesByContact_contactId :: Lens' ListPagesByContact Text Source #

The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.

Destructuring the Response

data ListPagesByContactResponse Source #

See: newListPagesByContactResponse smart constructor.

Constructors

ListPagesByContactResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • pages :: [Page]

    The list of engagements to a contact's contact channel.

Instances

Instances details
Generic ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Associated Types

type Rep ListPagesByContactResponse :: Type -> Type #

Read ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Show ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

NFData ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Eq ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type Rep ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type Rep ListPagesByContactResponse = D1 ('MetaData "ListPagesByContactResponse" "Amazonka.SSMContacts.ListPagesByContact" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "ListPagesByContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Page]))))

newListPagesByContactResponse Source #

Create a value of ListPagesByContactResponse 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:

ListPagesByContact, listPagesByContactResponse_nextToken - The pagination token to continue to the next page of results.

$sel:httpStatus:ListPagesByContactResponse', listPagesByContactResponse_httpStatus - The response's http status code.

$sel:pages:ListPagesByContactResponse', listPagesByContactResponse_pages - The list of engagements to a contact's contact channel.

Response Lenses

listPagesByContactResponse_nextToken :: Lens' ListPagesByContactResponse (Maybe Text) Source #

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

listPagesByContactResponse_pages :: Lens' ListPagesByContactResponse [Page] Source #

The list of engagements to a contact's contact channel.