SpaceCredentialRequestContext - Amazon CloudWatch Omni
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SpaceCredentialRequestContext

Identifies what the credentials are for: either an existing space, or a target account in a domain. Specify spaceId, or both domainId and targetAccountId.

Contents

domainId

The ID of the domain, when returning credentials for a target account that does not yet have a space.

Type: String

Pattern: d-[0-9a-z]{1,25}

Required: No

spaceId

The ID of an existing space to return credentials for.

Type: String

Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: No

targetAccountId

The ID of the target member account. Required when domainId is set.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: