libZSservicesZSamazonka-snsZSamazonka-sns
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.SNS.ListPlatformApplications

Description

Lists the platform application objects for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). The results for ListPlatformApplications are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ListPlatformApplications using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see Using Amazon SNS Mobile Push Notifications.

This action is throttled at 15 transactions per second (TPS).

This operation returns paginated results.

Synopsis

Creating a Request

data ListPlatformApplications Source #

Input for ListPlatformApplications action.

See: newListPlatformApplications smart constructor.

Constructors

ListPlatformApplications' 

Fields

  • nextToken :: Maybe Text

    NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

Instances

Instances details
Eq ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Read ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Generic ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplications :: Type -> Type #

NFData ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Hashable ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

AWSPager ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

AWSRequest ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToHeaders ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToPath ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToQuery ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplications = D1 ('MetaData "ListPlatformApplications" "Amazonka.SNS.ListPlatformApplications" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPlatformApplications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

newListPlatformApplications :: ListPlatformApplications Source #

Create a value of ListPlatformApplications 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:ListPlatformApplications', listPlatformApplications_nextToken - NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

Request Lenses

listPlatformApplications_nextToken :: Lens' ListPlatformApplications (Maybe Text) Source #

NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

Destructuring the Response

data ListPlatformApplicationsResponse Source #

Response for ListPlatformApplications action.

See: newListPlatformApplicationsResponse smart constructor.

Constructors

ListPlatformApplicationsResponse' 

Fields

Instances

Instances details
Eq ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Read ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Generic ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplicationsResponse :: Type -> Type #

NFData ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse = D1 ('MetaData "ListPlatformApplicationsResponse" "Amazonka.SNS.ListPlatformApplications" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPlatformApplicationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlatformApplication])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPlatformApplicationsResponse Source #

Create a value of ListPlatformApplicationsResponse 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:platformApplications:ListPlatformApplicationsResponse', listPlatformApplicationsResponse_platformApplications - Platform applications returned when calling ListPlatformApplications action.

$sel:nextToken:ListPlatformApplications', listPlatformApplicationsResponse_nextToken - NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.

$sel:httpStatus:ListPlatformApplicationsResponse', listPlatformApplicationsResponse_httpStatus - The response's http status code.

Response Lenses

listPlatformApplicationsResponse_platformApplications :: Lens' ListPlatformApplicationsResponse (Maybe [PlatformApplication]) Source #

Platform applications returned when calling ListPlatformApplications action.

listPlatformApplicationsResponse_nextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) Source #

NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.