Skip to content

Type definitions#

Index > Athena > Type definitions

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

CapacityAssignmentUnionTypeDef#

# CapacityAssignmentUnionTypeDef definition

CapacityAssignmentUnionTypeDef = Union[
    CapacityAssignmentTypeDef,  # (1)
    CapacityAssignmentOutputTypeDef,  # (2)
]
  1. See CapacityAssignmentTypeDef
  2. See CapacityAssignmentOutputTypeDef

AclConfigurationTypeDef#

# AclConfigurationTypeDef definition

class AclConfigurationTypeDef(TypedDict):
    S3AclOption: S3AclOptionType,  # (1)
  1. See S3AclOptionType

ApplicationDPUSizesTypeDef#

# ApplicationDPUSizesTypeDef definition

class ApplicationDPUSizesTypeDef(TypedDict):
    ApplicationRuntimeId: NotRequired[str],
    SupportedDPUSizes: NotRequired[list[int]],

AthenaErrorTypeDef#

# AthenaErrorTypeDef definition

class AthenaErrorTypeDef(TypedDict):
    ErrorCategory: NotRequired[int],
    ErrorType: NotRequired[int],
    Retryable: NotRequired[bool],
    ErrorMessage: NotRequired[str],

BatchGetNamedQueryInputRequestTypeDef#

# BatchGetNamedQueryInputRequestTypeDef definition

class BatchGetNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryIds: Sequence[str],

NamedQueryTypeDef#

# NamedQueryTypeDef definition

class NamedQueryTypeDef(TypedDict):
    Name: str,
    Database: str,
    QueryString: str,
    Description: NotRequired[str],
    NamedQueryId: NotRequired[str],
    WorkGroup: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

UnprocessedNamedQueryIdTypeDef#

# UnprocessedNamedQueryIdTypeDef definition

class UnprocessedNamedQueryIdTypeDef(TypedDict):
    NamedQueryId: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchGetPreparedStatementInputRequestTypeDef#

# BatchGetPreparedStatementInputRequestTypeDef definition

class BatchGetPreparedStatementInputRequestTypeDef(TypedDict):
    PreparedStatementNames: Sequence[str],
    WorkGroup: str,

PreparedStatementTypeDef#

# PreparedStatementTypeDef definition

class PreparedStatementTypeDef(TypedDict):
    StatementName: NotRequired[str],
    QueryStatement: NotRequired[str],
    WorkGroupName: NotRequired[str],
    Description: NotRequired[str],
    LastModifiedTime: NotRequired[datetime],

UnprocessedPreparedStatementNameTypeDef#

# UnprocessedPreparedStatementNameTypeDef definition

class UnprocessedPreparedStatementNameTypeDef(TypedDict):
    StatementName: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchGetQueryExecutionInputRequestTypeDef#

# BatchGetQueryExecutionInputRequestTypeDef definition

class BatchGetQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionIds: Sequence[str],

UnprocessedQueryExecutionIdTypeDef#

# UnprocessedQueryExecutionIdTypeDef definition

class UnprocessedQueryExecutionIdTypeDef(TypedDict):
    QueryExecutionId: NotRequired[str],
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

CalculationConfigurationTypeDef#

# CalculationConfigurationTypeDef definition

class CalculationConfigurationTypeDef(TypedDict):
    CodeBlock: NotRequired[str],

CalculationResultTypeDef#

# CalculationResultTypeDef definition

class CalculationResultTypeDef(TypedDict):
    StdOutS3Uri: NotRequired[str],
    StdErrorS3Uri: NotRequired[str],
    ResultS3Uri: NotRequired[str],
    ResultType: NotRequired[str],

CalculationStatisticsTypeDef#

# CalculationStatisticsTypeDef definition

class CalculationStatisticsTypeDef(TypedDict):
    DpuExecutionInMillis: NotRequired[int],
    Progress: NotRequired[str],

CalculationStatusTypeDef#

# CalculationStatusTypeDef definition

class CalculationStatusTypeDef(TypedDict):
    SubmissionDateTime: NotRequired[datetime],
    CompletionDateTime: NotRequired[datetime],
    State: NotRequired[CalculationExecutionStateType],  # (1)
    StateChangeReason: NotRequired[str],
  1. See CalculationExecutionStateType

CancelCapacityReservationInputRequestTypeDef#

# CancelCapacityReservationInputRequestTypeDef definition

class CancelCapacityReservationInputRequestTypeDef(TypedDict):
    Name: str,

CapacityAllocationTypeDef#

# CapacityAllocationTypeDef definition

class CapacityAllocationTypeDef(TypedDict):
    Status: CapacityAllocationStatusType,  # (1)
    RequestTime: datetime,
    StatusMessage: NotRequired[str],
    RequestCompletionTime: NotRequired[datetime],
  1. See CapacityAllocationStatusType

CapacityAssignmentOutputTypeDef#

# CapacityAssignmentOutputTypeDef definition

class CapacityAssignmentOutputTypeDef(TypedDict):
    WorkGroupNames: NotRequired[list[str]],

CapacityAssignmentTypeDef#

# CapacityAssignmentTypeDef definition

class CapacityAssignmentTypeDef(TypedDict):
    WorkGroupNames: NotRequired[Sequence[str]],

ColumnInfoTypeDef#

# ColumnInfoTypeDef 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#

# ColumnTypeDef definition

class ColumnTypeDef(TypedDict):
    Name: str,
    Type: NotRequired[str],
    Comment: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

DataCatalogTypeDef#

# DataCatalogTypeDef definition

class DataCatalogTypeDef(TypedDict):
    Name: str,
    Type: DataCatalogTypeType,  # (1)
    Description: NotRequired[str],
    Parameters: NotRequired[dict[str, str]],
    Status: NotRequired[DataCatalogStatusType],  # (2)
    ConnectionType: NotRequired[ConnectionTypeType],  # (3)
    Error: NotRequired[str],
  1. See DataCatalogTypeType
  2. See DataCatalogStatusType
  3. See ConnectionTypeType

CreateNamedQueryInputRequestTypeDef#

# CreateNamedQueryInputRequestTypeDef definition

class CreateNamedQueryInputRequestTypeDef(TypedDict):
    Name: str,
    Database: str,
    QueryString: str,
    Description: NotRequired[str],
    ClientRequestToken: NotRequired[str],
    WorkGroup: NotRequired[str],

CreateNotebookInputRequestTypeDef#

# CreateNotebookInputRequestTypeDef definition

class CreateNotebookInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Name: str,
    ClientRequestToken: NotRequired[str],

CreatePreparedStatementInputRequestTypeDef#

# CreatePreparedStatementInputRequestTypeDef definition

class CreatePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,
    QueryStatement: str,
    Description: NotRequired[str],

CreatePresignedNotebookUrlRequestRequestTypeDef#

# CreatePresignedNotebookUrlRequestRequestTypeDef definition

class CreatePresignedNotebookUrlRequestRequestTypeDef(TypedDict):
    SessionId: str,

CustomerContentEncryptionConfigurationTypeDef#

# CustomerContentEncryptionConfigurationTypeDef definition

class CustomerContentEncryptionConfigurationTypeDef(TypedDict):
    KmsKey: str,

DataCatalogSummaryTypeDef#

# DataCatalogSummaryTypeDef definition

class DataCatalogSummaryTypeDef(TypedDict):
    CatalogName: NotRequired[str],
    Type: NotRequired[DataCatalogTypeType],  # (1)
    Status: NotRequired[DataCatalogStatusType],  # (2)
    ConnectionType: NotRequired[ConnectionTypeType],  # (3)
    Error: NotRequired[str],
  1. See DataCatalogTypeType
  2. See DataCatalogStatusType
  3. See ConnectionTypeType

DatabaseTypeDef#

# DatabaseTypeDef definition

class DatabaseTypeDef(TypedDict):
    Name: str,
    Description: NotRequired[str],
    Parameters: NotRequired[dict[str, str]],

DatumTypeDef#

# DatumTypeDef definition

class DatumTypeDef(TypedDict):
    VarCharValue: NotRequired[str],

DeleteCapacityReservationInputRequestTypeDef#

# DeleteCapacityReservationInputRequestTypeDef definition

class DeleteCapacityReservationInputRequestTypeDef(TypedDict):
    Name: str,

DeleteDataCatalogInputRequestTypeDef#

# DeleteDataCatalogInputRequestTypeDef definition

class DeleteDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,
    DeleteCatalogOnly: NotRequired[bool],

DeleteNamedQueryInputRequestTypeDef#

# DeleteNamedQueryInputRequestTypeDef definition

class DeleteNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,

DeleteNotebookInputRequestTypeDef#

# DeleteNotebookInputRequestTypeDef definition

class DeleteNotebookInputRequestTypeDef(TypedDict):
    NotebookId: str,

DeletePreparedStatementInputRequestTypeDef#

# DeletePreparedStatementInputRequestTypeDef definition

class DeletePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,

DeleteWorkGroupInputRequestTypeDef#

# DeleteWorkGroupInputRequestTypeDef definition

class DeleteWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    RecursiveDeleteOption: NotRequired[bool],

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef definition

class EncryptionConfigurationTypeDef(TypedDict):
    EncryptionOption: EncryptionOptionType,  # (1)
    KmsKey: NotRequired[str],
  1. See EncryptionOptionType

EngineConfigurationOutputTypeDef#

# EngineConfigurationOutputTypeDef definition

class EngineConfigurationOutputTypeDef(TypedDict):
    MaxConcurrentDpus: int,
    CoordinatorDpuSize: NotRequired[int],
    DefaultExecutorDpuSize: NotRequired[int],
    AdditionalConfigs: NotRequired[dict[str, str]],
    SparkProperties: NotRequired[dict[str, str]],

EngineConfigurationTypeDef#

# EngineConfigurationTypeDef definition

class EngineConfigurationTypeDef(TypedDict):
    MaxConcurrentDpus: int,
    CoordinatorDpuSize: NotRequired[int],
    DefaultExecutorDpuSize: NotRequired[int],
    AdditionalConfigs: NotRequired[Mapping[str, str]],
    SparkProperties: NotRequired[Mapping[str, str]],

EngineVersionTypeDef#

# EngineVersionTypeDef definition

class EngineVersionTypeDef(TypedDict):
    SelectedEngineVersion: NotRequired[str],
    EffectiveEngineVersion: NotRequired[str],

ExecutorsSummaryTypeDef#

# ExecutorsSummaryTypeDef 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#

# ExportNotebookInputRequestTypeDef definition

class ExportNotebookInputRequestTypeDef(TypedDict):
    NotebookId: str,

NotebookMetadataTypeDef#

# NotebookMetadataTypeDef 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#

# FilterDefinitionTypeDef definition

class FilterDefinitionTypeDef(TypedDict):
    Name: NotRequired[str],

GetCalculationExecutionCodeRequestRequestTypeDef#

# GetCalculationExecutionCodeRequestRequestTypeDef definition

class GetCalculationExecutionCodeRequestRequestTypeDef(TypedDict):
    CalculationExecutionId: str,

GetCalculationExecutionRequestRequestTypeDef#

# GetCalculationExecutionRequestRequestTypeDef definition

class GetCalculationExecutionRequestRequestTypeDef(TypedDict):
    CalculationExecutionId: str,

GetCalculationExecutionStatusRequestRequestTypeDef#

# GetCalculationExecutionStatusRequestRequestTypeDef definition

class GetCalculationExecutionStatusRequestRequestTypeDef(TypedDict):
    CalculationExecutionId: str,

GetCapacityAssignmentConfigurationInputRequestTypeDef#

# GetCapacityAssignmentConfigurationInputRequestTypeDef definition

class GetCapacityAssignmentConfigurationInputRequestTypeDef(TypedDict):
    CapacityReservationName: str,

GetCapacityReservationInputRequestTypeDef#

# GetCapacityReservationInputRequestTypeDef definition

class GetCapacityReservationInputRequestTypeDef(TypedDict):
    Name: str,

GetDataCatalogInputRequestTypeDef#

# GetDataCatalogInputRequestTypeDef definition

class GetDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,
    WorkGroup: NotRequired[str],

GetDatabaseInputRequestTypeDef#

# GetDatabaseInputRequestTypeDef definition

class GetDatabaseInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    WorkGroup: NotRequired[str],

GetNamedQueryInputRequestTypeDef#

# GetNamedQueryInputRequestTypeDef definition

class GetNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,

GetNotebookMetadataInputRequestTypeDef#

# GetNotebookMetadataInputRequestTypeDef definition

class GetNotebookMetadataInputRequestTypeDef(TypedDict):
    NotebookId: str,

GetPreparedStatementInputRequestTypeDef#

# GetPreparedStatementInputRequestTypeDef definition

class GetPreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,

GetQueryExecutionInputRequestTypeDef#

# GetQueryExecutionInputRequestTypeDef definition

class GetQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetQueryResultsInputRequestTypeDef#

# GetQueryResultsInputRequestTypeDef definition

class GetQueryResultsInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetQueryRuntimeStatisticsInputRequestTypeDef#

# GetQueryRuntimeStatisticsInputRequestTypeDef definition

class GetQueryRuntimeStatisticsInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

GetSessionRequestRequestTypeDef#

# GetSessionRequestRequestTypeDef definition

class GetSessionRequestRequestTypeDef(TypedDict):
    SessionId: str,

SessionStatisticsTypeDef#

# SessionStatisticsTypeDef definition

class SessionStatisticsTypeDef(TypedDict):
    DpuExecutionInMillis: NotRequired[int],

SessionStatusTypeDef#

# SessionStatusTypeDef 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#

# GetSessionStatusRequestRequestTypeDef definition

class GetSessionStatusRequestRequestTypeDef(TypedDict):
    SessionId: str,

GetTableMetadataInputRequestTypeDef#

# GetTableMetadataInputRequestTypeDef definition

class GetTableMetadataInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    TableName: str,
    WorkGroup: NotRequired[str],

GetWorkGroupInputRequestTypeDef#

# GetWorkGroupInputRequestTypeDef definition

class GetWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,

IdentityCenterConfigurationTypeDef#

# IdentityCenterConfigurationTypeDef definition

class IdentityCenterConfigurationTypeDef(TypedDict):
    EnableIdentityCenter: NotRequired[bool],
    IdentityCenterInstanceArn: NotRequired[str],

ImportNotebookInputRequestTypeDef#

# ImportNotebookInputRequestTypeDef definition

class ImportNotebookInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Name: str,
    Type: NotebookTypeType,  # (1)
    Payload: NotRequired[str],
    NotebookS3LocationUri: NotRequired[str],
    ClientRequestToken: NotRequired[str],
  1. See NotebookTypeType

ListApplicationDPUSizesInputRequestTypeDef#

# ListApplicationDPUSizesInputRequestTypeDef definition

class ListApplicationDPUSizesInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCalculationExecutionsRequestRequestTypeDef#

# ListCalculationExecutionsRequestRequestTypeDef definition

class ListCalculationExecutionsRequestRequestTypeDef(TypedDict):
    SessionId: str,
    StateFilter: NotRequired[CalculationExecutionStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See CalculationExecutionStateType

ListCapacityReservationsInputRequestTypeDef#

# ListCapacityReservationsInputRequestTypeDef definition

class ListCapacityReservationsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDataCatalogsInputRequestTypeDef#

# ListDataCatalogsInputRequestTypeDef definition

class ListDataCatalogsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListDatabasesInputRequestTypeDef#

# ListDatabasesInputRequestTypeDef definition

class ListDatabasesInputRequestTypeDef(TypedDict):
    CatalogName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListEngineVersionsInputRequestTypeDef#

# ListEngineVersionsInputRequestTypeDef definition

class ListEngineVersionsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListExecutorsRequestRequestTypeDef#

# ListExecutorsRequestRequestTypeDef definition

class ListExecutorsRequestRequestTypeDef(TypedDict):
    SessionId: str,
    ExecutorStateFilter: NotRequired[ExecutorStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ExecutorStateType

ListNamedQueriesInputRequestTypeDef#

# ListNamedQueriesInputRequestTypeDef definition

class ListNamedQueriesInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListNotebookSessionsRequestRequestTypeDef#

# ListNotebookSessionsRequestRequestTypeDef definition

class ListNotebookSessionsRequestRequestTypeDef(TypedDict):
    NotebookId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

NotebookSessionSummaryTypeDef#

# NotebookSessionSummaryTypeDef definition

class NotebookSessionSummaryTypeDef(TypedDict):
    SessionId: NotRequired[str],
    CreationTime: NotRequired[datetime],

ListPreparedStatementsInputRequestTypeDef#

# ListPreparedStatementsInputRequestTypeDef definition

class ListPreparedStatementsInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PreparedStatementSummaryTypeDef#

# PreparedStatementSummaryTypeDef definition

class PreparedStatementSummaryTypeDef(TypedDict):
    StatementName: NotRequired[str],
    LastModifiedTime: NotRequired[datetime],

ListQueryExecutionsInputRequestTypeDef#

# ListQueryExecutionsInputRequestTypeDef definition

class ListQueryExecutionsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListSessionsRequestRequestTypeDef#

# ListSessionsRequestRequestTypeDef definition

class ListSessionsRequestRequestTypeDef(TypedDict):
    WorkGroup: str,
    StateFilter: NotRequired[SessionStateType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See SessionStateType

ListTableMetadataInputRequestTypeDef#

# ListTableMetadataInputRequestTypeDef definition

class ListTableMetadataInputRequestTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    Expression: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WorkGroup: NotRequired[str],

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef definition

class ListTagsForResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListWorkGroupsInputRequestTypeDef#

# ListWorkGroupsInputRequestTypeDef definition

class ListWorkGroupsInputRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

QueryExecutionContextTypeDef#

# QueryExecutionContextTypeDef definition

class QueryExecutionContextTypeDef(TypedDict):
    Database: NotRequired[str],
    Catalog: NotRequired[str],

ResultReuseInformationTypeDef#

# ResultReuseInformationTypeDef definition

class ResultReuseInformationTypeDef(TypedDict):
    ReusedPreviousResult: bool,

QueryResultsS3AccessGrantsConfigurationTypeDef#

# QueryResultsS3AccessGrantsConfigurationTypeDef definition

class QueryResultsS3AccessGrantsConfigurationTypeDef(TypedDict):
    EnableS3AccessGrants: bool,
    AuthenticationType: AuthenticationTypeType,  # (1)
    CreateUserLevelPrefix: NotRequired[bool],
  1. See AuthenticationTypeType

QueryRuntimeStatisticsRowsTypeDef#

# QueryRuntimeStatisticsRowsTypeDef definition

class QueryRuntimeStatisticsRowsTypeDef(TypedDict):
    InputRows: NotRequired[int],
    InputBytes: NotRequired[int],
    OutputBytes: NotRequired[int],
    OutputRows: NotRequired[int],

QueryRuntimeStatisticsTimelineTypeDef#

# QueryRuntimeStatisticsTimelineTypeDef definition

class QueryRuntimeStatisticsTimelineTypeDef(TypedDict):
    QueryQueueTimeInMillis: NotRequired[int],
    ServicePreProcessingTimeInMillis: NotRequired[int],
    QueryPlanningTimeInMillis: NotRequired[int],
    EngineExecutionTimeInMillis: NotRequired[int],
    ServiceProcessingTimeInMillis: NotRequired[int],
    TotalExecutionTimeInMillis: NotRequired[int],

QueryStagePlanNodeTypeDef#

# QueryStagePlanNodeTypeDef definition

class QueryStagePlanNodeTypeDef(TypedDict):
    Name: NotRequired[str],
    Identifier: NotRequired[str],
    Children: NotRequired[list[dict[str, Any]]],
    RemoteSources: NotRequired[list[str]],

ResultReuseByAgeConfigurationTypeDef#

# ResultReuseByAgeConfigurationTypeDef definition

class ResultReuseByAgeConfigurationTypeDef(TypedDict):
    Enabled: bool,
    MaxAgeInMinutes: NotRequired[int],

StopCalculationExecutionRequestRequestTypeDef#

# StopCalculationExecutionRequestRequestTypeDef definition

class StopCalculationExecutionRequestRequestTypeDef(TypedDict):
    CalculationExecutionId: str,

StopQueryExecutionInputRequestTypeDef#

# StopQueryExecutionInputRequestTypeDef definition

class StopQueryExecutionInputRequestTypeDef(TypedDict):
    QueryExecutionId: str,

TerminateSessionRequestRequestTypeDef#

# TerminateSessionRequestRequestTypeDef definition

class TerminateSessionRequestRequestTypeDef(TypedDict):
    SessionId: str,

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef definition

class UntagResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateCapacityReservationInputRequestTypeDef#

# UpdateCapacityReservationInputRequestTypeDef definition

class UpdateCapacityReservationInputRequestTypeDef(TypedDict):
    TargetDpus: int,
    Name: str,

UpdateDataCatalogInputRequestTypeDef#

# UpdateDataCatalogInputRequestTypeDef definition

class UpdateDataCatalogInputRequestTypeDef(TypedDict):
    Name: str,
    Type: DataCatalogTypeType,  # (1)
    Description: NotRequired[str],
    Parameters: NotRequired[Mapping[str, str]],
  1. See DataCatalogTypeType

UpdateNamedQueryInputRequestTypeDef#

# UpdateNamedQueryInputRequestTypeDef definition

class UpdateNamedQueryInputRequestTypeDef(TypedDict):
    NamedQueryId: str,
    Name: str,
    QueryString: str,
    Description: NotRequired[str],

UpdateNotebookInputRequestTypeDef#

# UpdateNotebookInputRequestTypeDef definition

class UpdateNotebookInputRequestTypeDef(TypedDict):
    NotebookId: str,
    Payload: str,
    Type: NotebookTypeType,  # (1)
    SessionId: NotRequired[str],
    ClientRequestToken: NotRequired[str],
  1. See NotebookTypeType

UpdateNotebookMetadataInputRequestTypeDef#

# UpdateNotebookMetadataInputRequestTypeDef definition

class UpdateNotebookMetadataInputRequestTypeDef(TypedDict):
    NotebookId: str,
    Name: str,
    ClientRequestToken: NotRequired[str],

UpdatePreparedStatementInputRequestTypeDef#

# UpdatePreparedStatementInputRequestTypeDef definition

class UpdatePreparedStatementInputRequestTypeDef(TypedDict):
    StatementName: str,
    WorkGroup: str,
    QueryStatement: str,
    Description: NotRequired[str],

QueryExecutionStatusTypeDef#

# QueryExecutionStatusTypeDef 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#

# CreateNamedQueryOutputTypeDef definition

class CreateNamedQueryOutputTypeDef(TypedDict):
    NamedQueryId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateNotebookOutputTypeDef#

# CreateNotebookOutputTypeDef definition

class CreateNotebookOutputTypeDef(TypedDict):
    NotebookId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePresignedNotebookUrlResponseTypeDef#

# CreatePresignedNotebookUrlResponseTypeDef definition

class CreatePresignedNotebookUrlResponseTypeDef(TypedDict):
    NotebookUrl: str,
    AuthToken: str,
    AuthTokenExpirationTime: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCalculationExecutionCodeResponseTypeDef#

# GetCalculationExecutionCodeResponseTypeDef definition

class GetCalculationExecutionCodeResponseTypeDef(TypedDict):
    CodeBlock: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetNamedQueryOutputTypeDef#

# GetNamedQueryOutputTypeDef definition

class GetNamedQueryOutputTypeDef(TypedDict):
    NamedQuery: NamedQueryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamedQueryTypeDef
  2. See ResponseMetadataTypeDef

ImportNotebookOutputTypeDef#

# ImportNotebookOutputTypeDef definition

class ImportNotebookOutputTypeDef(TypedDict):
    NotebookId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListApplicationDPUSizesOutputTypeDef#

# ListApplicationDPUSizesOutputTypeDef definition

class ListApplicationDPUSizesOutputTypeDef(TypedDict):
    ApplicationDPUSizes: list[ApplicationDPUSizesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ApplicationDPUSizesTypeDef
  2. See ResponseMetadataTypeDef

ListNamedQueriesOutputTypeDef#

# ListNamedQueriesOutputTypeDef definition

class ListNamedQueriesOutputTypeDef(TypedDict):
    NamedQueryIds: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListQueryExecutionsOutputTypeDef#

# ListQueryExecutionsOutputTypeDef definition

class ListQueryExecutionsOutputTypeDef(TypedDict):
    QueryExecutionIds: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

StartCalculationExecutionResponseTypeDef#

# StartCalculationExecutionResponseTypeDef definition

class StartCalculationExecutionResponseTypeDef(TypedDict):
    CalculationExecutionId: str,
    State: CalculationExecutionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CalculationExecutionStateType
  2. See ResponseMetadataTypeDef

StartQueryExecutionOutputTypeDef#

# StartQueryExecutionOutputTypeDef definition

class StartQueryExecutionOutputTypeDef(TypedDict):
    QueryExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartSessionResponseTypeDef#

# StartSessionResponseTypeDef definition

class StartSessionResponseTypeDef(TypedDict):
    SessionId: str,
    State: SessionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionStateType
  2. See ResponseMetadataTypeDef

StopCalculationExecutionResponseTypeDef#

# StopCalculationExecutionResponseTypeDef definition

class StopCalculationExecutionResponseTypeDef(TypedDict):
    State: CalculationExecutionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CalculationExecutionStateType
  2. See ResponseMetadataTypeDef

TerminateSessionResponseTypeDef#

# TerminateSessionResponseTypeDef definition

class TerminateSessionResponseTypeDef(TypedDict):
    State: SessionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionStateType
  2. See ResponseMetadataTypeDef

BatchGetNamedQueryOutputTypeDef#

# BatchGetNamedQueryOutputTypeDef 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#

# GetPreparedStatementOutputTypeDef definition

class GetPreparedStatementOutputTypeDef(TypedDict):
    PreparedStatement: PreparedStatementTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PreparedStatementTypeDef
  2. See ResponseMetadataTypeDef

BatchGetPreparedStatementOutputTypeDef#

# BatchGetPreparedStatementOutputTypeDef 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#

# StartCalculationExecutionRequestRequestTypeDef definition

class StartCalculationExecutionRequestRequestTypeDef(TypedDict):
    SessionId: str,
    Description: NotRequired[str],
    CalculationConfiguration: NotRequired[CalculationConfigurationTypeDef],  # (1)
    CodeBlock: NotRequired[str],
    ClientRequestToken: NotRequired[str],
  1. See CalculationConfigurationTypeDef

CalculationSummaryTypeDef#

# CalculationSummaryTypeDef definition

class CalculationSummaryTypeDef(TypedDict):
    CalculationExecutionId: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[CalculationStatusTypeDef],  # (1)
  1. See CalculationStatusTypeDef

GetCalculationExecutionResponseTypeDef#

# GetCalculationExecutionResponseTypeDef definition

class GetCalculationExecutionResponseTypeDef(TypedDict):
    CalculationExecutionId: str,
    SessionId: str,
    Description: str,
    WorkingDirectory: str,
    Status: CalculationStatusTypeDef,  # (1)
    Statistics: CalculationStatisticsTypeDef,  # (2)
    Result: CalculationResultTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See CalculationStatusTypeDef
  2. See CalculationStatisticsTypeDef
  3. See CalculationResultTypeDef
  4. See ResponseMetadataTypeDef

GetCalculationExecutionStatusResponseTypeDef#

# GetCalculationExecutionStatusResponseTypeDef definition

class GetCalculationExecutionStatusResponseTypeDef(TypedDict):
    Status: CalculationStatusTypeDef,  # (1)
    Statistics: CalculationStatisticsTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CalculationStatusTypeDef
  2. See CalculationStatisticsTypeDef
  3. See ResponseMetadataTypeDef

CapacityReservationTypeDef#

# CapacityReservationTypeDef definition

class CapacityReservationTypeDef(TypedDict):
    Name: str,
    Status: CapacityReservationStatusType,  # (1)
    TargetDpus: int,
    AllocatedDpus: int,
    CreationTime: datetime,
    LastAllocation: NotRequired[CapacityAllocationTypeDef],  # (2)
    LastSuccessfulAllocationTime: NotRequired[datetime],
  1. See CapacityReservationStatusType
  2. See CapacityAllocationTypeDef

CapacityAssignmentConfigurationTypeDef#

# CapacityAssignmentConfigurationTypeDef definition

class CapacityAssignmentConfigurationTypeDef(TypedDict):
    CapacityReservationName: NotRequired[str],
    CapacityAssignments: NotRequired[list[CapacityAssignmentOutputTypeDef]],  # (1)
  1. See CapacityAssignmentOutputTypeDef

ResultSetMetadataTypeDef#

# ResultSetMetadataTypeDef definition

class ResultSetMetadataTypeDef(TypedDict):
    ColumnInfo: NotRequired[list[ColumnInfoTypeDef]],  # (1)
  1. See ColumnInfoTypeDef

TableMetadataTypeDef#

# TableMetadataTypeDef 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

CreateCapacityReservationInputRequestTypeDef#

# CreateCapacityReservationInputRequestTypeDef definition

class CreateCapacityReservationInputRequestTypeDef(TypedDict):
    TargetDpus: int,
    Name: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateDataCatalogInputRequestTypeDef#

# CreateDataCatalogInputRequestTypeDef 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#

# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

class TagResourceInputRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateDataCatalogOutputTypeDef#

# CreateDataCatalogOutputTypeDef definition

class CreateDataCatalogOutputTypeDef(TypedDict):
    DataCatalog: DataCatalogTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCatalogTypeDef
  2. See ResponseMetadataTypeDef

DeleteDataCatalogOutputTypeDef#

# DeleteDataCatalogOutputTypeDef definition

class DeleteDataCatalogOutputTypeDef(TypedDict):
    DataCatalog: DataCatalogTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCatalogTypeDef
  2. See ResponseMetadataTypeDef

GetDataCatalogOutputTypeDef#

# GetDataCatalogOutputTypeDef definition

class GetDataCatalogOutputTypeDef(TypedDict):
    DataCatalog: DataCatalogTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCatalogTypeDef
  2. See ResponseMetadataTypeDef

ListDataCatalogsOutputTypeDef#

# ListDataCatalogsOutputTypeDef definition

class ListDataCatalogsOutputTypeDef(TypedDict):
    DataCatalogsSummary: list[DataCatalogSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DataCatalogSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetDatabaseOutputTypeDef#

# GetDatabaseOutputTypeDef definition

class GetDatabaseOutputTypeDef(TypedDict):
    Database: DatabaseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatabaseTypeDef
  2. See ResponseMetadataTypeDef

ListDatabasesOutputTypeDef#

# ListDatabasesOutputTypeDef definition

class ListDatabasesOutputTypeDef(TypedDict):
    DatabaseList: list[DatabaseTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DatabaseTypeDef
  2. See ResponseMetadataTypeDef

RowTypeDef#

# RowTypeDef definition

class RowTypeDef(TypedDict):
    Data: NotRequired[list[DatumTypeDef]],  # (1)
  1. See DatumTypeDef

ResultConfigurationTypeDef#

# ResultConfigurationTypeDef 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#

# ResultConfigurationUpdatesTypeDef 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

SessionConfigurationTypeDef#

# SessionConfigurationTypeDef definition

class SessionConfigurationTypeDef(TypedDict):
    ExecutionRole: NotRequired[str],
    WorkingDirectory: NotRequired[str],
    IdleTimeoutSeconds: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (1)
  1. See EncryptionConfigurationTypeDef

StartSessionRequestRequestTypeDef#

# StartSessionRequestRequestTypeDef definition

class StartSessionRequestRequestTypeDef(TypedDict):
    WorkGroup: str,
    EngineConfiguration: EngineConfigurationTypeDef,  # (1)
    Description: NotRequired[str],
    NotebookVersion: NotRequired[str],
    SessionIdleTimeoutInMinutes: NotRequired[int],
    ClientRequestToken: NotRequired[str],
  1. See EngineConfigurationTypeDef

ListEngineVersionsOutputTypeDef#

# ListEngineVersionsOutputTypeDef definition

class ListEngineVersionsOutputTypeDef(TypedDict):
    EngineVersions: list[EngineVersionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EngineVersionTypeDef
  2. See ResponseMetadataTypeDef

WorkGroupSummaryTypeDef#

# WorkGroupSummaryTypeDef definition

class WorkGroupSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    State: NotRequired[WorkGroupStateType],  # (1)
    Description: NotRequired[str],
    CreationTime: NotRequired[datetime],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (2)
    IdentityCenterApplicationArn: NotRequired[str],
  1. See WorkGroupStateType
  2. See EngineVersionTypeDef

ListExecutorsResponseTypeDef#

# ListExecutorsResponseTypeDef definition

class ListExecutorsResponseTypeDef(TypedDict):
    SessionId: str,
    ExecutorsSummary: list[ExecutorsSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ExecutorsSummaryTypeDef
  2. See ResponseMetadataTypeDef

ExportNotebookOutputTypeDef#

# ExportNotebookOutputTypeDef definition

class ExportNotebookOutputTypeDef(TypedDict):
    NotebookMetadata: NotebookMetadataTypeDef,  # (1)
    Payload: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetNotebookMetadataOutputTypeDef#

# GetNotebookMetadataOutputTypeDef definition

class GetNotebookMetadataOutputTypeDef(TypedDict):
    NotebookMetadata: NotebookMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotebookMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListNotebookMetadataOutputTypeDef#

# ListNotebookMetadataOutputTypeDef definition

class ListNotebookMetadataOutputTypeDef(TypedDict):
    NotebookMetadataList: list[NotebookMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NotebookMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListNotebookMetadataInputRequestTypeDef#

# ListNotebookMetadataInputRequestTypeDef definition

class ListNotebookMetadataInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Filters: NotRequired[FilterDefinitionTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterDefinitionTypeDef

GetQueryResultsInputPaginateTypeDef#

# GetQueryResultsInputPaginateTypeDef definition

class GetQueryResultsInputPaginateTypeDef(TypedDict):
    QueryExecutionId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDataCatalogsInputPaginateTypeDef#

# ListDataCatalogsInputPaginateTypeDef definition

class ListDataCatalogsInputPaginateTypeDef(TypedDict):
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDatabasesInputPaginateTypeDef#

# ListDatabasesInputPaginateTypeDef definition

class ListDatabasesInputPaginateTypeDef(TypedDict):
    CatalogName: str,
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListNamedQueriesInputPaginateTypeDef#

# ListNamedQueriesInputPaginateTypeDef definition

class ListNamedQueriesInputPaginateTypeDef(TypedDict):
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListQueryExecutionsInputPaginateTypeDef#

# ListQueryExecutionsInputPaginateTypeDef definition

class ListQueryExecutionsInputPaginateTypeDef(TypedDict):
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTableMetadataInputPaginateTypeDef#

# ListTableMetadataInputPaginateTypeDef definition

class ListTableMetadataInputPaginateTypeDef(TypedDict):
    CatalogName: str,
    DatabaseName: str,
    Expression: NotRequired[str],
    WorkGroup: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsForResourceInputPaginateTypeDef#

# ListTagsForResourceInputPaginateTypeDef definition

class ListTagsForResourceInputPaginateTypeDef(TypedDict):
    ResourceARN: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetSessionStatusResponseTypeDef#

# GetSessionStatusResponseTypeDef definition

class GetSessionStatusResponseTypeDef(TypedDict):
    SessionId: str,
    Status: SessionStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionStatusTypeDef
  2. See ResponseMetadataTypeDef

SessionSummaryTypeDef#

# SessionSummaryTypeDef definition

class SessionSummaryTypeDef(TypedDict):
    SessionId: NotRequired[str],
    Description: NotRequired[str],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (1)
    NotebookVersion: NotRequired[str],
    Status: NotRequired[SessionStatusTypeDef],  # (2)
  1. See EngineVersionTypeDef
  2. See SessionStatusTypeDef

ListNotebookSessionsResponseTypeDef#

# ListNotebookSessionsResponseTypeDef definition

class ListNotebookSessionsResponseTypeDef(TypedDict):
    NotebookSessionsList: list[NotebookSessionSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NotebookSessionSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListPreparedStatementsOutputTypeDef#

# ListPreparedStatementsOutputTypeDef definition

class ListPreparedStatementsOutputTypeDef(TypedDict):
    PreparedStatements: list[PreparedStatementSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PreparedStatementSummaryTypeDef
  2. See ResponseMetadataTypeDef

QueryExecutionStatisticsTypeDef#

# QueryExecutionStatisticsTypeDef definition

class QueryExecutionStatisticsTypeDef(TypedDict):
    EngineExecutionTimeInMillis: NotRequired[int],
    DataScannedInBytes: NotRequired[int],
    DataManifestLocation: NotRequired[str],
    TotalExecutionTimeInMillis: NotRequired[int],
    QueryQueueTimeInMillis: NotRequired[int],
    ServicePreProcessingTimeInMillis: NotRequired[int],
    QueryPlanningTimeInMillis: NotRequired[int],
    ServiceProcessingTimeInMillis: NotRequired[int],
    ResultReuseInformation: NotRequired[ResultReuseInformationTypeDef],  # (1)
  1. See ResultReuseInformationTypeDef

QueryStageTypeDef#

# QueryStageTypeDef 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[dict[str, Any]]],
  1. See QueryStagePlanNodeTypeDef

ResultReuseConfigurationTypeDef#

# ResultReuseConfigurationTypeDef definition

class ResultReuseConfigurationTypeDef(TypedDict):
    ResultReuseByAgeConfiguration: NotRequired[ResultReuseByAgeConfigurationTypeDef],  # (1)
  1. See ResultReuseByAgeConfigurationTypeDef

ListCalculationExecutionsResponseTypeDef#

# ListCalculationExecutionsResponseTypeDef definition

class ListCalculationExecutionsResponseTypeDef(TypedDict):
    Calculations: list[CalculationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CalculationSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetCapacityReservationOutputTypeDef#

# GetCapacityReservationOutputTypeDef definition

class GetCapacityReservationOutputTypeDef(TypedDict):
    CapacityReservation: CapacityReservationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityReservationTypeDef
  2. See ResponseMetadataTypeDef

ListCapacityReservationsOutputTypeDef#

# ListCapacityReservationsOutputTypeDef definition

class ListCapacityReservationsOutputTypeDef(TypedDict):
    CapacityReservations: list[CapacityReservationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CapacityReservationTypeDef
  2. See ResponseMetadataTypeDef

GetCapacityAssignmentConfigurationOutputTypeDef#

# GetCapacityAssignmentConfigurationOutputTypeDef definition

class GetCapacityAssignmentConfigurationOutputTypeDef(TypedDict):
    CapacityAssignmentConfiguration: CapacityAssignmentConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityAssignmentConfigurationTypeDef
  2. See ResponseMetadataTypeDef

PutCapacityAssignmentConfigurationInputRequestTypeDef#

# PutCapacityAssignmentConfigurationInputRequestTypeDef definition

class PutCapacityAssignmentConfigurationInputRequestTypeDef(TypedDict):
    CapacityReservationName: str,
    CapacityAssignments: Sequence[CapacityAssignmentUnionTypeDef],  # (1)
  1. See CapacityAssignmentTypeDef CapacityAssignmentOutputTypeDef

GetTableMetadataOutputTypeDef#

# GetTableMetadataOutputTypeDef definition

class GetTableMetadataOutputTypeDef(TypedDict):
    TableMetadata: TableMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListTableMetadataOutputTypeDef#

# ListTableMetadataOutputTypeDef definition

class ListTableMetadataOutputTypeDef(TypedDict):
    TableMetadataList: list[TableMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TableMetadataTypeDef
  2. See ResponseMetadataTypeDef

ResultSetTypeDef#

# ResultSetTypeDef definition

class ResultSetTypeDef(TypedDict):
    Rows: NotRequired[list[RowTypeDef]],  # (1)
    ResultSetMetadata: NotRequired[ResultSetMetadataTypeDef],  # (2)
  1. See RowTypeDef
  2. See ResultSetMetadataTypeDef

WorkGroupConfigurationTypeDef#

# WorkGroupConfigurationTypeDef definition

class WorkGroupConfigurationTypeDef(TypedDict):
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (1)
    EnforceWorkGroupConfiguration: NotRequired[bool],
    PublishCloudWatchMetricsEnabled: NotRequired[bool],
    BytesScannedCutoffPerQuery: NotRequired[int],
    RequesterPaysEnabled: NotRequired[bool],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (2)
    AdditionalConfiguration: NotRequired[str],
    ExecutionRole: NotRequired[str],
    CustomerContentEncryptionConfiguration: NotRequired[CustomerContentEncryptionConfigurationTypeDef],  # (3)
    EnableMinimumEncryptionConfiguration: NotRequired[bool],
    IdentityCenterConfiguration: NotRequired[IdentityCenterConfigurationTypeDef],  # (4)
    QueryResultsS3AccessGrantsConfiguration: NotRequired[QueryResultsS3AccessGrantsConfigurationTypeDef],  # (5)
  1. See ResultConfigurationTypeDef
  2. See EngineVersionTypeDef
  3. See CustomerContentEncryptionConfigurationTypeDef
  4. See IdentityCenterConfigurationTypeDef
  5. See QueryResultsS3AccessGrantsConfigurationTypeDef

WorkGroupConfigurationUpdatesTypeDef#

# WorkGroupConfigurationUpdatesTypeDef 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)
    RemoveCustomerContentEncryptionConfiguration: NotRequired[bool],
    AdditionalConfiguration: NotRequired[str],
    ExecutionRole: NotRequired[str],
    CustomerContentEncryptionConfiguration: NotRequired[CustomerContentEncryptionConfigurationTypeDef],  # (3)
    EnableMinimumEncryptionConfiguration: NotRequired[bool],
    QueryResultsS3AccessGrantsConfiguration: NotRequired[QueryResultsS3AccessGrantsConfigurationTypeDef],  # (4)
  1. See ResultConfigurationUpdatesTypeDef
  2. See EngineVersionTypeDef
  3. See CustomerContentEncryptionConfigurationTypeDef
  4. See QueryResultsS3AccessGrantsConfigurationTypeDef

GetSessionResponseTypeDef#

# GetSessionResponseTypeDef definition

class GetSessionResponseTypeDef(TypedDict):
    SessionId: str,
    Description: str,
    WorkGroup: str,
    EngineVersion: str,
    EngineConfiguration: EngineConfigurationOutputTypeDef,  # (1)
    NotebookVersion: str,
    SessionConfiguration: SessionConfigurationTypeDef,  # (2)
    Status: SessionStatusTypeDef,  # (3)
    Statistics: SessionStatisticsTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See EngineConfigurationOutputTypeDef
  2. See SessionConfigurationTypeDef
  3. See SessionStatusTypeDef
  4. See SessionStatisticsTypeDef
  5. See ResponseMetadataTypeDef

ListWorkGroupsOutputTypeDef#

# ListWorkGroupsOutputTypeDef definition

class ListWorkGroupsOutputTypeDef(TypedDict):
    WorkGroups: list[WorkGroupSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See WorkGroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSessionsResponseTypeDef#

# ListSessionsResponseTypeDef definition

class ListSessionsResponseTypeDef(TypedDict):
    Sessions: list[SessionSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SessionSummaryTypeDef
  2. See ResponseMetadataTypeDef

QueryRuntimeStatisticsTypeDef#

# QueryRuntimeStatisticsTypeDef 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

QueryExecutionTypeDef#

# QueryExecutionTypeDef definition

class QueryExecutionTypeDef(TypedDict):
    QueryExecutionId: NotRequired[str],
    Query: NotRequired[str],
    StatementType: NotRequired[StatementTypeType],  # (1)
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (2)
    ResultReuseConfiguration: NotRequired[ResultReuseConfigurationTypeDef],  # (3)
    QueryExecutionContext: NotRequired[QueryExecutionContextTypeDef],  # (4)
    Status: NotRequired[QueryExecutionStatusTypeDef],  # (5)
    Statistics: NotRequired[QueryExecutionStatisticsTypeDef],  # (6)
    WorkGroup: NotRequired[str],
    EngineVersion: NotRequired[EngineVersionTypeDef],  # (7)
    ExecutionParameters: NotRequired[list[str]],
    SubstatementType: NotRequired[str],
    QueryResultsS3AccessGrantsConfiguration: NotRequired[QueryResultsS3AccessGrantsConfigurationTypeDef],  # (8)
  1. See StatementTypeType
  2. See ResultConfigurationTypeDef
  3. See ResultReuseConfigurationTypeDef
  4. See QueryExecutionContextTypeDef
  5. See QueryExecutionStatusTypeDef
  6. See QueryExecutionStatisticsTypeDef
  7. See EngineVersionTypeDef
  8. See QueryResultsS3AccessGrantsConfigurationTypeDef

StartQueryExecutionInputRequestTypeDef#

# StartQueryExecutionInputRequestTypeDef definition

class StartQueryExecutionInputRequestTypeDef(TypedDict):
    QueryString: str,
    ClientRequestToken: NotRequired[str],
    QueryExecutionContext: NotRequired[QueryExecutionContextTypeDef],  # (1)
    ResultConfiguration: NotRequired[ResultConfigurationTypeDef],  # (2)
    WorkGroup: NotRequired[str],
    ExecutionParameters: NotRequired[Sequence[str]],
    ResultReuseConfiguration: NotRequired[ResultReuseConfigurationTypeDef],  # (3)
  1. See QueryExecutionContextTypeDef
  2. See ResultConfigurationTypeDef
  3. See ResultReuseConfigurationTypeDef

GetQueryResultsOutputTypeDef#

# GetQueryResultsOutputTypeDef definition

class GetQueryResultsOutputTypeDef(TypedDict):
    UpdateCount: int,
    ResultSet: ResultSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ResultSetTypeDef
  2. See ResponseMetadataTypeDef

CreateWorkGroupInputRequestTypeDef#

# CreateWorkGroupInputRequestTypeDef 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#

# WorkGroupTypeDef definition

class WorkGroupTypeDef(TypedDict):
    Name: str,
    State: NotRequired[WorkGroupStateType],  # (1)
    Configuration: NotRequired[WorkGroupConfigurationTypeDef],  # (2)
    Description: NotRequired[str],
    CreationTime: NotRequired[datetime],
    IdentityCenterApplicationArn: NotRequired[str],
  1. See WorkGroupStateType
  2. See WorkGroupConfigurationTypeDef

UpdateWorkGroupInputRequestTypeDef#

# UpdateWorkGroupInputRequestTypeDef definition

class UpdateWorkGroupInputRequestTypeDef(TypedDict):
    WorkGroup: str,
    Description: NotRequired[str],
    ConfigurationUpdates: NotRequired[WorkGroupConfigurationUpdatesTypeDef],  # (1)
    State: NotRequired[WorkGroupStateType],  # (2)
  1. See WorkGroupConfigurationUpdatesTypeDef
  2. See WorkGroupStateType

GetQueryRuntimeStatisticsOutputTypeDef#

# GetQueryRuntimeStatisticsOutputTypeDef definition

class GetQueryRuntimeStatisticsOutputTypeDef(TypedDict):
    QueryRuntimeStatistics: QueryRuntimeStatisticsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryRuntimeStatisticsTypeDef
  2. See ResponseMetadataTypeDef

BatchGetQueryExecutionOutputTypeDef#

# BatchGetQueryExecutionOutputTypeDef 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#

# GetQueryExecutionOutputTypeDef definition

class GetQueryExecutionOutputTypeDef(TypedDict):
    QueryExecution: QueryExecutionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryExecutionTypeDef
  2. See ResponseMetadataTypeDef

GetWorkGroupOutputTypeDef#

# GetWorkGroupOutputTypeDef definition

class GetWorkGroupOutputTypeDef(TypedDict):
    WorkGroup: WorkGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkGroupTypeDef
  2. See ResponseMetadataTypeDef