amazonka-sns-1.4.3: 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.GetSubscriptionAttributes

Contents

Description

Returns all of the properties of a subscription.

Synopsis

Creating a Request

getSubscriptionAttributes Source #

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

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

data GetSubscriptionAttributes Source #

Input for GetSubscriptionAttributes.

See: getSubscriptionAttributes smart constructor.

Instances

Eq GetSubscriptionAttributes Source # 
Data GetSubscriptionAttributes Source # 

Methods

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

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

toConstr :: GetSubscriptionAttributes -> Constr #

dataTypeOf :: GetSubscriptionAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

gsaSubscriptionARN :: Lens' GetSubscriptionAttributes Text Source #

The ARN of the subscription whose properties you want to get.

Destructuring the Response

getSubscriptionAttributesResponse Source #

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

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

data GetSubscriptionAttributesResponse Source #

Response for GetSubscriptionAttributes action.

See: getSubscriptionAttributesResponse smart constructor.

Instances

Eq GetSubscriptionAttributesResponse Source # 
Data GetSubscriptionAttributesResponse Source # 

Methods

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

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

toConstr :: GetSubscriptionAttributesResponse -> Constr #

dataTypeOf :: GetSubscriptionAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSubscriptionAttributesResponse Source # 
Show GetSubscriptionAttributesResponse Source # 
Generic GetSubscriptionAttributesResponse Source # 
NFData GetSubscriptionAttributesResponse Source # 
type Rep GetSubscriptionAttributesResponse Source # 
type Rep GetSubscriptionAttributesResponse = D1 (MetaData "GetSubscriptionAttributesResponse" "Network.AWS.SNS.GetSubscriptionAttributes" "amazonka-sns-1.4.3-7IcMkGXIxUZKWO48IHbGli" False) (C1 (MetaCons "GetSubscriptionAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsarsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_gsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gsarsAttributes :: Lens' GetSubscriptionAttributesResponse (HashMap Text Text) Source #

A map of the subscription's attributes. Attributes in this map include the following:

  • SubscriptionArn -- the subscription's ARN
  • TopicArn -- the topic ARN that the subscription is associated with
  • Owner -- the AWS account ID of the subscription's owner
  • ConfirmationWasAuthenticated -- true if the subscription confirmation request was authenticated
  • DeliveryPolicy -- the JSON serialization of the subscription's delivery policy
  • EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults