localstack-core 4.7.1.dev139__py3-none-any.whl → 4.10.1.dev42__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.
Potentially problematic release.
This version of localstack-core might be problematic. Click here for more details.
- localstack/aws/api/acm/__init__.py +122 -122
- localstack/aws/api/apigateway/__init__.py +560 -559
- localstack/aws/api/cloudcontrol/__init__.py +63 -63
- localstack/aws/api/cloudformation/__init__.py +1041 -969
- localstack/aws/api/cloudwatch/__init__.py +408 -368
- localstack/aws/api/config/__init__.py +788 -786
- localstack/aws/api/core.py +4 -0
- localstack/aws/api/dynamodb/__init__.py +753 -759
- localstack/aws/api/dynamodbstreams/__init__.py +74 -74
- localstack/aws/api/ec2/__init__.py +9713 -8573
- localstack/aws/api/es/__init__.py +453 -453
- localstack/aws/api/events/__init__.py +552 -552
- localstack/aws/api/firehose/__init__.py +541 -543
- localstack/aws/api/iam/__init__.py +646 -572
- localstack/aws/api/kinesis/__init__.py +251 -144
- localstack/aws/api/kms/__init__.py +343 -333
- localstack/aws/api/lambda_/__init__.py +585 -571
- localstack/aws/api/logs/__init__.py +682 -666
- localstack/aws/api/opensearch/__init__.py +814 -785
- localstack/aws/api/pipes/__init__.py +336 -336
- localstack/aws/api/redshift/__init__.py +1192 -1164
- localstack/aws/api/resource_groups/__init__.py +175 -175
- localstack/aws/api/resourcegroupstaggingapi/__init__.py +67 -67
- localstack/aws/api/route53/__init__.py +256 -254
- localstack/aws/api/route53resolver/__init__.py +396 -396
- localstack/aws/api/s3/__init__.py +1358 -1345
- localstack/aws/api/s3control/__init__.py +616 -584
- localstack/aws/api/scheduler/__init__.py +118 -118
- localstack/aws/api/secretsmanager/__init__.py +193 -193
- localstack/aws/api/ses/__init__.py +227 -227
- localstack/aws/api/sns/__init__.py +115 -115
- localstack/aws/api/sqs/__init__.py +100 -100
- localstack/aws/api/ssm/__init__.py +1978 -1970
- localstack/aws/api/stepfunctions/__init__.py +323 -323
- localstack/aws/api/sts/__init__.py +90 -66
- localstack/aws/api/support/__init__.py +112 -112
- localstack/aws/api/swf/__init__.py +378 -386
- localstack/aws/api/transcribe/__init__.py +425 -425
- localstack/aws/client.py +7 -2
- localstack/aws/forwarder.py +52 -5
- localstack/aws/handlers/analytics.py +1 -1
- localstack/aws/handlers/logging.py +12 -2
- localstack/aws/handlers/metric_handler.py +41 -1
- localstack/aws/handlers/service.py +43 -10
- localstack/aws/protocol/parser.py +440 -21
- localstack/aws/protocol/serializer.py +684 -64
- localstack/aws/protocol/service_router.py +120 -20
- localstack/aws/scaffold.py +15 -17
- localstack/aws/skeleton.py +4 -2
- localstack/aws/spec-patches.json +58 -0
- localstack/aws/spec.py +33 -13
- localstack/cli/exceptions.py +1 -1
- localstack/cli/localstack.py +10 -5
- localstack/cli/lpm.py +3 -4
- localstack/cli/profiles.py +1 -2
- localstack/config.py +18 -12
- localstack/constants.py +4 -29
- localstack/dev/kubernetes/__main__.py +39 -4
- localstack/dev/run/paths.py +1 -1
- localstack/dns/plugins.py +5 -1
- localstack/dns/server.py +12 -3
- localstack/packages/api.py +9 -8
- localstack/packages/core.py +2 -2
- localstack/packages/plugins.py +0 -8
- localstack/runtime/init.py +1 -1
- localstack/services/apigateway/helpers.py +5 -9
- localstack/services/apigateway/legacy/provider.py +85 -12
- localstack/services/apigateway/next_gen/execute_api/integrations/aws.py +3 -0
- localstack/services/apigateway/next_gen/execute_api/integrations/http.py +3 -3
- localstack/services/apigateway/next_gen/execute_api/test_invoke.py +50 -6
- localstack/services/apigateway/next_gen/provider.py +5 -0
- localstack/services/apigateway/patches.py +0 -9
- localstack/services/cloudformation/engine/entities.py +12 -1
- localstack/services/cloudformation/engine/v2/change_set_model.py +0 -3
- localstack/services/cloudformation/engine/v2/change_set_model_describer.py +14 -0
- localstack/services/cloudformation/engine/v2/change_set_model_executor.py +13 -15
- localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +118 -24
- localstack/services/cloudformation/engine/v2/change_set_model_transform.py +4 -1
- localstack/services/cloudformation/engine/v2/change_set_model_validator.py +5 -14
- localstack/services/cloudformation/engine/v2/change_set_model_visitor.py +1 -0
- localstack/services/cloudformation/engine/v2/resolving.py +6 -4
- localstack/services/cloudformation/engine/yaml_parser.py +9 -2
- localstack/services/cloudformation/provider.py +2 -2
- localstack/services/cloudformation/resource_provider.py +5 -1
- localstack/services/cloudformation/resources.py +24149 -0
- localstack/services/cloudformation/v2/entities.py +6 -3
- localstack/services/cloudformation/v2/provider.py +178 -33
- localstack/services/cloudformation/v2/types.py +8 -4
- localstack/services/cloudwatch/provider_v2.py +25 -28
- localstack/services/dynamodb/packages.py +2 -1
- localstack/services/dynamodb/provider.py +42 -0
- localstack/services/dynamodb/v2/provider.py +42 -0
- localstack/services/ecr/resource_providers/aws_ecr_repository.py +5 -2
- localstack/services/es/provider.py +2 -2
- localstack/services/events/event_rule_engine.py +31 -13
- localstack/services/events/models.py +4 -5
- localstack/services/events/target.py +17 -9
- localstack/services/iam/provider.py +11 -116
- localstack/services/iam/resources/policy_simulator.py +133 -0
- localstack/services/kinesis/models.py +15 -2
- localstack/services/kinesis/packages.py +1 -1
- localstack/services/kinesis/provider.py +77 -0
- localstack/services/kms/models.py +34 -4
- localstack/services/kms/provider.py +107 -21
- localstack/services/lambda_/api_utils.py +3 -1
- localstack/services/lambda_/invocation/internal_sqs_queue.py +5 -9
- localstack/services/lambda_/packages.py +1 -1
- localstack/services/lambda_/provider.py +1 -1
- localstack/services/lambda_/runtimes.py +8 -3
- localstack/services/logs/provider.py +36 -19
- localstack/services/moto.py +2 -1
- localstack/services/opensearch/cluster.py +15 -7
- localstack/services/opensearch/packages.py +26 -7
- localstack/services/opensearch/provider.py +6 -1
- localstack/services/opensearch/versions.py +56 -7
- localstack/services/s3/constants.py +5 -2
- localstack/services/s3/cors.py +4 -4
- localstack/services/s3/notifications.py +1 -1
- localstack/services/s3/presigned_url.py +27 -43
- localstack/services/s3/provider.py +68 -12
- localstack/services/s3/utils.py +42 -11
- localstack/services/ses/provider.py +16 -7
- localstack/services/sns/constants.py +7 -1
- localstack/services/sns/v2/models.py +190 -0
- localstack/services/sns/v2/provider.py +992 -2
- localstack/services/sns/v2/utils.py +138 -0
- localstack/services/sqs/developer_api.py +205 -0
- localstack/services/sqs/models.py +79 -13
- localstack/services/sqs/provider.py +8 -309
- localstack/services/sqs/query_api.py +1 -1
- localstack/services/sqs/utils.py +121 -2
- localstack/services/stepfunctions/asl/jsonata/jsonata.py +1 -1
- localstack/testing/aws/cloudformation_utils.py +1 -1
- localstack/testing/pytest/cloudformation/fixtures.py +3 -3
- localstack/testing/pytest/container.py +4 -5
- localstack/testing/pytest/fixtures.py +20 -19
- localstack/testing/pytest/in_memory_localstack.py +0 -4
- localstack/testing/pytest/marking.py +13 -4
- localstack/testing/pytest/stepfunctions/utils.py +4 -3
- localstack/testing/pytest/util.py +1 -1
- localstack/testing/pytest/validation_tracking.py +1 -2
- localstack/testing/snapshots/transformer_utility.py +7 -0
- localstack/testing/testselection/matching.py +0 -1
- localstack/utils/analytics/events.py +2 -2
- localstack/utils/analytics/metadata.py +1 -2
- localstack/utils/analytics/metrics/counter.py +6 -8
- localstack/utils/analytics/publisher.py +1 -2
- localstack/utils/analytics/service_request_aggregator.py +2 -2
- localstack/utils/archives.py +11 -11
- localstack/utils/aws/arns.py +17 -9
- localstack/utils/aws/aws_responses.py +7 -7
- localstack/utils/aws/aws_stack.py +2 -3
- localstack/utils/aws/client_types.py +0 -8
- localstack/utils/aws/message_forwarding.py +1 -2
- localstack/utils/aws/request_context.py +4 -5
- localstack/utils/batch_policy.py +3 -3
- localstack/utils/bootstrap.py +7 -7
- localstack/utils/catalog/catalog.py +139 -0
- localstack/utils/catalog/catalog_loader.py +119 -0
- localstack/utils/catalog/common.py +58 -0
- localstack/utils/catalog/plugins.py +28 -0
- localstack/utils/cloudwatch/cloudwatch_util.py +5 -5
- localstack/utils/collections.py +7 -8
- localstack/utils/config_listener.py +1 -1
- localstack/utils/container_networking.py +2 -3
- localstack/utils/container_utils/container_client.py +115 -131
- localstack/utils/container_utils/docker_cmd_client.py +42 -42
- localstack/utils/container_utils/docker_sdk_client.py +63 -62
- localstack/utils/crypto.py +109 -0
- localstack/utils/diagnose.py +2 -3
- localstack/utils/docker_utils.py +3 -4
- localstack/utils/files.py +31 -7
- localstack/utils/functions.py +3 -2
- localstack/utils/http.py +4 -5
- localstack/utils/json.py +19 -5
- localstack/utils/kinesis/kinesis_connector.py +2 -1
- localstack/utils/net.py +6 -6
- localstack/utils/no_exit_argument_parser.py +2 -2
- localstack/utils/numbers.py +9 -2
- localstack/utils/objects.py +6 -5
- localstack/utils/patch.py +2 -1
- localstack/utils/run.py +10 -9
- localstack/utils/scheduler.py +11 -11
- localstack/utils/server/tcp_proxy.py +2 -2
- localstack/utils/serving.py +2 -3
- localstack/utils/strings.py +10 -11
- localstack/utils/sync.py +126 -1
- localstack/utils/tagging.py +1 -4
- localstack/utils/testutil.py +5 -4
- localstack/utils/threads.py +2 -2
- localstack/utils/time.py +11 -3
- localstack/utils/urls.py +1 -3
- localstack/version.py +2 -2
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/METADATA +19 -13
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/RECORD +203 -199
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/entry_points.txt +4 -2
- localstack_core-4.10.1.dev42.dist-info/plux.json +1 -0
- localstack/packages/terraform.py +0 -46
- localstack/services/cloudformation/deploy.html +0 -144
- localstack/services/cloudformation/deploy_ui.py +0 -47
- localstack/services/cloudformation/plugins.py +0 -12
- localstack_core-4.7.1.dev139.dist-info/plux.json +0 -1
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack +0 -0
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.7.1.dev139.data → localstack_core-4.10.1.dev42.data}/scripts/localstack.bat +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/WHEEL +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.7.1.dev139.dist-info → localstack_core-4.10.1.dev42.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from collections.abc import Iterator
|
|
1
2
|
from datetime import datetime
|
|
2
3
|
from enum import StrEnum
|
|
3
|
-
from typing import
|
|
4
|
+
from typing import TypedDict
|
|
4
5
|
|
|
5
6
|
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
|
|
6
7
|
|
|
@@ -18,6 +19,8 @@ ListShardsInputLimit = int
|
|
|
18
19
|
ListStreamConsumersInputLimit = int
|
|
19
20
|
ListStreamsInputLimit = int
|
|
20
21
|
ListTagsForStreamInputLimit = int
|
|
22
|
+
MaxRecordSizeInKiB = int
|
|
23
|
+
NaturalIntegerObject = int
|
|
21
24
|
NextToken = str
|
|
22
25
|
OnDemandStreamCountLimitObject = int
|
|
23
26
|
OnDemandStreamCountObject = int
|
|
@@ -58,6 +61,17 @@ class MetricsName(StrEnum):
|
|
|
58
61
|
ALL = "ALL"
|
|
59
62
|
|
|
60
63
|
|
|
64
|
+
class MinimumThroughputBillingCommitmentInputStatus(StrEnum):
|
|
65
|
+
ENABLED = "ENABLED"
|
|
66
|
+
DISABLED = "DISABLED"
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class MinimumThroughputBillingCommitmentOutputStatus(StrEnum):
|
|
70
|
+
ENABLED = "ENABLED"
|
|
71
|
+
DISABLED = "DISABLED"
|
|
72
|
+
ENABLED_UNTIL_EARLIEST_ALLOWED_END = "ENABLED_UNTIL_EARLIEST_ALLOWED_END"
|
|
73
|
+
|
|
74
|
+
|
|
61
75
|
class ScalingType(StrEnum):
|
|
62
76
|
UNIFORM_SCALING = "UNIFORM_SCALING"
|
|
63
77
|
|
|
@@ -187,13 +201,13 @@ class ValidationException(ServiceException):
|
|
|
187
201
|
status_code: int = 400
|
|
188
202
|
|
|
189
203
|
|
|
190
|
-
TagMap =
|
|
204
|
+
TagMap = dict[TagKey, TagValue]
|
|
191
205
|
|
|
192
206
|
|
|
193
207
|
class AddTagsToStreamInput(ServiceRequest):
|
|
194
|
-
StreamName:
|
|
208
|
+
StreamName: StreamName | None
|
|
195
209
|
Tags: TagMap
|
|
196
|
-
StreamARN:
|
|
210
|
+
StreamARN: StreamARN | None
|
|
197
211
|
|
|
198
212
|
|
|
199
213
|
class HashKeyRange(TypedDict, total=False):
|
|
@@ -201,7 +215,7 @@ class HashKeyRange(TypedDict, total=False):
|
|
|
201
215
|
EndingHashKey: HashKey
|
|
202
216
|
|
|
203
217
|
|
|
204
|
-
ShardIdList =
|
|
218
|
+
ShardIdList = list[ShardId]
|
|
205
219
|
|
|
206
220
|
|
|
207
221
|
class ChildShard(TypedDict, total=False):
|
|
@@ -210,7 +224,7 @@ class ChildShard(TypedDict, total=False):
|
|
|
210
224
|
HashKeyRange: HashKeyRange
|
|
211
225
|
|
|
212
226
|
|
|
213
|
-
ChildShardList =
|
|
227
|
+
ChildShardList = list[ChildShard]
|
|
214
228
|
Timestamp = datetime
|
|
215
229
|
|
|
216
230
|
|
|
@@ -229,7 +243,7 @@ class ConsumerDescription(TypedDict, total=False):
|
|
|
229
243
|
StreamARN: StreamARN
|
|
230
244
|
|
|
231
245
|
|
|
232
|
-
ConsumerList =
|
|
246
|
+
ConsumerList = list[Consumer]
|
|
233
247
|
|
|
234
248
|
|
|
235
249
|
class StreamModeDetails(TypedDict, total=False):
|
|
@@ -238,18 +252,20 @@ class StreamModeDetails(TypedDict, total=False):
|
|
|
238
252
|
|
|
239
253
|
class CreateStreamInput(ServiceRequest):
|
|
240
254
|
StreamName: StreamName
|
|
241
|
-
ShardCount:
|
|
242
|
-
StreamModeDetails:
|
|
243
|
-
Tags:
|
|
255
|
+
ShardCount: PositiveIntegerObject | None
|
|
256
|
+
StreamModeDetails: StreamModeDetails | None
|
|
257
|
+
Tags: TagMap | None
|
|
258
|
+
WarmThroughputMiBps: NaturalIntegerObject | None
|
|
259
|
+
MaxRecordSizeInKiB: MaxRecordSizeInKiB | None
|
|
244
260
|
|
|
245
261
|
|
|
246
262
|
Data = bytes
|
|
247
263
|
|
|
248
264
|
|
|
249
265
|
class DecreaseStreamRetentionPeriodInput(ServiceRequest):
|
|
250
|
-
StreamName:
|
|
266
|
+
StreamName: StreamName | None
|
|
251
267
|
RetentionPeriodHours: RetentionPeriodHours
|
|
252
|
-
StreamARN:
|
|
268
|
+
StreamARN: StreamARN | None
|
|
253
269
|
|
|
254
270
|
|
|
255
271
|
class DeleteResourcePolicyInput(ServiceRequest):
|
|
@@ -257,15 +273,30 @@ class DeleteResourcePolicyInput(ServiceRequest):
|
|
|
257
273
|
|
|
258
274
|
|
|
259
275
|
class DeleteStreamInput(ServiceRequest):
|
|
260
|
-
StreamName:
|
|
261
|
-
EnforceConsumerDeletion:
|
|
262
|
-
StreamARN:
|
|
276
|
+
StreamName: StreamName | None
|
|
277
|
+
EnforceConsumerDeletion: BooleanObject | None
|
|
278
|
+
StreamARN: StreamARN | None
|
|
263
279
|
|
|
264
280
|
|
|
265
281
|
class DeregisterStreamConsumerInput(ServiceRequest):
|
|
266
|
-
StreamARN:
|
|
267
|
-
ConsumerName:
|
|
268
|
-
ConsumerARN:
|
|
282
|
+
StreamARN: StreamARN | None
|
|
283
|
+
ConsumerName: ConsumerName | None
|
|
284
|
+
ConsumerARN: ConsumerARN | None
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class DescribeAccountSettingsInput(ServiceRequest):
|
|
288
|
+
pass
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
class MinimumThroughputBillingCommitmentOutput(TypedDict, total=False):
|
|
292
|
+
Status: MinimumThroughputBillingCommitmentOutputStatus
|
|
293
|
+
StartedAt: Timestamp | None
|
|
294
|
+
EndedAt: Timestamp | None
|
|
295
|
+
EarliestAllowedEndAt: Timestamp | None
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class DescribeAccountSettingsOutput(TypedDict, total=False):
|
|
299
|
+
MinimumThroughputBillingCommitment: MinimumThroughputBillingCommitmentOutput | None
|
|
269
300
|
|
|
270
301
|
|
|
271
302
|
class DescribeLimitsInput(ServiceRequest):
|
|
@@ -280,9 +311,9 @@ class DescribeLimitsOutput(TypedDict, total=False):
|
|
|
280
311
|
|
|
281
312
|
|
|
282
313
|
class DescribeStreamConsumerInput(ServiceRequest):
|
|
283
|
-
StreamARN:
|
|
284
|
-
ConsumerName:
|
|
285
|
-
ConsumerARN:
|
|
314
|
+
StreamARN: StreamARN | None
|
|
315
|
+
ConsumerName: ConsumerName | None
|
|
316
|
+
ConsumerARN: ConsumerARN | None
|
|
286
317
|
|
|
287
318
|
|
|
288
319
|
class DescribeStreamConsumerOutput(TypedDict, total=False):
|
|
@@ -290,50 +321,50 @@ class DescribeStreamConsumerOutput(TypedDict, total=False):
|
|
|
290
321
|
|
|
291
322
|
|
|
292
323
|
class DescribeStreamInput(ServiceRequest):
|
|
293
|
-
StreamName:
|
|
294
|
-
Limit:
|
|
295
|
-
ExclusiveStartShardId:
|
|
296
|
-
StreamARN:
|
|
324
|
+
StreamName: StreamName | None
|
|
325
|
+
Limit: DescribeStreamInputLimit | None
|
|
326
|
+
ExclusiveStartShardId: ShardId | None
|
|
327
|
+
StreamARN: StreamARN | None
|
|
297
328
|
|
|
298
329
|
|
|
299
|
-
MetricsNameList =
|
|
330
|
+
MetricsNameList = list[MetricsName]
|
|
300
331
|
|
|
301
332
|
|
|
302
333
|
class EnhancedMetrics(TypedDict, total=False):
|
|
303
|
-
ShardLevelMetrics:
|
|
334
|
+
ShardLevelMetrics: MetricsNameList | None
|
|
304
335
|
|
|
305
336
|
|
|
306
|
-
EnhancedMonitoringList =
|
|
337
|
+
EnhancedMonitoringList = list[EnhancedMetrics]
|
|
307
338
|
|
|
308
339
|
|
|
309
340
|
class SequenceNumberRange(TypedDict, total=False):
|
|
310
341
|
StartingSequenceNumber: SequenceNumber
|
|
311
|
-
EndingSequenceNumber:
|
|
342
|
+
EndingSequenceNumber: SequenceNumber | None
|
|
312
343
|
|
|
313
344
|
|
|
314
345
|
class Shard(TypedDict, total=False):
|
|
315
346
|
ShardId: ShardId
|
|
316
|
-
ParentShardId:
|
|
317
|
-
AdjacentParentShardId:
|
|
347
|
+
ParentShardId: ShardId | None
|
|
348
|
+
AdjacentParentShardId: ShardId | None
|
|
318
349
|
HashKeyRange: HashKeyRange
|
|
319
350
|
SequenceNumberRange: SequenceNumberRange
|
|
320
351
|
|
|
321
352
|
|
|
322
|
-
ShardList =
|
|
353
|
+
ShardList = list[Shard]
|
|
323
354
|
|
|
324
355
|
|
|
325
356
|
class StreamDescription(TypedDict, total=False):
|
|
326
357
|
StreamName: StreamName
|
|
327
358
|
StreamARN: StreamARN
|
|
328
359
|
StreamStatus: StreamStatus
|
|
329
|
-
StreamModeDetails:
|
|
360
|
+
StreamModeDetails: StreamModeDetails | None
|
|
330
361
|
Shards: ShardList
|
|
331
362
|
HasMoreShards: BooleanObject
|
|
332
363
|
RetentionPeriodHours: RetentionPeriodHours
|
|
333
364
|
StreamCreationTimestamp: Timestamp
|
|
334
365
|
EnhancedMonitoring: EnhancedMonitoringList
|
|
335
|
-
EncryptionType:
|
|
336
|
-
KeyId:
|
|
366
|
+
EncryptionType: EncryptionType | None
|
|
367
|
+
KeyId: KeyId | None
|
|
337
368
|
|
|
338
369
|
|
|
339
370
|
class DescribeStreamOutput(TypedDict, total=False):
|
|
@@ -341,22 +372,29 @@ class DescribeStreamOutput(TypedDict, total=False):
|
|
|
341
372
|
|
|
342
373
|
|
|
343
374
|
class DescribeStreamSummaryInput(ServiceRequest):
|
|
344
|
-
StreamName:
|
|
345
|
-
StreamARN:
|
|
375
|
+
StreamName: StreamName | None
|
|
376
|
+
StreamARN: StreamARN | None
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class WarmThroughputObject(TypedDict, total=False):
|
|
380
|
+
TargetMiBps: NaturalIntegerObject | None
|
|
381
|
+
CurrentMiBps: NaturalIntegerObject | None
|
|
346
382
|
|
|
347
383
|
|
|
348
384
|
class StreamDescriptionSummary(TypedDict, total=False):
|
|
349
385
|
StreamName: StreamName
|
|
350
386
|
StreamARN: StreamARN
|
|
351
387
|
StreamStatus: StreamStatus
|
|
352
|
-
StreamModeDetails:
|
|
388
|
+
StreamModeDetails: StreamModeDetails | None
|
|
353
389
|
RetentionPeriodHours: RetentionPeriodHours
|
|
354
390
|
StreamCreationTimestamp: Timestamp
|
|
355
391
|
EnhancedMonitoring: EnhancedMonitoringList
|
|
356
|
-
EncryptionType:
|
|
357
|
-
KeyId:
|
|
392
|
+
EncryptionType: EncryptionType | None
|
|
393
|
+
KeyId: KeyId | None
|
|
358
394
|
OpenShardCount: ShardCountObject
|
|
359
|
-
ConsumerCount:
|
|
395
|
+
ConsumerCount: ConsumerCountObject | None
|
|
396
|
+
WarmThroughput: WarmThroughputObject | None
|
|
397
|
+
MaxRecordSizeInKiB: MaxRecordSizeInKiB | None
|
|
360
398
|
|
|
361
399
|
|
|
362
400
|
class DescribeStreamSummaryOutput(TypedDict, total=False):
|
|
@@ -364,28 +402,28 @@ class DescribeStreamSummaryOutput(TypedDict, total=False):
|
|
|
364
402
|
|
|
365
403
|
|
|
366
404
|
class DisableEnhancedMonitoringInput(ServiceRequest):
|
|
367
|
-
StreamName:
|
|
405
|
+
StreamName: StreamName | None
|
|
368
406
|
ShardLevelMetrics: MetricsNameList
|
|
369
|
-
StreamARN:
|
|
407
|
+
StreamARN: StreamARN | None
|
|
370
408
|
|
|
371
409
|
|
|
372
410
|
class EnableEnhancedMonitoringInput(ServiceRequest):
|
|
373
|
-
StreamName:
|
|
411
|
+
StreamName: StreamName | None
|
|
374
412
|
ShardLevelMetrics: MetricsNameList
|
|
375
|
-
StreamARN:
|
|
413
|
+
StreamARN: StreamARN | None
|
|
376
414
|
|
|
377
415
|
|
|
378
416
|
class EnhancedMonitoringOutput(TypedDict, total=False):
|
|
379
|
-
StreamName:
|
|
380
|
-
CurrentShardLevelMetrics:
|
|
381
|
-
DesiredShardLevelMetrics:
|
|
382
|
-
StreamARN:
|
|
417
|
+
StreamName: StreamName | None
|
|
418
|
+
CurrentShardLevelMetrics: MetricsNameList | None
|
|
419
|
+
DesiredShardLevelMetrics: MetricsNameList | None
|
|
420
|
+
StreamARN: StreamARN | None
|
|
383
421
|
|
|
384
422
|
|
|
385
423
|
class GetRecordsInput(ServiceRequest):
|
|
386
424
|
ShardIterator: ShardIterator
|
|
387
|
-
Limit:
|
|
388
|
-
StreamARN:
|
|
425
|
+
Limit: GetRecordsInputLimit | None
|
|
426
|
+
StreamARN: StreamARN | None
|
|
389
427
|
|
|
390
428
|
|
|
391
429
|
MillisBehindLatest = int
|
|
@@ -393,20 +431,20 @@ MillisBehindLatest = int
|
|
|
393
431
|
|
|
394
432
|
class Record(TypedDict, total=False):
|
|
395
433
|
SequenceNumber: SequenceNumber
|
|
396
|
-
ApproximateArrivalTimestamp:
|
|
434
|
+
ApproximateArrivalTimestamp: Timestamp | None
|
|
397
435
|
Data: Data
|
|
398
436
|
PartitionKey: PartitionKey
|
|
399
|
-
EncryptionType:
|
|
437
|
+
EncryptionType: EncryptionType | None
|
|
400
438
|
|
|
401
439
|
|
|
402
|
-
RecordList =
|
|
440
|
+
RecordList = list[Record]
|
|
403
441
|
|
|
404
442
|
|
|
405
443
|
class GetRecordsOutput(TypedDict, total=False):
|
|
406
444
|
Records: RecordList
|
|
407
|
-
NextShardIterator:
|
|
408
|
-
MillisBehindLatest:
|
|
409
|
-
ChildShards:
|
|
445
|
+
NextShardIterator: ShardIterator | None
|
|
446
|
+
MillisBehindLatest: MillisBehindLatest | None
|
|
447
|
+
ChildShards: ChildShardList | None
|
|
410
448
|
|
|
411
449
|
|
|
412
450
|
class GetResourcePolicyInput(ServiceRequest):
|
|
@@ -418,80 +456,80 @@ class GetResourcePolicyOutput(TypedDict, total=False):
|
|
|
418
456
|
|
|
419
457
|
|
|
420
458
|
class GetShardIteratorInput(ServiceRequest):
|
|
421
|
-
StreamName:
|
|
459
|
+
StreamName: StreamName | None
|
|
422
460
|
ShardId: ShardId
|
|
423
461
|
ShardIteratorType: ShardIteratorType
|
|
424
|
-
StartingSequenceNumber:
|
|
425
|
-
Timestamp:
|
|
426
|
-
StreamARN:
|
|
462
|
+
StartingSequenceNumber: SequenceNumber | None
|
|
463
|
+
Timestamp: Timestamp | None
|
|
464
|
+
StreamARN: StreamARN | None
|
|
427
465
|
|
|
428
466
|
|
|
429
467
|
class GetShardIteratorOutput(TypedDict, total=False):
|
|
430
|
-
ShardIterator:
|
|
468
|
+
ShardIterator: ShardIterator | None
|
|
431
469
|
|
|
432
470
|
|
|
433
471
|
class IncreaseStreamRetentionPeriodInput(ServiceRequest):
|
|
434
|
-
StreamName:
|
|
472
|
+
StreamName: StreamName | None
|
|
435
473
|
RetentionPeriodHours: RetentionPeriodHours
|
|
436
|
-
StreamARN:
|
|
474
|
+
StreamARN: StreamARN | None
|
|
437
475
|
|
|
438
476
|
|
|
439
477
|
class ShardFilter(TypedDict, total=False):
|
|
440
478
|
Type: ShardFilterType
|
|
441
|
-
ShardId:
|
|
442
|
-
Timestamp:
|
|
479
|
+
ShardId: ShardId | None
|
|
480
|
+
Timestamp: Timestamp | None
|
|
443
481
|
|
|
444
482
|
|
|
445
483
|
class ListShardsInput(ServiceRequest):
|
|
446
|
-
StreamName:
|
|
447
|
-
NextToken:
|
|
448
|
-
ExclusiveStartShardId:
|
|
449
|
-
MaxResults:
|
|
450
|
-
StreamCreationTimestamp:
|
|
451
|
-
ShardFilter:
|
|
452
|
-
StreamARN:
|
|
484
|
+
StreamName: StreamName | None
|
|
485
|
+
NextToken: NextToken | None
|
|
486
|
+
ExclusiveStartShardId: ShardId | None
|
|
487
|
+
MaxResults: ListShardsInputLimit | None
|
|
488
|
+
StreamCreationTimestamp: Timestamp | None
|
|
489
|
+
ShardFilter: ShardFilter | None
|
|
490
|
+
StreamARN: StreamARN | None
|
|
453
491
|
|
|
454
492
|
|
|
455
493
|
class ListShardsOutput(TypedDict, total=False):
|
|
456
|
-
Shards:
|
|
457
|
-
NextToken:
|
|
494
|
+
Shards: ShardList | None
|
|
495
|
+
NextToken: NextToken | None
|
|
458
496
|
|
|
459
497
|
|
|
460
498
|
class ListStreamConsumersInput(ServiceRequest):
|
|
461
499
|
StreamARN: StreamARN
|
|
462
|
-
NextToken:
|
|
463
|
-
MaxResults:
|
|
464
|
-
StreamCreationTimestamp:
|
|
500
|
+
NextToken: NextToken | None
|
|
501
|
+
MaxResults: ListStreamConsumersInputLimit | None
|
|
502
|
+
StreamCreationTimestamp: Timestamp | None
|
|
465
503
|
|
|
466
504
|
|
|
467
505
|
class ListStreamConsumersOutput(TypedDict, total=False):
|
|
468
|
-
Consumers:
|
|
469
|
-
NextToken:
|
|
506
|
+
Consumers: ConsumerList | None
|
|
507
|
+
NextToken: NextToken | None
|
|
470
508
|
|
|
471
509
|
|
|
472
510
|
class ListStreamsInput(ServiceRequest):
|
|
473
|
-
Limit:
|
|
474
|
-
ExclusiveStartStreamName:
|
|
475
|
-
NextToken:
|
|
511
|
+
Limit: ListStreamsInputLimit | None
|
|
512
|
+
ExclusiveStartStreamName: StreamName | None
|
|
513
|
+
NextToken: NextToken | None
|
|
476
514
|
|
|
477
515
|
|
|
478
516
|
class StreamSummary(TypedDict, total=False):
|
|
479
517
|
StreamName: StreamName
|
|
480
518
|
StreamARN: StreamARN
|
|
481
519
|
StreamStatus: StreamStatus
|
|
482
|
-
StreamModeDetails:
|
|
483
|
-
StreamCreationTimestamp:
|
|
520
|
+
StreamModeDetails: StreamModeDetails | None
|
|
521
|
+
StreamCreationTimestamp: Timestamp | None
|
|
484
522
|
|
|
485
523
|
|
|
486
|
-
StreamSummaryList =
|
|
487
|
-
StreamNameList =
|
|
524
|
+
StreamSummaryList = list[StreamSummary]
|
|
525
|
+
StreamNameList = list[StreamName]
|
|
488
526
|
|
|
489
527
|
|
|
490
528
|
class ListStreamsOutput(TypedDict, total=False):
|
|
491
529
|
StreamNames: StreamNameList
|
|
492
530
|
HasMoreStreams: BooleanObject
|
|
493
|
-
NextToken:
|
|
494
|
-
StreamSummaries:
|
|
531
|
+
NextToken: NextToken | None
|
|
532
|
+
StreamSummaries: StreamSummaryList | None
|
|
495
533
|
|
|
496
534
|
|
|
497
535
|
class ListTagsForResourceInput(ServiceRequest):
|
|
@@ -500,21 +538,21 @@ class ListTagsForResourceInput(ServiceRequest):
|
|
|
500
538
|
|
|
501
539
|
class Tag(TypedDict, total=False):
|
|
502
540
|
Key: TagKey
|
|
503
|
-
Value:
|
|
541
|
+
Value: TagValue | None
|
|
504
542
|
|
|
505
543
|
|
|
506
|
-
TagList =
|
|
544
|
+
TagList = list[Tag]
|
|
507
545
|
|
|
508
546
|
|
|
509
547
|
class ListTagsForResourceOutput(TypedDict, total=False):
|
|
510
|
-
Tags:
|
|
548
|
+
Tags: TagList | None
|
|
511
549
|
|
|
512
550
|
|
|
513
551
|
class ListTagsForStreamInput(ServiceRequest):
|
|
514
|
-
StreamName:
|
|
515
|
-
ExclusiveStartTagKey:
|
|
516
|
-
Limit:
|
|
517
|
-
StreamARN:
|
|
552
|
+
StreamName: StreamName | None
|
|
553
|
+
ExclusiveStartTagKey: TagKey | None
|
|
554
|
+
Limit: ListTagsForStreamInputLimit | None
|
|
555
|
+
StreamARN: StreamARN | None
|
|
518
556
|
|
|
519
557
|
|
|
520
558
|
class ListTagsForStreamOutput(TypedDict, total=False):
|
|
@@ -523,56 +561,60 @@ class ListTagsForStreamOutput(TypedDict, total=False):
|
|
|
523
561
|
|
|
524
562
|
|
|
525
563
|
class MergeShardsInput(ServiceRequest):
|
|
526
|
-
StreamName:
|
|
564
|
+
StreamName: StreamName | None
|
|
527
565
|
ShardToMerge: ShardId
|
|
528
566
|
AdjacentShardToMerge: ShardId
|
|
529
|
-
StreamARN:
|
|
567
|
+
StreamARN: StreamARN | None
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
class MinimumThroughputBillingCommitmentInput(TypedDict, total=False):
|
|
571
|
+
Status: MinimumThroughputBillingCommitmentInputStatus
|
|
530
572
|
|
|
531
573
|
|
|
532
574
|
class PutRecordInput(ServiceRequest):
|
|
533
|
-
StreamName:
|
|
575
|
+
StreamName: StreamName | None
|
|
534
576
|
Data: Data
|
|
535
577
|
PartitionKey: PartitionKey
|
|
536
|
-
ExplicitHashKey:
|
|
537
|
-
SequenceNumberForOrdering:
|
|
538
|
-
StreamARN:
|
|
578
|
+
ExplicitHashKey: HashKey | None
|
|
579
|
+
SequenceNumberForOrdering: SequenceNumber | None
|
|
580
|
+
StreamARN: StreamARN | None
|
|
539
581
|
|
|
540
582
|
|
|
541
583
|
class PutRecordOutput(TypedDict, total=False):
|
|
542
584
|
ShardId: ShardId
|
|
543
585
|
SequenceNumber: SequenceNumber
|
|
544
|
-
EncryptionType:
|
|
586
|
+
EncryptionType: EncryptionType | None
|
|
545
587
|
|
|
546
588
|
|
|
547
589
|
class PutRecordsRequestEntry(TypedDict, total=False):
|
|
548
590
|
Data: Data
|
|
549
|
-
ExplicitHashKey:
|
|
591
|
+
ExplicitHashKey: HashKey | None
|
|
550
592
|
PartitionKey: PartitionKey
|
|
551
593
|
|
|
552
594
|
|
|
553
|
-
PutRecordsRequestEntryList =
|
|
595
|
+
PutRecordsRequestEntryList = list[PutRecordsRequestEntry]
|
|
554
596
|
|
|
555
597
|
|
|
556
598
|
class PutRecordsInput(ServiceRequest):
|
|
557
599
|
Records: PutRecordsRequestEntryList
|
|
558
|
-
StreamName:
|
|
559
|
-
StreamARN:
|
|
600
|
+
StreamName: StreamName | None
|
|
601
|
+
StreamARN: StreamARN | None
|
|
560
602
|
|
|
561
603
|
|
|
562
604
|
class PutRecordsResultEntry(TypedDict, total=False):
|
|
563
|
-
SequenceNumber:
|
|
564
|
-
ShardId:
|
|
565
|
-
ErrorCode:
|
|
566
|
-
ErrorMessage:
|
|
605
|
+
SequenceNumber: SequenceNumber | None
|
|
606
|
+
ShardId: ShardId | None
|
|
607
|
+
ErrorCode: ErrorCode | None
|
|
608
|
+
ErrorMessage: ErrorMessage | None
|
|
567
609
|
|
|
568
610
|
|
|
569
|
-
PutRecordsResultEntryList =
|
|
611
|
+
PutRecordsResultEntryList = list[PutRecordsResultEntry]
|
|
570
612
|
|
|
571
613
|
|
|
572
614
|
class PutRecordsOutput(TypedDict, total=False):
|
|
573
|
-
FailedRecordCount:
|
|
615
|
+
FailedRecordCount: PositiveIntegerObject | None
|
|
574
616
|
Records: PutRecordsResultEntryList
|
|
575
|
-
EncryptionType:
|
|
617
|
+
EncryptionType: EncryptionType | None
|
|
576
618
|
|
|
577
619
|
|
|
578
620
|
class PutResourcePolicyInput(ServiceRequest):
|
|
@@ -583,67 +625,67 @@ class PutResourcePolicyInput(ServiceRequest):
|
|
|
583
625
|
class RegisterStreamConsumerInput(ServiceRequest):
|
|
584
626
|
StreamARN: StreamARN
|
|
585
627
|
ConsumerName: ConsumerName
|
|
586
|
-
Tags:
|
|
628
|
+
Tags: TagMap | None
|
|
587
629
|
|
|
588
630
|
|
|
589
631
|
class RegisterStreamConsumerOutput(TypedDict, total=False):
|
|
590
632
|
Consumer: Consumer
|
|
591
633
|
|
|
592
634
|
|
|
593
|
-
TagKeyList =
|
|
635
|
+
TagKeyList = list[TagKey]
|
|
594
636
|
|
|
595
637
|
|
|
596
638
|
class RemoveTagsFromStreamInput(ServiceRequest):
|
|
597
|
-
StreamName:
|
|
639
|
+
StreamName: StreamName | None
|
|
598
640
|
TagKeys: TagKeyList
|
|
599
|
-
StreamARN:
|
|
641
|
+
StreamARN: StreamARN | None
|
|
600
642
|
|
|
601
643
|
|
|
602
644
|
class SplitShardInput(ServiceRequest):
|
|
603
|
-
StreamName:
|
|
645
|
+
StreamName: StreamName | None
|
|
604
646
|
ShardToSplit: ShardId
|
|
605
647
|
NewStartingHashKey: HashKey
|
|
606
|
-
StreamARN:
|
|
648
|
+
StreamARN: StreamARN | None
|
|
607
649
|
|
|
608
650
|
|
|
609
651
|
class StartStreamEncryptionInput(ServiceRequest):
|
|
610
|
-
StreamName:
|
|
652
|
+
StreamName: StreamName | None
|
|
611
653
|
EncryptionType: EncryptionType
|
|
612
654
|
KeyId: KeyId
|
|
613
|
-
StreamARN:
|
|
655
|
+
StreamARN: StreamARN | None
|
|
614
656
|
|
|
615
657
|
|
|
616
658
|
class StartingPosition(TypedDict, total=False):
|
|
617
659
|
Type: ShardIteratorType
|
|
618
|
-
SequenceNumber:
|
|
619
|
-
Timestamp:
|
|
660
|
+
SequenceNumber: SequenceNumber | None
|
|
661
|
+
Timestamp: Timestamp | None
|
|
620
662
|
|
|
621
663
|
|
|
622
664
|
class StopStreamEncryptionInput(ServiceRequest):
|
|
623
|
-
StreamName:
|
|
665
|
+
StreamName: StreamName | None
|
|
624
666
|
EncryptionType: EncryptionType
|
|
625
667
|
KeyId: KeyId
|
|
626
|
-
StreamARN:
|
|
668
|
+
StreamARN: StreamARN | None
|
|
627
669
|
|
|
628
670
|
|
|
629
671
|
class SubscribeToShardEvent(TypedDict, total=False):
|
|
630
672
|
Records: RecordList
|
|
631
673
|
ContinuationSequenceNumber: SequenceNumber
|
|
632
674
|
MillisBehindLatest: MillisBehindLatest
|
|
633
|
-
ChildShards:
|
|
675
|
+
ChildShards: ChildShardList | None
|
|
634
676
|
|
|
635
677
|
|
|
636
678
|
class SubscribeToShardEventStream(TypedDict, total=False):
|
|
637
679
|
SubscribeToShardEvent: SubscribeToShardEvent
|
|
638
|
-
ResourceNotFoundException:
|
|
639
|
-
ResourceInUseException:
|
|
640
|
-
KMSDisabledException:
|
|
641
|
-
KMSInvalidStateException:
|
|
642
|
-
KMSAccessDeniedException:
|
|
643
|
-
KMSNotFoundException:
|
|
644
|
-
KMSOptInRequired:
|
|
645
|
-
KMSThrottlingException:
|
|
646
|
-
InternalFailureException:
|
|
680
|
+
ResourceNotFoundException: ResourceNotFoundException | None
|
|
681
|
+
ResourceInUseException: ResourceInUseException | None
|
|
682
|
+
KMSDisabledException: KMSDisabledException | None
|
|
683
|
+
KMSInvalidStateException: KMSInvalidStateException | None
|
|
684
|
+
KMSAccessDeniedException: KMSAccessDeniedException | None
|
|
685
|
+
KMSNotFoundException: KMSNotFoundException | None
|
|
686
|
+
KMSOptInRequired: KMSOptInRequired | None
|
|
687
|
+
KMSThrottlingException: KMSThrottlingException | None
|
|
688
|
+
InternalFailureException: InternalFailureException | None
|
|
647
689
|
|
|
648
690
|
|
|
649
691
|
class SubscribeToShardInput(ServiceRequest):
|
|
@@ -666,28 +708,54 @@ class UntagResourceInput(ServiceRequest):
|
|
|
666
708
|
ResourceARN: ResourceARN
|
|
667
709
|
|
|
668
710
|
|
|
711
|
+
class UpdateAccountSettingsInput(ServiceRequest):
|
|
712
|
+
MinimumThroughputBillingCommitment: MinimumThroughputBillingCommitmentInput
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class UpdateAccountSettingsOutput(TypedDict, total=False):
|
|
716
|
+
MinimumThroughputBillingCommitment: MinimumThroughputBillingCommitmentOutput | None
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
class UpdateMaxRecordSizeInput(ServiceRequest):
|
|
720
|
+
StreamARN: StreamARN | None
|
|
721
|
+
MaxRecordSizeInKiB: MaxRecordSizeInKiB
|
|
722
|
+
|
|
723
|
+
|
|
669
724
|
class UpdateShardCountInput(ServiceRequest):
|
|
670
|
-
StreamName:
|
|
725
|
+
StreamName: StreamName | None
|
|
671
726
|
TargetShardCount: PositiveIntegerObject
|
|
672
727
|
ScalingType: ScalingType
|
|
673
|
-
StreamARN:
|
|
728
|
+
StreamARN: StreamARN | None
|
|
674
729
|
|
|
675
730
|
|
|
676
731
|
class UpdateShardCountOutput(TypedDict, total=False):
|
|
677
|
-
StreamName:
|
|
678
|
-
CurrentShardCount:
|
|
679
|
-
TargetShardCount:
|
|
680
|
-
StreamARN:
|
|
732
|
+
StreamName: StreamName | None
|
|
733
|
+
CurrentShardCount: PositiveIntegerObject | None
|
|
734
|
+
TargetShardCount: PositiveIntegerObject | None
|
|
735
|
+
StreamARN: StreamARN | None
|
|
681
736
|
|
|
682
737
|
|
|
683
738
|
class UpdateStreamModeInput(ServiceRequest):
|
|
684
739
|
StreamARN: StreamARN
|
|
685
740
|
StreamModeDetails: StreamModeDetails
|
|
741
|
+
WarmThroughputMiBps: NaturalIntegerObject | None
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
class UpdateStreamWarmThroughputInput(ServiceRequest):
|
|
745
|
+
StreamARN: StreamARN | None
|
|
746
|
+
StreamName: StreamName | None
|
|
747
|
+
WarmThroughputMiBps: NaturalIntegerObject
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
class UpdateStreamWarmThroughputOutput(TypedDict, total=False):
|
|
751
|
+
StreamARN: StreamARN | None
|
|
752
|
+
StreamName: StreamName | None
|
|
753
|
+
WarmThroughput: WarmThroughputObject | None
|
|
686
754
|
|
|
687
755
|
|
|
688
756
|
class KinesisApi:
|
|
689
|
-
service = "kinesis"
|
|
690
|
-
version = "2013-12-02"
|
|
757
|
+
service: str = "kinesis"
|
|
758
|
+
version: str = "2013-12-02"
|
|
691
759
|
|
|
692
760
|
@handler("AddTagsToStream")
|
|
693
761
|
def add_tags_to_stream(
|
|
@@ -708,6 +776,8 @@ class KinesisApi:
|
|
|
708
776
|
shard_count: PositiveIntegerObject | None = None,
|
|
709
777
|
stream_mode_details: StreamModeDetails | None = None,
|
|
710
778
|
tags: TagMap | None = None,
|
|
779
|
+
warm_throughput_mi_bps: NaturalIntegerObject | None = None,
|
|
780
|
+
max_record_size_in_ki_b: MaxRecordSizeInKiB | None = None,
|
|
711
781
|
**kwargs,
|
|
712
782
|
) -> None:
|
|
713
783
|
raise NotImplementedError
|
|
@@ -751,6 +821,12 @@ class KinesisApi:
|
|
|
751
821
|
) -> None:
|
|
752
822
|
raise NotImplementedError
|
|
753
823
|
|
|
824
|
+
@handler("DescribeAccountSettings")
|
|
825
|
+
def describe_account_settings(
|
|
826
|
+
self, context: RequestContext, **kwargs
|
|
827
|
+
) -> DescribeAccountSettingsOutput:
|
|
828
|
+
raise NotImplementedError
|
|
829
|
+
|
|
754
830
|
@handler("DescribeLimits")
|
|
755
831
|
def describe_limits(self, context: RequestContext, **kwargs) -> DescribeLimitsOutput:
|
|
756
832
|
raise NotImplementedError
|
|
@@ -1032,6 +1108,25 @@ class KinesisApi:
|
|
|
1032
1108
|
) -> None:
|
|
1033
1109
|
raise NotImplementedError
|
|
1034
1110
|
|
|
1111
|
+
@handler("UpdateAccountSettings")
|
|
1112
|
+
def update_account_settings(
|
|
1113
|
+
self,
|
|
1114
|
+
context: RequestContext,
|
|
1115
|
+
minimum_throughput_billing_commitment: MinimumThroughputBillingCommitmentInput,
|
|
1116
|
+
**kwargs,
|
|
1117
|
+
) -> UpdateAccountSettingsOutput:
|
|
1118
|
+
raise NotImplementedError
|
|
1119
|
+
|
|
1120
|
+
@handler("UpdateMaxRecordSize")
|
|
1121
|
+
def update_max_record_size(
|
|
1122
|
+
self,
|
|
1123
|
+
context: RequestContext,
|
|
1124
|
+
max_record_size_in_ki_b: MaxRecordSizeInKiB,
|
|
1125
|
+
stream_arn: StreamARN | None = None,
|
|
1126
|
+
**kwargs,
|
|
1127
|
+
) -> None:
|
|
1128
|
+
raise NotImplementedError
|
|
1129
|
+
|
|
1035
1130
|
@handler("UpdateShardCount")
|
|
1036
1131
|
def update_shard_count(
|
|
1037
1132
|
self,
|
|
@@ -1050,6 +1145,18 @@ class KinesisApi:
|
|
|
1050
1145
|
context: RequestContext,
|
|
1051
1146
|
stream_arn: StreamARN,
|
|
1052
1147
|
stream_mode_details: StreamModeDetails,
|
|
1148
|
+
warm_throughput_mi_bps: NaturalIntegerObject | None = None,
|
|
1053
1149
|
**kwargs,
|
|
1054
1150
|
) -> None:
|
|
1055
1151
|
raise NotImplementedError
|
|
1152
|
+
|
|
1153
|
+
@handler("UpdateStreamWarmThroughput")
|
|
1154
|
+
def update_stream_warm_throughput(
|
|
1155
|
+
self,
|
|
1156
|
+
context: RequestContext,
|
|
1157
|
+
warm_throughput_mi_bps: NaturalIntegerObject,
|
|
1158
|
+
stream_arn: StreamARN | None = None,
|
|
1159
|
+
stream_name: StreamName | None = None,
|
|
1160
|
+
**kwargs,
|
|
1161
|
+
) -> UpdateStreamWarmThroughputOutput:
|
|
1162
|
+
raise NotImplementedError
|