listSchemaVersions
inline suspend fun IotManagedIntegrationsClient.listSchemaVersions(crossinline block: ListSchemaVersionsRequest.Builder.() -> Unit): ListSchemaVersionsResponse
Lists schema versions with the provided information.
Samples
// ListSchemaVersions happy path for an example schema version.
val resp = iotManagedIntegrationsClient.listSchemaVersions {
schemaId = "example.ColorControl"
type = SchemaVersionType.fromValue("capability")
}Content copied to clipboard
// ListSchemaVersions by version.
val resp = iotManagedIntegrationsClient.listSchemaVersions {
type = SchemaVersionType.fromValue("capability")
semanticVersion = "34.56"
}Content copied to clipboard