types-boto3-dynamodbstreams 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_dynamodbstreams/__init__.py +25 -0
- types_boto3_dynamodbstreams/__init__.pyi +24 -0
- types_boto3_dynamodbstreams/__main__.py +43 -0
- types_boto3_dynamodbstreams/client.py +138 -0
- types_boto3_dynamodbstreams/client.pyi +135 -0
- types_boto3_dynamodbstreams/literals.py +496 -0
- types_boto3_dynamodbstreams/literals.pyi +494 -0
- types_boto3_dynamodbstreams/py.typed +0 -0
- types_boto3_dynamodbstreams/type_defs.py +191 -0
- types_boto3_dynamodbstreams/type_defs.pyi +172 -0
- types_boto3_dynamodbstreams/version.py +7 -0
- types_boto3_dynamodbstreams-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_dynamodbstreams-1.36.0.dist-info/METADATA +461 -0
- types_boto3_dynamodbstreams-1.36.0.dist-info/RECORD +16 -0
- types_boto3_dynamodbstreams-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_dynamodbstreams-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for dynamodbstreams service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_dynamodbstreams import (
|
|
9
|
+
Client,
|
|
10
|
+
DynamoDBStreamsClient,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: DynamoDBStreamsClient = session.client("dynamodbstreams")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2025 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import DynamoDBStreamsClient
|
|
21
|
+
|
|
22
|
+
Client = DynamoDBStreamsClient
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
__all__ = ("Client", "DynamoDBStreamsClient")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for dynamodbstreams service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_dynamodbstreams import (
|
|
9
|
+
Client,
|
|
10
|
+
DynamoDBStreamsClient,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: DynamoDBStreamsClient = session.client("dynamodbstreams")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2025 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import DynamoDBStreamsClient
|
|
21
|
+
|
|
22
|
+
Client = DynamoDBStreamsClient
|
|
23
|
+
|
|
24
|
+
__all__ = ("Client", "DynamoDBStreamsClient")
|
|
@@ -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 DynamoDBStreams 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_dynamodbstreams//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams.html#dynamodbstreams\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,138 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for dynamodbstreams service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_dynamodbstreams.client import DynamoDBStreamsClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: DynamoDBStreamsClient = session.client("dynamodbstreams")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any
|
|
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 .type_defs import (
|
|
29
|
+
DescribeStreamInputRequestTypeDef,
|
|
30
|
+
DescribeStreamOutputTypeDef,
|
|
31
|
+
GetRecordsInputRequestTypeDef,
|
|
32
|
+
GetRecordsOutputTypeDef,
|
|
33
|
+
GetShardIteratorInputRequestTypeDef,
|
|
34
|
+
GetShardIteratorOutputTypeDef,
|
|
35
|
+
ListStreamsInputRequestTypeDef,
|
|
36
|
+
ListStreamsOutputTypeDef,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
if sys.version_info >= (3, 9):
|
|
40
|
+
from builtins import type as Type
|
|
41
|
+
from collections.abc import Mapping
|
|
42
|
+
else:
|
|
43
|
+
from typing import Mapping, Type
|
|
44
|
+
if sys.version_info >= (3, 12):
|
|
45
|
+
from typing import Unpack
|
|
46
|
+
else:
|
|
47
|
+
from typing_extensions import Unpack
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
__all__ = ("DynamoDBStreamsClient",)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class Exceptions(BaseClientExceptions):
|
|
54
|
+
ClientError: Type[BotocoreClientError]
|
|
55
|
+
ExpiredIteratorException: Type[BotocoreClientError]
|
|
56
|
+
InternalServerError: Type[BotocoreClientError]
|
|
57
|
+
LimitExceededException: Type[BotocoreClientError]
|
|
58
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
59
|
+
TrimmedDataAccessException: Type[BotocoreClientError]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class DynamoDBStreamsClient(BaseClient):
|
|
63
|
+
"""
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams.html#DynamoDBStreams.Client)
|
|
65
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
meta: ClientMeta
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def exceptions(self) -> Exceptions:
|
|
72
|
+
"""
|
|
73
|
+
DynamoDBStreamsClient exceptions.
|
|
74
|
+
|
|
75
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams.html#DynamoDBStreams.Client)
|
|
76
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#exceptions)
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
80
|
+
"""
|
|
81
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/can_paginate.html)
|
|
82
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#can_paginate)
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
def generate_presigned_url(
|
|
86
|
+
self,
|
|
87
|
+
ClientMethod: str,
|
|
88
|
+
Params: Mapping[str, Any] = ...,
|
|
89
|
+
ExpiresIn: int = 3600,
|
|
90
|
+
HttpMethod: str = ...,
|
|
91
|
+
) -> str:
|
|
92
|
+
"""
|
|
93
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/generate_presigned_url.html)
|
|
94
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#generate_presigned_url)
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
def describe_stream(
|
|
98
|
+
self, **kwargs: Unpack[DescribeStreamInputRequestTypeDef]
|
|
99
|
+
) -> DescribeStreamOutputTypeDef:
|
|
100
|
+
"""
|
|
101
|
+
Returns information about a stream, including the current status of the stream,
|
|
102
|
+
its Amazon Resource Name (ARN), the composition of its shards, and its
|
|
103
|
+
corresponding DynamoDB table.
|
|
104
|
+
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/describe_stream.html)
|
|
106
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#describe_stream)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
def get_records(
|
|
110
|
+
self, **kwargs: Unpack[GetRecordsInputRequestTypeDef]
|
|
111
|
+
) -> GetRecordsOutputTypeDef:
|
|
112
|
+
"""
|
|
113
|
+
Retrieves the stream records from a given shard.
|
|
114
|
+
|
|
115
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/get_records.html)
|
|
116
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#get_records)
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
def get_shard_iterator(
|
|
120
|
+
self, **kwargs: Unpack[GetShardIteratorInputRequestTypeDef]
|
|
121
|
+
) -> GetShardIteratorOutputTypeDef:
|
|
122
|
+
"""
|
|
123
|
+
Returns a shard iterator.
|
|
124
|
+
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/get_shard_iterator.html)
|
|
126
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#get_shard_iterator)
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
def list_streams(
|
|
130
|
+
self, **kwargs: Unpack[ListStreamsInputRequestTypeDef]
|
|
131
|
+
) -> ListStreamsOutputTypeDef:
|
|
132
|
+
"""
|
|
133
|
+
Returns an array of stream ARNs associated with the current account and
|
|
134
|
+
endpoint.
|
|
135
|
+
|
|
136
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/list_streams.html)
|
|
137
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#list_streams)
|
|
138
|
+
"""
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for dynamodbstreams service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_dynamodbstreams.client import DynamoDBStreamsClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: DynamoDBStreamsClient = session.client("dynamodbstreams")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any
|
|
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 .type_defs import (
|
|
29
|
+
DescribeStreamInputRequestTypeDef,
|
|
30
|
+
DescribeStreamOutputTypeDef,
|
|
31
|
+
GetRecordsInputRequestTypeDef,
|
|
32
|
+
GetRecordsOutputTypeDef,
|
|
33
|
+
GetShardIteratorInputRequestTypeDef,
|
|
34
|
+
GetShardIteratorOutputTypeDef,
|
|
35
|
+
ListStreamsInputRequestTypeDef,
|
|
36
|
+
ListStreamsOutputTypeDef,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
if sys.version_info >= (3, 9):
|
|
40
|
+
from builtins import type as Type
|
|
41
|
+
from collections.abc import Mapping
|
|
42
|
+
else:
|
|
43
|
+
from typing import Mapping, Type
|
|
44
|
+
if sys.version_info >= (3, 12):
|
|
45
|
+
from typing import Unpack
|
|
46
|
+
else:
|
|
47
|
+
from typing_extensions import Unpack
|
|
48
|
+
|
|
49
|
+
__all__ = ("DynamoDBStreamsClient",)
|
|
50
|
+
|
|
51
|
+
class Exceptions(BaseClientExceptions):
|
|
52
|
+
ClientError: Type[BotocoreClientError]
|
|
53
|
+
ExpiredIteratorException: Type[BotocoreClientError]
|
|
54
|
+
InternalServerError: Type[BotocoreClientError]
|
|
55
|
+
LimitExceededException: Type[BotocoreClientError]
|
|
56
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
57
|
+
TrimmedDataAccessException: Type[BotocoreClientError]
|
|
58
|
+
|
|
59
|
+
class DynamoDBStreamsClient(BaseClient):
|
|
60
|
+
"""
|
|
61
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams.html#DynamoDBStreams.Client)
|
|
62
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/)
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
meta: ClientMeta
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def exceptions(self) -> Exceptions:
|
|
69
|
+
"""
|
|
70
|
+
DynamoDBStreamsClient exceptions.
|
|
71
|
+
|
|
72
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams.html#DynamoDBStreams.Client)
|
|
73
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#exceptions)
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
77
|
+
"""
|
|
78
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/can_paginate.html)
|
|
79
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#can_paginate)
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
def generate_presigned_url(
|
|
83
|
+
self,
|
|
84
|
+
ClientMethod: str,
|
|
85
|
+
Params: Mapping[str, Any] = ...,
|
|
86
|
+
ExpiresIn: int = 3600,
|
|
87
|
+
HttpMethod: str = ...,
|
|
88
|
+
) -> str:
|
|
89
|
+
"""
|
|
90
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/generate_presigned_url.html)
|
|
91
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#generate_presigned_url)
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
def describe_stream(
|
|
95
|
+
self, **kwargs: Unpack[DescribeStreamInputRequestTypeDef]
|
|
96
|
+
) -> DescribeStreamOutputTypeDef:
|
|
97
|
+
"""
|
|
98
|
+
Returns information about a stream, including the current status of the stream,
|
|
99
|
+
its Amazon Resource Name (ARN), the composition of its shards, and its
|
|
100
|
+
corresponding DynamoDB table.
|
|
101
|
+
|
|
102
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/describe_stream.html)
|
|
103
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#describe_stream)
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
def get_records(
|
|
107
|
+
self, **kwargs: Unpack[GetRecordsInputRequestTypeDef]
|
|
108
|
+
) -> GetRecordsOutputTypeDef:
|
|
109
|
+
"""
|
|
110
|
+
Retrieves the stream records from a given shard.
|
|
111
|
+
|
|
112
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/get_records.html)
|
|
113
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#get_records)
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
def get_shard_iterator(
|
|
117
|
+
self, **kwargs: Unpack[GetShardIteratorInputRequestTypeDef]
|
|
118
|
+
) -> GetShardIteratorOutputTypeDef:
|
|
119
|
+
"""
|
|
120
|
+
Returns a shard iterator.
|
|
121
|
+
|
|
122
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/get_shard_iterator.html)
|
|
123
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#get_shard_iterator)
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
def list_streams(
|
|
127
|
+
self, **kwargs: Unpack[ListStreamsInputRequestTypeDef]
|
|
128
|
+
) -> ListStreamsOutputTypeDef:
|
|
129
|
+
"""
|
|
130
|
+
Returns an array of stream ARNs associated with the current account and
|
|
131
|
+
endpoint.
|
|
132
|
+
|
|
133
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodbstreams/client/list_streams.html)
|
|
134
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodbstreams/client/#list_streams)
|
|
135
|
+
"""
|