amazonka-sns-1.4.2: 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.ListEndpointsByPlatformApplication

Contents

Description

Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for ListEndpointsByPlatformApplication are paginated and return a limited list of endpoints, 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 ListEndpointsByPlatformApplication again 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

listEndpointsByPlatformApplication Source #

Creates a value of ListEndpointsByPlatformApplication with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListEndpointsByPlatformApplication Source #

Input for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplication smart constructor.

Instances

Eq ListEndpointsByPlatformApplication Source # 
Data ListEndpointsByPlatformApplication Source # 

Methods

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

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

toConstr :: ListEndpointsByPlatformApplication -> Constr #

dataTypeOf :: ListEndpointsByPlatformApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEndpointsByPlatformApplication Source # 
Show ListEndpointsByPlatformApplication Source # 
Generic ListEndpointsByPlatformApplication Source # 
Hashable ListEndpointsByPlatformApplication Source # 
NFData ListEndpointsByPlatformApplication Source # 
AWSPager ListEndpointsByPlatformApplication Source # 
AWSRequest ListEndpointsByPlatformApplication Source # 
ToPath ListEndpointsByPlatformApplication Source # 
ToHeaders ListEndpointsByPlatformApplication Source # 
ToQuery ListEndpointsByPlatformApplication Source # 
type Rep ListEndpointsByPlatformApplication Source # 
type Rep ListEndpointsByPlatformApplication = D1 (MetaData "ListEndpointsByPlatformApplication" "Network.AWS.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-1.4.2-A3Nk9Q4F36AEpOtIgXp4xy" False) (C1 (MetaCons "ListEndpointsByPlatformApplication'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lebpaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lebpaPlatformApplicationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListEndpointsByPlatformApplication Source # 

Request Lenses

lebpaNextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text) Source #

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

lebpaPlatformApplicationARN :: Lens' ListEndpointsByPlatformApplication Text Source #

PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Destructuring the Response

listEndpointsByPlatformApplicationResponse Source #

Creates a value of ListEndpointsByPlatformApplicationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListEndpointsByPlatformApplicationResponse Source #

Response for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplicationResponse smart constructor.

Instances

Eq ListEndpointsByPlatformApplicationResponse Source # 
Data ListEndpointsByPlatformApplicationResponse Source # 

Methods

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

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

toConstr :: ListEndpointsByPlatformApplicationResponse -> Constr #

dataTypeOf :: ListEndpointsByPlatformApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListEndpointsByPlatformApplicationResponse Source # 
Show ListEndpointsByPlatformApplicationResponse Source # 
Generic ListEndpointsByPlatformApplicationResponse Source # 
NFData ListEndpointsByPlatformApplicationResponse Source # 
type Rep ListEndpointsByPlatformApplicationResponse Source # 
type Rep ListEndpointsByPlatformApplicationResponse = D1 (MetaData "ListEndpointsByPlatformApplicationResponse" "Network.AWS.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-1.4.2-A3Nk9Q4F36AEpOtIgXp4xy" False) (C1 (MetaCons "ListEndpointsByPlatformApplicationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lebparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lebparsEndpoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Endpoint]))) (S1 (MetaSel (Just Symbol "_lebparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lebparsNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) Source #

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

lebparsEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint] Source #

Endpoints returned for ListEndpointsByPlatformApplication action.