types-boto3-dynamodb 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_dynamodb/__init__.py +74 -0
- types_boto3_dynamodb/__init__.pyi +71 -0
- types_boto3_dynamodb/__main__.py +43 -0
- types_boto3_dynamodb/client.py +896 -0
- types_boto3_dynamodb/client.pyi +893 -0
- types_boto3_dynamodb/literals.py +626 -0
- types_boto3_dynamodb/literals.pyi +624 -0
- types_boto3_dynamodb/paginator.py +170 -0
- types_boto3_dynamodb/paginator.pyi +154 -0
- types_boto3_dynamodb/py.typed +0 -0
- types_boto3_dynamodb/service_resource.py +363 -0
- types_boto3_dynamodb/service_resource.pyi +356 -0
- types_boto3_dynamodb/type_defs.py +2410 -0
- types_boto3_dynamodb/type_defs.pyi +2134 -0
- types_boto3_dynamodb/version.py +7 -0
- types_boto3_dynamodb/waiter.py +71 -0
- types_boto3_dynamodb/waiter.pyi +66 -0
- types_boto3_dynamodb-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_dynamodb-1.36.0.dist-info/METADATA +572 -0
- types_boto3_dynamodb-1.36.0.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_dynamodb-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,74 @@
|
|
|
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 2025 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 .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
49
|
+
|
|
50
|
+
try:
|
|
51
|
+
from .service_resource import DynamoDBServiceResource
|
|
52
|
+
except ImportError:
|
|
53
|
+
from builtins import object as DynamoDBServiceResource # type: ignore[assignment]
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Client = DynamoDBClient
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
ServiceResource = DynamoDBServiceResource
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
__all__ = (
|
|
63
|
+
"Client",
|
|
64
|
+
"DynamoDBClient",
|
|
65
|
+
"DynamoDBServiceResource",
|
|
66
|
+
"ListBackupsPaginator",
|
|
67
|
+
"ListTablesPaginator",
|
|
68
|
+
"ListTagsOfResourcePaginator",
|
|
69
|
+
"QueryPaginator",
|
|
70
|
+
"ScanPaginator",
|
|
71
|
+
"ServiceResource",
|
|
72
|
+
"TableExistsWaiter",
|
|
73
|
+
"TableNotExistsWaiter",
|
|
74
|
+
)
|
|
@@ -0,0 +1,71 @@
|
|
|
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 2025 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 .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
49
|
+
|
|
50
|
+
try:
|
|
51
|
+
from .service_resource import DynamoDBServiceResource
|
|
52
|
+
except ImportError:
|
|
53
|
+
from builtins import object as DynamoDBServiceResource # type: ignore[assignment]
|
|
54
|
+
|
|
55
|
+
Client = DynamoDBClient
|
|
56
|
+
|
|
57
|
+
ServiceResource = DynamoDBServiceResource
|
|
58
|
+
|
|
59
|
+
__all__ = (
|
|
60
|
+
"Client",
|
|
61
|
+
"DynamoDBClient",
|
|
62
|
+
"DynamoDBServiceResource",
|
|
63
|
+
"ListBackupsPaginator",
|
|
64
|
+
"ListTablesPaginator",
|
|
65
|
+
"ListTagsOfResourcePaginator",
|
|
66
|
+
"QueryPaginator",
|
|
67
|
+
"ScanPaginator",
|
|
68
|
+
"ServiceResource",
|
|
69
|
+
"TableExistsWaiter",
|
|
70
|
+
"TableNotExistsWaiter",
|
|
71
|
+
)
|
|
@@ -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 DynamoDB 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_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\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()
|