amazonka-sns-2.0: Amazon Simple Notification Service 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.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
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

AWSPager ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

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

Read ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

NFData ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Eq ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Hashable ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type AWSResponse 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" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" 'False) (C1 ('MetaCons "ListPlatformApplications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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

Defined in Amazonka.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplicationsResponse :: Type -> Type #

Read ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

NFData ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Eq 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" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" 'False) (C1 ('MetaCons "ListPlatformApplicationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platformApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlatformApplication])) :*: 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:

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

$sel:platformApplications:ListPlatformApplicationsResponse', listPlatformApplicationsResponse_platformApplications - Platform applications returned when calling ListPlatformApplications action.

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

Response Lenses

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.

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

Platform applications returned when calling ListPlatformApplications action.