amazonka-sns-1.6.0: 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.SetSubscriptionAttributes

Contents

Description

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

Synopsis

Creating a Request

setSubscriptionAttributes Source #

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 Source #

Input for SetSubscriptionAttributes action.

See: setSubscriptionAttributes smart constructor.

Instances

Eq SetSubscriptionAttributes Source # 
Data SetSubscriptionAttributes Source # 

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 Source # 
Show SetSubscriptionAttributes Source # 
Generic SetSubscriptionAttributes Source # 
Hashable SetSubscriptionAttributes Source # 
NFData SetSubscriptionAttributes Source # 
AWSRequest SetSubscriptionAttributes Source # 
ToHeaders SetSubscriptionAttributes Source # 
ToPath SetSubscriptionAttributes Source # 
ToQuery SetSubscriptionAttributes Source # 
type Rep SetSubscriptionAttributes Source # 
type Rep SetSubscriptionAttributes = D1 * (MetaData "SetSubscriptionAttributes" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.6.0-9aFI2fxVFLPtYIjs5ltfP" 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 Source # 

Request Lenses

ssaAttributeValue :: Lens' SetSubscriptionAttributes (Maybe Text) Source #

The new value for the attribute in JSON format.

ssaSubscriptionARN :: Lens' SetSubscriptionAttributes Text Source #

The ARN of the subscription to modify.

ssaAttributeName :: Lens' SetSubscriptionAttributes Text Source #

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 Source #

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

data SetSubscriptionAttributesResponse Source #

See: setSubscriptionAttributesResponse smart constructor.

Instances

Eq SetSubscriptionAttributesResponse Source # 
Data SetSubscriptionAttributesResponse Source # 

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 Source # 
Show SetSubscriptionAttributesResponse Source # 
Generic SetSubscriptionAttributesResponse Source # 
NFData SetSubscriptionAttributesResponse Source # 
type Rep SetSubscriptionAttributesResponse Source # 
type Rep SetSubscriptionAttributesResponse = D1 * (MetaData "SetSubscriptionAttributesResponse" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.6.0-9aFI2fxVFLPtYIjs5ltfP" False) (C1 * (MetaCons "SetSubscriptionAttributesResponse'" PrefixI False) (U1 *))