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

Description

Lists all contact channels for the specified contact.

This operation returns paginated results.

Synopsis

Creating a Request

data ListContactChannels Source #

See: newListContactChannels smart constructor.

Constructors

ListContactChannels' 

Fields

Instances

Instances details
Eq ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Read ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Show ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Generic ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Associated Types

type Rep ListContactChannels :: Type -> Type #

NFData ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Methods

rnf :: ListContactChannels -> () #

Hashable ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

ToJSON ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

AWSPager ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

AWSRequest ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Associated Types

type AWSResponse ListContactChannels #

ToHeaders ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

ToPath ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

ToQuery ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

type Rep ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

type Rep ListContactChannels = D1 ('MetaData "ListContactChannels" "Amazonka.SSMContacts.ListContactChannels" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ListContactChannels'" '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 ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

newListContactChannels Source #

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

$sel:maxResults:ListContactChannels', listContactChannels_maxResults - The maximum number of contact channels per page.

$sel:contactId:ListContactChannels', listContactChannels_contactId - The Amazon Resource Name (ARN) of the contact.

Request Lenses

listContactChannels_nextToken :: Lens' ListContactChannels (Maybe Text) Source #

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

listContactChannels_maxResults :: Lens' ListContactChannels (Maybe Natural) Source #

The maximum number of contact channels per page.

listContactChannels_contactId :: Lens' ListContactChannels Text Source #

The Amazon Resource Name (ARN) of the contact.

Destructuring the Response

data ListContactChannelsResponse Source #

See: newListContactChannelsResponse smart constructor.

Constructors

ListContactChannelsResponse' 

Fields

Instances

Instances details
Eq ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Read ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Show ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Generic ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Associated Types

type Rep ListContactChannelsResponse :: Type -> Type #

NFData ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

type Rep ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

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

newListContactChannelsResponse Source #

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

$sel:httpStatus:ListContactChannelsResponse', listContactChannelsResponse_httpStatus - The response's http status code.

$sel:contactChannels:ListContactChannelsResponse', listContactChannelsResponse_contactChannels - A list of contact channels related to the specified contact.

Response Lenses

listContactChannelsResponse_nextToken :: Lens' ListContactChannelsResponse (Maybe Text) Source #

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

listContactChannelsResponse_contactChannels :: Lens' ListContactChannelsResponse [ContactChannel] Source #

A list of contact channels related to the specified contact.