amazonka-sns-1.6.0: 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 #

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 #

Input for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplication smart constructor.

Instances
Eq ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Associated Types

type Rep ListEndpointsByPlatformApplication :: * -> * #

Hashable ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

AWSPager ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

AWSRequest ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Associated Types

type Rs ListEndpointsByPlatformApplication :: * #

ToHeaders ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

ToPath ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

ToQuery ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

NFData ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication = D1 (MetaData "ListEndpointsByPlatformApplication" "Network.AWS.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-1.6.0-4KmFlWnxAtgIojUogULZDz" 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 # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Request Lenses

lebpaNextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text) #

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

lebpaPlatformApplicationARN :: Lens' ListEndpointsByPlatformApplication Text #

PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

Destructuring the Response

listEndpointsByPlatformApplicationResponse #

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 #

Response for ListEndpointsByPlatformApplication action.

See: listEndpointsByPlatformApplicationResponse smart constructor.

Instances
Eq ListEndpointsByPlatformApplicationResponse # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

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

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplicationResponse # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplicationResponse # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

NFData ListEndpointsByPlatformApplicationResponse # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplicationResponse # 
Instance details

Defined in Network.AWS.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplicationResponse = D1 (MetaData "ListEndpointsByPlatformApplicationResponse" "Network.AWS.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-1.6.0-4KmFlWnxAtgIojUogULZDz" 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) #

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

lebparsEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint] #

Endpoints returned for ListEndpointsByPlatformApplication action.