org.http4k.connect.amazon.sqs.action.GetQueueAttributes.kt Maven / Gradle / Ivy
package org.http4k.connect.amazon.sqs.action
import org.http4k.connect.Http4kConnectAction
import org.http4k.connect.amazon.sqs.SQSAction
import org.http4k.core.Uri
import se.ansman.kotshi.JsonSerializable
import com.squareup.moshi.Json
@Http4kConnectAction
@JsonSerializable
data class GetQueueAttributes(
@Json(name = "QueueUrl") val queueUrl: Uri,
@Json(name = "AttributeNames") val attributes: List? = null,
) : SQSAction("GetQueueAttributes", QueueAttributes::class, { it })
@JsonSerializable
data class QueueAttributes(
@Json(name = "Attributes") val attributes: Map = emptyMap()
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy