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

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Data SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.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 Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Show SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Generic SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Associated Types

type Rep SetSubscriptionAttributes :: Type -> Type #

Hashable SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

AWSRequest SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Associated Types

type Rs SetSubscriptionAttributes :: Type #

ToHeaders SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

ToPath SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

ToQuery SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

NFData SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributes = D1 (MetaData "SetSubscriptionAttributes" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "SetSubscriptionAttributes'" PrefixI True) (S1 (MetaSel (Just "_ssaAttributeValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ssaSubscriptionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssaAttributeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SetSubscriptionAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

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

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Data SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

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

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Show SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Generic SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

Associated Types

type Rep SetSubscriptionAttributesResponse :: Type -> Type #

NFData SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributesResponse = D1 (MetaData "SetSubscriptionAttributesResponse" "Network.AWS.SNS.SetSubscriptionAttributes" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "SetSubscriptionAttributesResponse'" PrefixI False) (U1 :: Type -> Type))