Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a topic to which notifications can be published. Users can create at most 3000 topics. For more information, see http://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
http://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html
Request
data CreateTopic Source
Request constructor
:: Text | |
-> CreateTopic |
Request lenses
ctName :: Lens' CreateTopic Text Source
The name of the topic you want to create.
Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.
Response
Response constructor
createTopicResponse :: CreateTopicResponse Source
CreateTopicResponse
constructor.
The fields accessible through corresponding lenses are:
ctrTopicArn
::
Maybe
Text
Response lenses
ctrTopicArn :: Lens' CreateTopicResponse (Maybe Text) Source
The Amazon Resource Name (ARN) assigned to the created topic.