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 #

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 #

Input for GetPlatformApplicationAttributes action.

See: getPlatformApplicationAttributes smart constructor.

Instances

Eq GetPlatformApplicationAttributes # 
Data GetPlatformApplicationAttributes # 

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 # 
Show GetPlatformApplicationAttributes # 
Generic GetPlatformApplicationAttributes # 
Hashable GetPlatformApplicationAttributes # 
NFData GetPlatformApplicationAttributes # 
AWSRequest GetPlatformApplicationAttributes # 
ToQuery GetPlatformApplicationAttributes # 
ToPath GetPlatformApplicationAttributes # 
ToHeaders GetPlatformApplicationAttributes # 
type Rep GetPlatformApplicationAttributes # 
type Rep GetPlatformApplicationAttributes = D1 (MetaData "GetPlatformApplicationAttributes" "Network.AWS.SNS.GetPlatformApplicationAttributes" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" True) (C1 (MetaCons "GetPlatformApplicationAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_gpaaPlatformApplicationARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetPlatformApplicationAttributes # 

Request Lenses

gpaaPlatformApplicationARN :: Lens' GetPlatformApplicationAttributes Text #

PlatformApplicationArn for GetPlatformApplicationAttributesInput.

Destructuring the Response

getPlatformApplicationAttributesResponse #

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 #

Response for GetPlatformApplicationAttributes action.

See: getPlatformApplicationAttributesResponse smart constructor.

Instances

Eq GetPlatformApplicationAttributesResponse # 
Data GetPlatformApplicationAttributesResponse # 

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 # 
Show GetPlatformApplicationAttributesResponse # 
Generic GetPlatformApplicationAttributesResponse # 
NFData GetPlatformApplicationAttributesResponse # 
type Rep GetPlatformApplicationAttributesResponse # 
type Rep GetPlatformApplicationAttributesResponse = D1 (MetaData "GetPlatformApplicationAttributesResponse" "Network.AWS.SNS.GetPlatformApplicationAttributes" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" 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) #

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.