amazonka-sns-1.3.7: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2015 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.SetTopicAttributes

Contents

Description

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

See: AWS API Reference for SetTopicAttributes.

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:

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.