| 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.
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
Instances
| Eq SetTopicAttributes | |
| Ord SetTopicAttributes | |
| Read SetTopicAttributes | |
| Show SetTopicAttributes | |
| AWSRequest SetTopicAttributes | |
| ToQuery SetTopicAttributes | |
| ToPath SetTopicAttributes | |
| ToHeaders SetTopicAttributes | |
| type Sv SetTopicAttributes = SNS | |
| type Rs SetTopicAttributes = SetTopicAttributesResponse |
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> SetTopicAttributes |
SetTopicAttributes constructor.
The fields accessible through corresponding lenses are:
staAttributeName::TextstaAttributeValue::MaybeTextstaTopicArn::Text
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.