Package-level declarations

Types

Link copied to clipboard
interface IotDataPlane

Docs: https://docs.aws.amazon.com/iot/latest/apireference/API_Operations_AWS_IoT_Data_Plane.html

Link copied to clipboard
interface IotDataPlaneAction<R> : Action<Result<R, RemoteFailure>>
Link copied to clipboard
@KotshiJsonAdapterFactory
object IotDataPlaneJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard

Functions

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

Convenience function to create a IotDataPlane from a System environment

fun IotDataPlane.Companion.Http(endpoint: Uri, env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env)): IotDataPlane

Convenience function to create a IotDataPlane from an http4k Environment

fun IotDataPlane.Companion.Http(endpoint: Uri, region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC()): IotDataPlane

Standard HTTP implementation of IotDataPlane. The endpoint is account-specific (eg. https://xxxxxxxx-ats.iot..amazonaws.com) so cannot be derived from the region.