org.http4k.connect.amazon.systemsmanager.action.GetParameter.kt Maven / Gradle / Ivy
package org.http4k.connect.amazon.systemsmanager.action
import org.http4k.connect.Http4kConnectAction
import org.http4k.connect.amazon.systemsmanager.SystemsManagerAction
import org.http4k.connect.amazon.systemsmanager.model.Parameter
import org.http4k.connect.amazon.systemsmanager.model.SSMParameterName
import se.ansman.kotshi.JsonSerializable
@Http4kConnectAction
@JsonSerializable
data class GetParameter(
val Name: SSMParameterName,
val WithDecryption: Boolean? = null,
) : SystemsManagerAction(ParameterValue::class)
@JsonSerializable
data class ParameterValue(
val Parameter: Parameter
)