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

Contents

Description

Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. For more information, see Using Amazon SNS Mobile Push Notifications .

Synopsis

Creating a Request

getEndpointAttributes Source #

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

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

data GetEndpointAttributes Source #

Input for GetEndpointAttributes action.

See: getEndpointAttributes smart constructor.

Instances
Eq GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Data GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Methods

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

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

toConstr :: GetEndpointAttributes -> Constr #

dataTypeOf :: GetEndpointAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Show GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Generic GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Associated Types

type Rep GetEndpointAttributes :: Type -> Type #

Hashable GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

AWSRequest GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Associated Types

type Rs GetEndpointAttributes :: Type #

ToHeaders GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

ToPath GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

ToQuery GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

NFData GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Methods

rnf :: GetEndpointAttributes -> () #

type Rep GetEndpointAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

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

Defined in Network.AWS.SNS.GetEndpointAttributes

Request Lenses

geaEndpointARN :: Lens' GetEndpointAttributes Text Source #

EndpointArn for GetEndpointAttributes input.

Destructuring the Response

getEndpointAttributesResponse Source #

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

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

  • gearsAttributes - Attributes include the following: * CustomUserData -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. * Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. * Token -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.
  • gearsResponseStatus - -- | The response status code.

data GetEndpointAttributesResponse Source #

Response from GetEndpointAttributes of the EndpointArn.

See: getEndpointAttributesResponse smart constructor.

Instances
Eq GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Data GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Methods

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

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

toConstr :: GetEndpointAttributesResponse -> Constr #

dataTypeOf :: GetEndpointAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Show GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Generic GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

Associated Types

type Rep GetEndpointAttributesResponse :: Type -> Type #

NFData GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

type Rep GetEndpointAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetEndpointAttributes

type Rep GetEndpointAttributesResponse = D1 (MetaData "GetEndpointAttributesResponse" "Network.AWS.SNS.GetEndpointAttributes" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "GetEndpointAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_gearsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_gearsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gearsAttributes :: Lens' GetEndpointAttributesResponse (HashMap Text Text) Source #

Attributes include the following: * CustomUserData -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. * Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. * Token -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.