listSchemaVersions
inline suspend fun IotManagedIntegrationsClient.listSchemaVersions(crossinline block: ListSchemaVersionsRequest.Builder.() -> Unit): ListSchemaVersionsResponse
Lists schema versions with the provided information.
Samples
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionType
fun main() {
//sampleStart
// ListSchemaVersions happy path for an example schema version.
val resp = iotManagedIntegrationsClient.listSchemaVersions {
schemaId = "example.ColorControl"
type = SchemaVersionType.fromValue("capability")
}
//sampleEnd
}
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionType
fun main() {
//sampleStart
// ListSchemaVersions by version.
val resp = iotManagedIntegrationsClient.listSchemaVersions {
type = SchemaVersionType.fromValue("capability")
semanticVersion = "34.56"
}
//sampleEnd
}