| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SNS.SetSubscriptionAttributes
Description
Allows a subscription owner to set an attribute of the topic to a new value.
- setSubscriptionAttributes :: Text -> Text -> SetSubscriptionAttributes
- data SetSubscriptionAttributes
- ssaAttributeValue :: Lens' SetSubscriptionAttributes (Maybe Text)
- ssaSubscriptionARN :: Lens' SetSubscriptionAttributes Text
- ssaAttributeName :: Lens' SetSubscriptionAttributes Text
- setSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse
- data SetSubscriptionAttributesResponse
Creating a Request
setSubscriptionAttributes Source #
Arguments
| :: Text | |
| -> Text | |
| -> SetSubscriptionAttributes |
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
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