types-boto3-keyspaces 1.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_keyspaces/__init__.py +47 -0
- types_boto3_keyspaces/__init__.pyi +46 -0
- types_boto3_keyspaces/__main__.py +43 -0
- types_boto3_keyspaces/client.py +371 -0
- types_boto3_keyspaces/client.pyi +368 -0
- types_boto3_keyspaces/literals.py +508 -0
- types_boto3_keyspaces/literals.pyi +506 -0
- types_boto3_keyspaces/paginator.py +144 -0
- types_boto3_keyspaces/paginator.pyi +131 -0
- types_boto3_keyspaces/py.typed +0 -0
- types_boto3_keyspaces/type_defs.py +552 -0
- types_boto3_keyspaces/type_defs.pyi +483 -0
- types_boto3_keyspaces/version.py +7 -0
- types_boto3_keyspaces-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_keyspaces-1.36.0.dist-info/METADATA +489 -0
- types_boto3_keyspaces-1.36.0.dist-info/RECORD +18 -0
- types_boto3_keyspaces-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_keyspaces-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for keyspaces service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_keyspaces import (
|
|
9
|
+
Client,
|
|
10
|
+
KeyspacesClient,
|
|
11
|
+
ListKeyspacesPaginator,
|
|
12
|
+
ListTablesPaginator,
|
|
13
|
+
ListTagsForResourcePaginator,
|
|
14
|
+
ListTypesPaginator,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: KeyspacesClient = session.client("keyspaces")
|
|
19
|
+
|
|
20
|
+
list_keyspaces_paginator: ListKeyspacesPaginator = client.get_paginator("list_keyspaces")
|
|
21
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
22
|
+
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
23
|
+
list_types_paginator: ListTypesPaginator = client.get_paginator("list_types")
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Copyright 2025 Vlad Emelianov
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
from .client import KeyspacesClient
|
|
30
|
+
from .paginator import (
|
|
31
|
+
ListKeyspacesPaginator,
|
|
32
|
+
ListTablesPaginator,
|
|
33
|
+
ListTagsForResourcePaginator,
|
|
34
|
+
ListTypesPaginator,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
Client = KeyspacesClient
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
__all__ = (
|
|
41
|
+
"Client",
|
|
42
|
+
"KeyspacesClient",
|
|
43
|
+
"ListKeyspacesPaginator",
|
|
44
|
+
"ListTablesPaginator",
|
|
45
|
+
"ListTagsForResourcePaginator",
|
|
46
|
+
"ListTypesPaginator",
|
|
47
|
+
)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for keyspaces service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_keyspaces import (
|
|
9
|
+
Client,
|
|
10
|
+
KeyspacesClient,
|
|
11
|
+
ListKeyspacesPaginator,
|
|
12
|
+
ListTablesPaginator,
|
|
13
|
+
ListTagsForResourcePaginator,
|
|
14
|
+
ListTypesPaginator,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: KeyspacesClient = session.client("keyspaces")
|
|
19
|
+
|
|
20
|
+
list_keyspaces_paginator: ListKeyspacesPaginator = client.get_paginator("list_keyspaces")
|
|
21
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
22
|
+
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
23
|
+
list_types_paginator: ListTypesPaginator = client.get_paginator("list_types")
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Copyright 2025 Vlad Emelianov
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
from .client import KeyspacesClient
|
|
30
|
+
from .paginator import (
|
|
31
|
+
ListKeyspacesPaginator,
|
|
32
|
+
ListTablesPaginator,
|
|
33
|
+
ListTagsForResourcePaginator,
|
|
34
|
+
ListTypesPaginator,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
Client = KeyspacesClient
|
|
38
|
+
|
|
39
|
+
__all__ = (
|
|
40
|
+
"Client",
|
|
41
|
+
"KeyspacesClient",
|
|
42
|
+
"ListKeyspacesPaginator",
|
|
43
|
+
"ListTablesPaginator",
|
|
44
|
+
"ListTagsForResourcePaginator",
|
|
45
|
+
"ListTypesPaginator",
|
|
46
|
+
)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 Keyspaces 1.36.0\n"
|
|
16
|
+
"Version: 1.36.0\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces.html#keyspaces\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
sys.stdout.write("1.36.0\n")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
39
|
+
print_info()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == "__main__":
|
|
43
|
+
main()
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for keyspaces service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_keyspaces.client import KeyspacesClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: KeyspacesClient = session.client("keyspaces")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any, overload
|
|
23
|
+
|
|
24
|
+
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
27
|
+
|
|
28
|
+
from .paginator import (
|
|
29
|
+
ListKeyspacesPaginator,
|
|
30
|
+
ListTablesPaginator,
|
|
31
|
+
ListTagsForResourcePaginator,
|
|
32
|
+
ListTypesPaginator,
|
|
33
|
+
)
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
CreateKeyspaceRequestRequestTypeDef,
|
|
36
|
+
CreateKeyspaceResponseTypeDef,
|
|
37
|
+
CreateTableRequestRequestTypeDef,
|
|
38
|
+
CreateTableResponseTypeDef,
|
|
39
|
+
CreateTypeRequestRequestTypeDef,
|
|
40
|
+
CreateTypeResponseTypeDef,
|
|
41
|
+
DeleteKeyspaceRequestRequestTypeDef,
|
|
42
|
+
DeleteTableRequestRequestTypeDef,
|
|
43
|
+
DeleteTypeRequestRequestTypeDef,
|
|
44
|
+
DeleteTypeResponseTypeDef,
|
|
45
|
+
GetKeyspaceRequestRequestTypeDef,
|
|
46
|
+
GetKeyspaceResponseTypeDef,
|
|
47
|
+
GetTableAutoScalingSettingsRequestRequestTypeDef,
|
|
48
|
+
GetTableAutoScalingSettingsResponseTypeDef,
|
|
49
|
+
GetTableRequestRequestTypeDef,
|
|
50
|
+
GetTableResponseTypeDef,
|
|
51
|
+
GetTypeRequestRequestTypeDef,
|
|
52
|
+
GetTypeResponseTypeDef,
|
|
53
|
+
ListKeyspacesRequestRequestTypeDef,
|
|
54
|
+
ListKeyspacesResponseTypeDef,
|
|
55
|
+
ListTablesRequestRequestTypeDef,
|
|
56
|
+
ListTablesResponseTypeDef,
|
|
57
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
58
|
+
ListTagsForResourceResponseTypeDef,
|
|
59
|
+
ListTypesRequestRequestTypeDef,
|
|
60
|
+
ListTypesResponseTypeDef,
|
|
61
|
+
RestoreTableRequestRequestTypeDef,
|
|
62
|
+
RestoreTableResponseTypeDef,
|
|
63
|
+
TagResourceRequestRequestTypeDef,
|
|
64
|
+
UntagResourceRequestRequestTypeDef,
|
|
65
|
+
UpdateKeyspaceRequestRequestTypeDef,
|
|
66
|
+
UpdateKeyspaceResponseTypeDef,
|
|
67
|
+
UpdateTableRequestRequestTypeDef,
|
|
68
|
+
UpdateTableResponseTypeDef,
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
if sys.version_info >= (3, 9):
|
|
72
|
+
from builtins import dict as Dict
|
|
73
|
+
from builtins import type as Type
|
|
74
|
+
from collections.abc import Mapping
|
|
75
|
+
else:
|
|
76
|
+
from typing import Dict, Mapping, Type
|
|
77
|
+
if sys.version_info >= (3, 12):
|
|
78
|
+
from typing import Literal, Unpack
|
|
79
|
+
else:
|
|
80
|
+
from typing_extensions import Literal, Unpack
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
__all__ = ("KeyspacesClient",)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class Exceptions(BaseClientExceptions):
|
|
87
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
88
|
+
ClientError: Type[BotocoreClientError]
|
|
89
|
+
ConflictException: Type[BotocoreClientError]
|
|
90
|
+
InternalServerException: Type[BotocoreClientError]
|
|
91
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
92
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
93
|
+
ValidationException: Type[BotocoreClientError]
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class KeyspacesClient(BaseClient):
|
|
97
|
+
"""
|
|
98
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces.html#Keyspaces.Client)
|
|
99
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/)
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
meta: ClientMeta
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def exceptions(self) -> Exceptions:
|
|
106
|
+
"""
|
|
107
|
+
KeyspacesClient exceptions.
|
|
108
|
+
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces.html#Keyspaces.Client)
|
|
110
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#exceptions)
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
114
|
+
"""
|
|
115
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/can_paginate.html)
|
|
116
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#can_paginate)
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
def generate_presigned_url(
|
|
120
|
+
self,
|
|
121
|
+
ClientMethod: str,
|
|
122
|
+
Params: Mapping[str, Any] = ...,
|
|
123
|
+
ExpiresIn: int = 3600,
|
|
124
|
+
HttpMethod: str = ...,
|
|
125
|
+
) -> str:
|
|
126
|
+
"""
|
|
127
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/generate_presigned_url.html)
|
|
128
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#generate_presigned_url)
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
def create_keyspace(
|
|
132
|
+
self, **kwargs: Unpack[CreateKeyspaceRequestRequestTypeDef]
|
|
133
|
+
) -> CreateKeyspaceResponseTypeDef:
|
|
134
|
+
"""
|
|
135
|
+
The <code>CreateKeyspace</code> operation adds a new keyspace to your account.
|
|
136
|
+
|
|
137
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/create_keyspace.html)
|
|
138
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#create_keyspace)
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
def create_table(
|
|
142
|
+
self, **kwargs: Unpack[CreateTableRequestRequestTypeDef]
|
|
143
|
+
) -> CreateTableResponseTypeDef:
|
|
144
|
+
"""
|
|
145
|
+
The <code>CreateTable</code> operation adds a new table to the specified
|
|
146
|
+
keyspace.
|
|
147
|
+
|
|
148
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/create_table.html)
|
|
149
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#create_table)
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
def create_type(
|
|
153
|
+
self, **kwargs: Unpack[CreateTypeRequestRequestTypeDef]
|
|
154
|
+
) -> CreateTypeResponseTypeDef:
|
|
155
|
+
"""
|
|
156
|
+
The <code>CreateType</code> operation creates a new user-defined type in the
|
|
157
|
+
specified keyspace.
|
|
158
|
+
|
|
159
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/create_type.html)
|
|
160
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#create_type)
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
def delete_keyspace(
|
|
164
|
+
self, **kwargs: Unpack[DeleteKeyspaceRequestRequestTypeDef]
|
|
165
|
+
) -> Dict[str, Any]:
|
|
166
|
+
"""
|
|
167
|
+
The <code>DeleteKeyspace</code> operation deletes a keyspace and all of its
|
|
168
|
+
tables.
|
|
169
|
+
|
|
170
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/delete_keyspace.html)
|
|
171
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#delete_keyspace)
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
def delete_table(self, **kwargs: Unpack[DeleteTableRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
175
|
+
"""
|
|
176
|
+
The <code>DeleteTable</code> operation deletes a table and all of its data.
|
|
177
|
+
|
|
178
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/delete_table.html)
|
|
179
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#delete_table)
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
def delete_type(
|
|
183
|
+
self, **kwargs: Unpack[DeleteTypeRequestRequestTypeDef]
|
|
184
|
+
) -> DeleteTypeResponseTypeDef:
|
|
185
|
+
"""
|
|
186
|
+
The <code>DeleteType</code> operation deletes a user-defined type (UDT).
|
|
187
|
+
|
|
188
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/delete_type.html)
|
|
189
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#delete_type)
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
def get_keyspace(
|
|
193
|
+
self, **kwargs: Unpack[GetKeyspaceRequestRequestTypeDef]
|
|
194
|
+
) -> GetKeyspaceResponseTypeDef:
|
|
195
|
+
"""
|
|
196
|
+
Returns the name of the specified keyspace, the Amazon Resource Name (ARN), the
|
|
197
|
+
replication strategy, the Amazon Web Services Regions of a multi-Region
|
|
198
|
+
keyspace, and the status of newly added Regions after an
|
|
199
|
+
<code>UpdateKeyspace</code> operation.
|
|
200
|
+
|
|
201
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_keyspace.html)
|
|
202
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_keyspace)
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
def get_table(self, **kwargs: Unpack[GetTableRequestRequestTypeDef]) -> GetTableResponseTypeDef:
|
|
206
|
+
"""
|
|
207
|
+
Returns information about the table, including the table's name and current
|
|
208
|
+
status, the keyspace name, configuration settings, and metadata.
|
|
209
|
+
|
|
210
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_table.html)
|
|
211
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_table)
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
def get_table_auto_scaling_settings(
|
|
215
|
+
self, **kwargs: Unpack[GetTableAutoScalingSettingsRequestRequestTypeDef]
|
|
216
|
+
) -> GetTableAutoScalingSettingsResponseTypeDef:
|
|
217
|
+
"""
|
|
218
|
+
Returns auto scaling related settings of the specified table in JSON format.
|
|
219
|
+
|
|
220
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_table_auto_scaling_settings.html)
|
|
221
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_table_auto_scaling_settings)
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
def get_type(self, **kwargs: Unpack[GetTypeRequestRequestTypeDef]) -> GetTypeResponseTypeDef:
|
|
225
|
+
"""
|
|
226
|
+
The <code>GetType</code> operation returns information about the type, for
|
|
227
|
+
example the field definitions, the timestamp when the type was last modified,
|
|
228
|
+
the level of nesting, the status, and details about if the type is used in
|
|
229
|
+
other types and tables.
|
|
230
|
+
|
|
231
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_type.html)
|
|
232
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_type)
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
def list_keyspaces(
|
|
236
|
+
self, **kwargs: Unpack[ListKeyspacesRequestRequestTypeDef]
|
|
237
|
+
) -> ListKeyspacesResponseTypeDef:
|
|
238
|
+
"""
|
|
239
|
+
The <code>ListKeyspaces</code> operation returns a list of keyspaces.
|
|
240
|
+
|
|
241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/list_keyspaces.html)
|
|
242
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#list_keyspaces)
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
def list_tables(
|
|
246
|
+
self, **kwargs: Unpack[ListTablesRequestRequestTypeDef]
|
|
247
|
+
) -> ListTablesResponseTypeDef:
|
|
248
|
+
"""
|
|
249
|
+
The <code>ListTables</code> operation returns a list of tables for a specified
|
|
250
|
+
keyspace.
|
|
251
|
+
|
|
252
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/list_tables.html)
|
|
253
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#list_tables)
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
def list_tags_for_resource(
|
|
257
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
258
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
259
|
+
"""
|
|
260
|
+
Returns a list of all tags associated with the specified Amazon Keyspaces
|
|
261
|
+
resource.
|
|
262
|
+
|
|
263
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/list_tags_for_resource.html)
|
|
264
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#list_tags_for_resource)
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
def list_types(
|
|
268
|
+
self, **kwargs: Unpack[ListTypesRequestRequestTypeDef]
|
|
269
|
+
) -> ListTypesResponseTypeDef:
|
|
270
|
+
"""
|
|
271
|
+
The <code>ListTypes</code> operation returns a list of types for a specified
|
|
272
|
+
keyspace.
|
|
273
|
+
|
|
274
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/list_types.html)
|
|
275
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#list_types)
|
|
276
|
+
"""
|
|
277
|
+
|
|
278
|
+
def restore_table(
|
|
279
|
+
self, **kwargs: Unpack[RestoreTableRequestRequestTypeDef]
|
|
280
|
+
) -> RestoreTableResponseTypeDef:
|
|
281
|
+
"""
|
|
282
|
+
Restores the table to the specified point in time within the
|
|
283
|
+
<code>earliest_restorable_timestamp</code> and the current time.
|
|
284
|
+
|
|
285
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/restore_table.html)
|
|
286
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#restore_table)
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
290
|
+
"""
|
|
291
|
+
Associates a set of tags with a Amazon Keyspaces resource.
|
|
292
|
+
|
|
293
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/tag_resource.html)
|
|
294
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#tag_resource)
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
def untag_resource(
|
|
298
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
299
|
+
) -> Dict[str, Any]:
|
|
300
|
+
"""
|
|
301
|
+
Removes the association of tags from a Amazon Keyspaces resource.
|
|
302
|
+
|
|
303
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/untag_resource.html)
|
|
304
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#untag_resource)
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
def update_keyspace(
|
|
308
|
+
self, **kwargs: Unpack[UpdateKeyspaceRequestRequestTypeDef]
|
|
309
|
+
) -> UpdateKeyspaceResponseTypeDef:
|
|
310
|
+
"""
|
|
311
|
+
Adds a new Amazon Web Services Region to the keyspace.
|
|
312
|
+
|
|
313
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/update_keyspace.html)
|
|
314
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#update_keyspace)
|
|
315
|
+
"""
|
|
316
|
+
|
|
317
|
+
def update_table(
|
|
318
|
+
self, **kwargs: Unpack[UpdateTableRequestRequestTypeDef]
|
|
319
|
+
) -> UpdateTableResponseTypeDef:
|
|
320
|
+
"""
|
|
321
|
+
Adds new columns to the table or updates one of the table's settings, for
|
|
322
|
+
example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl
|
|
323
|
+
settings.
|
|
324
|
+
|
|
325
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/update_table.html)
|
|
326
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#update_table)
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
@overload # type: ignore[override]
|
|
330
|
+
def get_paginator( # type: ignore[override]
|
|
331
|
+
self, operation_name: Literal["list_keyspaces"]
|
|
332
|
+
) -> ListKeyspacesPaginator:
|
|
333
|
+
"""
|
|
334
|
+
Create a paginator for an operation.
|
|
335
|
+
|
|
336
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_paginator.html)
|
|
337
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_paginator)
|
|
338
|
+
"""
|
|
339
|
+
|
|
340
|
+
@overload # type: ignore[override]
|
|
341
|
+
def get_paginator( # type: ignore[override]
|
|
342
|
+
self, operation_name: Literal["list_tables"]
|
|
343
|
+
) -> ListTablesPaginator:
|
|
344
|
+
"""
|
|
345
|
+
Create a paginator for an operation.
|
|
346
|
+
|
|
347
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_paginator.html)
|
|
348
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_paginator)
|
|
349
|
+
"""
|
|
350
|
+
|
|
351
|
+
@overload # type: ignore[override]
|
|
352
|
+
def get_paginator( # type: ignore[override]
|
|
353
|
+
self, operation_name: Literal["list_tags_for_resource"]
|
|
354
|
+
) -> ListTagsForResourcePaginator:
|
|
355
|
+
"""
|
|
356
|
+
Create a paginator for an operation.
|
|
357
|
+
|
|
358
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_paginator.html)
|
|
359
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_paginator)
|
|
360
|
+
"""
|
|
361
|
+
|
|
362
|
+
@overload # type: ignore[override]
|
|
363
|
+
def get_paginator( # type: ignore[override]
|
|
364
|
+
self, operation_name: Literal["list_types"]
|
|
365
|
+
) -> ListTypesPaginator:
|
|
366
|
+
"""
|
|
367
|
+
Create a paginator for an operation.
|
|
368
|
+
|
|
369
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/keyspaces/client/get_paginator.html)
|
|
370
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_keyspaces/client/#get_paginator)
|
|
371
|
+
"""
|