ConnectHealthClient.create_domain
rboto-connecthealth==0.4.0 · Service index · Types
Model summary (excerpt): Creates a new Domain for managing HealthAgent resources.
Install and imports
from rboto import ConnectHealthClient
from rboto_connecthealth.types import (
CreateDomainOutput,
CreateWebAppConfiguration,
)
Signature
async def create_domain(
*,
name: str,
kms_key_arn: str | None = None,
web_app_setup_configuration: CreateWebAppConfiguration | None = None,
tags: dict[str, str] | None = None,
) -> CreateDomainOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name for the new Domain. |
kms_key_arn |
No | The ARN of the KMS key to use for encrypting data in this Domain. |
web_app_setup_configuration |
No | Configuration for the Domain web application. Optional, but if provided all fields are required. |
tags |
No | Tags to associate with the Domain. |
Output
CreateDomainOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
domain_id |
str |
Always present | — |
arn |
str |
Always present | — |
name |
str |
Always present | — |
kms_key_arn |
str | None |
Always present | — |
encryption_context |
EncryptionContextOutput | None |
Always present | EncryptionContextOutput |
status |
DomainStatusOutput |
Always present | DomainStatusOutput |
web_app_url |
str | None |
Always present | — |
web_app_configuration |
WebAppConfigurationOutput | None |
Always present | WebAppConfigurationOutput |
created_at |
str |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CreateDomainOutput, CreateWebAppConfiguration
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_connecthealth.exceptions:
Other service failures use the service base error; credential, transport and timeout failures use shared errors.