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

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

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

  • contactId :: Text

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

Instances

Instances details
Eq ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Read ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Show ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Generic ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Associated Types

type Rep ListPagesByContact :: Type -> Type #

NFData ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Methods

rnf :: ListPagesByContact -> () #

Hashable ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

ToJSON 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 #

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

type Rep ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

type Rep ListPagesByContact = D1 ('MetaData "ListPagesByContact" "Amazonka.SSMContacts.ListPagesByContact" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListPagesByContact'" '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 "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPagesByContact Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

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:nextToken:ListPagesByContact', listPagesByContact_nextToken - The pagination token to continue to the next page of results.

$sel:maxResults:ListPagesByContact', listPagesByContact_maxResults - The maximum number of engagements to contact channels to list per page of results.

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

Request Lenses

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

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

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

The maximum number of engagements to contact channels to list per 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
Eq ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Read ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Show ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Generic ListPagesByContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListPagesByContact

Associated Types

type Rep ListPagesByContactResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" '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:

$sel:nextToken: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.