getSchemaVersion
inline suspend fun IotManagedIntegrationsClient.getSchemaVersion(crossinline block: GetSchemaVersionRequest.Builder.() -> Unit): GetSchemaVersionResponse
Gets a schema version with the provided information.
Samples
// GetSchemaVersion happy path for an example schema version.
val resp = iotManagedIntegrationsClient.getSchemaVersion {
schemaVersionedId = "matter.ColorControl@1.4"
type = SchemaVersionType.fromValue("capability")
}Content copied to clipboard
// GetSchemaVersion happy path for an example schema version.
val resp = iotManagedIntegrationsClient.getSchemaVersion {
schemaVersionedId = "matter.ColorControl@1.4"
type = SchemaVersionType.fromValue("capability")
format = SchemaVersionFormat.fromValue("ZCL")
}Content copied to clipboard