Safe Haskell | None |
---|---|
Language | Haskell2010 |
Allows a topic owner to set an attribute of the topic to a new value.
http://docs.aws.amazon.com/sns/latest/api/API_SetTopicAttributes.html
- data SetTopicAttributes
- setTopicAttributes :: Text -> Text -> SetTopicAttributes
- staAttributeName :: Lens' SetTopicAttributes Text
- staAttributeValue :: Lens' SetTopicAttributes (Maybe Text)
- staTopicArn :: Lens' SetTopicAttributes Text
- data SetTopicAttributesResponse
- setTopicAttributesResponse :: SetTopicAttributesResponse
Request
data SetTopicAttributes Source
Request constructor
SetTopicAttributes
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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
staAttributeValue :: Lens' SetTopicAttributes (Maybe Text) Source
The new value for the attribute.
staTopicArn :: Lens' SetTopicAttributes Text Source
The ARN of the topic to modify.