Package-level declarations

Types

Link copied to clipboard
interface SQS

Docs: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Welcome.html

Link copied to clipboard
abstract class SQSAction<ResultOut : Any, ResponseBody : Any>(action: String, clazz: KClass<ResponseBody>, resultFn: (ResponseBody) -> ResultOut, autoMarshalling: AutoMarshalling = SqsMoshi) : Action<Result<ResultOut, RemoteFailure>>
Link copied to clipboard
@KotshiJsonAdapterFactory
object SqsJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard

Functions

Link copied to clipboard
fun SQS.Companion.Http(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): SQS

Convenience function to create a SQS from a System environment

fun SQS.Companion.Http(env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): SQS

Convenience function to create a SQS from an http4k Environment

fun SQS.Companion.Http(region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), overrideEndpoint: Uri? = null): SQS

Standard HTTP implementation of SQS