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

Contents

Description

Allows a subscription owner to set an attribute of the topic to a new value.

Synopsis

Creating a Request

setSubscriptionAttributes #

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

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

  • ssaAttributeValue - The new value for the attribute in JSON format.
  • ssaSubscriptionARN - The ARN of the subscription to modify.
  • ssaAttributeName - The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable. Valid values: DeliveryPolicy | RawMessageDelivery

data SetSubscriptionAttributes #

Input for SetSubscriptionAttributes action.

See: setSubscriptionAttributes smart constructor.

Instances

Eq SetSubscriptionAttributes # 
Data SetSubscriptionAttributes # 

Methods

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

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

toConstr :: SetSubscriptionAttributes -> Constr #

dataTypeOf :: SetSubscriptionAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSubscriptionAttributes # 
Show SetSubscriptionAttributes # 
Generic SetSubscriptionAttributes # 
Hashable SetSubscriptionAttributes # 
NFData SetSubscriptionAttributes # 
AWSRequest SetSubscriptionAttributes # 
ToQuery SetSubscriptionAttributes # 
ToPath SetSubscriptionAttributes # 
ToHeaders SetSubscriptionAttributes # 
type Rep SetSubscriptionAttributes # 
type Rep SetSubscriptionAttributes = D1 (MetaData "SetSubscriptionAttributes" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" False) (C1 (MetaCons "SetSubscriptionAttributes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssaAttributeValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ssaSubscriptionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ssaAttributeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs SetSubscriptionAttributes # 

Request Lenses

ssaAttributeValue :: Lens' SetSubscriptionAttributes (Maybe Text) #

The new value for the attribute in JSON format.

ssaSubscriptionARN :: Lens' SetSubscriptionAttributes Text #

The ARN of the subscription to modify.

ssaAttributeName :: Lens' SetSubscriptionAttributes Text #

The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable. Valid values: DeliveryPolicy | RawMessageDelivery

Destructuring the Response

setSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse #

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

data SetSubscriptionAttributesResponse #

See: setSubscriptionAttributesResponse smart constructor.

Instances

Eq SetSubscriptionAttributesResponse # 
Data SetSubscriptionAttributesResponse # 

Methods

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

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

toConstr :: SetSubscriptionAttributesResponse -> Constr #

dataTypeOf :: SetSubscriptionAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetSubscriptionAttributesResponse # 
Show SetSubscriptionAttributesResponse # 
Generic SetSubscriptionAttributesResponse # 
NFData SetSubscriptionAttributesResponse # 
type Rep SetSubscriptionAttributesResponse # 
type Rep SetSubscriptionAttributesResponse = D1 (MetaData "SetSubscriptionAttributesResponse" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" False) (C1 (MetaCons "SetSubscriptionAttributesResponse'" PrefixI False) U1)