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

ApplicationDPUSizesTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ApplicationDPUSizesTypeDef

def get_value() -> ApplicationDPUSizesTypeDef:
    return {
        "ApplicationRuntimeId": ...,
    }
Definition
class ApplicationDPUSizesTypeDef(TypedDict):
    ApplicationRuntimeId: NotRequired[str],
    SupportedDPUSizes: NotRequired[List[int]],

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],

CalculationConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CalculationConfigurationTypeDef

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

CalculationResultTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CalculationResultTypeDef

def get_value() -> CalculationResultTypeDef:
    return {
        "StdOutS3Uri": ...,
    }
Definition
class CalculationResultTypeDef(TypedDict):
    StdOutS3Uri: NotRequired[str],
    StdErrorS3Uri: NotRequired[str],
    ResultS3Uri: NotRequired[str],
    ResultType: NotRequired[str],

CalculationStatisticsTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CalculationStatisticsTypeDef

def get_value() -> CalculationStatisticsTypeDef:
    return {
        "DpuExecutionInMillis": ...,
    }
Definition
class CalculationStatisticsTypeDef(TypedDict):
    DpuExecutionInMillis: NotRequired[int],
    Progress: NotRequired[str],

CalculationStatusTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CalculationStatusTypeDef

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

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],

CreateNotebookInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateNotebookInputRequestTypeDef

def get_value() -> CreateNotebookInputRequestTypeDef:
    return {
        "WorkGroup": ...,
        "Name": ...,
    }
Definition
class CreateNotebookInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Name: str,
    ClientRequestToken: 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],

CreatePresignedNotebookUrlRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreatePresignedNotebookUrlRequestRequestTypeDef

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

CustomerContentEncryptionConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CustomerContentEncryptionConfigurationTypeDef

def get_value() -> CustomerContentEncryptionConfigurationTypeDef:
    return {
        "KmsKey": ...,
    }
Definition
class CustomerContentEncryptionConfigurationTypeDef(TypedDict):
    KmsKey: 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,

DeleteNotebookInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import DeleteNotebookInputRequestTypeDef

def get_value() -> DeleteNotebookInputRequestTypeDef:
    return {
        "NotebookId": ...,
    }
Definition
class DeleteNotebookInputRequestTypeDef(TypedDict):
    NotebookId: 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

EngineConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import EngineConfigurationTypeDef

def get_value() -> EngineConfigurationTypeDef:
    return {
        "MaxConcurrentDpus": ...,
    }
Definition
class EngineConfigurationTypeDef(TypedDict):
    MaxConcurrentDpus: int,
    CoordinatorDpuSize: NotRequired[int],
    DefaultExecutorDpuSize: NotRequired[int],
    AdditionalConfigs: NotRequired[Dict[str, str]],

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],

ExecutorsSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ExecutorsSummaryTypeDef

def get_value() -> ExecutorsSummaryTypeDef:
    return {
        "ExecutorId": ...,
    }
Definition
class ExecutorsSummaryTypeDef(TypedDict):
    ExecutorId: str,
    ExecutorType: NotRequired[ExecutorTypeType],  # (1)
    StartDateTime: NotRequired[int],
    TerminationDateTime: NotRequired[int],
    ExecutorState: NotRequired[ExecutorStateType],  # (2)
    ExecutorSize: NotRequired[int],
  1. See ExecutorTypeType
  2. See ExecutorStateType

ExportNotebookInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ExportNotebookInputRequestTypeDef

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

NotebookMetadataTypeDef

Usage Example
from mypy_boto3_athena.type_defs import NotebookMetadataTypeDef

def get_value() -> NotebookMetadataTypeDef:
    return {
        "NotebookId": ...,
    }
Definition
class NotebookMetadataTypeDef(TypedDict):
    NotebookId: NotRequired[str],
    Name: NotRequired[str],
    WorkGroup: NotRequired[str],
    CreationTime: NotRequired[datetime],
    Type: NotRequired[NotebookTypeType],  # (1)
    LastModifiedTime: NotRequired[datetime],
  1. See NotebookTypeType

FilterDefinitionTypeDef

Usage Example
from mypy_boto3_athena.type_defs import FilterDefinitionTypeDef

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

GetCalculationExecutionCodeRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetCalculationExecutionCodeRequestRequestTypeDef

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

GetCalculationExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetCalculationExecutionRequestRequestTypeDef

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

GetCalculationExecutionStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetCalculationExecutionStatusRequestRequestTypeDef

def get_value() -> GetCalculationExecutionStatusRequestRequestTypeDef:
    return {
        "CalculationExecutionId": ...,
    }
Definition
class GetCalculationExecutionStatusRequestRequestTypeDef(TypedDict):
    CalculationExecutionId: 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,

GetNotebookMetadataInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetNotebookMetadataInputRequestTypeDef

def get_value() -> GetNotebookMetadataInputRequestTypeDef:
    return {
        "NotebookId": ...,
    }
Definition
class GetNotebookMetadataInputRequestTypeDef(TypedDict):
    NotebookId: 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,

GetSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetSessionRequestRequestTypeDef

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

SessionStatisticsTypeDef

Usage Example
from mypy_boto3_athena.type_defs import SessionStatisticsTypeDef

def get_value() -> SessionStatisticsTypeDef:
    return {
        "DpuExecutionInMillis": ...,
    }
Definition
class SessionStatisticsTypeDef(TypedDict):
    DpuExecutionInMillis: NotRequired[int],

SessionStatusTypeDef

Usage Example
from mypy_boto3_athena.type_defs import SessionStatusTypeDef

def get_value() -> SessionStatusTypeDef:
    return {
        "StartDateTime": ...,
    }
Definition
class SessionStatusTypeDef(TypedDict):
    StartDateTime: NotRequired[datetime],
    LastModifiedDateTime: NotRequired[datetime],
    EndDateTime: NotRequired[datetime],
    IdleSinceDateTime: NotRequired[datetime],
    State: NotRequired[SessionStateType],  # (1)
    StateChangeReason: NotRequired[str],
  1. See SessionStateType

GetSessionStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetSessionStatusRequestRequestTypeDef

def get_value() -> GetSessionStatusRequestRequestTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class GetSessionStatusRequestRequestTypeDef(TypedDict):
    SessionId: 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,

ImportNotebookInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ImportNotebookInputRequestTypeDef

def get_value() -> ImportNotebookInputRequestTypeDef:
    return {
        "WorkGroup": ...,
        "Name": ...,
        "Payload": ...,
        "Type": ...,
    }
Definition
class ImportNotebookInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Name: str,
    Payload: str,
    Type: NotebookTypeType,  # (1)
    ClientRequestToken: NotRequired[str],
  1. See NotebookTypeType

ListApplicationDPUSizesInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListApplicationDPUSizesInputRequestTypeDef

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

ListCalculationExecutionsRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListCalculationExecutionsRequestRequestTypeDef

def get_value() -> ListCalculationExecutionsRequestRequestTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class ListCalculationExecutionsRequestRequestTypeDef(TypedDict):
    SessionId: str,
    StateFilter: NotRequired[CalculationExecutionStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See CalculationExecutionStateType

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],

ListExecutorsRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListExecutorsRequestRequestTypeDef

def get_value() -> ListExecutorsRequestRequestTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class ListExecutorsRequestRequestTypeDef(TypedDict):
    SessionId: str,
    ExecutorStateFilter: NotRequired[ExecutorStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ExecutorStateType

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],

ListNotebookSessionsRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListNotebookSessionsRequestRequestTypeDef

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

NotebookSessionSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import NotebookSessionSummaryTypeDef

def get_value() -> NotebookSessionSummaryTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class NotebookSessionSummaryTypeDef(TypedDict):
    SessionId: NotRequired[str],
    CreationTime: NotRequired[datetime],

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],

ListSessionsRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListSessionsRequestRequestTypeDef

def get_value() -> ListSessionsRequestRequestTypeDef:
    return {
        "WorkGroup": ...,
    }
Definition
class ListSessionsRequestRequestTypeDef(TypedDict):
    WorkGroup: str,
    StateFilter: NotRequired[SessionStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See SessionStateType

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],

ResultReuseInformationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultReuseInformationTypeDef

def get_value() -> ResultReuseInformationTypeDef:
    return {
        "ReusedPreviousResult": ...,
    }
Definition
class ResultReuseInformationTypeDef(TypedDict):
    ReusedPreviousResult: bool,

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

ResultReuseByAgeConfigurationTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ResultReuseByAgeConfigurationTypeDef

def get_value() -> ResultReuseByAgeConfigurationTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ResultReuseByAgeConfigurationTypeDef(TypedDict):
    Enabled: bool,
    MaxAgeInMinutes: NotRequired[int],

StopCalculationExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StopCalculationExecutionRequestRequestTypeDef

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

StopQueryExecutionInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StopQueryExecutionInputRequestTypeDef

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

TerminateSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import TerminateSessionRequestRequestTypeDef

def get_value() -> TerminateSessionRequestRequestTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class TerminateSessionRequestRequestTypeDef(TypedDict):
    SessionId: 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],

UpdateNotebookInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdateNotebookInputRequestTypeDef

def get_value() -> UpdateNotebookInputRequestTypeDef:
    return {
        "NotebookId": ...,
        "Payload": ...,
        "Type": ...,
    }
Definition
class UpdateNotebookInputRequestTypeDef(TypedDict):
    NotebookId: str,
    Payload: str,
    Type: NotebookTypeType,  # (1)
    SessionId: NotRequired[str],
    ClientRequestToken: NotRequired[str],
  1. See NotebookTypeType

UpdateNotebookMetadataInputRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import UpdateNotebookMetadataInputRequestTypeDef

def get_value() -> UpdateNotebookMetadataInputRequestTypeDef:
    return {
        "NotebookId": ...,
        "Name": ...,
    }
Definition
class UpdateNotebookMetadataInputRequestTypeDef(TypedDict):
    NotebookId: str,
    Name: str,
    ClientRequestToken: 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

CreateNotebookOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreateNotebookOutputTypeDef

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

CreatePresignedNotebookUrlResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CreatePresignedNotebookUrlResponseTypeDef

def get_value() -> CreatePresignedNotebookUrlResponseTypeDef:
    return {
        "NotebookUrl": ...,
        "AuthToken": ...,
        "AuthTokenExpirationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreatePresignedNotebookUrlResponseTypeDef(TypedDict):
    NotebookUrl: str,
    AuthToken: str,
    AuthTokenExpirationTime: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCalculationExecutionCodeResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetCalculationExecutionCodeResponseTypeDef

def get_value() -> GetCalculationExecutionCodeResponseTypeDef:
    return {
        "CodeBlock": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCalculationExecutionCodeResponseTypeDef(TypedDict):
    CodeBlock: 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

ImportNotebookOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ImportNotebookOutputTypeDef

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

ListApplicationDPUSizesOutputTypeDef

Usage Example
from mypy_boto3_athena.type_defs import ListApplicationDPUSizesOutputTypeDef

def get_value() -> ListApplicationDPUSizesOutputTypeDef:
    return {
        "ApplicationDPUSizes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListApplicationDPUSizesOutputTypeDef(TypedDict):
    ApplicationDPUSizes: List[ApplicationDPUSizesTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationDPUSizesTypeDef
  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

StartCalculationExecutionResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StartCalculationExecutionResponseTypeDef

def get_value() -> StartCalculationExecutionResponseTypeDef:
    return {
        "CalculationExecutionId": ...,
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartCalculationExecutionResponseTypeDef(TypedDict):
    CalculationExecutionId: str,
    State: CalculationExecutionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CalculationExecutionStateType
  2. 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

StartSessionResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StartSessionResponseTypeDef

def get_value() -> StartSessionResponseTypeDef:
    return {
        "SessionId": ...,
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartSessionResponseTypeDef(TypedDict):
    SessionId: str,
    State: SessionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionStateType
  2. See ResponseMetadataTypeDef

StopCalculationExecutionResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StopCalculationExecutionResponseTypeDef

def get_value() -> StopCalculationExecutionResponseTypeDef:
    return {
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class StopCalculationExecutionResponseTypeDef(TypedDict):
    State: CalculationExecutionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CalculationExecutionStateType
  2. See ResponseMetadataTypeDef

TerminateSessionResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import TerminateSessionResponseTypeDef

def get_value() -> TerminateSessionResponseTypeDef:
    return {
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class TerminateSessionResponseTypeDef(TypedDict):
    State: SessionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionStateType
  2. 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

StartCalculationExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_athena.type_defs import StartCalculationExecutionRequestRequestTypeDef

def get_value() -> StartCalculationExecutionRequestRequestTypeDef:
    return {
        "SessionId": ...,
    }
Definition
class StartCalculationExecutionRequestRequestTypeDef(TypedDict):
    SessionId: str,
    Description: NotRequired[str],
    CalculationConfiguration: NotRequired[CalculationConfigurationTypeDef],  # (1)
    CodeBlock: NotRequired[str],
    ClientRequestToken: NotRequired[str],
  1. See CalculationConfigurationTypeDef

CalculationSummaryTypeDef

Usage Example
from mypy_boto3_athena.type_defs import CalculationSummaryTypeDef

def get_value() -> CalculationSummaryTypeDef:
    return {
        "CalculationExecutionId": ...,
    }
Definition
class CalculationSummaryTypeDef(TypedDict):
    CalculationExecutionId: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[CalculationStatusTypeDef],  # (1)
  1. See CalculationStatusTypeDef

GetCalculationExecutionResponseTypeDef

Usage Example
from mypy_boto3_athena.type_defs import GetCalculationExecutionResponseTypeDef

def get_value() -> GetCalculationExecutionResponseTypeDef:
    return {
        "CalculationExecutionId": ...,
        "SessionId": ...,
        "Description": ...,
        "WorkingDirectory": ...,
        "Status": ...,
        "Statistics": ...,