Keyspaces module
Index > Keyspaces
Auto-generated documentation for Keyspaces type annotations stubs module types-aiobotocore-keyspaces.
How to install
From PyPI with pip
Install types-aioboto3
for Keyspaces
service.
# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[keyspaces]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[keyspaces]'
# standalone installation
python -m pip install types-aiobotocore-keyspaces
How to uninstall
Usage
Code samples can be found in Examples.
KeyspacesClient
Type annotations and code completion for session.client("keyspaces")
as KeyspacesClient
boto3 documentation
Usage example
from aioboto3.session import Session
from types_aiobotocore_keyspaces.client import KeyspacesClient
session = Session()
async with session.client("keyspaces") as client:
client: KeyspacesClient
Paginators
Type annotations and code completion for
paginators
from session.client("keyspaces").get_paginator("...")
.
Usage example
from types_aiobotocore_keyspaces.paginator import ListKeyspacesPaginator
def get_list_keyspaces_paginator() -> ListKeyspacesPaginator:
return client.get_paginator("list_keyspaces"))
Literals
Type annotations for literals used in methods and schema.
Usage example
from types_aiobotocore_keyspaces.literals import EncryptionTypeType
def get_value() -> EncryptionTypeType:
return "AWS_OWNED_KMS_KEY"
- EncryptionTypeType
- ListKeyspacesPaginatorName
- ListTablesPaginatorName
- ListTagsForResourcePaginatorName
- PointInTimeRecoveryStatusType
- SortOrderType
- TableStatusType
- ThroughputModeType
- TimeToLiveStatusType
- KeyspacesServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Typed dictionaries
Type annotations for typed dictionaries used in methods and schema.
Usage example
from types_aiobotocore_keyspaces.type_defs import CapacitySpecificationSummaryTypeDef
def get_value() -> CapacitySpecificationSummaryTypeDef:
return {
"throughputMode": ...,
}
- CapacitySpecificationSummaryTypeDef
- CapacitySpecificationTypeDef
- ClusteringKeyTypeDef
- ColumnDefinitionTypeDef
- CommentTypeDef
- TagTypeDef
- ResponseMetadataTypeDef
- EncryptionSpecificationTypeDef
- PointInTimeRecoveryTypeDef
- TimeToLiveTypeDef
- DeleteKeyspaceRequestRequestTypeDef
- DeleteTableRequestRequestTypeDef
- GetKeyspaceRequestRequestTypeDef
- GetTableRequestRequestTypeDef
- PointInTimeRecoverySummaryTypeDef
- KeyspaceSummaryTypeDef
- PaginatorConfigTypeDef
- ListKeyspacesRequestRequestTypeDef
- ListTablesRequestRequestTypeDef
- TableSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- PartitionKeyTypeDef
- StaticColumnTypeDef
- CreateKeyspaceRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- CreateKeyspaceResponseTypeDef
- CreateTableResponseTypeDef
- GetKeyspaceResponseTypeDef
- ListTagsForResourceResponseTypeDef
- RestoreTableResponseTypeDef
- UpdateTableResponseTypeDef
- RestoreTableRequestRequestTypeDef
- UpdateTableRequestRequestTypeDef
- ListKeyspacesResponseTypeDef
- ListKeyspacesRequestListKeyspacesPaginateTypeDef
- ListTablesRequestListTablesPaginateTypeDef
- ListTagsForResourceRequestListTagsForResourcePaginateTypeDef
- ListTablesResponseTypeDef
- SchemaDefinitionTypeDef
- CreateTableRequestRequestTypeDef
- GetTableResponseTypeDef