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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

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

data ListPlatformApplications Source #

Input for ListPlatformApplications action.

See: listPlatformApplications smart constructor.

Instances
Eq ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Data ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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 # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Show ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Generic ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplications :: Type -> Type #

Hashable ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

AWSPager ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

AWSRequest ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rs ListPlatformApplications :: Type #

ToHeaders ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

ToPath ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

ToQuery ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

NFData ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplications = D1 (MetaData "ListPlatformApplications" "Network.AWS.SNS.ListPlatformApplications" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" True) (C1 (MetaCons "ListPlatformApplications'" PrefixI True) (S1 (MetaSel (Just "_lpaNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListPlatformApplications Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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:

  • lparsPlatformApplications - Platform applications returned when calling ListPlatformApplications action.
  • lparsNextToken - NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.
  • lparsResponseStatus - -- | The response status code.

data ListPlatformApplicationsResponse Source #

Response for ListPlatformApplications action.

See: listPlatformApplicationsResponse smart constructor.

Instances
Eq ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Data ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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 # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Show ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Generic ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplicationsResponse :: Type -> Type #

NFData ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse = D1 (MetaData "ListPlatformApplicationsResponse" "Network.AWS.SNS.ListPlatformApplications" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "ListPlatformApplicationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lparsPlatformApplications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlatformApplication])) :*: (S1 (MetaSel (Just "_lparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.