toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-amazon-secretsmanager
/
org.http4k.connect.amazon.secretsmanager.action
/
CreateSecret
Create
Secret
@
JsonSerializable
data
class
CreateSecret
:
SecretsManagerAction
<
CreatedSecret
>
Members
Constructors
Create
Secret
Link copied to clipboard
constructor
(
Name
:
String
,
ClientRequestToken
:
UUID
,
SecretString
:
String
,
Description
:
String
?
=
null
,
KmsKeyId
:
KMSKeyId
?
=
null
,
Tags
:
List
<
Tag
>
?
=
null
)
constructor
(
Name
:
String
,
ClientRequestToken
:
UUID
,
SecretBinary
:
Base64Blob
,
Description
:
String
?
=
null
,
KmsKeyId
:
KMSKeyId
?
=
null
,
Tags
:
List
<
Tag
>
?
=
null
)
Properties
Client
Request
Token
Link copied to clipboard
val
ClientRequestToken
:
UUID
Description
Link copied to clipboard
val
Description
:
String
?
=
null
Kms
Key
Id
Link copied to clipboard
val
KmsKeyId
:
KMSKeyId
?
=
null
Name
Link copied to clipboard
val
Name
:
String
Secret
Binary
Link copied to clipboard
val
SecretBinary
:
Base64Blob
?
=
null
Secret
String
Link copied to clipboard
val
SecretString
:
String
?
=
null
Tags
Link copied to clipboard
val
Tags
:
List
<
Tag
>
?
=
null
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
<
CreatedSecret
,
RemoteFailure
>
uri
Link copied to clipboard
open
fun
uri
(
)
:
Uri