amazonka-sns-1.4.5: 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.GetPlatformApplicationAttributes

Contents

Description

Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications .

Synopsis

Creating a Request

getPlatformApplicationAttributes Source #

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

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

data GetPlatformApplicationAttributes Source #

Input for GetPlatformApplicationAttributes action.

See: getPlatformApplicationAttributes smart constructor.

Instances

Eq GetPlatformApplicationAttributes Source # 
Data GetPlatformApplicationAttributes Source # 

Methods

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

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

toConstr :: GetPlatformApplicationAttributes -> Constr #

dataTypeOf :: GetPlatformApplicationAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPlatformApplicationAttributes Source # 
Show GetPlatformApplicationAttributes Source # 
Generic GetPlatformApplicationAttributes Source # 
Hashable GetPlatformApplicationAttributes Source # 
NFData GetPlatformApplicationAttributes Source # 
AWSRequest GetPlatformApplicationAttributes Source # 
ToPath GetPlatformApplicationAttributes Source # 
ToHeaders GetPlatformApplicationAttributes Source # 
ToQuery GetPlatformApplicationAttributes Source # 
type Rep GetPlatformApplicationAttributes Source # 
type Rep GetPlatformApplicationAttributes = D1 (MetaData "GetPlatformApplicationAttributes" "Network.AWS.SNS.GetPlatformApplicationAttributes" "amazonka-sns-1.4.5-7z1IKGgp5pQiBwmhfc0Yz" True) (C1 (MetaCons "GetPlatformApplicationAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_gpaaPlatformApplicationARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetPlatformApplicationAttributes Source # 

Request Lenses

gpaaPlatformApplicationARN :: Lens' GetPlatformApplicationAttributes Text Source #

PlatformApplicationArn for GetPlatformApplicationAttributesInput.

Destructuring the Response

getPlatformApplicationAttributesResponse Source #

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

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

  • gpaarsAttributes - Attributes include the following: * EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications should be sent. * EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications should be sent. * EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications should be sent. * EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
  • gpaarsResponseStatus - -- | The response status code.

data GetPlatformApplicationAttributesResponse Source #

Response for GetPlatformApplicationAttributes action.

See: getPlatformApplicationAttributesResponse smart constructor.

Instances

Eq GetPlatformApplicationAttributesResponse Source # 
Data GetPlatformApplicationAttributesResponse Source # 

Methods

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

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

toConstr :: GetPlatformApplicationAttributesResponse -> Constr #

dataTypeOf :: GetPlatformApplicationAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPlatformApplicationAttributesResponse Source # 
Show GetPlatformApplicationAttributesResponse Source # 
Generic GetPlatformApplicationAttributesResponse Source # 
NFData GetPlatformApplicationAttributesResponse Source # 
type Rep GetPlatformApplicationAttributesResponse Source # 
type Rep GetPlatformApplicationAttributesResponse = D1 (MetaData "GetPlatformApplicationAttributesResponse" "Network.AWS.SNS.GetPlatformApplicationAttributes" "amazonka-sns-1.4.5-7z1IKGgp5pQiBwmhfc0Yz" False) (C1 (MetaCons "GetPlatformApplicationAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gpaarsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_gpaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gpaarsAttributes :: Lens' GetPlatformApplicationAttributesResponse (HashMap Text Text) Source #

Attributes include the following: * EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications should be sent. * EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications should be sent. * EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications should be sent. * EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.