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,6 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from enum import StrEnum
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import TypedDict
|
|
4
4
|
|
|
5
5
|
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
|
|
6
6
|
|
|
@@ -132,23 +132,23 @@ class ValidationException(ServiceException):
|
|
|
132
132
|
status_code: int = 400
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
Subnets =
|
|
136
|
-
SecurityGroups =
|
|
135
|
+
Subnets = list[Subnet]
|
|
136
|
+
SecurityGroups = list[SecurityGroup]
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
class AwsVpcConfiguration(TypedDict, total=False):
|
|
140
|
-
AssignPublicIp:
|
|
141
|
-
SecurityGroups:
|
|
140
|
+
AssignPublicIp: AssignPublicIp | None
|
|
141
|
+
SecurityGroups: SecurityGroups | None
|
|
142
142
|
Subnets: Subnets
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
class CapacityProviderStrategyItem(TypedDict, total=False):
|
|
146
|
-
base:
|
|
146
|
+
base: CapacityProviderStrategyItemBase | None
|
|
147
147
|
capacityProvider: CapacityProvider
|
|
148
|
-
weight:
|
|
148
|
+
weight: CapacityProviderStrategyItemWeight | None
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
CapacityProviderStrategy =
|
|
151
|
+
CapacityProviderStrategy = list[CapacityProviderStrategyItem]
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
class Tag(TypedDict, total=False):
|
|
@@ -156,13 +156,13 @@ class Tag(TypedDict, total=False):
|
|
|
156
156
|
Value: TagValue
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
TagList =
|
|
159
|
+
TagList = list[Tag]
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
class CreateScheduleGroupInput(ServiceRequest):
|
|
163
|
-
ClientToken:
|
|
163
|
+
ClientToken: ClientToken | None
|
|
164
164
|
Name: ScheduleGroupName
|
|
165
|
-
Tags:
|
|
165
|
+
Tags: TagList | None
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
class CreateScheduleGroupOutput(TypedDict, total=False):
|
|
@@ -170,7 +170,7 @@ class CreateScheduleGroupOutput(TypedDict, total=False):
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
class SqsParameters(TypedDict, total=False):
|
|
173
|
-
MessageGroupId:
|
|
173
|
+
MessageGroupId: MessageGroupId | None
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
class SageMakerPipelineParameter(TypedDict, total=False):
|
|
@@ -178,16 +178,16 @@ class SageMakerPipelineParameter(TypedDict, total=False):
|
|
|
178
178
|
Value: SageMakerPipelineParameterValue
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
SageMakerPipelineParameterList =
|
|
181
|
+
SageMakerPipelineParameterList = list[SageMakerPipelineParameter]
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
class SageMakerPipelineParameters(TypedDict, total=False):
|
|
185
|
-
PipelineParameterList:
|
|
185
|
+
PipelineParameterList: SageMakerPipelineParameterList | None
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
class RetryPolicy(TypedDict, total=False):
|
|
189
|
-
MaximumEventAgeInSeconds:
|
|
190
|
-
MaximumRetryAttempts:
|
|
189
|
+
MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
|
|
190
|
+
MaximumRetryAttempts: MaximumRetryAttempts | None
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
class KinesisParameters(TypedDict, total=False):
|
|
@@ -199,69 +199,69 @@ class EventBridgeParameters(TypedDict, total=False):
|
|
|
199
199
|
Source: Source
|
|
200
200
|
|
|
201
201
|
|
|
202
|
-
TagMap =
|
|
203
|
-
Tags =
|
|
202
|
+
TagMap = dict[TagKey, TagValue]
|
|
203
|
+
Tags = list[TagMap]
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
class PlacementStrategy(TypedDict, total=False):
|
|
207
|
-
field:
|
|
208
|
-
type:
|
|
207
|
+
field: PlacementStrategyField | None
|
|
208
|
+
type: PlacementStrategyType | None
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
PlacementStrategies =
|
|
211
|
+
PlacementStrategies = list[PlacementStrategy]
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
class PlacementConstraint(TypedDict, total=False):
|
|
215
|
-
expression:
|
|
216
|
-
type:
|
|
215
|
+
expression: PlacementConstraintExpression | None
|
|
216
|
+
type: PlacementConstraintType | None
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
PlacementConstraints =
|
|
219
|
+
PlacementConstraints = list[PlacementConstraint]
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
class NetworkConfiguration(TypedDict, total=False):
|
|
223
|
-
awsvpcConfiguration:
|
|
223
|
+
awsvpcConfiguration: AwsVpcConfiguration | None
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
class EcsParameters(TypedDict, total=False):
|
|
227
|
-
CapacityProviderStrategy:
|
|
228
|
-
EnableECSManagedTags:
|
|
229
|
-
EnableExecuteCommand:
|
|
230
|
-
Group:
|
|
231
|
-
LaunchType:
|
|
232
|
-
NetworkConfiguration:
|
|
233
|
-
PlacementConstraints:
|
|
234
|
-
PlacementStrategy:
|
|
235
|
-
PlatformVersion:
|
|
236
|
-
PropagateTags:
|
|
237
|
-
ReferenceId:
|
|
238
|
-
Tags:
|
|
239
|
-
TaskCount:
|
|
227
|
+
CapacityProviderStrategy: CapacityProviderStrategy | None
|
|
228
|
+
EnableECSManagedTags: EnableECSManagedTags | None
|
|
229
|
+
EnableExecuteCommand: EnableExecuteCommand | None
|
|
230
|
+
Group: Group | None
|
|
231
|
+
LaunchType: LaunchType | None
|
|
232
|
+
NetworkConfiguration: NetworkConfiguration | None
|
|
233
|
+
PlacementConstraints: PlacementConstraints | None
|
|
234
|
+
PlacementStrategy: PlacementStrategies | None
|
|
235
|
+
PlatformVersion: PlatformVersion | None
|
|
236
|
+
PropagateTags: PropagateTags | None
|
|
237
|
+
ReferenceId: ReferenceId | None
|
|
238
|
+
Tags: Tags | None
|
|
239
|
+
TaskCount: TaskCount | None
|
|
240
240
|
TaskDefinitionArn: TaskDefinitionArn
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
class DeadLetterConfig(TypedDict, total=False):
|
|
244
|
-
Arn:
|
|
244
|
+
Arn: DeadLetterConfigArnString | None
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
class Target(TypedDict, total=False):
|
|
248
248
|
Arn: TargetArn
|
|
249
|
-
DeadLetterConfig:
|
|
250
|
-
EcsParameters:
|
|
251
|
-
EventBridgeParameters:
|
|
252
|
-
Input:
|
|
253
|
-
KinesisParameters:
|
|
254
|
-
RetryPolicy:
|
|
249
|
+
DeadLetterConfig: DeadLetterConfig | None
|
|
250
|
+
EcsParameters: EcsParameters | None
|
|
251
|
+
EventBridgeParameters: EventBridgeParameters | None
|
|
252
|
+
Input: TargetInput | None
|
|
253
|
+
KinesisParameters: KinesisParameters | None
|
|
254
|
+
RetryPolicy: RetryPolicy | None
|
|
255
255
|
RoleArn: RoleArn
|
|
256
|
-
SageMakerPipelineParameters:
|
|
257
|
-
SqsParameters:
|
|
256
|
+
SageMakerPipelineParameters: SageMakerPipelineParameters | None
|
|
257
|
+
SqsParameters: SqsParameters | None
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
StartDate = datetime
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
class FlexibleTimeWindow(TypedDict, total=False):
|
|
264
|
-
MaximumWindowInMinutes:
|
|
264
|
+
MaximumWindowInMinutes: MaximumWindowInMinutes | None
|
|
265
265
|
Mode: FlexibleTimeWindowMode
|
|
266
266
|
|
|
267
267
|
|
|
@@ -269,18 +269,18 @@ EndDate = datetime
|
|
|
269
269
|
|
|
270
270
|
|
|
271
271
|
class CreateScheduleInput(ServiceRequest):
|
|
272
|
-
ActionAfterCompletion:
|
|
273
|
-
ClientToken:
|
|
274
|
-
Description:
|
|
275
|
-
EndDate:
|
|
272
|
+
ActionAfterCompletion: ActionAfterCompletion | None
|
|
273
|
+
ClientToken: ClientToken | None
|
|
274
|
+
Description: Description | None
|
|
275
|
+
EndDate: EndDate | None
|
|
276
276
|
FlexibleTimeWindow: FlexibleTimeWindow
|
|
277
|
-
GroupName:
|
|
278
|
-
KmsKeyArn:
|
|
277
|
+
GroupName: ScheduleGroupName | None
|
|
278
|
+
KmsKeyArn: KmsKeyArn | None
|
|
279
279
|
Name: Name
|
|
280
280
|
ScheduleExpression: ScheduleExpression
|
|
281
|
-
ScheduleExpressionTimezone:
|
|
282
|
-
StartDate:
|
|
283
|
-
State:
|
|
281
|
+
ScheduleExpressionTimezone: ScheduleExpressionTimezone | None
|
|
282
|
+
StartDate: StartDate | None
|
|
283
|
+
State: ScheduleState | None
|
|
284
284
|
Target: Target
|
|
285
285
|
|
|
286
286
|
|
|
@@ -292,7 +292,7 @@ CreationDate = datetime
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
class DeleteScheduleGroupInput(ServiceRequest):
|
|
295
|
-
ClientToken:
|
|
295
|
+
ClientToken: ClientToken | None
|
|
296
296
|
Name: ScheduleGroupName
|
|
297
297
|
|
|
298
298
|
|
|
@@ -301,8 +301,8 @@ class DeleteScheduleGroupOutput(TypedDict, total=False):
|
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
class DeleteScheduleInput(ServiceRequest):
|
|
304
|
-
ClientToken:
|
|
305
|
-
GroupName:
|
|
304
|
+
ClientToken: ClientToken | None
|
|
305
|
+
GroupName: ScheduleGroupName | None
|
|
306
306
|
Name: Name
|
|
307
307
|
|
|
308
308
|
|
|
@@ -318,64 +318,64 @@ LastModificationDate = datetime
|
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
class GetScheduleGroupOutput(TypedDict, total=False):
|
|
321
|
-
Arn:
|
|
322
|
-
CreationDate:
|
|
323
|
-
LastModificationDate:
|
|
324
|
-
Name:
|
|
325
|
-
State:
|
|
321
|
+
Arn: ScheduleGroupArn | None
|
|
322
|
+
CreationDate: CreationDate | None
|
|
323
|
+
LastModificationDate: LastModificationDate | None
|
|
324
|
+
Name: ScheduleGroupName | None
|
|
325
|
+
State: ScheduleGroupState | None
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
class GetScheduleInput(ServiceRequest):
|
|
329
|
-
GroupName:
|
|
329
|
+
GroupName: ScheduleGroupName | None
|
|
330
330
|
Name: Name
|
|
331
331
|
|
|
332
332
|
|
|
333
333
|
class GetScheduleOutput(TypedDict, total=False):
|
|
334
|
-
ActionAfterCompletion:
|
|
335
|
-
Arn:
|
|
336
|
-
CreationDate:
|
|
337
|
-
Description:
|
|
338
|
-
EndDate:
|
|
339
|
-
FlexibleTimeWindow:
|
|
340
|
-
GroupName:
|
|
341
|
-
KmsKeyArn:
|
|
342
|
-
LastModificationDate:
|
|
343
|
-
Name:
|
|
344
|
-
ScheduleExpression:
|
|
345
|
-
ScheduleExpressionTimezone:
|
|
346
|
-
StartDate:
|
|
347
|
-
State:
|
|
348
|
-
Target:
|
|
334
|
+
ActionAfterCompletion: ActionAfterCompletion | None
|
|
335
|
+
Arn: ScheduleArn | None
|
|
336
|
+
CreationDate: CreationDate | None
|
|
337
|
+
Description: Description | None
|
|
338
|
+
EndDate: EndDate | None
|
|
339
|
+
FlexibleTimeWindow: FlexibleTimeWindow | None
|
|
340
|
+
GroupName: ScheduleGroupName | None
|
|
341
|
+
KmsKeyArn: KmsKeyArn | None
|
|
342
|
+
LastModificationDate: LastModificationDate | None
|
|
343
|
+
Name: Name | None
|
|
344
|
+
ScheduleExpression: ScheduleExpression | None
|
|
345
|
+
ScheduleExpressionTimezone: ScheduleExpressionTimezone | None
|
|
346
|
+
StartDate: StartDate | None
|
|
347
|
+
State: ScheduleState | None
|
|
348
|
+
Target: Target | None
|
|
349
349
|
|
|
350
350
|
|
|
351
351
|
class ListScheduleGroupsInput(ServiceRequest):
|
|
352
|
-
MaxResults:
|
|
353
|
-
NamePrefix:
|
|
354
|
-
NextToken:
|
|
352
|
+
MaxResults: MaxResults | None
|
|
353
|
+
NamePrefix: ScheduleGroupNamePrefix | None
|
|
354
|
+
NextToken: NextToken | None
|
|
355
355
|
|
|
356
356
|
|
|
357
357
|
class ScheduleGroupSummary(TypedDict, total=False):
|
|
358
|
-
Arn:
|
|
359
|
-
CreationDate:
|
|
360
|
-
LastModificationDate:
|
|
361
|
-
Name:
|
|
362
|
-
State:
|
|
358
|
+
Arn: ScheduleGroupArn | None
|
|
359
|
+
CreationDate: CreationDate | None
|
|
360
|
+
LastModificationDate: LastModificationDate | None
|
|
361
|
+
Name: ScheduleGroupName | None
|
|
362
|
+
State: ScheduleGroupState | None
|
|
363
363
|
|
|
364
364
|
|
|
365
|
-
ScheduleGroupList =
|
|
365
|
+
ScheduleGroupList = list[ScheduleGroupSummary]
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
class ListScheduleGroupsOutput(TypedDict, total=False):
|
|
369
|
-
NextToken:
|
|
369
|
+
NextToken: NextToken | None
|
|
370
370
|
ScheduleGroups: ScheduleGroupList
|
|
371
371
|
|
|
372
372
|
|
|
373
373
|
class ListSchedulesInput(ServiceRequest):
|
|
374
|
-
GroupName:
|
|
375
|
-
MaxResults:
|
|
376
|
-
NamePrefix:
|
|
377
|
-
NextToken:
|
|
378
|
-
State:
|
|
374
|
+
GroupName: ScheduleGroupName | None
|
|
375
|
+
MaxResults: MaxResults | None
|
|
376
|
+
NamePrefix: NamePrefix | None
|
|
377
|
+
NextToken: NextToken | None
|
|
378
|
+
State: ScheduleState | None
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
class TargetSummary(TypedDict, total=False):
|
|
@@ -383,20 +383,20 @@ class TargetSummary(TypedDict, total=False):
|
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
class ScheduleSummary(TypedDict, total=False):
|
|
386
|
-
Arn:
|
|
387
|
-
CreationDate:
|
|
388
|
-
GroupName:
|
|
389
|
-
LastModificationDate:
|
|
390
|
-
Name:
|
|
391
|
-
State:
|
|
392
|
-
Target:
|
|
386
|
+
Arn: ScheduleArn | None
|
|
387
|
+
CreationDate: CreationDate | None
|
|
388
|
+
GroupName: ScheduleGroupName | None
|
|
389
|
+
LastModificationDate: LastModificationDate | None
|
|
390
|
+
Name: Name | None
|
|
391
|
+
State: ScheduleState | None
|
|
392
|
+
Target: TargetSummary | None
|
|
393
393
|
|
|
394
394
|
|
|
395
|
-
ScheduleList =
|
|
395
|
+
ScheduleList = list[ScheduleSummary]
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
class ListSchedulesOutput(TypedDict, total=False):
|
|
399
|
-
NextToken:
|
|
399
|
+
NextToken: NextToken | None
|
|
400
400
|
Schedules: ScheduleList
|
|
401
401
|
|
|
402
402
|
|
|
@@ -405,10 +405,10 @@ class ListTagsForResourceInput(ServiceRequest):
|
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
class ListTagsForResourceOutput(TypedDict, total=False):
|
|
408
|
-
Tags:
|
|
408
|
+
Tags: TagList | None
|
|
409
409
|
|
|
410
410
|
|
|
411
|
-
TagKeyList =
|
|
411
|
+
TagKeyList = list[TagKey]
|
|
412
412
|
|
|
413
413
|
|
|
414
414
|
class TagResourceInput(ServiceRequest):
|
|
@@ -430,18 +430,18 @@ class UntagResourceOutput(TypedDict, total=False):
|
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
class UpdateScheduleInput(ServiceRequest):
|
|
433
|
-
ActionAfterCompletion:
|
|
434
|
-
ClientToken:
|
|
435
|
-
Description:
|
|
436
|
-
EndDate:
|
|
433
|
+
ActionAfterCompletion: ActionAfterCompletion | None
|
|
434
|
+
ClientToken: ClientToken | None
|
|
435
|
+
Description: Description | None
|
|
436
|
+
EndDate: EndDate | None
|
|
437
437
|
FlexibleTimeWindow: FlexibleTimeWindow
|
|
438
|
-
GroupName:
|
|
439
|
-
KmsKeyArn:
|
|
438
|
+
GroupName: ScheduleGroupName | None
|
|
439
|
+
KmsKeyArn: KmsKeyArn | None
|
|
440
440
|
Name: Name
|
|
441
441
|
ScheduleExpression: ScheduleExpression
|
|
442
|
-
ScheduleExpressionTimezone:
|
|
443
|
-
StartDate:
|
|
444
|
-
State:
|
|
442
|
+
ScheduleExpressionTimezone: ScheduleExpressionTimezone | None
|
|
443
|
+
StartDate: StartDate | None
|
|
444
|
+
State: ScheduleState | None
|
|
445
445
|
Target: Target
|
|
446
446
|
|
|
447
447
|
|
|
@@ -450,8 +450,8 @@ class UpdateScheduleOutput(TypedDict, total=False):
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
class SchedulerApi:
|
|
453
|
-
service = "scheduler"
|
|
454
|
-
version = "2021-06-30"
|
|
453
|
+
service: str = "scheduler"
|
|
454
|
+
version: str = "2021-06-30"
|
|
455
455
|
|
|
456
456
|
@handler("CreateSchedule")
|
|
457
457
|
def create_schedule(
|