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.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:

  • lebpaNextToken - NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.
  • lebpaPlatformApplicationARN - PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

data ListEndpointsByPlatformApplication Source #

Input for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplication smart constructor.

Instances
Eq ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Data ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Associated Types

type Rep ListEndpointsByPlatformApplication :: Type -> Type #

Hashable ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

AWSPager ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

AWSRequest ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

ToHeaders ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

ToPath ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

ToQuery ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

NFData ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication = D1 (MetaData "ListEndpointsByPlatformApplication" "Network.AWS.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "ListEndpointsByPlatformApplication'" PrefixI True) (S1 (MetaSel (Just "_lebpaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lebpaPlatformApplicationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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:

  • lebparsNextToken - NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.
  • lebparsEndpoints - Endpoints returned for ListEndpointsByPlatformApplication action.
  • lebparsResponseStatus - -- | The response status code.

data ListEndpointsByPlatformApplicationResponse Source #

Response for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplicationResponse smart constructor.

Instances
Eq ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Data ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

NFData ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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