getSchemaVersion
inline suspend fun IotManagedIntegrationsClient.getSchemaVersion(crossinline block: GetSchemaVersionRequest.Builder.() -> Unit): GetSchemaVersionResponse
Gets a schema version with the provided information.
Samples
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionFormat
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionType
fun main() {
//sampleStart
// GetSchemaVersion happy path for an example schema version.
val resp = iotManagedIntegrationsClient.getSchemaVersion {
schemaVersionedId = "matter.ColorControl@1.4"
type = SchemaVersionType.fromValue("capability")
}
//sampleEnd
}
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionFormat
import aws.sdk.kotlin.services.iotmanagedintegrations.model.SchemaVersionType
fun main() {
//sampleStart
// 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")
}
//sampleEnd
}