getSpace

abstract suspend fun getSpace(input: GetSpaceRequest): GetSpaceResponse

Retrieves the details of a space by ID.

Samples

// The following example retrieves the details of a space by ID. Payloads are shown as JSON on the wire
// they are CBOR encoded.
val resp = cloudWatchOmniClient.getSpace {
    spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
}