Skip to content

Typed dictionaries

Index > Athena > Typed dictionaries

Auto-generated documentation for Athena type annotations stubs module mypy-boto3-athena.

AclConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import AclConfigurationTypeDef

def get_value() -> AclConfigurationTypeDef:
    return {
        "S3AclOption": ...,
    }
Definition
class AclConfigurationTypeDef(TypedDict):
    S3AclOption: S3AclOptionType,  # (1)
  1. See S3AclOptionType

AthenaErrorTypeDef

Usage Example
from mypy_boto3_athena.type_defs import AthenaErrorTypeDef

def get_value() -> AthenaErrorTypeDef:
    return {
        "ErrorCategory": ...,
    }
Definition
class AthenaErrorTypeDef(TypedDict):
    ErrorCategory: NotRequired[int],
    ErrorType: NotRequired[int],
    Retryable: NotRequired[bool],
    ErrorMessage: NotRequired[str],

BatchGetNamedQueryInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetNamedQueryInputRequestTypeDef

def get_value() -> BatchGetNamedQueryInputRequestTypeDef:
    return {
        "NamedQueryIds": ...,
    }
Definition
class BatchGetNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryIds: Sequence[str],

NamedQueryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import NamedQueryTypeDef

def get_value() -> NamedQueryTypeDef:
    return {
        "Name": ...,
        "Database": ...,
        "QueryString": ...,
    }
Definition
class NamedQueryTypeDef(TypedDict):
    Name: str,
    Database: str,
    QueryString: str,
    Description: NotRequired[str],
    NamedQueryId: NotRequired[str],
    WorkGroup: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

UnprocessedNamedQueryIdTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UnprocessedNamedQueryIdTypeDef

def get_value() -> UnprocessedNamedQueryIdTypeDef:
    return {
        "NamedQueryId": ...,
    }
Definition
class UnprocessedNamedQueryIdTypeDef(TypedDict):
    NamedQueryId: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchGetPreparedStatementInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetPreparedStatementInputRequestTypeDef

def get_value() -> BatchGetPreparedStatementInputRequestTypeDef:
    return {
        "PreparedStatementNames": ...,
        "WorkGroup": ...,
    }
Definition
class BatchGetPreparedStatementInputRequestTypeDef(TypedDict):
    PreparedStatementNames: Sequence[str],
    WorkGroup: str,

PreparedStatementTypeDef

Usage Example
from mypy_boto3_athena.type_defs import PreparedStatementTypeDef

def get_value() -> PreparedStatementTypeDef:
    return {
        "StatementName": ...,
    }
Definition
class PreparedStatementTypeDef(TypedDict):
    StatementName: NotRequired[str],
    QueryStatement: NotRequired[str],
    WorkGroupName: NotRequired[str],
    Description: NotRequired[str],
    LastModifiedTime: NotRequired[datetime],

UnprocessedPreparedStatementNameTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UnprocessedPreparedStatementNameTypeDef

def get_value() -> UnprocessedPreparedStatementNameTypeDef:
    return {
        "StatementName": ...,
    }
Definition
class UnprocessedPreparedStatementNameTypeDef(TypedDict):
    StatementName: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchGetQueryExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetQueryExecutionInputRequestTypeDef

def get_value() -> BatchGetQueryExecutionInputRequestTypeDef:
    return {
        "QueryExecutionIds": ...,
    }
Definition
class BatchGetQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionIds: Sequence[str],

UnprocessedQueryExecutionIdTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UnprocessedQueryExecutionIdTypeDef

def get_value() -> UnprocessedQueryExecutionIdTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class UnprocessedQueryExecutionIdTypeDef(TypedDict):
    QueryExecutionId: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

ColumnInfoTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ColumnInfoTypeDef

def get_value() -> ColumnInfoTypeDef:
    return {
        "Name": ...,
        "Type": ...,
    }
Definition
class ColumnInfoTypeDef(TypedDict):
    Name: str,
    Type: str,
    CatalogName: NotRequired[str],
    SchemaName: NotRequired[str],
    TableName: NotRequired[str],
    Label: NotRequired[str],
    Precision: NotRequired[int],
    Scale: NotRequired[int],
    Nullable: NotRequired[ColumnNullableType],  # (1)
    CaseSensitive: NotRequired[bool],
  1. See ColumnNullableType

ColumnTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ColumnTypeDef

def get_value() -> ColumnTypeDef:
    return {
        "Name": ...,
    }
Definition
class ColumnTypeDef(TypedDict):
    Name: str,
    Type: NotRequired[str],
    Comment: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_athena.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

CreateNamedQueryInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateNamedQueryInputRequestTypeDef

def get_value() -> CreateNamedQueryInputRequestTypeDef:
    return {
        "Name": ...,
        "Database": ...,
        "QueryString": ...,
    }
Definition
class CreateNamedQueryInputRequestTypeDef(TypedDict):
    Name: str,
    Database: str,
    QueryString: str,
    Description: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    WorkGroup: NotRequired[str],

CreatePreparedStatementInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreatePreparedStatementInputRequestTypeDef

def get_value() -> CreatePreparedStatementInputRequestTypeDef:
    return {
        "StatementName": ...,
        "WorkGroup": ...,
        "QueryStatement": ...,
    }
Definition
class CreatePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,
    QueryStatement: str,
    Description: NotRequired[str],

DataCatalogSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DataCatalogSummaryTypeDef

def get_value() -> DataCatalogSummaryTypeDef:
    return {
        "CatalogName": ...,
    }
Definition
class DataCatalogSummaryTypeDef(TypedDict):
    CatalogName: NotRequired[str],
    Type: NotRequired[DataCatalogTypeType],  # (1)
  1. See DataCatalogTypeType

DataCatalogTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DataCatalogTypeDef

def get_value() -> DataCatalogTypeDef:
    return {
        "Name": ...,
        "Type": ...,
    }
Definition
class DataCatalogTypeDef(TypedDict):
    Name: str,
    Type: DataCatalogTypeType,  # (1)
    Description: NotRequired[str],
    Parameters: NotRequired[Dict[str, str]],
  1. See DataCatalogTypeType

DatabaseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DatabaseTypeDef

def get_value() -> DatabaseTypeDef:
    return {
        "Name": ...,
    }
Definition
class DatabaseTypeDef(TypedDict):
    Name: str,
    Description: NotRequired[str],
    Parameters: NotRequired[Dict[str, str]],

DatumTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DatumTypeDef

def get_value() -> DatumTypeDef:
    return {
        "VarCharValue": ...,
    }
Definition
class DatumTypeDef(TypedDict):
    VarCharValue: NotRequired[str],

DeleteDataCatalogInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DeleteDataCatalogInputRequestTypeDef

def get_value() -> DeleteDataCatalogInputRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class DeleteDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,

DeleteNamedQueryInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DeleteNamedQueryInputRequestTypeDef

def get_value() -> DeleteNamedQueryInputRequestTypeDef:
    return {
        "NamedQueryId": ...,
    }
Definition
class DeleteNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,

DeletePreparedStatementInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DeletePreparedStatementInputRequestTypeDef

def get_value() -> DeletePreparedStatementInputRequestTypeDef:
    return {
        "StatementName": ...,
        "WorkGroup": ...,
    }
Definition
class DeletePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,

DeleteWorkGroupInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DeleteWorkGroupInputRequestTypeDef

def get_value() -> DeleteWorkGroupInputRequestTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class DeleteWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    RecursiveDeleteOption: NotRequired[bool],

EncryptionConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import EncryptionConfigurationTypeDef

def get_value() -> EncryptionConfigurationTypeDef:
    return {
        "EncryptionOption": ...,
    }
Definition
class EncryptionConfigurationTypeDef(TypedDict):
    EncryptionOption: EncryptionOptionType,  # (1)
    KmsKey: NotRequired[str],
  1. See EncryptionOptionType

EngineVersionTypeDef

Usage Example
from mypy_boto3_athena.type_defs import EngineVersionTypeDef

def get_value() -> EngineVersionTypeDef:
    return {
        "SelectedEngineVersion": ...,
    }
Definition
class EngineVersionTypeDef(TypedDict):
    SelectedEngineVersion: NotRequired[str],
    EffectiveEngineVersion: NotRequired[str],

GetDataCatalogInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetDataCatalogInputRequestTypeDef

def get_value() -> GetDataCatalogInputRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class GetDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,

GetDatabaseInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetDatabaseInputRequestTypeDef

def get_value() -> GetDatabaseInputRequestTypeDef:
    return {
        "CatalogName": ...,
        "DatabaseName": ...,
    }
Definition
class GetDatabaseInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,

GetNamedQueryInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetNamedQueryInputRequestTypeDef

def get_value() -> GetNamedQueryInputRequestTypeDef:
    return {
        "NamedQueryId": ...,
    }
Definition
class GetNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,

GetPreparedStatementInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetPreparedStatementInputRequestTypeDef

def get_value() -> GetPreparedStatementInputRequestTypeDef:
    return {
        "StatementName": ...,
        "WorkGroup": ...,
    }
Definition
class GetPreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,

GetQueryExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryExecutionInputRequestTypeDef

def get_value() -> GetQueryExecutionInputRequestTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class GetQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_athena.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetQueryResultsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryResultsInputRequestTypeDef

def get_value() -> GetQueryResultsInputRequestTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class GetQueryResultsInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetQueryRuntimeStatisticsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryRuntimeStatisticsInputRequestTypeDef

def get_value() -> GetQueryRuntimeStatisticsInputRequestTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class GetQueryRuntimeStatisticsInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

GetTableMetadataInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetTableMetadataInputRequestTypeDef

def get_value() -> GetTableMetadataInputRequestTypeDef:
    return {
        "CatalogName": ...,
        "DatabaseName": ...,
        "TableName": ...,
    }
Definition
class GetTableMetadataInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    TableName: str,

GetWorkGroupInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetWorkGroupInputRequestTypeDef

def get_value() -> GetWorkGroupInputRequestTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class GetWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,

ListDataCatalogsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDataCatalogsInputRequestTypeDef

def get_value() -> ListDataCatalogsInputRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListDataCatalogsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDatabasesInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDatabasesInputRequestTypeDef

def get_value() -> ListDatabasesInputRequestTypeDef:
    return {
        "CatalogName": ...,
    }
Definition
class ListDatabasesInputRequestTypeDef(TypedDict):
    CatalogName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListEngineVersionsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListEngineVersionsInputRequestTypeDef

def get_value() -> ListEngineVersionsInputRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListEngineVersionsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListNamedQueriesInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListNamedQueriesInputRequestTypeDef

def get_value() -> ListNamedQueriesInputRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListNamedQueriesInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListPreparedStatementsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListPreparedStatementsInputRequestTypeDef

def get_value() -> ListPreparedStatementsInputRequestTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class ListPreparedStatementsInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PreparedStatementSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import PreparedStatementSummaryTypeDef

def get_value() -> PreparedStatementSummaryTypeDef:
    return {
        "StatementName": ...,
    }
Definition
class PreparedStatementSummaryTypeDef(TypedDict):
    StatementName: NotRequired[str],
    LastModifiedTime: NotRequired[datetime],

ListQueryExecutionsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListQueryExecutionsInputRequestTypeDef

def get_value() -> ListQueryExecutionsInputRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListQueryExecutionsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListTableMetadataInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTableMetadataInputRequestTypeDef

def get_value() -> ListTableMetadataInputRequestTypeDef:
    return {
        "CatalogName": ...,
        "DatabaseName": ...,
    }
Definition
class ListTableMetadataInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    Expression: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTagsForResourceInputRequestTypeDef

def get_value() -> ListTagsForResourceInputRequestTypeDef:
    return {
        "ResourceARN": ...,
    }
Definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListWorkGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListWorkGroupsInputRequestTypeDef

def get_value() -> ListWorkGroupsInputRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListWorkGroupsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

QueryExecutionContextTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryExecutionContextTypeDef

def get_value() -> QueryExecutionContextTypeDef:
    return {
        "Database": ...,
    }
Definition
class QueryExecutionContextTypeDef(TypedDict):
    Database: NotRequired[str],
    Catalog: NotRequired[str],

QueryExecutionStatisticsTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryExecutionStatisticsTypeDef

def get_value() -> QueryExecutionStatisticsTypeDef:
    return {
        "EngineExecutionTimeInMillis": ...,
    }
Definition
class QueryExecutionStatisticsTypeDef(TypedDict):
    EngineExecutionTimeInMillis: NotRequired[int],
    DataScannedInBytes: NotRequired[int],
    DataManifestLocation: NotRequired[str],
    TotalExecutionTimeInMillis: NotRequired[int],
    QueryQueueTimeInMillis: NotRequired[int],
    QueryPlanningTimeInMillis: NotRequired[int],
    ServiceProcessingTimeInMillis: NotRequired[int],

QueryRuntimeStatisticsRowsTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryRuntimeStatisticsRowsTypeDef

def get_value() -> QueryRuntimeStatisticsRowsTypeDef:
    return {
        "InputRows": ...,
    }
Definition
class QueryRuntimeStatisticsRowsTypeDef(TypedDict):
    InputRows: NotRequired[int],
    InputBytes: NotRequired[int],
    OutputBytes: NotRequired[int],
    OutputRows: NotRequired[int],

QueryRuntimeStatisticsTimelineTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryRuntimeStatisticsTimelineTypeDef

def get_value() -> QueryRuntimeStatisticsTimelineTypeDef:
    return {
        "QueryQueueTimeInMillis": ...,
    }
Definition
class QueryRuntimeStatisticsTimelineTypeDef(TypedDict):
    QueryQueueTimeInMillis: NotRequired[int],
    QueryPlanningTimeInMillis: NotRequired[int],
    EngineExecutionTimeInMillis: NotRequired[int],
    ServiceProcessingTimeInMillis: NotRequired[int],
    TotalExecutionTimeInMillis: NotRequired[int],

QueryStagePlanNodeTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryStagePlanNodeTypeDef

def get_value() -> QueryStagePlanNodeTypeDef:
    return {
        "Name": ...,
    }
Definition
class QueryStagePlanNodeTypeDef(TypedDict):
    Name: NotRequired[str],
    Identifier: NotRequired[str],
    Children: NotRequired[List[QueryStagePlanNodeTypeDef]],  # (1)
    RemoteSources: NotRequired[List[str]],
  1. See QueryStagePlanNodeTypeDef

QueryStageTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryStageTypeDef

def get_value() -> QueryStageTypeDef:
    return {
        "StageId": ...,
    }
Definition
class QueryStageTypeDef(TypedDict):
    StageId: NotRequired[int],
    State: NotRequired[str],
    OutputBytes: NotRequired[int],
    OutputRows: NotRequired[int],
    InputBytes: NotRequired[int],
    InputRows: NotRequired[int],
    ExecutionTime: NotRequired[int],
    QueryStagePlan: NotRequired[QueryStagePlanNodeTypeDef],  # (1)
    SubStages: NotRequired[List[QueryStageTypeDef]],  # (2)
  1. See QueryStagePlanNodeTypeDef
  2. See QueryStageTypeDef

StopQueryExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StopQueryExecutionInputRequestTypeDef

def get_value() -> StopQueryExecutionInputRequestTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class StopQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

UntagResourceInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UntagResourceInputRequestTypeDef

def get_value() -> UntagResourceInputRequestTypeDef:
    return {
        "ResourceARN": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateDataCatalogInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdateDataCatalogInputRequestTypeDef

def get_value() -> UpdateDataCatalogInputRequestTypeDef:
    return {
        "Name": ...,
        "Type": ...,
    }
Definition
class UpdateDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,
    Type: DataCatalogTypeType,  # (1)
    Description: NotRequired[str],
    Parameters: NotRequired[Mapping[str, str]],
  1. See DataCatalogTypeType

UpdateNamedQueryInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdateNamedQueryInputRequestTypeDef

def get_value() -> UpdateNamedQueryInputRequestTypeDef:
    return {
        "NamedQueryId": ...,
        "Name": ...,
        "QueryString": ...,
    }
Definition
class UpdateNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,
    Name: str,
    QueryString: str,
    Description: NotRequired[str],

UpdatePreparedStatementInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdatePreparedStatementInputRequestTypeDef

def get_value() -> UpdatePreparedStatementInputRequestTypeDef:
    return {
        "StatementName": ...,
        "WorkGroup": ...,
        "QueryStatement": ...,
    }
Definition
class UpdatePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,
    QueryStatement: str,
    Description: NotRequired[str],

QueryExecutionStatusTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryExecutionStatusTypeDef

def get_value() -> QueryExecutionStatusTypeDef:
    return {
        "State": ...,
    }
Definition
class QueryExecutionStatusTypeDef(TypedDict):
    State: NotRequired[QueryExecutionStateType],  # (1)
    StateChangeReason: NotRequired[str],
    SubmissionDateTime: NotRequired[datetime],
    CompletionDateTime: NotRequired[datetime],
    AthenaError: NotRequired[AthenaErrorTypeDef],  # (2)
  1. See QueryExecutionStateType
  2. See AthenaErrorTypeDef

CreateNamedQueryOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateNamedQueryOutputTypeDef

def get_value() -> CreateNamedQueryOutputTypeDef:
    return {
        "NamedQueryId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNamedQueryOutputTypeDef(TypedDict):
    NamedQueryId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetNamedQueryOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetNamedQueryOutputTypeDef

def get_value() -> GetNamedQueryOutputTypeDef:
    return {
        "NamedQuery": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNamedQueryOutputTypeDef(TypedDict):
    NamedQuery: NamedQueryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamedQueryTypeDef
  2. See ResponseMetadataTypeDef

ListNamedQueriesOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListNamedQueriesOutputTypeDef

def get_value() -> ListNamedQueriesOutputTypeDef:
    return {
        "NamedQueryIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListNamedQueriesOutputTypeDef(TypedDict):
    NamedQueryIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListQueryExecutionsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListQueryExecutionsOutputTypeDef

def get_value() -> ListQueryExecutionsOutputTypeDef:
    return {
        "QueryExecutionIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListQueryExecutionsOutputTypeDef(TypedDict):
    QueryExecutionIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartQueryExecutionOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StartQueryExecutionOutputTypeDef

def get_value() -> StartQueryExecutionOutputTypeDef:
    return {
        "QueryExecutionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartQueryExecutionOutputTypeDef(TypedDict):
    QueryExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BatchGetNamedQueryOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetNamedQueryOutputTypeDef

def get_value() -> BatchGetNamedQueryOutputTypeDef:
    return {
        "NamedQueries": ...,
        "UnprocessedNamedQueryIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetNamedQueryOutputTypeDef(TypedDict):
    NamedQueries: List[NamedQueryTypeDef],  # (1)
    UnprocessedNamedQueryIds: List[UnprocessedNamedQueryIdTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See NamedQueryTypeDef
  2. See UnprocessedNamedQueryIdTypeDef
  3. See ResponseMetadataTypeDef

GetPreparedStatementOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetPreparedStatementOutputTypeDef

def get_value() -> GetPreparedStatementOutputTypeDef:
    return {
        "PreparedStatement": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPreparedStatementOutputTypeDef(TypedDict):
    PreparedStatement: PreparedStatementTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PreparedStatementTypeDef
  2. See ResponseMetadataTypeDef

BatchGetPreparedStatementOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetPreparedStatementOutputTypeDef

def get_value() -> BatchGetPreparedStatementOutputTypeDef:
    return {
        "PreparedStatements": ...,
        "UnprocessedPreparedStatementNames": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetPreparedStatementOutputTypeDef(TypedDict):
    PreparedStatements: List[PreparedStatementTypeDef],  # (1)
    UnprocessedPreparedStatementNames: List[UnprocessedPreparedStatementNameTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PreparedStatementTypeDef
  2. See UnprocessedPreparedStatementNameTypeDef
  3. See ResponseMetadataTypeDef

ResultSetMetadataTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultSetMetadataTypeDef

def get_value() -> ResultSetMetadataTypeDef:
    return {
        "ColumnInfo": ...,
    }
Definition
class ResultSetMetadataTypeDef(TypedDict):
    ColumnInfo: NotRequired[List[ColumnInfoTypeDef]],  # (1)
  1. See ColumnInfoTypeDef

TableMetadataTypeDef

Usage Example
from mypy_boto3_athena.type_defs import TableMetadataTypeDef

def get_value() -> TableMetadataTypeDef:
    return {
        "Name": ...,
    }
Definition
class TableMetadataTypeDef(TypedDict):
    Name: str,
    CreateTime: NotRequired[datetime],
    LastAccessTime: NotRequired[datetime],
    TableType: NotRequired[str],
    Columns: NotRequired[List[ColumnTypeDef]],  # (1)
    PartitionKeys: NotRequired[List[ColumnTypeDef]],  # (1)
    Parameters: NotRequired[Dict[str, str]],
  1. See ColumnTypeDef
  2. See ColumnTypeDef

CreateDataCatalogInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateDataCatalogInputRequestTypeDef

def get_value() -> CreateDataCatalogInputRequestTypeDef:
    return {
        "Name": ...,
        "Type": ...,
    }
Definition
class CreateDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,
    Type: DataCatalogTypeType,  # (1)
    Description: NotRequired[str],
    Parameters: NotRequired[Mapping[str, str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See DataCatalogTypeType
  2. See TagTypeDef

ListTagsForResourceOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTagsForResourceOutputTypeDef

def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import TagResourceInputRequestTypeDef

def get_value() -> TagResourceInputRequestTypeDef:
    return {
        "ResourceARN": ...,
        "Tags": ...,
    }
Definition
class TagResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ListDataCatalogsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDataCatalogsOutputTypeDef

def get_value() -> ListDataCatalogsOutputTypeDef:
    return {
        "DataCatalogsSummary": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDataCatalogsOutputTypeDef(TypedDict):
    DataCatalogsSummary: List[DataCatalogSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCatalogSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetDataCatalogOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetDataCatalogOutputTypeDef

def get_value() -> GetDataCatalogOutputTypeDef:
    return {
        "DataCatalog": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDataCatalogOutputTypeDef(TypedDict):
    DataCatalog: DataCatalogTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCatalogTypeDef
  2. See ResponseMetadataTypeDef

GetDatabaseOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetDatabaseOutputTypeDef

def get_value() -> GetDatabaseOutputTypeDef:
    return {
        "Database": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDatabaseOutputTypeDef(TypedDict):
    Database: DatabaseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatabaseTypeDef
  2. See ResponseMetadataTypeDef

ListDatabasesOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDatabasesOutputTypeDef

def get_value() -> ListDatabasesOutputTypeDef:
    return {
        "DatabaseList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDatabasesOutputTypeDef(TypedDict):
    DatabaseList: List[DatabaseTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatabaseTypeDef
  2. See ResponseMetadataTypeDef

RowTypeDef

Usage Example
from mypy_boto3_athena.type_defs import RowTypeDef

def get_value() -> RowTypeDef:
    return {
        "Data": ...,
    }
Definition
class RowTypeDef(TypedDict):
    Data: NotRequired[List[DatumTypeDef]],  # (1)
  1. See DatumTypeDef

ResultConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultConfigurationTypeDef

def get_value() -> ResultConfigurationTypeDef:
    return {
        "OutputLocation": ...,
    }
Definition
class ResultConfigurationTypeDef(TypedDict):
    OutputLocation: NotRequired[str],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (1)
    ExpectedBucketOwner: NotRequired[str],
    AclConfiguration: NotRequired[AclConfigurationTypeDef],  # (2)
  1. See EncryptionConfigurationTypeDef
  2. See AclConfigurationTypeDef

ResultConfigurationUpdatesTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultConfigurationUpdatesTypeDef

def get_value() -> ResultConfigurationUpdatesTypeDef:
    return {
        "OutputLocation": ...,
    }
Definition
class ResultConfigurationUpdatesTypeDef(TypedDict):
    OutputLocation: NotRequired[str],
    RemoveOutputLocation: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (1)
    RemoveEncryptionConfiguration: NotRequired[bool],
    ExpectedBucketOwner: NotRequired[str],
    RemoveExpectedBucketOwner: NotRequired[bool],
    AclConfiguration: NotRequired[AclConfigurationTypeDef],  # (2)
    RemoveAclConfiguration: NotRequired[bool],
  1. See EncryptionConfigurationTypeDef
  2. See AclConfigurationTypeDef

ListEngineVersionsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListEngineVersionsOutputTypeDef

def get_value() -> ListEngineVersionsOutputTypeDef:
    return {
        "EngineVersions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListEngineVersionsOutputTypeDef(TypedDict):
    EngineVersions: List[EngineVersionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EngineVersionTypeDef
  2. See ResponseMetadataTypeDef

WorkGroupSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import WorkGroupSummaryTypeDef

def get_value() -> WorkGroupSummaryTypeDef:
    return {
        "Name": ...,
    }
Definition
class WorkGroupSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    State: NotRequired[WorkGroupStateType],  # (1)
    Description: NotRequired[str],
    CreationTime: NotRequired[datetime],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (2)
  1. See WorkGroupStateType
  2. See EngineVersionTypeDef

GetQueryResultsInputGetQueryResultsPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryResultsInputGetQueryResultsPaginateTypeDef

def get_value() -> GetQueryResultsInputGetQueryResultsPaginateTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class GetQueryResultsInputGetQueryResultsPaginateTypeDef(TypedDict):
    QueryExecutionId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDataCatalogsInputListDataCatalogsPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDataCatalogsInputListDataCatalogsPaginateTypeDef

def get_value() -> ListDataCatalogsInputListDataCatalogsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListDataCatalogsInputListDataCatalogsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDatabasesInputListDatabasesPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListDatabasesInputListDatabasesPaginateTypeDef

def get_value() -> ListDatabasesInputListDatabasesPaginateTypeDef:
    return {
        "CatalogName": ...,
    }
Definition
class ListDatabasesInputListDatabasesPaginateTypeDef(TypedDict):
    CatalogName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListNamedQueriesInputListNamedQueriesPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListNamedQueriesInputListNamedQueriesPaginateTypeDef

def get_value() -> ListNamedQueriesInputListNamedQueriesPaginateTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class ListNamedQueriesInputListNamedQueriesPaginateTypeDef(TypedDict):
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListQueryExecutionsInputListQueryExecutionsPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListQueryExecutionsInputListQueryExecutionsPaginateTypeDef

def get_value() -> ListQueryExecutionsInputListQueryExecutionsPaginateTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class ListQueryExecutionsInputListQueryExecutionsPaginateTypeDef(TypedDict):
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTableMetadataInputListTableMetadataPaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTableMetadataInputListTableMetadataPaginateTypeDef

def get_value() -> ListTableMetadataInputListTableMetadataPaginateTypeDef:
    return {
        "CatalogName": ...,
        "DatabaseName": ...,
    }
Definition
class ListTableMetadataInputListTableMetadataPaginateTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    Expression: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsForResourceInputListTagsForResourcePaginateTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTagsForResourceInputListTagsForResourcePaginateTypeDef

def get_value() -> ListTagsForResourceInputListTagsForResourcePaginateTypeDef:
    return {
        "ResourceARN": ...,
    }
Definition
class ListTagsForResourceInputListTagsForResourcePaginateTypeDef(TypedDict):
    ResourceARN: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPreparedStatementsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListPreparedStatementsOutputTypeDef

def get_value() -> ListPreparedStatementsOutputTypeDef:
    return {
        "PreparedStatements": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPreparedStatementsOutputTypeDef(TypedDict):
    PreparedStatements: List[PreparedStatementSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PreparedStatementSummaryTypeDef
  2. See ResponseMetadataTypeDef

QueryRuntimeStatisticsTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryRuntimeStatisticsTypeDef

def get_value() -> QueryRuntimeStatisticsTypeDef:
    return {
        "Timeline": ...,
    }
Definition
class QueryRuntimeStatisticsTypeDef(TypedDict):
    Timeline: NotRequired[QueryRuntimeStatisticsTimelineTypeDef],  # (1)
    Rows: NotRequired[QueryRuntimeStatisticsRowsTypeDef],  # (2)
    OutputStage: NotRequired[QueryStageTypeDef],  # (3)
  1. See QueryRuntimeStatisticsTimelineTypeDef
  2. See QueryRuntimeStatisticsRowsTypeDef
  3. See QueryStageTypeDef

GetTableMetadataOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetTableMetadataOutputTypeDef

def get_value() -> GetTableMetadataOutputTypeDef:
    return {
        "TableMetadata": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTableMetadataOutputTypeDef(TypedDict):
    TableMetadata: TableMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListTableMetadataOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListTableMetadataOutputTypeDef

def get_value() -> ListTableMetadataOutputTypeDef:
    return {
        "TableMetadataList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTableMetadataOutputTypeDef(TypedDict):
    TableMetadataList: List[TableMetadataTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableMetadataTypeDef
  2. See ResponseMetadataTypeDef

ResultSetTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultSetTypeDef

def get_value() -> ResultSetTypeDef:
    return {
        "Rows": ...,
    }
Definition
class ResultSetTypeDef(TypedDict):
    Rows: NotRequired[List[RowTypeDef]],  # (1)
    ResultSetMetadata: NotRequired[ResultSetMetadataTypeDef],  # (2)
  1. See RowTypeDef
  2. See ResultSetMetadataTypeDef

QueryExecutionTypeDef

Usage Example
from mypy_boto3_athena.type_defs import QueryExecutionTypeDef

def get_value() -> QueryExecutionTypeDef:
    return {
        "QueryExecutionId": ...,
    }
Definition
class QueryExecutionTypeDef(TypedDict):
    QueryExecutionId: NotRequired[str],
    Query: NotRequired[str],
    StatementType: NotRequired[StatementTypeType],  # (1)
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (2)
    QueryExecutionContext: NotRequired[QueryExecutionContextTypeDef],  # (3)
    Status: NotRequired[QueryExecutionStatusTypeDef],  # (4)
    Statistics: NotRequired[QueryExecutionStatisticsTypeDef],  # (5)
    WorkGroup: NotRequired[str],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (6)
    ExecutionParameters: NotRequired[List[str]],
  1. See StatementTypeType
  2. See ResultConfigurationTypeDef
  3. See QueryExecutionContextTypeDef
  4. See QueryExecutionStatusTypeDef
  5. See QueryExecutionStatisticsTypeDef
  6. See EngineVersionTypeDef

StartQueryExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StartQueryExecutionInputRequestTypeDef

def get_value() -> StartQueryExecutionInputRequestTypeDef:
    return {
        "QueryString": ...,
    }
Definition
class StartQueryExecutionInputRequestTypeDef(TypedDict):
    QueryString: str,
    ClientRequestToken: NotRequired[str],
    QueryExecutionContext: NotRequired[QueryExecutionContextTypeDef],  # (1)
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (2)
    WorkGroup: NotRequired[str],
    ExecutionParameters: NotRequired[Sequence[str]],
  1. See QueryExecutionContextTypeDef
  2. See ResultConfigurationTypeDef

WorkGroupConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import WorkGroupConfigurationTypeDef

def get_value() -> WorkGroupConfigurationTypeDef:
    return {
        "ResultConfiguration": ...,
    }
Definition
class WorkGroupConfigurationTypeDef(TypedDict):
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (1)
    EnforceWorkGroupConfiguration: NotRequired[bool],
    PublishCloudWatchMetricsEnabled: NotRequired[bool],
    BytesScannedCutoffPerQuery: NotRequired[int],
    RequesterPaysEnabled: NotRequired[bool],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (2)
  1. See ResultConfigurationTypeDef
  2. See EngineVersionTypeDef

WorkGroupConfigurationUpdatesTypeDef

Usage Example
from mypy_boto3_athena.type_defs import WorkGroupConfigurationUpdatesTypeDef

def get_value() -> WorkGroupConfigurationUpdatesTypeDef:
    return {
        "EnforceWorkGroupConfiguration": ...,
    }
Definition
class WorkGroupConfigurationUpdatesTypeDef(TypedDict):
    EnforceWorkGroupConfiguration: NotRequired[bool],
    ResultConfigurationUpdates: NotRequired[ResultConfigurationUpdatesTypeDef],  # (1)
    PublishCloudWatchMetricsEnabled: NotRequired[bool],
    BytesScannedCutoffPerQuery: NotRequired[int],
    RemoveBytesScannedCutoffPerQuery: NotRequired[bool],
    RequesterPaysEnabled: NotRequired[bool],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (2)
  1. See ResultConfigurationUpdatesTypeDef
  2. See EngineVersionTypeDef

ListWorkGroupsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListWorkGroupsOutputTypeDef

def get_value() -> ListWorkGroupsOutputTypeDef:
    return {
        "WorkGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListWorkGroupsOutputTypeDef(TypedDict):
    WorkGroups: List[WorkGroupSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetQueryRuntimeStatisticsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryRuntimeStatisticsOutputTypeDef

def get_value() -> GetQueryRuntimeStatisticsOutputTypeDef:
    return {
        "QueryRuntimeStatistics": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQueryRuntimeStatisticsOutputTypeDef(TypedDict):
    QueryRuntimeStatistics: QueryRuntimeStatisticsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryRuntimeStatisticsTypeDef
  2. See ResponseMetadataTypeDef

GetQueryResultsOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryResultsOutputTypeDef

def get_value() -> GetQueryResultsOutputTypeDef:
    return {
        "UpdateCount": ...,
        "ResultSet": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQueryResultsOutputTypeDef(TypedDict):
    UpdateCount: int,
    ResultSet: ResultSetTypeDef,  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResultSetTypeDef
  2. See ResponseMetadataTypeDef

BatchGetQueryExecutionOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import BatchGetQueryExecutionOutputTypeDef

def get_value() -> BatchGetQueryExecutionOutputTypeDef:
    return {
        "QueryExecutions": ...,
        "UnprocessedQueryExecutionIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetQueryExecutionOutputTypeDef(TypedDict):
    QueryExecutions: List[QueryExecutionTypeDef],  # (1)
    UnprocessedQueryExecutionIds: List[UnprocessedQueryExecutionIdTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See QueryExecutionTypeDef
  2. See UnprocessedQueryExecutionIdTypeDef
  3. See ResponseMetadataTypeDef

GetQueryExecutionOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetQueryExecutionOutputTypeDef

def get_value() -> GetQueryExecutionOutputTypeDef:
    return {
        "QueryExecution": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQueryExecutionOutputTypeDef(TypedDict):
    QueryExecution: QueryExecutionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryExecutionTypeDef
  2. See ResponseMetadataTypeDef

CreateWorkGroupInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateWorkGroupInputRequestTypeDef

def get_value() -> CreateWorkGroupInputRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class CreateWorkGroupInputRequestTypeDef(TypedDict):
    Name: str,
    Configuration: NotRequired[WorkGroupConfigurationTypeDef],  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See WorkGroupConfigurationTypeDef
  2. See TagTypeDef

WorkGroupTypeDef

Usage Example
from mypy_boto3_athena.type_defs import WorkGroupTypeDef

def get_value() -> WorkGroupTypeDef:
    return {
        "Name": ...,
    }
Definition
class WorkGroupTypeDef(TypedDict):
    Name: str,
    State: NotRequired[WorkGroupStateType],  # (1)
    Configuration: NotRequired[WorkGroupConfigurationTypeDef],  # (2)
    Description: NotRequired[str],
    CreationTime: NotRequired[datetime],
  1. See WorkGroupStateType
  2. See WorkGroupConfigurationTypeDef

UpdateWorkGroupInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdateWorkGroupInputRequestTypeDef

def get_value() -> UpdateWorkGroupInputRequestTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class UpdateWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Description: NotRequired[str],
    ConfigurationUpdates: NotRequired[WorkGroupConfigurationUpdatesTypeDef],  # (1)
    State: NotRequired[WorkGroupStateType],  # (2)
  1. See WorkGroupConfigurationUpdatesTypeDef
  2. See WorkGroupStateType

GetWorkGroupOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetWorkGroupOutputTypeDef

def get_value() -> GetWorkGroupOutputTypeDef:
    return {
        "WorkGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetWorkGroupOutputTypeDef(TypedDict):
    WorkGroup: WorkGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkGroupTypeDef
  2. See ResponseMetadataTypeDef