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 #

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 #

Input for ListPlatformApplications action.

See: listPlatformApplications smart constructor.

Instances
Eq ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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

Defined in Network.AWS.SNS.ListPlatformApplications

Show ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Generic ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplications :: Type -> Type #

Hashable ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

AWSPager ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

AWSRequest ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rs ListPlatformApplications :: Type #

ToHeaders ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

ToPath ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

ToQuery ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

NFData ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplications # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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

Defined in Network.AWS.SNS.ListPlatformApplications

Request Lenses

lpaNextToken :: Lens' ListPlatformApplications (Maybe Text) #

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

Destructuring the Response

listPlatformApplicationsResponse #

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 #

Response for ListPlatformApplications action.

See: listPlatformApplicationsResponse smart constructor.

Instances
Eq ListPlatformApplicationsResponse # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

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

Defined in Network.AWS.SNS.ListPlatformApplications

Show ListPlatformApplicationsResponse # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Generic ListPlatformApplicationsResponse # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplicationsResponse :: Type -> Type #

NFData ListPlatformApplicationsResponse # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse # 
Instance details

Defined in Network.AWS.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse = D1 (MetaData "ListPlatformApplicationsResponse" "Network.AWS.SNS.ListPlatformApplications" "amazonka-sns-1.6.1-ClbZCoQoyeDLbONFuRPKSd" 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] #

Platform applications returned when calling ListPlatformApplications action.

lparsNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) #

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