Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- AclConfiguration
Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. When Athena stores query results in Amazon S3, the canned ACL is set with the
x-amz-aclrequest header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User Guide.- Application
DpuSizes Contains the application runtime IDs and their supported DPU sizes.
- Athena
Error Provides information about an Athena query error. The
AthenaErrorfeature provides standardized error information to help you understand failed queries and take steps after a query failure occurs.AthenaErrorincludes anErrorCategoryfield that specifies whether the cause of the failed query is due to system error, user error, or other error.- Calculation
Configuration Contains configuration information for the calculation.
- Calculation
Result Contains information about an application-specific calculation result.
- Calculation
Statistics Contains statistics for a notebook calculation.
- Calculation
Status Contains information about the status of a notebook calculation.
- Calculation
Summary Summary information for a notebook calculation.
- Capacity
Allocation Contains the submission time of a single allocation request for a capacity reservation and the most recent status of the attempted allocation.
- Capacity
Assignment A mapping between one or more workgroups and a capacity reservation.
- Capacity
Assignment Configuration Assigns Athena workgroups (and hence their queries) to capacity reservations. A capacity reservation can have only one capacity assignment configuration, but the capacity assignment configuration can be made up of multiple individual assignments. Each assignment specifies how Athena queries can consume capacity from the capacity reservation that their workgroup is mapped to.
- Capacity
Reservation A reservation for a specified number of data processing units (DPUs). When a reservation is initially created, it has no DPUs. Athena allocates DPUs until the allocated amount equals the requested amount.
- Column
Contains metadata for a column in a table.
- Column
Info Information about the columns in a query execution result.
- Customer
Content Encryption Configuration Specifies the customer managed KMS key that is used to encrypt the user's data stores in Athena. When an Amazon Web Services managed key is used, this value is null. This setting does not apply to Athena SQL workgroups.
- Data
Catalog Contains information about a data catalog in an Amazon Web Services account.
In the Athena console, data catalogs are listed as "data sources" on the Data sources page under the Data source name column.
- Data
Catalog Summary The summary information for the data catalog, which includes its name and type.
- Database
Contains metadata information for a database in a data catalog.
- Datum
A piece of data (a field in the table).
- Encryption
Configuration If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMSorCSE_KMS) and key information.- Engine
Configuration Contains data processing unit (DPU) configuration settings and parameter mappings for a notebook engine.
- Engine
Version The Athena engine version for running queries, or the PySpark engine version for running sessions.
- Executors
Summary Contains summary information about an executor.
- Filter
Definition A string for searching notebook names.
- Identity
Center Configuration Specifies whether the workgroup is IAM Identity Center supported.
- Managed
Query Results Configuration The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results.
- Managed
Query Results Configuration Updates Updates the configuration for managed query results.
- Managed
Query Results Encryption Configuration If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.
- Named
Query A query, where
QueryStringcontains the SQL statements that make up the query.- Notebook
Metadata Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.
- Notebook
Session Summary Contains the notebook session ID and notebook session creation time.
- Prepared
Statement A prepared SQL statement for use with Athena.
- Prepared
Statement Summary The name and last modified time of the prepared statement.
- Query
Execution Information about a single instance of a query execution.
- Query
Execution Context The database and data catalog context in which the query execution occurs.
- Query
Execution Statistics The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.
- Query
Execution Status The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
- Query
Results S3Access Grants Configuration Specifies whether Amazon S3 access grants are enabled for query results.
- Query
Runtime Statistics The query execution timeline, statistics on input and output rows and bytes, and the different query stages that form the query execution plan.
- Query
Runtime Statistics Rows Statistics such as input rows and bytes read by the query, rows and bytes output by the query, and the number of rows written by the query.
- Query
Runtime Statistics Timeline Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.
- Query
Stage Stage statistics such as input and output rows and bytes, execution time and stage state. This information also includes substages and the query stage plan.
- Query
Stage Plan Node Stage plan information such as name, identifier, sub plans, and remote sources.
- Result
Configuration The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.
- Result
Configuration Updates The information about the updates in the query results, such as output location and encryption configuration for the query results.
- Result
Reuse ByAge Configuration Specifies whether previous query results are reused, and if so, their maximum age.
- Result
Reuse Configuration Specifies the query result reuse behavior for the query.
- Result
Reuse Information Contains information about whether the result of a previous query was reused.
- Result
Set The metadata and rows that make up a query result set. The metadata describes the column structure and data types. To return a
ResultSetobject, useGetQueryResults.- Result
SetMetadata The metadata that describes the column structure and data types of a table of query results. To return a
ResultSetMetadataobject, useGetQueryResults.- Row
The rows that make up a query result table.
- Session
Configuration Contains session configuration information.
- Session
Statistics Contains statistics for a session.
- Session
Status Contains information about the status of a session.
- Session
Summary Contains summary information about a session.
- Table
Metadata Contains metadata for a table.
- Tag
A label that you assign to a resource. Athena resources include workgroups, data catalogs, and capacity reservations. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena resources by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter the resources in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.
- Unprocessed
Named Query Id Information about a named query ID that could not be processed.
- Unprocessed
Prepared Statement Name The name of a prepared statement that could not be returned.
- Unprocessed
Query Execution Id Describes a query execution that failed to process.
- Work
Group A workgroup, which contains a name, description, creation time, state, and other configuration, listed under
WorkGroup$Configuration. Each workgroup enables you to isolate queries for you or your group of users from other queries in the same account, to configure the query results location and the encryption configuration (known as workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage control limits for all queries in a workgroup. The workgroup settings override is specified inEnforceWorkGroupConfiguration(true/false) in theWorkGroupConfiguration. SeeWorkGroupConfiguration$EnforceWorkGroupConfiguration.- Work
Group Configuration The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption option, if any, used for query and calculation results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in
EnforceWorkGroupConfiguration(true/false) in theWorkGroupConfiguration. SeeWorkGroupConfiguration$EnforceWorkGroupConfiguration.- Work
Group Configuration Updates The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
- Work
Group Summary The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.
Enums§
- Authentication
Type - When writing a match expression against
AuthenticationType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Calculation
Execution State - When writing a match expression against
CalculationExecutionState, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Capacity
Allocation Status - When writing a match expression against
CapacityAllocationStatus, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Capacity
Reservation Status - When writing a match expression against
CapacityReservationStatus, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Column
Nullable - When writing a match expression against
ColumnNullable, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Connection
Type - When writing a match expression against
ConnectionType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Data
Catalog Status - When writing a match expression against
DataCatalogStatus, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Data
Catalog Type - When writing a match expression against
DataCatalogType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Encryption
Option - When writing a match expression against
EncryptionOption, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Executor
State - When writing a match expression against
ExecutorState, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Executor
Type - When writing a match expression against
ExecutorType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Notebook
Type - When writing a match expression against
NotebookType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Query
Execution State - When writing a match expression against
QueryExecutionState, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Query
Result Type - When writing a match expression against
QueryResultType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - S3Acl
Option - When writing a match expression against
S3AclOption, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Session
State - When writing a match expression against
SessionState, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Statement
Type - When writing a match expression against
StatementType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Throttle
Reason - When writing a match expression against
ThrottleReason, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Work
Group State - When writing a match expression against
WorkGroupState, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.