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

Contents

Description

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

Synopsis

Creating a Request

setTopicAttributes Source #

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

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

  • staAttributeValue - The new value for the attribute.
  • staTopicARN - The ARN of the topic to modify.
  • staAttributeName - The name of the attribute you want to set. Only a subset of the topic's attributes are mutable. Valid values: Policy | DisplayName | DeliveryPolicy

data SetTopicAttributes Source #

Input for SetTopicAttributes action.

See: setTopicAttributes smart constructor.

Instances
Eq SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Data SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Methods

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

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

toConstr :: SetTopicAttributes -> Constr #

dataTypeOf :: SetTopicAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Show SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Generic SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Associated Types

type Rep SetTopicAttributes :: Type -> Type #

Hashable SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

AWSRequest SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Associated Types

type Rs SetTopicAttributes :: Type #

ToHeaders SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

ToPath SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

ToQuery SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

NFData SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Methods

rnf :: SetTopicAttributes -> () #

type Rep SetTopicAttributes Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

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

Defined in Network.AWS.SNS.SetTopicAttributes

Request Lenses

staAttributeValue :: Lens' SetTopicAttributes (Maybe Text) Source #

The new value for the attribute.

staTopicARN :: Lens' SetTopicAttributes Text Source #

The ARN of the topic to modify.

staAttributeName :: Lens' SetTopicAttributes Text Source #

The name of the attribute you want to set. Only a subset of the topic's attributes are mutable. Valid values: Policy | DisplayName | DeliveryPolicy

Destructuring the Response

setTopicAttributesResponse :: SetTopicAttributesResponse Source #

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

data SetTopicAttributesResponse Source #

See: setTopicAttributesResponse smart constructor.

Instances
Eq SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Data SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Methods

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

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

toConstr :: SetTopicAttributesResponse -> Constr #

dataTypeOf :: SetTopicAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Show SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Generic SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

Associated Types

type Rep SetTopicAttributesResponse :: Type -> Type #

NFData SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

type Rep SetTopicAttributesResponse Source # 
Instance details

Defined in Network.AWS.SNS.SetTopicAttributes

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