Skip to content

Type definitions#

Index > Athena > Type definitions

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

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

CapacityAssignmentTypeDef#