listSchemaVersions
abstract suspend fun listSchemaVersions(input: ListSchemaVersionsRequest): 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
}