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

Contents

Description

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

See: AWS API Reference for SetSubscriptionAttributes.

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:

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.