updateSpace

abstract suspend fun updateSpace(input: UpdateSpaceRequest): UpdateSpaceResponse

Updates a space. Only the provided fields are changed; omitted fields are left unchanged.

Samples

// The following example updates only the name of a space omitted fields are left unchanged. The
// response returns the full space with a later updatedAt timestamp. Payloads are shown as JSON on the wire
// they are CBOR encoded.
val resp = cloudWatchOmniClient.updateSpace {
    spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
    name = "prod-observability-team"
}