ViewDefinition
A structure containing details for representations.
Contents
- Definer
-
The definer of a view in SQL.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Required: No
- IsManaged
-
Specifies whether the materialized view is managed by AWS Glue.
Type: Boolean
Required: No
- IsProtected
-
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.
Type: Boolean
Required: No
- LastRefreshType
-
Sets the method used for the most recent refresh.
Type: String
Valid Values:
FULL | INCREMENTALRequired: No
- RefreshSeconds
-
Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.
Type: Long
Required: No
- Representations
-
A list of representations.
Type: Array of ViewRepresentation objects
Array Members: Minimum number of 1 item. Maximum number of 1000 items.
Required: No
- SparkPipelineInfo
-
A map of key-value pairs containing Spark Declarative Pipelines (SDP) information for the materialized view.
Type: String to string map
Map Entries: Minimum number of 0 items. Maximum number of 50 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Value Length Constraints: Minimum length of 0. Maximum length of 2048.
Required: No
- SubObjects
-
A list of table Amazon Resource Names (ARNs).
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 10 items.
Length Constraints: Minimum length of 20. Maximum length of 2048.
Required: No
- SubObjectsStatistics
-
Statistics captured for each sub-object referenced by the materialized view as of its most recent refresh, such as the source type, AWS Glue version ID, and the partition, file, and byte counts. Each entry describes one sub-object, identified by its source type.
Type: Array of SubObjectStatistics objects
Array Members: Minimum number of 0 items. Maximum number of 250 items.
Required: No
- SubObjectVersionIds
-
List of the Apache Iceberg table versions referenced by the materialized view.
Type: Array of longs
Array Members: Minimum number of 0 items. Maximum number of 250 items.
Valid Range: Minimum value of -1.
Required: No
- ViewVersionId
-
The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
Type: Long
Valid Range: Minimum value of -1.
Required: No
- ViewVersionToken
-
The version ID of the Apache Iceberg table.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: