| 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.SetTopicAttributes
Description
Allows a topic owner to set an attribute of the topic to a new value.
Synopsis
- setTopicAttributes :: Text -> Text -> SetTopicAttributes
- data SetTopicAttributes
- staAttributeValue :: Lens' SetTopicAttributes (Maybe Text)
- staTopicARN :: Lens' SetTopicAttributes Text
- staAttributeName :: Lens' SetTopicAttributes Text
- setTopicAttributesResponse :: SetTopicAttributesResponse
- data SetTopicAttributesResponse
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> SetTopicAttributes |
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
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.