Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the platform application objects for the supported push
notification services, such as APNS and GCM. 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 operation returns paginated results.
- listPlatformApplications :: ListPlatformApplications
- data ListPlatformApplications
- lpaNextToken :: Lens' ListPlatformApplications (Maybe Text)
- listPlatformApplicationsResponse :: Int -> ListPlatformApplicationsResponse
- data ListPlatformApplicationsResponse
- lparsPlatformApplications :: Lens' ListPlatformApplicationsResponse [PlatformApplication]
- lparsNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text)
- lparsResponseStatus :: Lens' ListPlatformApplicationsResponse Int
Creating a Request
listPlatformApplications :: ListPlatformApplications Source
Creates a value of ListPlatformApplications
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPlatformApplications Source
Input for ListPlatformApplications action.
See: listPlatformApplications
smart constructor.
Request Lenses
lpaNextToken :: 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
listPlatformApplicationsResponse Source
Creates a value of ListPlatformApplicationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPlatformApplicationsResponse Source
Response for ListPlatformApplications action.
See: listPlatformApplicationsResponse
smart constructor.
Response Lenses
lparsPlatformApplications :: Lens' ListPlatformApplicationsResponse [PlatformApplication] Source
Platform applications returned when calling ListPlatformApplications action.
lparsNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) Source
NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.
lparsResponseStatus :: Lens' ListPlatformApplicationsResponse Int Source
The response status code.