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.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
ToJSON ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.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

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 #

Generic ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Associated Types

type Rep ListContactChannels :: Type -> Type #

Read ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Show ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

NFData ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Methods

rnf :: ListContactChannels -> () #

Eq ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Hashable ListContactChannels Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

type AWSResponse 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" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "ListContactChannels'" '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))))

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:maxResults:ListContactChannels', listContactChannels_maxResults - The maximum number of contact channels per page.

ListContactChannels, listContactChannels_nextToken - The pagination token to continue to the next page of results.

ListContactChannels, listContactChannels_contactId - The Amazon Resource Name (ARN) of the contact.

Request Lenses

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

The maximum number of contact channels per page.

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

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

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
Generic ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Associated Types

type Rep ListContactChannelsResponse :: Type -> Type #

Read ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Show ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

NFData ListContactChannelsResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.ListContactChannels

Eq 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" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" '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:

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.