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.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 # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Data GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

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

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Show GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Generic GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Associated Types

type Rep GetSubscriptionAttributes :: Type -> Type #

Hashable GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

AWSRequest GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Associated Types

type Rs GetSubscriptionAttributes :: Type #

ToHeaders GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

ToPath GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

ToQuery GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

NFData GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

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

Defined in Network.AWS.SNS.GetSubscriptionAttributes

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:

  • gsarsAttributes - 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
  • gsarsResponseStatus - -- | The response status code.

data GetSubscriptionAttributesResponse Source #

Response for GetSubscriptionAttributes action.

See: getSubscriptionAttributesResponse smart constructor.

Instances
Eq GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Data GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

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

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Show GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Generic GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

Associated Types

type Rep GetSubscriptionAttributesResponse :: Type -> Type #

NFData GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributesResponse = D1 (MetaData "GetSubscriptionAttributesResponse" "Network.AWS.SNS.GetSubscriptionAttributes" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "GetSubscriptionAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_gsarsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_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