types-boto3-dynamodb 1.35.71__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_dynamodb/__init__.py +69 -0
- types_boto3_dynamodb/__init__.pyi +67 -0
- types_boto3_dynamodb/__main__.py +42 -0
- types_boto3_dynamodb/client.py +888 -0
- types_boto3_dynamodb/client.pyi +884 -0
- types_boto3_dynamodb/literals.py +616 -0
- types_boto3_dynamodb/literals.pyi +614 -0
- types_boto3_dynamodb/paginator.py +148 -0
- types_boto3_dynamodb/paginator.pyi +135 -0
- types_boto3_dynamodb/py.typed +0 -0
- types_boto3_dynamodb/service_resource.py +356 -0
- types_boto3_dynamodb/service_resource.pyi +349 -0
- types_boto3_dynamodb/type_defs.py +2407 -0
- types_boto3_dynamodb/type_defs.pyi +2129 -0
- types_boto3_dynamodb/version.py +7 -0
- types_boto3_dynamodb/waiter.py +68 -0
- types_boto3_dynamodb/waiter.pyi +63 -0
- types_boto3_dynamodb-1.35.71.dist-info/LICENSE +21 -0
- types_boto3_dynamodb-1.35.71.dist-info/METADATA +520 -0
- types_boto3_dynamodb-1.35.71.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.35.71.dist-info/WHEEL +5 -0
- types_boto3_dynamodb-1.35.71.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for dynamodb service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_dynamodb import (
|
|
9
|
+
Client,
|
|
10
|
+
DynamoDBClient,
|
|
11
|
+
DynamoDBServiceResource,
|
|
12
|
+
ListBackupsPaginator,
|
|
13
|
+
ListTablesPaginator,
|
|
14
|
+
ListTagsOfResourcePaginator,
|
|
15
|
+
QueryPaginator,
|
|
16
|
+
ScanPaginator,
|
|
17
|
+
ServiceResource,
|
|
18
|
+
TableExistsWaiter,
|
|
19
|
+
TableNotExistsWaiter,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
session = Session()
|
|
23
|
+
client: DynamoDBClient = session.client("dynamodb")
|
|
24
|
+
|
|
25
|
+
resource: DynamoDBServiceResource = session.resource("dynamodb")
|
|
26
|
+
|
|
27
|
+
table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
|
|
28
|
+
table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
|
|
29
|
+
|
|
30
|
+
list_backups_paginator: ListBackupsPaginator = client.get_paginator("list_backups")
|
|
31
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
32
|
+
list_tags_of_resource_paginator: ListTagsOfResourcePaginator = client.get_paginator("list_tags_of_resource")
|
|
33
|
+
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
34
|
+
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Copyright 2024 Vlad Emelianov
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
from .client import DynamoDBClient
|
|
41
|
+
from .paginator import (
|
|
42
|
+
ListBackupsPaginator,
|
|
43
|
+
ListTablesPaginator,
|
|
44
|
+
ListTagsOfResourcePaginator,
|
|
45
|
+
QueryPaginator,
|
|
46
|
+
ScanPaginator,
|
|
47
|
+
)
|
|
48
|
+
from .service_resource import DynamoDBServiceResource
|
|
49
|
+
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
50
|
+
|
|
51
|
+
Client = DynamoDBClient
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
ServiceResource = DynamoDBServiceResource
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
__all__ = (
|
|
58
|
+
"Client",
|
|
59
|
+
"DynamoDBClient",
|
|
60
|
+
"DynamoDBServiceResource",
|
|
61
|
+
"ListBackupsPaginator",
|
|
62
|
+
"ListTablesPaginator",
|
|
63
|
+
"ListTagsOfResourcePaginator",
|
|
64
|
+
"QueryPaginator",
|
|
65
|
+
"ScanPaginator",
|
|
66
|
+
"ServiceResource",
|
|
67
|
+
"TableExistsWaiter",
|
|
68
|
+
"TableNotExistsWaiter",
|
|
69
|
+
)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for dynamodb service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_dynamodb import (
|
|
9
|
+
Client,
|
|
10
|
+
DynamoDBClient,
|
|
11
|
+
DynamoDBServiceResource,
|
|
12
|
+
ListBackupsPaginator,
|
|
13
|
+
ListTablesPaginator,
|
|
14
|
+
ListTagsOfResourcePaginator,
|
|
15
|
+
QueryPaginator,
|
|
16
|
+
ScanPaginator,
|
|
17
|
+
ServiceResource,
|
|
18
|
+
TableExistsWaiter,
|
|
19
|
+
TableNotExistsWaiter,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
session = Session()
|
|
23
|
+
client: DynamoDBClient = session.client("dynamodb")
|
|
24
|
+
|
|
25
|
+
resource: DynamoDBServiceResource = session.resource("dynamodb")
|
|
26
|
+
|
|
27
|
+
table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
|
|
28
|
+
table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
|
|
29
|
+
|
|
30
|
+
list_backups_paginator: ListBackupsPaginator = client.get_paginator("list_backups")
|
|
31
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
32
|
+
list_tags_of_resource_paginator: ListTagsOfResourcePaginator = client.get_paginator("list_tags_of_resource")
|
|
33
|
+
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
34
|
+
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Copyright 2024 Vlad Emelianov
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
from .client import DynamoDBClient
|
|
41
|
+
from .paginator import (
|
|
42
|
+
ListBackupsPaginator,
|
|
43
|
+
ListTablesPaginator,
|
|
44
|
+
ListTagsOfResourcePaginator,
|
|
45
|
+
QueryPaginator,
|
|
46
|
+
ScanPaginator,
|
|
47
|
+
)
|
|
48
|
+
from .service_resource import DynamoDBServiceResource
|
|
49
|
+
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
50
|
+
|
|
51
|
+
Client = DynamoDBClient
|
|
52
|
+
|
|
53
|
+
ServiceResource = DynamoDBServiceResource
|
|
54
|
+
|
|
55
|
+
__all__ = (
|
|
56
|
+
"Client",
|
|
57
|
+
"DynamoDBClient",
|
|
58
|
+
"DynamoDBServiceResource",
|
|
59
|
+
"ListBackupsPaginator",
|
|
60
|
+
"ListTablesPaginator",
|
|
61
|
+
"ListTagsOfResourcePaginator",
|
|
62
|
+
"QueryPaginator",
|
|
63
|
+
"ScanPaginator",
|
|
64
|
+
"ServiceResource",
|
|
65
|
+
"TableExistsWaiter",
|
|
66
|
+
"TableNotExistsWaiter",
|
|
67
|
+
)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
print(
|
|
15
|
+
"Type annotations for boto3 DynamoDB 1.35.71\n"
|
|
16
|
+
"Version: 1.35.71\n"
|
|
17
|
+
"Builder version: 8.4.1\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#dynamodb\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
print("1.35.71")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
return print_version()
|
|
38
|
+
print_info()
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
if __name__ == "__main__":
|
|
42
|
+
main()
|