Type definitions#
Index > QLDBSession > Type definitions
Auto-generated documentation for QLDBSession type annotations stubs module mypy-boto3-qldb-session.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
TimingInformationTypeDef#
# TimingInformationTypeDef definition
class TimingInformationTypeDef(TypedDict):
ProcessingTimeMilliseconds: NotRequired[int],
IOUsageTypeDef#
# IOUsageTypeDef definition
class IOUsageTypeDef(TypedDict):
ReadIOs: NotRequired[int],
WriteIOs: NotRequired[int],
FetchPageRequestTypeDef#
# FetchPageRequestTypeDef definition
class FetchPageRequestTypeDef(TypedDict):
TransactionId: str,
NextPageToken: str,
ValueHolderOutputTypeDef#
# ValueHolderOutputTypeDef definition
class ValueHolderOutputTypeDef(TypedDict):
IonBinary: NotRequired[bytes],
IonText: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
StartSessionRequestTypeDef#
# StartSessionRequestTypeDef definition
class StartSessionRequestTypeDef(TypedDict):
LedgerName: str,
AbortTransactionResultTypeDef#
# AbortTransactionResultTypeDef definition
class AbortTransactionResultTypeDef(TypedDict):
TimingInformation: NotRequired[TimingInformationTypeDef], # (1)
EndSessionResultTypeDef#
# EndSessionResultTypeDef definition
class EndSessionResultTypeDef(TypedDict):
TimingInformation: NotRequired[TimingInformationTypeDef], # (1)
StartSessionResultTypeDef#
# StartSessionResultTypeDef definition
class StartSessionResultTypeDef(TypedDict):
SessionToken: NotRequired[str],
TimingInformation: NotRequired[TimingInformationTypeDef], # (1)
StartTransactionResultTypeDef#
# StartTransactionResultTypeDef definition
class StartTransactionResultTypeDef(TypedDict):
TransactionId: NotRequired[str],
TimingInformation: NotRequired[TimingInformationTypeDef], # (1)
CommitTransactionRequestTypeDef#
# CommitTransactionRequestTypeDef definition
class CommitTransactionRequestTypeDef(TypedDict):
TransactionId: str,
CommitDigest: Union[str, bytes, IO[Any], StreamingBody],
ValueHolderTypeDef#
# ValueHolderTypeDef definition
class ValueHolderTypeDef(TypedDict):
IonBinary: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
IonText: NotRequired[str],
CommitTransactionResultTypeDef#
# CommitTransactionResultTypeDef definition
class CommitTransactionResultTypeDef(TypedDict):
TransactionId: NotRequired[str],
CommitDigest: NotRequired[bytes],
TimingInformation: NotRequired[TimingInformationTypeDef], # (1)
ConsumedIOs: NotRequired[IOUsageTypeDef], # (2)
PageTypeDef#
# PageTypeDef definition
class PageTypeDef(TypedDict):
Values: NotRequired[List[ValueHolderOutputTypeDef]], # (1)
NextPageToken: NotRequired[str],
ExecuteStatementRequestTypeDef#
# ExecuteStatementRequestTypeDef definition
class ExecuteStatementRequestTypeDef(TypedDict):
TransactionId: str,
Statement: str,
Parameters: NotRequired[Sequence[ValueHolderTypeDef]], # (1)
ExecuteStatementResultTypeDef#
# ExecuteStatementResultTypeDef definition
class ExecuteStatementResultTypeDef(TypedDict):
FirstPage: NotRequired[PageTypeDef], # (1)
TimingInformation: NotRequired[TimingInformationTypeDef], # (2)
ConsumedIOs: NotRequired[IOUsageTypeDef], # (3)
- See PageTypeDef
- See TimingInformationTypeDef
- See IOUsageTypeDef
FetchPageResultTypeDef#
# FetchPageResultTypeDef definition
class FetchPageResultTypeDef(TypedDict):
Page: NotRequired[PageTypeDef], # (1)
TimingInformation: NotRequired[TimingInformationTypeDef], # (2)
ConsumedIOs: NotRequired[IOUsageTypeDef], # (3)
- See PageTypeDef
- See TimingInformationTypeDef
- See IOUsageTypeDef
SendCommandRequestRequestTypeDef#
# SendCommandRequestRequestTypeDef definition
class SendCommandRequestRequestTypeDef(TypedDict):
SessionToken: NotRequired[str],
StartSession: NotRequired[StartSessionRequestTypeDef], # (1)
StartTransaction: NotRequired[Mapping[str, Any]],
EndSession: NotRequired[Mapping[str, Any]],
CommitTransaction: NotRequired[CommitTransactionRequestTypeDef], # (2)
AbortTransaction: NotRequired[Mapping[str, Any]],
ExecuteStatement: NotRequired[ExecuteStatementRequestTypeDef], # (3)
FetchPage: NotRequired[FetchPageRequestTypeDef], # (4)
- See StartSessionRequestTypeDef
- See CommitTransactionRequestTypeDef
- See ExecuteStatementRequestTypeDef
- See FetchPageRequestTypeDef
SendCommandResultTypeDef#
# SendCommandResultTypeDef definition
class SendCommandResultTypeDef(TypedDict):
StartSession: StartSessionResultTypeDef, # (1)
StartTransaction: StartTransactionResultTypeDef, # (2)
EndSession: EndSessionResultTypeDef, # (3)
CommitTransaction: CommitTransactionResultTypeDef, # (4)
AbortTransaction: AbortTransactionResultTypeDef, # (5)
ExecuteStatement: ExecuteStatementResultTypeDef, # (6)
FetchPage: FetchPageResultTypeDef, # (7)
ResponseMetadata: ResponseMetadataTypeDef, # (8)