amazonka-sns-1.4.3: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.ListPlatformApplications

Contents

Description

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.

Synopsis

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.

Instances

Eq ListPlatformApplications Source # 
Data ListPlatformApplications Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPlatformApplications -> c ListPlatformApplications #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPlatformApplications #

toConstr :: ListPlatformApplications -> Constr #

dataTypeOf :: ListPlatformApplications -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListPlatformApplications) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPlatformApplications) #

gmapT :: (forall b. Data b => b -> b) -> ListPlatformApplications -> ListPlatformApplications #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPlatformApplications -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPlatformApplications -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPlatformApplications -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPlatformApplications -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPlatformApplications -> m ListPlatformApplications #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPlatformApplications -> m ListPlatformApplications #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPlatformApplications -> m ListPlatformApplications #

Read ListPlatformApplications Source # 
Show ListPlatformApplications Source # 
Generic ListPlatformApplications Source # 
Hashable ListPlatformApplications Source # 
NFData ListPlatformApplications Source # 
AWSPager ListPlatformApplications Source # 
AWSRequest ListPlatformApplications Source # 
ToQuery ListPlatformApplications Source # 
ToPath ListPlatformApplications Source # 
ToHeaders ListPlatformApplications Source # 
type Rep ListPlatformApplications Source # 
type Rep ListPlatformApplications = D1 (MetaData "ListPlatformApplications" "Network.AWS.SNS.ListPlatformApplications" "amazonka-sns-1.4.3-7IcMkGXIxUZKWO48IHbGli" True) (C1 (MetaCons "ListPlatformApplications'" PrefixI True) (S1 (MetaSel (Just Symbol "_lpaNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListPlatformApplications Source # 

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.

Instances

Eq ListPlatformApplicationsResponse Source # 
Data ListPlatformApplicationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPlatformApplicationsResponse -> c ListPlatformApplicationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPlatformApplicationsResponse #

toConstr :: ListPlatformApplicationsResponse -> Constr #

dataTypeOf :: ListPlatformApplicationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListPlatformApplicationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPlatformApplicationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListPlatformApplicationsResponse -> ListPlatformApplicationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPlatformApplicationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPlatformApplicationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPlatformApplicationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPlatformApplicationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPlatformApplicationsResponse -> m ListPlatformApplicationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPlatformApplicationsResponse -> m ListPlatformApplicationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPlatformApplicationsResponse -> m ListPlatformApplicationsResponse #

Read ListPlatformApplicationsResponse Source # 
Show ListPlatformApplicationsResponse Source # 
Generic ListPlatformApplicationsResponse Source # 
NFData ListPlatformApplicationsResponse Source # 
type Rep ListPlatformApplicationsResponse Source # 
type Rep ListPlatformApplicationsResponse = D1 (MetaData "ListPlatformApplicationsResponse" "Network.AWS.SNS.ListPlatformApplications" "amazonka-sns-1.4.3-7IcMkGXIxUZKWO48IHbGli" False) (C1 (MetaCons "ListPlatformApplicationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lparsPlatformApplications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlatformApplication]))) ((:*:) (S1 (MetaSel (Just Symbol "_lparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.