Package-level declarations

Types

Link copied to clipboard

Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. When Athena stores query results in Amazon S3, the canned ACL is set with the x-amz-acl request header. For more information about S3 Object Ownership, see Object Ownership settings in the Amazon S3 User Guide.

Link copied to clipboard

Contains the application runtime IDs and their supported DPU sizes.

Link copied to clipboard

Provides information about an Athena query error. The AthenaError feature provides standardized error information to help you understand failed queries and take steps after a query failure occurs. AthenaError includes an ErrorCategory field that specifies whether the cause of the failed query is due to system error, user error, or other error.

Link copied to clipboard

Base class for all service related exceptions thrown by the Athena client

Link copied to clipboard
sealed class AuthenticationType
Link copied to clipboard

Contains an array of named query IDs.

Link copied to clipboard

Contains an array of query execution IDs.

Link copied to clipboard

Contains configuration information for the calculation.

Link copied to clipboard
Link copied to clipboard

Contains information about an application-specific calculation result.

Link copied to clipboard

Contains statistics for a notebook calculation.

Link copied to clipboard

Contains information about the status of a notebook calculation.

Link copied to clipboard

Summary information for a notebook calculation.

Link copied to clipboard

Contains the submission time of a single allocation request for a capacity reservation and the most recent status of the attempted allocation.

Link copied to clipboard
Link copied to clipboard

A mapping between one or more workgroups and a capacity reservation.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
class Column

Contains metadata for a column in a table.

Link copied to clipboard

Information about the columns in a query execution result.

Link copied to clipboard
sealed class ColumnNullable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
class Database

Contains metadata information for a database in a data catalog.

Link copied to clipboard

Contains information about a data catalog in an Amazon Web Services account.

Link copied to clipboard

The summary information for the data catalog, which includes its name and type.

Link copied to clipboard
sealed class DataCatalogType
Link copied to clipboard
class Datum

A piece of data (a field in the table).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If query and calculation results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information.

Link copied to clipboard
sealed class EncryptionOption
Link copied to clipboard

Contains data processing unit (DPU) configuration settings and parameter mappings for a notebook engine.

Link copied to clipboard

The Athena engine version for running queries, or the PySpark engine version for running sessions.

Link copied to clipboard

Contains summary information about an executor.

Link copied to clipboard
sealed class ExecutorState
Link copied to clipboard
sealed class ExecutorType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A string for searching notebook names.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies whether the workgroup is IAM Identity Center supported.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates a platform issue, which may be due to a transient condition or outage.

Link copied to clipboard

Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

An exception that Athena received when it called a custom metastore. Occurs if the error is not caused by user input (InvalidRequestException) or from the Athena platform (InternalServerException). For example, if a user-created Lambda function is missing permissions, the Lambda 4XX exception is returned in a MetadataException.

Link copied to clipboard

A query, where QueryString contains the SQL statements that make up the query.

Link copied to clipboard

Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.

Link copied to clipboard

Contains the notebook session ID and notebook session creation time.

Link copied to clipboard
sealed class NotebookType
Link copied to clipboard

A prepared SQL statement for use with Athena.

Link copied to clipboard

The name and last modified time of the prepared statement.

Link copied to clipboard

Information about a single instance of a query execution.

Link copied to clipboard

The database and data catalog context in which the query execution occurs.

Link copied to clipboard
sealed class QueryExecutionState
Link copied to clipboard

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.

Link copied to clipboard

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

Link copied to clipboard

Specifies whether Amazon S3 access grants are enabled for query results.

Link copied to clipboard

The query execution timeline, statistics on input and output rows and bytes, and the different query stages that form the query execution plan.

Link copied to clipboard

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.

Link copied to clipboard

Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.

Link copied to clipboard

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.

Link copied to clipboard

Stage plan information such as name, identifier, sub plans, and remote sources.

Link copied to clipboard

A resource, such as a workgroup, was not found.

Link copied to clipboard

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.

Link copied to clipboard

The information about the updates in the query results, such as output location and encryption configuration for the query results.

Link copied to clipboard

Specifies whether previous query results are reused, and if so, their maximum age.

Link copied to clipboard

Specifies the query result reuse behavior for the query.

Link copied to clipboard

Contains information about whether the result of a previous query was reused.

Link copied to clipboard
class ResultSet

The metadata and rows that make up a query result set. The metadata describes the column structure and data types. To return a ResultSet object, use GetQueryResults.

Link copied to clipboard

The metadata that describes the column structure and data types of a table of query results. To return a ResultSetMetadata object, use GetQueryResults.

Link copied to clipboard
class Row

The rows that make up a query result table.

Link copied to clipboard
sealed class S3AclOption
Link copied to clipboard

The specified session already exists.

Link copied to clipboard

Contains session configuration information.

Link copied to clipboard
sealed class SessionState
Link copied to clipboard

Contains statistics for a session.

Link copied to clipboard

Contains information about the status of a session.

Link copied to clipboard

Contains summary information about a session.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class StatementType
Link copied to clipboard
Link copied to clipboard

Contains metadata for a table.

Link copied to clipboard
class 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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class ThrottleReason

The reason for the query throttling, for example, when it exceeds the concurrent query limit.

Link copied to clipboard

Indicates that the request was throttled.

Link copied to clipboard

Information about a named query ID that could not be processed.

Link copied to clipboard

The name of a prepared statement that could not be returned.

Link copied to clipboard

Describes a query execution that failed to process.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class WorkGroup

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 in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

Link copied to clipboard

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 the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

Link copied to clipboard

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.

Link copied to clipboard
sealed class WorkGroupState
Link copied to clipboard

The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.