mypy-boto3-kinesis 1.35.0__tar.gz → 1.35.26__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.
Files changed (26) hide show
  1. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/PKG-INFO +7 -8
  2. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/README.md +5 -6
  3. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/__init__.py +1 -0
  4. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/__main__.py +4 -4
  5. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/client.py +72 -121
  6. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/client.pyi +71 -121
  7. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/literals.py +5 -1
  8. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/literals.pyi +3 -1
  9. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/paginator.py +16 -22
  10. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/paginator.pyi +14 -26
  11. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/type_defs.py +4 -10
  12. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/type_defs.pyi +3 -10
  13. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/version.py +1 -1
  14. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/waiter.py +14 -19
  15. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/waiter.pyi +13 -21
  16. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/PKG-INFO +7 -8
  17. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/setup.py +2 -2
  18. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/LICENSE +0 -0
  19. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/__init__.pyi +0 -0
  20. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis/py.typed +0 -0
  21. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/SOURCES.txt +0 -0
  22. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/dependency_links.txt +0 -0
  23. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/not-zip-safe +0 -0
  24. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/requires.txt +0 -0
  25. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/mypy_boto3_kinesis.egg-info/top_level.txt +0 -0
  26. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.26}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-kinesis
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.Kinesis 1.35.0 service generated with mypy-boto3-builder 7.26.0
3
+ Version: 1.35.26
4
+ Summary: Type annotations for boto3.Kinesis 1.35.26 service generated with mypy-boto3-builder 8.1.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
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
43
43
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
44
 
45
45
  Type annotations for
46
- [boto3.Kinesis 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
46
+ [boto3.Kinesis 1.35.26](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
47
47
  service compatible with [VSCode](https://code.visualstudio.com/),
48
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
49
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
52
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
53
 
54
54
  Generated by
55
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 8.1.2](https://github.com/youtype/mypy_boto3_builder).
56
56
 
57
57
  More information can be found on
58
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -231,7 +231,7 @@ should work.
231
231
  - Install `boto3-stubs[kinesis]` in your environment:
232
232
 
233
233
  ```bash
234
- python -m pip install 'boto3-stubs[kinesis]'`
234
+ python -m pip install 'boto3-stubs[kinesis]'
235
235
  ```
236
236
 
237
237
  Type checking should now work. No explicit type annotations required, write
@@ -248,7 +248,7 @@ your `boto3` code as usual.
248
248
  python -m pip install 'boto3-stubs[kinesis]'
249
249
  ```
250
250
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
251
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
252
 
253
253
  Type checking should now work. No explicit type annotations required, write
254
254
  your `boto3` code as usual.
@@ -372,8 +372,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
372
372
  annotations extracted from `botocore` schemas.
373
373
  - Type annotations include up-to-date documentation.
374
374
  - Link to documentation is provided for every method.
375
- - Code is processed by [black](https://github.com/psf/black) and
376
- [isort](https://github.com/PyCQA/isort) for readability.
375
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
377
376
 
378
377
  <a id="what's-new"></a>
379
378
 
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3.Kinesis 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
13
+ [boto3.Kinesis 1.35.26](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
14
14
  service compatible with [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
19
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
20
 
21
21
  Generated by
22
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
22
+ [mypy-boto3-builder 8.1.2](https://github.com/youtype/mypy_boto3_builder).
23
23
 
24
24
  More information can be found on
25
25
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -198,7 +198,7 @@ should work.
198
198
  - Install `boto3-stubs[kinesis]` in your environment:
199
199
 
200
200
  ```bash
201
- python -m pip install 'boto3-stubs[kinesis]'`
201
+ python -m pip install 'boto3-stubs[kinesis]'
202
202
  ```
203
203
 
204
204
  Type checking should now work. No explicit type annotations required, write
@@ -215,7 +215,7 @@ your `boto3` code as usual.
215
215
  python -m pip install 'boto3-stubs[kinesis]'
216
216
  ```
217
217
 
218
- Optionally, you can install `boto3-stubs` to `typings` folder.
218
+ Optionally, you can install `boto3-stubs` to `typings` directory.
219
219
 
220
220
  Type checking should now work. No explicit type annotations required, write
221
221
  your `boto3` code as usual.
@@ -339,8 +339,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
339
339
  annotations extracted from `botocore` schemas.
340
340
  - Type annotations include up-to-date documentation.
341
341
  - Link to documentation is provided for every method.
342
- - Code is processed by [black](https://github.com/psf/black) and
343
- [isort](https://github.com/PyCQA/isort) for readability.
342
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
344
343
 
345
344
  <a id="what's-new"></a>
346
345
 
@@ -40,6 +40,7 @@ from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
40
40
 
41
41
  Client = KinesisClient
42
42
 
43
+
43
44
  __all__ = (
44
45
  "Client",
45
46
  "DescribeStreamPaginator",
@@ -10,9 +10,9 @@ def print_info() -> None:
10
10
  Print package info to stdout.
11
11
  """
12
12
  print(
13
- "Type annotations for boto3.Kinesis 1.35.0\n"
14
- "Version: 1.35.0\n"
15
- "Builder version: 7.26.0\n"
13
+ "Type annotations for boto3.Kinesis 1.35.26\n"
14
+ "Version: 1.35.26\n"
15
+ "Builder version: 8.1.2\n"
16
16
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis//\n"
17
17
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis\n"
18
18
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -24,7 +24,7 @@ def print_version() -> None:
24
24
  """
25
25
  Print package version to stdout.
26
26
  """
27
- print("1.35.0")
27
+ print("1.35.26")
28
28
 
29
29
 
30
30
  def main() -> None:
@@ -15,11 +15,10 @@ Usage::
15
15
  """
16
16
 
17
17
  import sys
18
- from typing import Any, Dict, Mapping, Sequence, Type, overload
18
+ from typing import Any, Dict, Mapping, Type, overload
19
19
 
20
20
  from botocore.client import BaseClient, ClientMeta
21
21
 
22
- from .literals import EncryptionTypeType, MetricsNameType, ShardIteratorTypeType
23
22
  from .paginator import (
24
23
  DescribeStreamPaginator,
25
24
  ListShardsPaginator,
@@ -27,37 +26,63 @@ from .paginator import (
27
26
  ListStreamsPaginator,
28
27
  )
29
28
  from .type_defs import (
30
- BlobTypeDef,
29
+ AddTagsToStreamInputRequestTypeDef,
30
+ CreateStreamInputRequestTypeDef,
31
+ DecreaseStreamRetentionPeriodInputRequestTypeDef,
32
+ DeleteResourcePolicyInputRequestTypeDef,
33
+ DeleteStreamInputRequestTypeDef,
34
+ DeregisterStreamConsumerInputRequestTypeDef,
31
35
  DescribeLimitsOutputTypeDef,
36
+ DescribeStreamConsumerInputRequestTypeDef,
32
37
  DescribeStreamConsumerOutputTypeDef,
38
+ DescribeStreamInputRequestTypeDef,
33
39
  DescribeStreamOutputTypeDef,
40
+ DescribeStreamSummaryInputRequestTypeDef,
34
41
  DescribeStreamSummaryOutputTypeDef,
42
+ DisableEnhancedMonitoringInputRequestTypeDef,
35
43
  EmptyResponseMetadataTypeDef,
44
+ EnableEnhancedMonitoringInputRequestTypeDef,
36
45
  EnhancedMonitoringOutputTypeDef,
46
+ GetRecordsInputRequestTypeDef,
37
47
  GetRecordsOutputTypeDef,
48
+ GetResourcePolicyInputRequestTypeDef,
38
49
  GetResourcePolicyOutputTypeDef,
50
+ GetShardIteratorInputRequestTypeDef,
39
51
  GetShardIteratorOutputTypeDef,
52
+ IncreaseStreamRetentionPeriodInputRequestTypeDef,
53
+ ListShardsInputRequestTypeDef,
40
54
  ListShardsOutputTypeDef,
55
+ ListStreamConsumersInputRequestTypeDef,
41
56
  ListStreamConsumersOutputTypeDef,
57
+ ListStreamsInputRequestTypeDef,
42
58
  ListStreamsOutputTypeDef,
59
+ ListTagsForStreamInputRequestTypeDef,
43
60
  ListTagsForStreamOutputTypeDef,
61
+ MergeShardsInputRequestTypeDef,
62
+ PutRecordInputRequestTypeDef,
44
63
  PutRecordOutputTypeDef,
64
+ PutRecordsInputRequestTypeDef,
45
65
  PutRecordsOutputTypeDef,
46
- PutRecordsRequestEntryTypeDef,
66
+ PutResourcePolicyInputRequestTypeDef,
67
+ RegisterStreamConsumerInputRequestTypeDef,
47
68
  RegisterStreamConsumerOutputTypeDef,
48
- ShardFilterTypeDef,
49
- StartingPositionTypeDef,
50
- StreamModeDetailsTypeDef,
69
+ RemoveTagsFromStreamInputRequestTypeDef,
70
+ SplitShardInputRequestTypeDef,
71
+ StartStreamEncryptionInputRequestTypeDef,
72
+ StopStreamEncryptionInputRequestTypeDef,
73
+ SubscribeToShardInputRequestTypeDef,
51
74
  SubscribeToShardOutputTypeDef,
52
- TimestampTypeDef,
75
+ UpdateShardCountInputRequestTypeDef,
53
76
  UpdateShardCountOutputTypeDef,
77
+ UpdateStreamModeInputRequestTypeDef,
54
78
  )
55
79
  from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
56
80
 
57
81
  if sys.version_info >= (3, 12):
58
- from typing import Literal
82
+ from typing import Literal, Unpack
59
83
  else:
60
- from typing_extensions import Literal
84
+ from typing_extensions import Literal, Unpack
85
+
61
86
 
62
87
  __all__ = ("KinesisClient",)
63
88
 
@@ -108,7 +133,7 @@ class KinesisClient(BaseClient):
108
133
  """
109
134
 
110
135
  def add_tags_to_stream(
111
- self, *, Tags: Mapping[str, str], StreamName: str = ..., StreamARN: str = ...
136
+ self, **kwargs: Unpack[AddTagsToStreamInputRequestTypeDef]
112
137
  ) -> EmptyResponseMetadataTypeDef:
113
138
  """
114
139
  Adds or updates tags for the specified Kinesis data stream.
@@ -134,11 +159,7 @@ class KinesisClient(BaseClient):
134
159
  """
135
160
 
136
161
  def create_stream(
137
- self,
138
- *,
139
- StreamName: str,
140
- ShardCount: int = ...,
141
- StreamModeDetails: StreamModeDetailsTypeDef = ...,
162
+ self, **kwargs: Unpack[CreateStreamInputRequestTypeDef]
142
163
  ) -> EmptyResponseMetadataTypeDef:
143
164
  """
144
165
  Creates a Kinesis data stream.
@@ -148,7 +169,7 @@ class KinesisClient(BaseClient):
148
169
  """
149
170
 
150
171
  def decrease_stream_retention_period(
151
- self, *, RetentionPeriodHours: int, StreamName: str = ..., StreamARN: str = ...
172
+ self, **kwargs: Unpack[DecreaseStreamRetentionPeriodInputRequestTypeDef]
152
173
  ) -> EmptyResponseMetadataTypeDef:
153
174
  """
154
175
  Decreases the Kinesis data stream's retention period, which is the length of
@@ -159,7 +180,9 @@ class KinesisClient(BaseClient):
159
180
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#decrease_stream_retention_period)
160
181
  """
161
182
 
162
- def delete_resource_policy(self, *, ResourceARN: str) -> EmptyResponseMetadataTypeDef:
183
+ def delete_resource_policy(
184
+ self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
185
+ ) -> EmptyResponseMetadataTypeDef:
163
186
  """
164
187
  Delete a policy for the specified data stream or consumer.
165
188
 
@@ -168,7 +191,7 @@ class KinesisClient(BaseClient):
168
191
  """
169
192
 
170
193
  def delete_stream(
171
- self, *, StreamName: str = ..., EnforceConsumerDeletion: bool = ..., StreamARN: str = ...
194
+ self, **kwargs: Unpack[DeleteStreamInputRequestTypeDef]
172
195
  ) -> EmptyResponseMetadataTypeDef:
173
196
  """
174
197
  Deletes a Kinesis data stream and all its shards and data.
@@ -178,7 +201,7 @@ class KinesisClient(BaseClient):
178
201
  """
179
202
 
180
203
  def deregister_stream_consumer(
181
- self, *, StreamARN: str = ..., ConsumerName: str = ..., ConsumerARN: str = ...
204
+ self, **kwargs: Unpack[DeregisterStreamConsumerInputRequestTypeDef]
182
205
  ) -> EmptyResponseMetadataTypeDef:
183
206
  """
184
207
  To deregister a consumer, provide its ARN.
@@ -196,12 +219,7 @@ class KinesisClient(BaseClient):
196
219
  """
197
220
 
198
221
  def describe_stream(
199
- self,
200
- *,
201
- StreamName: str = ...,
202
- Limit: int = ...,
203
- ExclusiveStartShardId: str = ...,
204
- StreamARN: str = ...,
222
+ self, **kwargs: Unpack[DescribeStreamInputRequestTypeDef]
205
223
  ) -> DescribeStreamOutputTypeDef:
206
224
  """
207
225
  Describes the specified Kinesis data stream.
@@ -211,7 +229,7 @@ class KinesisClient(BaseClient):
211
229
  """
212
230
 
213
231
  def describe_stream_consumer(
214
- self, *, StreamARN: str = ..., ConsumerName: str = ..., ConsumerARN: str = ...
232
+ self, **kwargs: Unpack[DescribeStreamConsumerInputRequestTypeDef]
215
233
  ) -> DescribeStreamConsumerOutputTypeDef:
216
234
  """
217
235
  To get the description of a registered consumer, provide the ARN of the
@@ -222,7 +240,7 @@ class KinesisClient(BaseClient):
222
240
  """
223
241
 
224
242
  def describe_stream_summary(
225
- self, *, StreamName: str = ..., StreamARN: str = ...
243
+ self, **kwargs: Unpack[DescribeStreamSummaryInputRequestTypeDef]
226
244
  ) -> DescribeStreamSummaryOutputTypeDef:
227
245
  """
228
246
  Provides a summarized description of the specified Kinesis data stream without
@@ -234,11 +252,7 @@ class KinesisClient(BaseClient):
234
252
  """
235
253
 
236
254
  def disable_enhanced_monitoring(
237
- self,
238
- *,
239
- ShardLevelMetrics: Sequence[MetricsNameType],
240
- StreamName: str = ...,
241
- StreamARN: str = ...,
255
+ self, **kwargs: Unpack[DisableEnhancedMonitoringInputRequestTypeDef]
242
256
  ) -> EnhancedMonitoringOutputTypeDef:
243
257
  """
244
258
  Disables enhanced monitoring.
@@ -248,11 +262,7 @@ class KinesisClient(BaseClient):
248
262
  """
249
263
 
250
264
  def enable_enhanced_monitoring(
251
- self,
252
- *,
253
- ShardLevelMetrics: Sequence[MetricsNameType],
254
- StreamName: str = ...,
255
- StreamARN: str = ...,
265
+ self, **kwargs: Unpack[EnableEnhancedMonitoringInputRequestTypeDef]
256
266
  ) -> EnhancedMonitoringOutputTypeDef:
257
267
  """
258
268
  Enables enhanced Kinesis data stream monitoring for shard-level metrics.
@@ -276,7 +286,7 @@ class KinesisClient(BaseClient):
276
286
  """
277
287
 
278
288
  def get_records(
279
- self, *, ShardIterator: str, Limit: int = ..., StreamARN: str = ...
289
+ self, **kwargs: Unpack[GetRecordsInputRequestTypeDef]
280
290
  ) -> GetRecordsOutputTypeDef:
281
291
  """
282
292
  Gets data records from a Kinesis data stream's shard.
@@ -285,7 +295,9 @@ class KinesisClient(BaseClient):
285
295
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#get_records)
286
296
  """
287
297
 
288
- def get_resource_policy(self, *, ResourceARN: str) -> GetResourcePolicyOutputTypeDef:
298
+ def get_resource_policy(
299
+ self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
300
+ ) -> GetResourcePolicyOutputTypeDef:
289
301
  """
290
302
  Returns a policy attached to the specified data stream or consumer.
291
303
 
@@ -294,14 +306,7 @@ class KinesisClient(BaseClient):
294
306
  """
295
307
 
296
308
  def get_shard_iterator(
297
- self,
298
- *,
299
- ShardId: str,
300
- ShardIteratorType: ShardIteratorTypeType,
301
- StreamName: str = ...,
302
- StartingSequenceNumber: str = ...,
303
- Timestamp: TimestampTypeDef = ...,
304
- StreamARN: str = ...,
309
+ self, **kwargs: Unpack[GetShardIteratorInputRequestTypeDef]
305
310
  ) -> GetShardIteratorOutputTypeDef:
306
311
  """
307
312
  Gets an Amazon Kinesis shard iterator.
@@ -311,7 +316,7 @@ class KinesisClient(BaseClient):
311
316
  """
312
317
 
313
318
  def increase_stream_retention_period(
314
- self, *, RetentionPeriodHours: int, StreamName: str = ..., StreamARN: str = ...
319
+ self, **kwargs: Unpack[IncreaseStreamRetentionPeriodInputRequestTypeDef]
315
320
  ) -> EmptyResponseMetadataTypeDef:
316
321
  """
317
322
  Increases the Kinesis data stream's retention period, which is the length of
@@ -323,15 +328,7 @@ class KinesisClient(BaseClient):
323
328
  """
324
329
 
325
330
  def list_shards(
326
- self,
327
- *,
328
- StreamName: str = ...,
329
- NextToken: str = ...,
330
- ExclusiveStartShardId: str = ...,
331
- MaxResults: int = ...,
332
- StreamCreationTimestamp: TimestampTypeDef = ...,
333
- ShardFilter: ShardFilterTypeDef = ...,
334
- StreamARN: str = ...,
331
+ self, **kwargs: Unpack[ListShardsInputRequestTypeDef]
335
332
  ) -> ListShardsOutputTypeDef:
336
333
  """
337
334
  Lists the shards in a stream and provides information about each shard.
@@ -341,12 +338,7 @@ class KinesisClient(BaseClient):
341
338
  """
342
339
 
343
340
  def list_stream_consumers(
344
- self,
345
- *,
346
- StreamARN: str,
347
- NextToken: str = ...,
348
- MaxResults: int = ...,
349
- StreamCreationTimestamp: TimestampTypeDef = ...,
341
+ self, **kwargs: Unpack[ListStreamConsumersInputRequestTypeDef]
350
342
  ) -> ListStreamConsumersOutputTypeDef:
351
343
  """
352
344
  Lists the consumers registered to receive data from a stream using enhanced
@@ -358,7 +350,7 @@ class KinesisClient(BaseClient):
358
350
  """
359
351
 
360
352
  def list_streams(
361
- self, *, Limit: int = ..., ExclusiveStartStreamName: str = ..., NextToken: str = ...
353
+ self, **kwargs: Unpack[ListStreamsInputRequestTypeDef]
362
354
  ) -> ListStreamsOutputTypeDef:
363
355
  """
364
356
  Lists your Kinesis data streams.
@@ -368,12 +360,7 @@ class KinesisClient(BaseClient):
368
360
  """
369
361
 
370
362
  def list_tags_for_stream(
371
- self,
372
- *,
373
- StreamName: str = ...,
374
- ExclusiveStartTagKey: str = ...,
375
- Limit: int = ...,
376
- StreamARN: str = ...,
363
+ self, **kwargs: Unpack[ListTagsForStreamInputRequestTypeDef]
377
364
  ) -> ListTagsForStreamOutputTypeDef:
378
365
  """
379
366
  Lists the tags for the specified Kinesis data stream.
@@ -383,12 +370,7 @@ class KinesisClient(BaseClient):
383
370
  """
384
371
 
385
372
  def merge_shards(
386
- self,
387
- *,
388
- ShardToMerge: str,
389
- AdjacentShardToMerge: str,
390
- StreamName: str = ...,
391
- StreamARN: str = ...,
373
+ self, **kwargs: Unpack[MergeShardsInputRequestTypeDef]
392
374
  ) -> EmptyResponseMetadataTypeDef:
393
375
  """
394
376
  Merges two adjacent shards in a Kinesis data stream and combines them into a
@@ -399,16 +381,7 @@ class KinesisClient(BaseClient):
399
381
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#merge_shards)
400
382
  """
401
383
 
402
- def put_record(
403
- self,
404
- *,
405
- Data: BlobTypeDef,
406
- PartitionKey: str,
407
- StreamName: str = ...,
408
- ExplicitHashKey: str = ...,
409
- SequenceNumberForOrdering: str = ...,
410
- StreamARN: str = ...,
411
- ) -> PutRecordOutputTypeDef:
384
+ def put_record(self, **kwargs: Unpack[PutRecordInputRequestTypeDef]) -> PutRecordOutputTypeDef:
412
385
  """
413
386
  Writes a single data record into an Amazon Kinesis data stream.
414
387
 
@@ -417,11 +390,7 @@ class KinesisClient(BaseClient):
417
390
  """
418
391
 
419
392
  def put_records(
420
- self,
421
- *,
422
- Records: Sequence[PutRecordsRequestEntryTypeDef],
423
- StreamName: str = ...,
424
- StreamARN: str = ...,
393
+ self, **kwargs: Unpack[PutRecordsInputRequestTypeDef]
425
394
  ) -> PutRecordsOutputTypeDef:
426
395
  """
427
396
  Writes multiple data records into a Kinesis data stream in a single call (also
@@ -432,7 +401,9 @@ class KinesisClient(BaseClient):
432
401
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/client/#put_records)
433
402
  """
434
403
 
435
- def put_resource_policy(self, *, ResourceARN: str, Policy: str) -> EmptyResponseMetadataTypeDef:
404
+ def put_resource_policy(
405
+ self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
406
+ ) -> EmptyResponseMetadataTypeDef:
436
407
  """
437
408
  Attaches a resource-based policy to a data stream or registered consumer.
438
409
 
@@ -441,7 +412,7 @@ class KinesisClient(BaseClient):
441
412
  """
442
413
 
443
414
  def register_stream_consumer(
444
- self, *, StreamARN: str, ConsumerName: str
415
+ self, **kwargs: Unpack[RegisterStreamConsumerInputRequestTypeDef]
445
416
  ) -> RegisterStreamConsumerOutputTypeDef:
446
417
  """
447
418
  Registers a consumer with a Kinesis data stream.
@@ -451,7 +422,7 @@ class KinesisClient(BaseClient):
451
422
  """
452
423
 
453
424
  def remove_tags_from_stream(
454
- self, *, TagKeys: Sequence[str], StreamName: str = ..., StreamARN: str = ...
425
+ self, **kwargs: Unpack[RemoveTagsFromStreamInputRequestTypeDef]
455
426
  ) -> EmptyResponseMetadataTypeDef:
456
427
  """
457
428
  Removes tags from the specified Kinesis data stream.
@@ -461,12 +432,7 @@ class KinesisClient(BaseClient):
461
432
  """
462
433
 
463
434
  def split_shard(
464
- self,
465
- *,
466
- ShardToSplit: str,
467
- NewStartingHashKey: str,
468
- StreamName: str = ...,
469
- StreamARN: str = ...,
435
+ self, **kwargs: Unpack[SplitShardInputRequestTypeDef]
470
436
  ) -> EmptyResponseMetadataTypeDef:
471
437
  """
472
438
  Splits a shard into two new shards in the Kinesis data stream, to increase the
@@ -478,12 +444,7 @@ class KinesisClient(BaseClient):
478
444
  """
479
445
 
480
446
  def start_stream_encryption(
481
- self,
482
- *,
483
- EncryptionType: EncryptionTypeType,
484
- KeyId: str,
485
- StreamName: str = ...,
486
- StreamARN: str = ...,
447
+ self, **kwargs: Unpack[StartStreamEncryptionInputRequestTypeDef]
487
448
  ) -> EmptyResponseMetadataTypeDef:
488
449
  """
489
450
  Enables or updates server-side encryption using an Amazon Web Services KMS key
@@ -495,12 +456,7 @@ class KinesisClient(BaseClient):
495
456
  """
496
457
 
497
458
  def stop_stream_encryption(
498
- self,
499
- *,
500
- EncryptionType: EncryptionTypeType,
501
- KeyId: str,
502
- StreamName: str = ...,
503
- StreamARN: str = ...,
459
+ self, **kwargs: Unpack[StopStreamEncryptionInputRequestTypeDef]
504
460
  ) -> EmptyResponseMetadataTypeDef:
505
461
  """
506
462
  Disables server-side encryption for a specified stream.
@@ -510,7 +466,7 @@ class KinesisClient(BaseClient):
510
466
  """
511
467
 
512
468
  def subscribe_to_shard(
513
- self, *, ConsumerARN: str, ShardId: str, StartingPosition: StartingPositionTypeDef
469
+ self, **kwargs: Unpack[SubscribeToShardInputRequestTypeDef]
514
470
  ) -> SubscribeToShardOutputTypeDef:
515
471
  """
516
472
  This operation establishes an HTTP/2 connection between the consumer you
@@ -523,12 +479,7 @@ class KinesisClient(BaseClient):
523
479
  """
524
480
 
525
481
  def update_shard_count(
526
- self,
527
- *,
528
- TargetShardCount: int,
529
- ScalingType: Literal["UNIFORM_SCALING"],
530
- StreamName: str = ...,
531
- StreamARN: str = ...,
482
+ self, **kwargs: Unpack[UpdateShardCountInputRequestTypeDef]
532
483
  ) -> UpdateShardCountOutputTypeDef:
533
484
  """
534
485
  Updates the shard count of the specified stream to the specified number of
@@ -539,7 +490,7 @@ class KinesisClient(BaseClient):
539
490
  """
540
491
 
541
492
  def update_stream_mode(
542
- self, *, StreamARN: str, StreamModeDetails: StreamModeDetailsTypeDef
493
+ self, **kwargs: Unpack[UpdateStreamModeInputRequestTypeDef]
543
494
  ) -> EmptyResponseMetadataTypeDef:
544
495
  """
545
496
  Updates the capacity mode of the data stream.