Type definitions#
Auto-generated documentation for Keyspaces type annotations stubs module mypy-boto3-keyspaces.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
SchemaDefinitionUnionTypeDef#
# SchemaDefinitionUnionTypeDef definition
SchemaDefinitionUnionTypeDef = Union[
SchemaDefinitionTypeDef, # (1)
SchemaDefinitionOutputTypeDef, # (2)
]
TargetTrackingScalingPolicyConfigurationTypeDef#
# TargetTrackingScalingPolicyConfigurationTypeDef definition
class TargetTrackingScalingPolicyConfigurationTypeDef(TypedDict):
targetValue: float,
disableScaleIn: NotRequired[bool],
scaleInCooldown: NotRequired[int],
scaleOutCooldown: NotRequired[int],
CapacitySpecificationSummaryTypeDef#
# CapacitySpecificationSummaryTypeDef definition
class CapacitySpecificationSummaryTypeDef(TypedDict):
throughputMode: ThroughputModeType, # (1)
readCapacityUnits: NotRequired[int],
writeCapacityUnits: NotRequired[int],
lastUpdateToPayPerRequestTimestamp: NotRequired[datetime],
CapacitySpecificationTypeDef#
# CapacitySpecificationTypeDef definition
class CapacitySpecificationTypeDef(TypedDict):
throughputMode: ThroughputModeType, # (1)
readCapacityUnits: NotRequired[int],
writeCapacityUnits: NotRequired[int],
ClientSideTimestampsTypeDef#
# ClientSideTimestampsTypeDef definition
class ClientSideTimestampsTypeDef(TypedDict):
status: ClientSideTimestampsStatusType, # (1)
ClusteringKeyTypeDef#
# ClusteringKeyTypeDef definition
class ClusteringKeyTypeDef(TypedDict):
name: str,
orderBy: SortOrderType, # (1)
- See SortOrderType
ColumnDefinitionTypeDef#
# ColumnDefinitionTypeDef definition
class ColumnDefinitionTypeDef(TypedDict):
name: str,
type: str,
CommentTypeDef#
# CommentTypeDef definition
class CommentTypeDef(TypedDict):
message: str,
ReplicationSpecificationTypeDef#
# ReplicationSpecificationTypeDef definition
class ReplicationSpecificationTypeDef(TypedDict):
replicationStrategy: RsType, # (1)
regionList: NotRequired[Sequence[str]],
- See RsType
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: str,
value: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
EncryptionSpecificationTypeDef#
# EncryptionSpecificationTypeDef definition
class EncryptionSpecificationTypeDef(TypedDict):
type: EncryptionTypeType, # (1)
kmsKeyIdentifier: NotRequired[str],
PointInTimeRecoveryTypeDef#
# PointInTimeRecoveryTypeDef definition
class PointInTimeRecoveryTypeDef(TypedDict):
status: PointInTimeRecoveryStatusType, # (1)
TimeToLiveTypeDef#
# TimeToLiveTypeDef definition
class TimeToLiveTypeDef(TypedDict):
status: TimeToLiveStatusType, # (1)
DeleteKeyspaceRequestRequestTypeDef#
# DeleteKeyspaceRequestRequestTypeDef definition
class DeleteKeyspaceRequestRequestTypeDef(TypedDict):
keyspaceName: str,
DeleteTableRequestRequestTypeDef#
# DeleteTableRequestRequestTypeDef definition
class DeleteTableRequestRequestTypeDef(TypedDict):
keyspaceName: str,
tableName: str,
GetKeyspaceRequestRequestTypeDef#
# GetKeyspaceRequestRequestTypeDef definition
class GetKeyspaceRequestRequestTypeDef(TypedDict):
keyspaceName: str,
GetTableAutoScalingSettingsRequestRequestTypeDef#
# GetTableAutoScalingSettingsRequestRequestTypeDef definition
class GetTableAutoScalingSettingsRequestRequestTypeDef(TypedDict):
keyspaceName: str,
tableName: str,
GetTableRequestRequestTypeDef#
# GetTableRequestRequestTypeDef definition
class GetTableRequestRequestTypeDef(TypedDict):
keyspaceName: str,
tableName: str,
PointInTimeRecoverySummaryTypeDef#
# PointInTimeRecoverySummaryTypeDef definition
class PointInTimeRecoverySummaryTypeDef(TypedDict):
status: PointInTimeRecoveryStatusType, # (1)
earliestRestorableTimestamp: NotRequired[datetime],
KeyspaceSummaryTypeDef#
# KeyspaceSummaryTypeDef definition
class KeyspaceSummaryTypeDef(TypedDict):
keyspaceName: str,
resourceArn: str,
replicationStrategy: RsType, # (1)
replicationRegions: NotRequired[List[str]],
- See RsType
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListKeyspacesRequestRequestTypeDef#
# ListKeyspacesRequestRequestTypeDef definition
class ListKeyspacesRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListTablesRequestRequestTypeDef#
# ListTablesRequestRequestTypeDef definition
class ListTablesRequestRequestTypeDef(TypedDict):
keyspaceName: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
TableSummaryTypeDef#
# TableSummaryTypeDef definition
class TableSummaryTypeDef(TypedDict):
keyspaceName: str,
tableName: str,
resourceArn: str,
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
PartitionKeyTypeDef#
# PartitionKeyTypeDef definition
class PartitionKeyTypeDef(TypedDict):
name: str,
StaticColumnTypeDef#
# StaticColumnTypeDef definition
class StaticColumnTypeDef(TypedDict):
name: str,
AutoScalingPolicyTypeDef#
# AutoScalingPolicyTypeDef definition
class AutoScalingPolicyTypeDef(TypedDict):
targetTrackingScalingPolicyConfiguration: NotRequired[TargetTrackingScalingPolicyConfigurationTypeDef], # (1)
ReplicaSpecificationSummaryTypeDef#
# ReplicaSpecificationSummaryTypeDef definition
class ReplicaSpecificationSummaryTypeDef(TypedDict):
region: NotRequired[str],
status: NotRequired[TableStatusType], # (1)
capacitySpecification: NotRequired[CapacitySpecificationSummaryTypeDef], # (2)
CreateKeyspaceRequestRequestTypeDef#
# CreateKeyspaceRequestRequestTypeDef definition
class CreateKeyspaceRequestRequestTypeDef(TypedDict):
keyspaceName: str,
tags: NotRequired[Sequence[TagTypeDef]], # (1)
replicationSpecification: NotRequired[ReplicationSpecificationTypeDef], # (2)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateKeyspaceResponseTypeDef#
# CreateKeyspaceResponseTypeDef definition
class CreateKeyspaceResponseTypeDef(TypedDict):
resourceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateTableResponseTypeDef#
# CreateTableResponseTypeDef definition
class CreateTableResponseTypeDef(TypedDict):
resourceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetKeyspaceResponseTypeDef#
# GetKeyspaceResponseTypeDef definition
class GetKeyspaceResponseTypeDef(TypedDict):
keyspaceName: str,
resourceArn: str,
replicationStrategy: RsType, # (1)
replicationRegions: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RsType
- See ResponseMetadataTypeDef
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
nextToken: str,
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
RestoreTableResponseTypeDef#
# RestoreTableResponseTypeDef definition
class RestoreTableResponseTypeDef(TypedDict):
restoredTableARN: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateTableResponseTypeDef#
# UpdateTableResponseTypeDef definition
class UpdateTableResponseTypeDef(TypedDict):
resourceArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListKeyspacesResponseTypeDef#
# ListKeyspacesResponseTypeDef definition
class ListKeyspacesResponseTypeDef(TypedDict):
nextToken: str,
keyspaces: List[KeyspaceSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListKeyspacesRequestListKeyspacesPaginateTypeDef#
# ListKeyspacesRequestListKeyspacesPaginateTypeDef definition
class ListKeyspacesRequestListKeyspacesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)