Skip to content

CreateViewRequest

Source code in docs_src/capo_cloudwatchomni/types/create_view_request.py
class CreateViewRequest(TypedDict, closed=True):
    name: "capo_cloudwatchomni.types.view_name.ViewName"
    """The name of the view. Must begin with the "view." prefix. View names must be unique within the account and region."""
    definition: "capo_cloudwatchomni.types.view_definition.ViewDefinition"
    """The SQL query that defines the view."""
    description: NotRequired[
        "capo_cloudwatchomni.types.view_description.ViewDescription"
    ]
    """A description of the view."""
    tags: NotRequired["capo_cloudwatchomni.types.tag_map.TagMap"]
    """Resource tags."""
    client_token: NotRequired["str"]
    """Idempotency token for safe retries. Retrying with the same token returns the original view instead of creating a duplicate."""

client_token instance-attribute

client_token: NotRequired[str]

Idempotency token for safe retries. Retrying with the same token returns the original view instead of creating a duplicate.

definition instance-attribute

definition: ViewDefinition

The SQL query that defines the view.

description instance-attribute

description: NotRequired[ViewDescription]

A description of the view.

name instance-attribute

name: ViewName

The name of the view. Must begin with the "view." prefix. View names must be unique within the account and region.

tags instance-attribute

tags: NotRequired[TagMap]

Resource tags.