toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-amazon-sns
/
org.http4k.connect.amazon.sns.action
/
CreateTopic
Create
Topic
data
class
CreateTopic
(
val
topicName
:
TopicName
,
val
tags
:
List
<
Tag
>
=
emptyList()
,
val
attributes
:
Map
<
String
,
String
>
=
emptyMap()
)
:
SNSAction
<
CreatedTopic
>
Members
Constructors
Create
Topic
Link copied to clipboard
constructor
(
topicName
:
TopicName
,
tags
:
List
<
Tag
>
=
emptyList()
,
attributes
:
Map
<
String
,
String
>
=
emptyMap()
)
Properties
attributes
Link copied to clipboard
val
attributes
:
Map
<
String
,
String
>
tags
Link copied to clipboard
val
tags
:
List
<
Tag
>
topic
Name
Link copied to clipboard
val
topicName
:
TopicName
Functions
to
Request
Link copied to clipboard
open
override
fun
toRequest
(
)
:
Request
to
Result
Link copied to clipboard
open
override
fun
toResult
(
response
:
Response
)
:
Result
<
CreatedTopic
,
RemoteFailure
>
uri
Link copied to clipboard
fun
uri
(
)
:
Uri