Skip to content

ViewDefinitionInput

Source code in docs_src/capo_glue/types/view_definition_input.py
class ViewDefinitionInput(TypedDict, closed=True):
    is_protected: NotRequired["capo_glue.types.nullable_boolean.NullableBoolean"]
    """<p>You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.</p>"""
    is_managed: NotRequired["capo_glue.types.nullable_boolean.NullableBoolean"]
    """<p>Specifies whether the materialized view is managed by Glue.</p>"""
    definer: NotRequired["capo_glue.types.arn_string.ArnString"]
    """<p>The definer of a view in SQL.</p>"""
    representations: NotRequired[
        "capo_glue.types.view_representation_input_list.ViewRepresentationInputList"
    ]
    """<p>A list of structures that contains the dialect of the view, and the query that defines the view.</p>"""
    view_version_id: "capo_glue.types.table_version_id.TableVersionId"
    """<p>The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID. </p>"""
    view_version_token: NotRequired["capo_glue.types.version_string.VersionString"]
    """<p>The version ID of the Apache Iceberg table.</p>"""
    refresh_seconds: NotRequired["capo_glue.types.refresh_seconds.RefreshSeconds"]
    """<p>Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.</p>"""
    last_refresh_type: NotRequired["capo_glue.types.last_refresh_type.LastRefreshType"]
    """<p>The type of the materialized view's last refresh. Valid values: <code>Full</code>, <code>Incremental</code>.</p>"""
    sub_objects: NotRequired["capo_glue.types.view_sub_objects_list.ViewSubObjectsList"]
    """<p>A list of base table ARNs that make up the view.</p>"""
    sub_object_version_ids: NotRequired[
        "capo_glue.types.view_sub_object_version_ids_list.ViewSubObjectVersionIdsList"
    ]
    """<p>List of the Apache Iceberg table versions referenced by the materialized view.</p>"""
    sub_objects_statistics: NotRequired[
        "capo_glue.types.sub_objects_statistics_list.SubObjectsStatisticsList"
    ]
    """<p>Statistics for each sub-object referenced by the materialized view, such as the source type, Glue version ID, and the partition, file, and byte counts. Each entry describes one sub-object, identified by its source type.</p>"""
    spark_pipeline_info: NotRequired[
        "capo_glue.types.spark_pipeline_info_map.SparkPipelineInfoMap"
    ]
    """<p>A map of key-value pairs containing Spark Declarative Pipelines (SDP) information for the materialized view.</p>"""

definer instance-attribute

definer: NotRequired[ArnString]

The definer of a view in SQL.

is_managed instance-attribute

is_managed: NotRequired[NullableBoolean]

Specifies whether the materialized view is managed by Glue.

is_protected instance-attribute

is_protected: NotRequired[NullableBoolean]

You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.

last_refresh_type instance-attribute

last_refresh_type: NotRequired[LastRefreshType]

The type of the materialized view's last refresh. Valid values: Full, Incremental.

refresh_seconds instance-attribute

refresh_seconds: NotRequired[RefreshSeconds]

Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.

representations instance-attribute

representations: NotRequired[ViewRepresentationInputList]

A list of structures that contains the dialect of the view, and the query that defines the view.

spark_pipeline_info instance-attribute

spark_pipeline_info: NotRequired[SparkPipelineInfoMap]

A map of key-value pairs containing Spark Declarative Pipelines (SDP) information for the materialized view.

sub_object_version_ids instance-attribute

sub_object_version_ids: NotRequired[ViewSubObjectVersionIdsList]

List of the Apache Iceberg table versions referenced by the materialized view.

sub_objects instance-attribute

sub_objects: NotRequired[ViewSubObjectsList]

A list of base table ARNs that make up the view.

sub_objects_statistics instance-attribute

sub_objects_statistics: NotRequired[SubObjectsStatisticsList]

Statistics for each sub-object referenced by the materialized view, such as the source type, Glue version ID, and the partition, file, and byte counts. Each entry describes one sub-object, identified by its source type.

view_version_id instance-attribute

view_version_id: TableVersionId

The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.

view_version_token instance-attribute

view_version_token: NotRequired[VersionString]

The version ID of the Apache Iceberg table.