mypy-boto3-kinesis 1.36.0__tar.gz → 1.37.0__tar.gz
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.
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/PKG-INFO +13 -10
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/README.md +11 -8
- mypy_boto3_kinesis-1.36.0/mypy_boto3_kinesis/__init__.pyi → mypy_boto3_kinesis-1.37.0/mypy_boto3_kinesis/__init__.py +5 -2
- mypy_boto3_kinesis-1.36.0/mypy_boto3_kinesis/__init__.py → mypy_boto3_kinesis-1.37.0/mypy_boto3_kinesis/__init__.pyi +4 -3
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/__main__.py +4 -4
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/client.py +64 -74
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/client.pyi +64 -74
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/literals.py +2 -3
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/literals.pyi +2 -3
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/type_defs.py +75 -66
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/type_defs.pyi +74 -66
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/version.py +1 -1
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/waiter.py +4 -4
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/waiter.pyi +4 -4
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/PKG-INFO +13 -10
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/setup.py +2 -2
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/LICENSE +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/paginator.py +2 -2
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/paginator.pyi +2 -2
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis/py.typed +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/not-zip-safe +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/requires.txt +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/mypy_boto3_kinesis.egg-info/top_level.txt +0 -0
- {mypy_boto3_kinesis-1.36.0 → mypy_boto3_kinesis-1.37.0}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mypy-boto3-kinesis
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Kinesis 1.
|
|
3
|
+
Version: 1.37.0
|
|
4
|
+
Summary: Type annotations for boto3 Kinesis 1.37.0 service generated with mypy-boto3-builder 8.9.2
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -55,7 +55,7 @@ Dynamic: summary
|
|
|
55
55
|
|
|
56
56
|

|
|
57
57
|
|
|
58
|
-
Type annotations for [boto3 Kinesis 1.
|
|
58
|
+
Type annotations for [boto3 Kinesis 1.37.0](https://pypi.org/project/boto3/)
|
|
59
59
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
60
60
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
61
61
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -64,7 +64,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
64
64
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
65
65
|
|
|
66
66
|
Generated with
|
|
67
|
-
[mypy-boto3-builder 8.
|
|
67
|
+
[mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
|
|
68
68
|
|
|
69
69
|
More information can be found on
|
|
70
70
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -113,12 +113,12 @@ See how it helps you find and fix potential bugs:
|
|
|
113
113
|
### Generate locally (recommended)
|
|
114
114
|
|
|
115
115
|
You can generate type annotations for `boto3` package locally with
|
|
116
|
-
`
|
|
116
|
+
`mypy-boto3-builder`. Use
|
|
117
117
|
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
118
118
|
isolation.
|
|
119
119
|
|
|
120
120
|
1. Run mypy-boto3-builder in your package root directory:
|
|
121
|
-
`uvx --with 'boto3==1.
|
|
121
|
+
`uvx --with 'boto3==1.37.0' mypy-boto3-builder`
|
|
122
122
|
2. Select `boto3-stubs` AWS SDK.
|
|
123
123
|
3. Add `Kinesis` service.
|
|
124
124
|
4. Use provided commands to install generated packages.
|
|
@@ -418,11 +418,14 @@ Full list of `Kinesis` TypeDefs can be found in
|
|
|
418
418
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/type_defs/).
|
|
419
419
|
|
|
420
420
|
```python
|
|
421
|
-
|
|
421
|
+
# TypedDict usage example
|
|
422
|
+
from mypy_boto3_kinesis.type_defs import AddTagsToStreamInputTypeDef
|
|
422
423
|
|
|
423
424
|
|
|
424
|
-
def get_value() ->
|
|
425
|
-
return {
|
|
425
|
+
def get_value() -> AddTagsToStreamInputTypeDef:
|
|
426
|
+
return {
|
|
427
|
+
"Tags": ...,
|
|
428
|
+
}
|
|
426
429
|
```
|
|
427
430
|
|
|
428
431
|
<a id="how-it-works"></a>
|
|
@@ -476,7 +479,7 @@ Builder changelog can be found in
|
|
|
476
479
|
## Versioning
|
|
477
480
|
|
|
478
481
|
`mypy-boto3-kinesis` version is the same as related `boto3` version and follows
|
|
479
|
-
[
|
|
482
|
+
[Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
|
|
480
483
|
|
|
481
484
|
<a id="thank-you"></a>
|
|
482
485
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Kinesis 1.
|
|
12
|
+
Type annotations for [boto3 Kinesis 1.37.0](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -67,12 +67,12 @@ See how it helps you find and fix potential bugs:
|
|
|
67
67
|
### Generate locally (recommended)
|
|
68
68
|
|
|
69
69
|
You can generate type annotations for `boto3` package locally with
|
|
70
|
-
`
|
|
70
|
+
`mypy-boto3-builder`. Use
|
|
71
71
|
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
72
72
|
isolation.
|
|
73
73
|
|
|
74
74
|
1. Run mypy-boto3-builder in your package root directory:
|
|
75
|
-
`uvx --with 'boto3==1.
|
|
75
|
+
`uvx --with 'boto3==1.37.0' mypy-boto3-builder`
|
|
76
76
|
2. Select `boto3-stubs` AWS SDK.
|
|
77
77
|
3. Add `Kinesis` service.
|
|
78
78
|
4. Use provided commands to install generated packages.
|
|
@@ -372,11 +372,14 @@ Full list of `Kinesis` TypeDefs can be found in
|
|
|
372
372
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/type_defs/).
|
|
373
373
|
|
|
374
374
|
```python
|
|
375
|
-
|
|
375
|
+
# TypedDict usage example
|
|
376
|
+
from mypy_boto3_kinesis.type_defs import AddTagsToStreamInputTypeDef
|
|
376
377
|
|
|
377
378
|
|
|
378
|
-
def get_value() ->
|
|
379
|
-
return {
|
|
379
|
+
def get_value() -> AddTagsToStreamInputTypeDef:
|
|
380
|
+
return {
|
|
381
|
+
"Tags": ...,
|
|
382
|
+
}
|
|
380
383
|
```
|
|
381
384
|
|
|
382
385
|
<a id="how-it-works"></a>
|
|
@@ -430,7 +433,7 @@ Builder changelog can be found in
|
|
|
430
433
|
## Versioning
|
|
431
434
|
|
|
432
435
|
`mypy-boto3-kinesis` version is the same as related `boto3` version and follows
|
|
433
|
-
[
|
|
436
|
+
[Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
|
|
434
437
|
|
|
435
438
|
<a id="thank-you"></a>
|
|
436
439
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main interface for kinesis service.
|
|
3
3
|
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
4
8
|
Usage::
|
|
5
9
|
|
|
6
10
|
```python
|
|
@@ -27,8 +31,6 @@ Usage::
|
|
|
27
31
|
list_stream_consumers_paginator: ListStreamConsumersPaginator = client.get_paginator("list_stream_consumers")
|
|
28
32
|
list_streams_paginator: ListStreamsPaginator = client.get_paginator("list_streams")
|
|
29
33
|
```
|
|
30
|
-
|
|
31
|
-
Copyright 2025 Vlad Emelianov
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
from .client import KinesisClient
|
|
@@ -42,6 +44,7 @@ from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
|
|
|
42
44
|
|
|
43
45
|
Client = KinesisClient
|
|
44
46
|
|
|
47
|
+
|
|
45
48
|
__all__ = (
|
|
46
49
|
"Client",
|
|
47
50
|
"DescribeStreamPaginator",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main interface for kinesis service.
|
|
3
3
|
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
4
8
|
Usage::
|
|
5
9
|
|
|
6
10
|
```python
|
|
@@ -27,8 +31,6 @@ Usage::
|
|
|
27
31
|
list_stream_consumers_paginator: ListStreamConsumersPaginator = client.get_paginator("list_stream_consumers")
|
|
28
32
|
list_streams_paginator: ListStreamsPaginator = client.get_paginator("list_streams")
|
|
29
33
|
```
|
|
30
|
-
|
|
31
|
-
Copyright 2025 Vlad Emelianov
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
from .client import KinesisClient
|
|
@@ -42,7 +44,6 @@ from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
|
|
|
42
44
|
|
|
43
45
|
Client = KinesisClient
|
|
44
46
|
|
|
45
|
-
|
|
46
47
|
__all__ = (
|
|
47
48
|
"Client",
|
|
48
49
|
"DescribeStreamPaginator",
|
|
@@ -12,9 +12,9 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 Kinesis 1.
|
|
16
|
-
"Version: 1.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Kinesis 1.37.0\n"
|
|
16
|
+
"Version: 1.37.0\n"
|
|
17
|
+
"Builder version: 8.9.2\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#kinesis\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.37.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -3,6 +3,8 @@ Type annotations for kinesis service Client.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/)
|
|
5
5
|
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
@@ -12,8 +14,6 @@ Usage::
|
|
|
12
14
|
session = Session()
|
|
13
15
|
client: KinesisClient = session.client("kinesis")
|
|
14
16
|
```
|
|
15
|
-
|
|
16
|
-
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
from __future__ import annotations
|
|
@@ -32,55 +32,55 @@ from .paginator import (
|
|
|
32
32
|
ListStreamsPaginator,
|
|
33
33
|
)
|
|
34
34
|
from .type_defs import (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
AddTagsToStreamInputTypeDef,
|
|
36
|
+
CreateStreamInputTypeDef,
|
|
37
|
+
DecreaseStreamRetentionPeriodInputTypeDef,
|
|
38
|
+
DeleteResourcePolicyInputTypeDef,
|
|
39
|
+
DeleteStreamInputTypeDef,
|
|
40
|
+
DeregisterStreamConsumerInputTypeDef,
|
|
41
41
|
DescribeLimitsOutputTypeDef,
|
|
42
|
-
|
|
42
|
+
DescribeStreamConsumerInputTypeDef,
|
|
43
43
|
DescribeStreamConsumerOutputTypeDef,
|
|
44
|
-
|
|
44
|
+
DescribeStreamInputTypeDef,
|
|
45
45
|
DescribeStreamOutputTypeDef,
|
|
46
|
-
|
|
46
|
+
DescribeStreamSummaryInputTypeDef,
|
|
47
47
|
DescribeStreamSummaryOutputTypeDef,
|
|
48
|
-
|
|
48
|
+
DisableEnhancedMonitoringInputTypeDef,
|
|
49
49
|
EmptyResponseMetadataTypeDef,
|
|
50
|
-
|
|
50
|
+
EnableEnhancedMonitoringInputTypeDef,
|
|
51
51
|
EnhancedMonitoringOutputTypeDef,
|
|
52
|
-
|
|
52
|
+
GetRecordsInputTypeDef,
|
|
53
53
|
GetRecordsOutputTypeDef,
|
|
54
|
-
|
|
54
|
+
GetResourcePolicyInputTypeDef,
|
|
55
55
|
GetResourcePolicyOutputTypeDef,
|
|
56
|
-
|
|
56
|
+
GetShardIteratorInputTypeDef,
|
|
57
57
|
GetShardIteratorOutputTypeDef,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
IncreaseStreamRetentionPeriodInputTypeDef,
|
|
59
|
+
ListShardsInputTypeDef,
|
|
60
60
|
ListShardsOutputTypeDef,
|
|
61
|
-
|
|
61
|
+
ListStreamConsumersInputTypeDef,
|
|
62
62
|
ListStreamConsumersOutputTypeDef,
|
|
63
|
-
|
|
63
|
+
ListStreamsInputTypeDef,
|
|
64
64
|
ListStreamsOutputTypeDef,
|
|
65
|
-
|
|
65
|
+
ListTagsForStreamInputTypeDef,
|
|
66
66
|
ListTagsForStreamOutputTypeDef,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
MergeShardsInputTypeDef,
|
|
68
|
+
PutRecordInputTypeDef,
|
|
69
69
|
PutRecordOutputTypeDef,
|
|
70
|
-
|
|
70
|
+
PutRecordsInputTypeDef,
|
|
71
71
|
PutRecordsOutputTypeDef,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
PutResourcePolicyInputTypeDef,
|
|
73
|
+
RegisterStreamConsumerInputTypeDef,
|
|
74
74
|
RegisterStreamConsumerOutputTypeDef,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
RemoveTagsFromStreamInputTypeDef,
|
|
76
|
+
SplitShardInputTypeDef,
|
|
77
|
+
StartStreamEncryptionInputTypeDef,
|
|
78
|
+
StopStreamEncryptionInputTypeDef,
|
|
79
|
+
SubscribeToShardInputTypeDef,
|
|
80
80
|
SubscribeToShardOutputTypeDef,
|
|
81
|
-
|
|
81
|
+
UpdateShardCountInputTypeDef,
|
|
82
82
|
UpdateShardCountOutputTypeDef,
|
|
83
|
-
|
|
83
|
+
UpdateStreamModeInputTypeDef,
|
|
84
84
|
)
|
|
85
85
|
from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
|
|
86
86
|
|
|
@@ -154,7 +154,7 @@ class KinesisClient(BaseClient):
|
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
def add_tags_to_stream(
|
|
157
|
-
self, **kwargs: Unpack[
|
|
157
|
+
self, **kwargs: Unpack[AddTagsToStreamInputTypeDef]
|
|
158
158
|
) -> EmptyResponseMetadataTypeDef:
|
|
159
159
|
"""
|
|
160
160
|
Adds or updates tags for the specified Kinesis data stream.
|
|
@@ -164,7 +164,7 @@ class KinesisClient(BaseClient):
|
|
|
164
164
|
"""
|
|
165
165
|
|
|
166
166
|
def create_stream(
|
|
167
|
-
self, **kwargs: Unpack[
|
|
167
|
+
self, **kwargs: Unpack[CreateStreamInputTypeDef]
|
|
168
168
|
) -> EmptyResponseMetadataTypeDef:
|
|
169
169
|
"""
|
|
170
170
|
Creates a Kinesis data stream.
|
|
@@ -174,7 +174,7 @@ class KinesisClient(BaseClient):
|
|
|
174
174
|
"""
|
|
175
175
|
|
|
176
176
|
def decrease_stream_retention_period(
|
|
177
|
-
self, **kwargs: Unpack[
|
|
177
|
+
self, **kwargs: Unpack[DecreaseStreamRetentionPeriodInputTypeDef]
|
|
178
178
|
) -> EmptyResponseMetadataTypeDef:
|
|
179
179
|
"""
|
|
180
180
|
Decreases the Kinesis data stream's retention period, which is the length of
|
|
@@ -185,7 +185,7 @@ class KinesisClient(BaseClient):
|
|
|
185
185
|
"""
|
|
186
186
|
|
|
187
187
|
def delete_resource_policy(
|
|
188
|
-
self, **kwargs: Unpack[
|
|
188
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputTypeDef]
|
|
189
189
|
) -> EmptyResponseMetadataTypeDef:
|
|
190
190
|
"""
|
|
191
191
|
Delete a policy for the specified data stream or consumer.
|
|
@@ -195,7 +195,7 @@ class KinesisClient(BaseClient):
|
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
def delete_stream(
|
|
198
|
-
self, **kwargs: Unpack[
|
|
198
|
+
self, **kwargs: Unpack[DeleteStreamInputTypeDef]
|
|
199
199
|
) -> EmptyResponseMetadataTypeDef:
|
|
200
200
|
"""
|
|
201
201
|
Deletes a Kinesis data stream and all its shards and data.
|
|
@@ -205,7 +205,7 @@ class KinesisClient(BaseClient):
|
|
|
205
205
|
"""
|
|
206
206
|
|
|
207
207
|
def deregister_stream_consumer(
|
|
208
|
-
self, **kwargs: Unpack[
|
|
208
|
+
self, **kwargs: Unpack[DeregisterStreamConsumerInputTypeDef]
|
|
209
209
|
) -> EmptyResponseMetadataTypeDef:
|
|
210
210
|
"""
|
|
211
211
|
To deregister a consumer, provide its ARN.
|
|
@@ -223,7 +223,7 @@ class KinesisClient(BaseClient):
|
|
|
223
223
|
"""
|
|
224
224
|
|
|
225
225
|
def describe_stream(
|
|
226
|
-
self, **kwargs: Unpack[
|
|
226
|
+
self, **kwargs: Unpack[DescribeStreamInputTypeDef]
|
|
227
227
|
) -> DescribeStreamOutputTypeDef:
|
|
228
228
|
"""
|
|
229
229
|
Describes the specified Kinesis data stream.
|
|
@@ -233,7 +233,7 @@ class KinesisClient(BaseClient):
|
|
|
233
233
|
"""
|
|
234
234
|
|
|
235
235
|
def describe_stream_consumer(
|
|
236
|
-
self, **kwargs: Unpack[
|
|
236
|
+
self, **kwargs: Unpack[DescribeStreamConsumerInputTypeDef]
|
|
237
237
|
) -> DescribeStreamConsumerOutputTypeDef:
|
|
238
238
|
"""
|
|
239
239
|
To get the description of a registered consumer, provide the ARN of the
|
|
@@ -244,7 +244,7 @@ class KinesisClient(BaseClient):
|
|
|
244
244
|
"""
|
|
245
245
|
|
|
246
246
|
def describe_stream_summary(
|
|
247
|
-
self, **kwargs: Unpack[
|
|
247
|
+
self, **kwargs: Unpack[DescribeStreamSummaryInputTypeDef]
|
|
248
248
|
) -> DescribeStreamSummaryOutputTypeDef:
|
|
249
249
|
"""
|
|
250
250
|
Provides a summarized description of the specified Kinesis data stream without
|
|
@@ -255,7 +255,7 @@ class KinesisClient(BaseClient):
|
|
|
255
255
|
"""
|
|
256
256
|
|
|
257
257
|
def disable_enhanced_monitoring(
|
|
258
|
-
self, **kwargs: Unpack[
|
|
258
|
+
self, **kwargs: Unpack[DisableEnhancedMonitoringInputTypeDef]
|
|
259
259
|
) -> EnhancedMonitoringOutputTypeDef:
|
|
260
260
|
"""
|
|
261
261
|
Disables enhanced monitoring.
|
|
@@ -265,7 +265,7 @@ class KinesisClient(BaseClient):
|
|
|
265
265
|
"""
|
|
266
266
|
|
|
267
267
|
def enable_enhanced_monitoring(
|
|
268
|
-
self, **kwargs: Unpack[
|
|
268
|
+
self, **kwargs: Unpack[EnableEnhancedMonitoringInputTypeDef]
|
|
269
269
|
) -> EnhancedMonitoringOutputTypeDef:
|
|
270
270
|
"""
|
|
271
271
|
Enables enhanced Kinesis data stream monitoring for shard-level metrics.
|
|
@@ -274,9 +274,7 @@ class KinesisClient(BaseClient):
|
|
|
274
274
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#enable_enhanced_monitoring)
|
|
275
275
|
"""
|
|
276
276
|
|
|
277
|
-
def get_records(
|
|
278
|
-
self, **kwargs: Unpack[GetRecordsInputRequestTypeDef]
|
|
279
|
-
) -> GetRecordsOutputTypeDef:
|
|
277
|
+
def get_records(self, **kwargs: Unpack[GetRecordsInputTypeDef]) -> GetRecordsOutputTypeDef:
|
|
280
278
|
"""
|
|
281
279
|
Gets data records from a Kinesis data stream's shard.
|
|
282
280
|
|
|
@@ -285,7 +283,7 @@ class KinesisClient(BaseClient):
|
|
|
285
283
|
"""
|
|
286
284
|
|
|
287
285
|
def get_resource_policy(
|
|
288
|
-
self, **kwargs: Unpack[
|
|
286
|
+
self, **kwargs: Unpack[GetResourcePolicyInputTypeDef]
|
|
289
287
|
) -> GetResourcePolicyOutputTypeDef:
|
|
290
288
|
"""
|
|
291
289
|
Returns a policy attached to the specified data stream or consumer.
|
|
@@ -295,7 +293,7 @@ class KinesisClient(BaseClient):
|
|
|
295
293
|
"""
|
|
296
294
|
|
|
297
295
|
def get_shard_iterator(
|
|
298
|
-
self, **kwargs: Unpack[
|
|
296
|
+
self, **kwargs: Unpack[GetShardIteratorInputTypeDef]
|
|
299
297
|
) -> GetShardIteratorOutputTypeDef:
|
|
300
298
|
"""
|
|
301
299
|
Gets an Amazon Kinesis shard iterator.
|
|
@@ -305,7 +303,7 @@ class KinesisClient(BaseClient):
|
|
|
305
303
|
"""
|
|
306
304
|
|
|
307
305
|
def increase_stream_retention_period(
|
|
308
|
-
self, **kwargs: Unpack[
|
|
306
|
+
self, **kwargs: Unpack[IncreaseStreamRetentionPeriodInputTypeDef]
|
|
309
307
|
) -> EmptyResponseMetadataTypeDef:
|
|
310
308
|
"""
|
|
311
309
|
Increases the Kinesis data stream's retention period, which is the length of
|
|
@@ -315,9 +313,7 @@ class KinesisClient(BaseClient):
|
|
|
315
313
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#increase_stream_retention_period)
|
|
316
314
|
"""
|
|
317
315
|
|
|
318
|
-
def list_shards(
|
|
319
|
-
self, **kwargs: Unpack[ListShardsInputRequestTypeDef]
|
|
320
|
-
) -> ListShardsOutputTypeDef:
|
|
316
|
+
def list_shards(self, **kwargs: Unpack[ListShardsInputTypeDef]) -> ListShardsOutputTypeDef:
|
|
321
317
|
"""
|
|
322
318
|
Lists the shards in a stream and provides information about each shard.
|
|
323
319
|
|
|
@@ -326,7 +322,7 @@ class KinesisClient(BaseClient):
|
|
|
326
322
|
"""
|
|
327
323
|
|
|
328
324
|
def list_stream_consumers(
|
|
329
|
-
self, **kwargs: Unpack[
|
|
325
|
+
self, **kwargs: Unpack[ListStreamConsumersInputTypeDef]
|
|
330
326
|
) -> ListStreamConsumersOutputTypeDef:
|
|
331
327
|
"""
|
|
332
328
|
Lists the consumers registered to receive data from a stream using enhanced
|
|
@@ -336,9 +332,7 @@ class KinesisClient(BaseClient):
|
|
|
336
332
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#list_stream_consumers)
|
|
337
333
|
"""
|
|
338
334
|
|
|
339
|
-
def list_streams(
|
|
340
|
-
self, **kwargs: Unpack[ListStreamsInputRequestTypeDef]
|
|
341
|
-
) -> ListStreamsOutputTypeDef:
|
|
335
|
+
def list_streams(self, **kwargs: Unpack[ListStreamsInputTypeDef]) -> ListStreamsOutputTypeDef:
|
|
342
336
|
"""
|
|
343
337
|
Lists your Kinesis data streams.
|
|
344
338
|
|
|
@@ -347,7 +341,7 @@ class KinesisClient(BaseClient):
|
|
|
347
341
|
"""
|
|
348
342
|
|
|
349
343
|
def list_tags_for_stream(
|
|
350
|
-
self, **kwargs: Unpack[
|
|
344
|
+
self, **kwargs: Unpack[ListTagsForStreamInputTypeDef]
|
|
351
345
|
) -> ListTagsForStreamOutputTypeDef:
|
|
352
346
|
"""
|
|
353
347
|
Lists the tags for the specified Kinesis data stream.
|
|
@@ -357,7 +351,7 @@ class KinesisClient(BaseClient):
|
|
|
357
351
|
"""
|
|
358
352
|
|
|
359
353
|
def merge_shards(
|
|
360
|
-
self, **kwargs: Unpack[
|
|
354
|
+
self, **kwargs: Unpack[MergeShardsInputTypeDef]
|
|
361
355
|
) -> EmptyResponseMetadataTypeDef:
|
|
362
356
|
"""
|
|
363
357
|
Merges two adjacent shards in a Kinesis data stream and combines them into a
|
|
@@ -367,7 +361,7 @@ class KinesisClient(BaseClient):
|
|
|
367
361
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#merge_shards)
|
|
368
362
|
"""
|
|
369
363
|
|
|
370
|
-
def put_record(self, **kwargs: Unpack[
|
|
364
|
+
def put_record(self, **kwargs: Unpack[PutRecordInputTypeDef]) -> PutRecordOutputTypeDef:
|
|
371
365
|
"""
|
|
372
366
|
Writes a single data record into an Amazon Kinesis data stream.
|
|
373
367
|
|
|
@@ -375,9 +369,7 @@ class KinesisClient(BaseClient):
|
|
|
375
369
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#put_record)
|
|
376
370
|
"""
|
|
377
371
|
|
|
378
|
-
def put_records(
|
|
379
|
-
self, **kwargs: Unpack[PutRecordsInputRequestTypeDef]
|
|
380
|
-
) -> PutRecordsOutputTypeDef:
|
|
372
|
+
def put_records(self, **kwargs: Unpack[PutRecordsInputTypeDef]) -> PutRecordsOutputTypeDef:
|
|
381
373
|
"""
|
|
382
374
|
Writes multiple data records into a Kinesis data stream in a single call (also
|
|
383
375
|
referred to as a <code>PutRecords</code> request).
|
|
@@ -387,7 +379,7 @@ class KinesisClient(BaseClient):
|
|
|
387
379
|
"""
|
|
388
380
|
|
|
389
381
|
def put_resource_policy(
|
|
390
|
-
self, **kwargs: Unpack[
|
|
382
|
+
self, **kwargs: Unpack[PutResourcePolicyInputTypeDef]
|
|
391
383
|
) -> EmptyResponseMetadataTypeDef:
|
|
392
384
|
"""
|
|
393
385
|
Attaches a resource-based policy to a data stream or registered consumer.
|
|
@@ -397,7 +389,7 @@ class KinesisClient(BaseClient):
|
|
|
397
389
|
"""
|
|
398
390
|
|
|
399
391
|
def register_stream_consumer(
|
|
400
|
-
self, **kwargs: Unpack[
|
|
392
|
+
self, **kwargs: Unpack[RegisterStreamConsumerInputTypeDef]
|
|
401
393
|
) -> RegisterStreamConsumerOutputTypeDef:
|
|
402
394
|
"""
|
|
403
395
|
Registers a consumer with a Kinesis data stream.
|
|
@@ -407,7 +399,7 @@ class KinesisClient(BaseClient):
|
|
|
407
399
|
"""
|
|
408
400
|
|
|
409
401
|
def remove_tags_from_stream(
|
|
410
|
-
self, **kwargs: Unpack[
|
|
402
|
+
self, **kwargs: Unpack[RemoveTagsFromStreamInputTypeDef]
|
|
411
403
|
) -> EmptyResponseMetadataTypeDef:
|
|
412
404
|
"""
|
|
413
405
|
Removes tags from the specified Kinesis data stream.
|
|
@@ -416,9 +408,7 @@ class KinesisClient(BaseClient):
|
|
|
416
408
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#remove_tags_from_stream)
|
|
417
409
|
"""
|
|
418
410
|
|
|
419
|
-
def split_shard(
|
|
420
|
-
self, **kwargs: Unpack[SplitShardInputRequestTypeDef]
|
|
421
|
-
) -> EmptyResponseMetadataTypeDef:
|
|
411
|
+
def split_shard(self, **kwargs: Unpack[SplitShardInputTypeDef]) -> EmptyResponseMetadataTypeDef:
|
|
422
412
|
"""
|
|
423
413
|
Splits a shard into two new shards in the Kinesis data stream, to increase the
|
|
424
414
|
stream's capacity to ingest and transport data.
|
|
@@ -428,7 +418,7 @@ class KinesisClient(BaseClient):
|
|
|
428
418
|
"""
|
|
429
419
|
|
|
430
420
|
def start_stream_encryption(
|
|
431
|
-
self, **kwargs: Unpack[
|
|
421
|
+
self, **kwargs: Unpack[StartStreamEncryptionInputTypeDef]
|
|
432
422
|
) -> EmptyResponseMetadataTypeDef:
|
|
433
423
|
"""
|
|
434
424
|
Enables or updates server-side encryption using an Amazon Web Services KMS key
|
|
@@ -439,7 +429,7 @@ class KinesisClient(BaseClient):
|
|
|
439
429
|
"""
|
|
440
430
|
|
|
441
431
|
def stop_stream_encryption(
|
|
442
|
-
self, **kwargs: Unpack[
|
|
432
|
+
self, **kwargs: Unpack[StopStreamEncryptionInputTypeDef]
|
|
443
433
|
) -> EmptyResponseMetadataTypeDef:
|
|
444
434
|
"""
|
|
445
435
|
Disables server-side encryption for a specified stream.
|
|
@@ -449,7 +439,7 @@ class KinesisClient(BaseClient):
|
|
|
449
439
|
"""
|
|
450
440
|
|
|
451
441
|
def subscribe_to_shard(
|
|
452
|
-
self, **kwargs: Unpack[
|
|
442
|
+
self, **kwargs: Unpack[SubscribeToShardInputTypeDef]
|
|
453
443
|
) -> SubscribeToShardOutputTypeDef:
|
|
454
444
|
"""
|
|
455
445
|
This operation establishes an HTTP/2 connection between the consumer you
|
|
@@ -461,7 +451,7 @@ class KinesisClient(BaseClient):
|
|
|
461
451
|
"""
|
|
462
452
|
|
|
463
453
|
def update_shard_count(
|
|
464
|
-
self, **kwargs: Unpack[
|
|
454
|
+
self, **kwargs: Unpack[UpdateShardCountInputTypeDef]
|
|
465
455
|
) -> UpdateShardCountOutputTypeDef:
|
|
466
456
|
"""
|
|
467
457
|
Updates the shard count of the specified stream to the specified number of
|
|
@@ -472,7 +462,7 @@ class KinesisClient(BaseClient):
|
|
|
472
462
|
"""
|
|
473
463
|
|
|
474
464
|
def update_stream_mode(
|
|
475
|
-
self, **kwargs: Unpack[
|
|
465
|
+
self, **kwargs: Unpack[UpdateStreamModeInputTypeDef]
|
|
476
466
|
) -> EmptyResponseMetadataTypeDef:
|
|
477
467
|
"""
|
|
478
468
|
Updates the capacity mode of the data stream.
|