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
|
|
|
@@ -149,36 +149,36 @@ class UnauthorizedException(ServiceException):
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
class AccountSettings(TypedDict, total=False):
|
|
152
|
-
GroupLifecycleEventsDesiredStatus:
|
|
153
|
-
GroupLifecycleEventsStatus:
|
|
154
|
-
GroupLifecycleEventsStatusMessage:
|
|
152
|
+
GroupLifecycleEventsDesiredStatus: GroupLifecycleEventsDesiredStatus | None
|
|
153
|
+
GroupLifecycleEventsStatus: GroupLifecycleEventsStatus | None
|
|
154
|
+
GroupLifecycleEventsStatusMessage: GroupLifecycleEventsStatusMessage | None
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
ApplicationTag =
|
|
157
|
+
ApplicationTag = dict[ApplicationTagKey, ApplicationArn]
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
class CancelTagSyncTaskInput(ServiceRequest):
|
|
161
161
|
TaskArn: TagSyncTaskArn
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
GroupConfigurationParameterValueList =
|
|
164
|
+
GroupConfigurationParameterValueList = list[GroupConfigurationParameterValue]
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
class GroupConfigurationParameter(TypedDict, total=False):
|
|
168
168
|
Name: GroupConfigurationParameterName
|
|
169
|
-
Values:
|
|
169
|
+
Values: GroupConfigurationParameterValueList | None
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
GroupParameterList =
|
|
172
|
+
GroupParameterList = list[GroupConfigurationParameter]
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
class GroupConfigurationItem(TypedDict, total=False):
|
|
176
176
|
Type: GroupConfigurationType
|
|
177
|
-
Parameters:
|
|
177
|
+
Parameters: GroupParameterList | None
|
|
178
178
|
|
|
179
179
|
|
|
180
|
-
GroupConfigurationList =
|
|
181
|
-
Tags =
|
|
180
|
+
GroupConfigurationList = list[GroupConfigurationItem]
|
|
181
|
+
Tags = dict[TagKey, TagValue]
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
class ResourceQuery(TypedDict, total=False):
|
|
@@ -188,81 +188,81 @@ class ResourceQuery(TypedDict, total=False):
|
|
|
188
188
|
|
|
189
189
|
class CreateGroupInput(ServiceRequest):
|
|
190
190
|
Name: CreateGroupName
|
|
191
|
-
Description:
|
|
192
|
-
ResourceQuery:
|
|
193
|
-
Tags:
|
|
194
|
-
Configuration:
|
|
195
|
-
Criticality:
|
|
196
|
-
Owner:
|
|
197
|
-
DisplayName:
|
|
191
|
+
Description: Description | None
|
|
192
|
+
ResourceQuery: ResourceQuery | None
|
|
193
|
+
Tags: Tags | None
|
|
194
|
+
Configuration: GroupConfigurationList | None
|
|
195
|
+
Criticality: Criticality | None
|
|
196
|
+
Owner: Owner | None
|
|
197
|
+
DisplayName: DisplayName | None
|
|
198
198
|
|
|
199
199
|
|
|
200
200
|
class GroupConfiguration(TypedDict, total=False):
|
|
201
|
-
Configuration:
|
|
202
|
-
ProposedConfiguration:
|
|
203
|
-
Status:
|
|
204
|
-
FailureReason:
|
|
201
|
+
Configuration: GroupConfigurationList | None
|
|
202
|
+
ProposedConfiguration: GroupConfigurationList | None
|
|
203
|
+
Status: GroupConfigurationStatus | None
|
|
204
|
+
FailureReason: GroupConfigurationFailureReason | None
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
class Group(TypedDict, total=False):
|
|
208
208
|
GroupArn: GroupArnV2
|
|
209
209
|
Name: GroupName
|
|
210
|
-
Description:
|
|
211
|
-
Criticality:
|
|
212
|
-
Owner:
|
|
213
|
-
DisplayName:
|
|
214
|
-
ApplicationTag:
|
|
210
|
+
Description: Description | None
|
|
211
|
+
Criticality: Criticality | None
|
|
212
|
+
Owner: Owner | None
|
|
213
|
+
DisplayName: DisplayName | None
|
|
214
|
+
ApplicationTag: ApplicationTag | None
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
class CreateGroupOutput(TypedDict, total=False):
|
|
218
|
-
Group:
|
|
219
|
-
ResourceQuery:
|
|
220
|
-
Tags:
|
|
221
|
-
GroupConfiguration:
|
|
218
|
+
Group: Group | None
|
|
219
|
+
ResourceQuery: ResourceQuery | None
|
|
220
|
+
Tags: Tags | None
|
|
221
|
+
GroupConfiguration: GroupConfiguration | None
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
class DeleteGroupInput(ServiceRequest):
|
|
225
|
-
GroupName:
|
|
226
|
-
Group:
|
|
225
|
+
GroupName: GroupName | None
|
|
226
|
+
Group: GroupStringV2 | None
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
class DeleteGroupOutput(TypedDict, total=False):
|
|
230
|
-
Group:
|
|
230
|
+
Group: Group | None
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
class FailedResource(TypedDict, total=False):
|
|
234
|
-
ResourceArn:
|
|
235
|
-
ErrorMessage:
|
|
236
|
-
ErrorCode:
|
|
234
|
+
ResourceArn: ResourceArn | None
|
|
235
|
+
ErrorMessage: ErrorMessage | None
|
|
236
|
+
ErrorCode: ErrorCode | None
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
FailedResourceList =
|
|
239
|
+
FailedResourceList = list[FailedResource]
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
class GetAccountSettingsOutput(TypedDict, total=False):
|
|
243
|
-
AccountSettings:
|
|
243
|
+
AccountSettings: AccountSettings | None
|
|
244
244
|
|
|
245
245
|
|
|
246
246
|
class GetGroupConfigurationInput(ServiceRequest):
|
|
247
|
-
Group:
|
|
247
|
+
Group: GroupString | None
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
class GetGroupConfigurationOutput(TypedDict, total=False):
|
|
251
|
-
GroupConfiguration:
|
|
251
|
+
GroupConfiguration: GroupConfiguration | None
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
class GetGroupInput(ServiceRequest):
|
|
255
|
-
GroupName:
|
|
256
|
-
Group:
|
|
255
|
+
GroupName: GroupName | None
|
|
256
|
+
Group: GroupStringV2 | None
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
class GetGroupOutput(TypedDict, total=False):
|
|
260
|
-
Group:
|
|
260
|
+
Group: Group | None
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
class GetGroupQueryInput(ServiceRequest):
|
|
264
|
-
GroupName:
|
|
265
|
-
Group:
|
|
264
|
+
GroupName: GroupName | None
|
|
265
|
+
Group: GroupString | None
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
class GroupQuery(TypedDict, total=False):
|
|
@@ -271,7 +271,7 @@ class GroupQuery(TypedDict, total=False):
|
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
class GetGroupQueryOutput(TypedDict, total=False):
|
|
274
|
-
GroupQuery:
|
|
274
|
+
GroupQuery: GroupQuery | None
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
class GetTagSyncTaskInput(ServiceRequest):
|
|
@@ -282,16 +282,16 @@ timestamp = datetime
|
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
class GetTagSyncTaskOutput(TypedDict, total=False):
|
|
285
|
-
GroupArn:
|
|
286
|
-
GroupName:
|
|
287
|
-
TaskArn:
|
|
288
|
-
TagKey:
|
|
289
|
-
TagValue:
|
|
290
|
-
ResourceQuery:
|
|
291
|
-
RoleArn:
|
|
292
|
-
Status:
|
|
293
|
-
ErrorMessage:
|
|
294
|
-
CreatedAt:
|
|
285
|
+
GroupArn: GroupArnV2 | None
|
|
286
|
+
GroupName: GroupName | None
|
|
287
|
+
TaskArn: TagSyncTaskArn | None
|
|
288
|
+
TagKey: TagKey | None
|
|
289
|
+
TagValue: TagValue | None
|
|
290
|
+
ResourceQuery: ResourceQuery | None
|
|
291
|
+
RoleArn: RoleArn | None
|
|
292
|
+
Status: TagSyncTaskStatus | None
|
|
293
|
+
ErrorMessage: ErrorMessage | None
|
|
294
|
+
CreatedAt: timestamp | None
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
class GetTagsInput(ServiceRequest):
|
|
@@ -299,11 +299,11 @@ class GetTagsInput(ServiceRequest):
|
|
|
299
299
|
|
|
300
300
|
|
|
301
301
|
class GetTagsOutput(TypedDict, total=False):
|
|
302
|
-
Arn:
|
|
303
|
-
Tags:
|
|
302
|
+
Arn: GroupArnV2 | None
|
|
303
|
+
Tags: Tags | None
|
|
304
304
|
|
|
305
305
|
|
|
306
|
-
GroupFilterValues =
|
|
306
|
+
GroupFilterValues = list[GroupFilterValue]
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
class GroupFilter(TypedDict, total=False):
|
|
@@ -311,21 +311,21 @@ class GroupFilter(TypedDict, total=False):
|
|
|
311
311
|
Values: GroupFilterValues
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
GroupFilterList =
|
|
314
|
+
GroupFilterList = list[GroupFilter]
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
class GroupIdentifier(TypedDict, total=False):
|
|
318
|
-
GroupName:
|
|
319
|
-
GroupArn:
|
|
320
|
-
Description:
|
|
321
|
-
Criticality:
|
|
322
|
-
Owner:
|
|
323
|
-
DisplayName:
|
|
318
|
+
GroupName: GroupName | None
|
|
319
|
+
GroupArn: GroupArn | None
|
|
320
|
+
Description: Description | None
|
|
321
|
+
Criticality: Criticality | None
|
|
322
|
+
Owner: Owner | None
|
|
323
|
+
DisplayName: DisplayName | None
|
|
324
324
|
|
|
325
325
|
|
|
326
|
-
GroupIdentifierList =
|
|
327
|
-
GroupList =
|
|
328
|
-
ResourceArnList =
|
|
326
|
+
GroupIdentifierList = list[GroupIdentifier]
|
|
327
|
+
GroupList = list[Group]
|
|
328
|
+
ResourceArnList = list[ResourceArn]
|
|
329
329
|
|
|
330
330
|
|
|
331
331
|
class GroupResourcesInput(ServiceRequest):
|
|
@@ -334,29 +334,29 @@ class GroupResourcesInput(ServiceRequest):
|
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
class PendingResource(TypedDict, total=False):
|
|
337
|
-
ResourceArn:
|
|
337
|
+
ResourceArn: ResourceArn | None
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
PendingResourceList =
|
|
340
|
+
PendingResourceList = list[PendingResource]
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
class GroupResourcesOutput(TypedDict, total=False):
|
|
344
|
-
Succeeded:
|
|
345
|
-
Failed:
|
|
346
|
-
Pending:
|
|
344
|
+
Succeeded: ResourceArnList | None
|
|
345
|
+
Failed: FailedResourceList | None
|
|
346
|
+
Pending: PendingResourceList | None
|
|
347
347
|
|
|
348
348
|
|
|
349
349
|
class GroupingStatusesItem(TypedDict, total=False):
|
|
350
|
-
ResourceArn:
|
|
351
|
-
Action:
|
|
352
|
-
Status:
|
|
353
|
-
ErrorMessage:
|
|
354
|
-
ErrorCode:
|
|
355
|
-
UpdatedAt:
|
|
350
|
+
ResourceArn: ResourceArn | None
|
|
351
|
+
Action: GroupingType | None
|
|
352
|
+
Status: GroupingStatus | None
|
|
353
|
+
ErrorMessage: ErrorMessage | None
|
|
354
|
+
ErrorCode: ErrorCode | None
|
|
355
|
+
UpdatedAt: timestamp | None
|
|
356
356
|
|
|
357
357
|
|
|
358
|
-
GroupingStatusesList =
|
|
359
|
-
ResourceFilterValues =
|
|
358
|
+
GroupingStatusesList = list[GroupingStatusesItem]
|
|
359
|
+
ResourceFilterValues = list[ResourceFilterValue]
|
|
360
360
|
|
|
361
361
|
|
|
362
362
|
class ResourceFilter(TypedDict, total=False):
|
|
@@ -364,51 +364,51 @@ class ResourceFilter(TypedDict, total=False):
|
|
|
364
364
|
Values: ResourceFilterValues
|
|
365
365
|
|
|
366
366
|
|
|
367
|
-
ResourceFilterList =
|
|
367
|
+
ResourceFilterList = list[ResourceFilter]
|
|
368
368
|
|
|
369
369
|
|
|
370
370
|
class ListGroupResourcesInput(ServiceRequest):
|
|
371
|
-
GroupName:
|
|
372
|
-
Group:
|
|
373
|
-
Filters:
|
|
374
|
-
MaxResults:
|
|
375
|
-
NextToken:
|
|
371
|
+
GroupName: GroupName | None
|
|
372
|
+
Group: GroupStringV2 | None
|
|
373
|
+
Filters: ResourceFilterList | None
|
|
374
|
+
MaxResults: MaxResults | None
|
|
375
|
+
NextToken: NextToken | None
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
class ResourceStatus(TypedDict, total=False):
|
|
379
|
-
Name:
|
|
379
|
+
Name: ResourceStatusValue | None
|
|
380
380
|
|
|
381
381
|
|
|
382
382
|
class ResourceIdentifier(TypedDict, total=False):
|
|
383
|
-
ResourceArn:
|
|
384
|
-
ResourceType:
|
|
383
|
+
ResourceArn: ResourceArn | None
|
|
384
|
+
ResourceType: ResourceType | None
|
|
385
385
|
|
|
386
386
|
|
|
387
387
|
class ListGroupResourcesItem(TypedDict, total=False):
|
|
388
|
-
Identifier:
|
|
389
|
-
Status:
|
|
388
|
+
Identifier: ResourceIdentifier | None
|
|
389
|
+
Status: ResourceStatus | None
|
|
390
390
|
|
|
391
391
|
|
|
392
|
-
ListGroupResourcesItemList =
|
|
392
|
+
ListGroupResourcesItemList = list[ListGroupResourcesItem]
|
|
393
393
|
|
|
394
394
|
|
|
395
395
|
class QueryError(TypedDict, total=False):
|
|
396
|
-
ErrorCode:
|
|
397
|
-
Message:
|
|
396
|
+
ErrorCode: QueryErrorCode | None
|
|
397
|
+
Message: QueryErrorMessage | None
|
|
398
398
|
|
|
399
399
|
|
|
400
|
-
QueryErrorList =
|
|
401
|
-
ResourceIdentifierList =
|
|
400
|
+
QueryErrorList = list[QueryError]
|
|
401
|
+
ResourceIdentifierList = list[ResourceIdentifier]
|
|
402
402
|
|
|
403
403
|
|
|
404
404
|
class ListGroupResourcesOutput(TypedDict, total=False):
|
|
405
|
-
Resources:
|
|
406
|
-
ResourceIdentifiers:
|
|
407
|
-
NextToken:
|
|
408
|
-
QueryErrors:
|
|
405
|
+
Resources: ListGroupResourcesItemList | None
|
|
406
|
+
ResourceIdentifiers: ResourceIdentifierList | None
|
|
407
|
+
NextToken: NextToken | None
|
|
408
|
+
QueryErrors: QueryErrorList | None
|
|
409
409
|
|
|
410
410
|
|
|
411
|
-
ListGroupingStatusesFilterValues =
|
|
411
|
+
ListGroupingStatusesFilterValues = list[ListGroupingStatusesFilterValue]
|
|
412
412
|
|
|
413
413
|
|
|
414
414
|
class ListGroupingStatusesFilter(TypedDict, total=False):
|
|
@@ -416,72 +416,72 @@ class ListGroupingStatusesFilter(TypedDict, total=False):
|
|
|
416
416
|
Values: ListGroupingStatusesFilterValues
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
ListGroupingStatusesFilterList =
|
|
419
|
+
ListGroupingStatusesFilterList = list[ListGroupingStatusesFilter]
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
class ListGroupingStatusesInput(ServiceRequest):
|
|
423
423
|
Group: GroupStringV2
|
|
424
|
-
MaxResults:
|
|
425
|
-
Filters:
|
|
426
|
-
NextToken:
|
|
424
|
+
MaxResults: MaxResults | None
|
|
425
|
+
Filters: ListGroupingStatusesFilterList | None
|
|
426
|
+
NextToken: NextToken | None
|
|
427
427
|
|
|
428
428
|
|
|
429
429
|
class ListGroupingStatusesOutput(TypedDict, total=False):
|
|
430
|
-
Group:
|
|
431
|
-
GroupingStatuses:
|
|
432
|
-
NextToken:
|
|
430
|
+
Group: GroupStringV2 | None
|
|
431
|
+
GroupingStatuses: GroupingStatusesList | None
|
|
432
|
+
NextToken: NextToken | None
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
class ListGroupsInput(ServiceRequest):
|
|
436
|
-
Filters:
|
|
437
|
-
MaxResults:
|
|
438
|
-
NextToken:
|
|
436
|
+
Filters: GroupFilterList | None
|
|
437
|
+
MaxResults: MaxResults | None
|
|
438
|
+
NextToken: NextToken | None
|
|
439
439
|
|
|
440
440
|
|
|
441
441
|
class ListGroupsOutput(TypedDict, total=False):
|
|
442
|
-
GroupIdentifiers:
|
|
443
|
-
Groups:
|
|
444
|
-
NextToken:
|
|
442
|
+
GroupIdentifiers: GroupIdentifierList | None
|
|
443
|
+
Groups: GroupList | None
|
|
444
|
+
NextToken: NextToken | None
|
|
445
445
|
|
|
446
446
|
|
|
447
447
|
class ListTagSyncTasksFilter(TypedDict, total=False):
|
|
448
|
-
GroupArn:
|
|
449
|
-
GroupName:
|
|
448
|
+
GroupArn: GroupArnV2 | None
|
|
449
|
+
GroupName: GroupName | None
|
|
450
450
|
|
|
451
451
|
|
|
452
|
-
ListTagSyncTasksFilterList =
|
|
452
|
+
ListTagSyncTasksFilterList = list[ListTagSyncTasksFilter]
|
|
453
453
|
|
|
454
454
|
|
|
455
455
|
class ListTagSyncTasksInput(ServiceRequest):
|
|
456
|
-
Filters:
|
|
457
|
-
MaxResults:
|
|
458
|
-
NextToken:
|
|
456
|
+
Filters: ListTagSyncTasksFilterList | None
|
|
457
|
+
MaxResults: MaxResults | None
|
|
458
|
+
NextToken: NextToken | None
|
|
459
459
|
|
|
460
460
|
|
|
461
461
|
class TagSyncTaskItem(TypedDict, total=False):
|
|
462
|
-
GroupArn:
|
|
463
|
-
GroupName:
|
|
464
|
-
TaskArn:
|
|
465
|
-
TagKey:
|
|
466
|
-
TagValue:
|
|
467
|
-
ResourceQuery:
|
|
468
|
-
RoleArn:
|
|
469
|
-
Status:
|
|
470
|
-
ErrorMessage:
|
|
471
|
-
CreatedAt:
|
|
462
|
+
GroupArn: GroupArnV2 | None
|
|
463
|
+
GroupName: GroupName | None
|
|
464
|
+
TaskArn: TagSyncTaskArn | None
|
|
465
|
+
TagKey: TagKey | None
|
|
466
|
+
TagValue: TagValue | None
|
|
467
|
+
ResourceQuery: ResourceQuery | None
|
|
468
|
+
RoleArn: RoleArn | None
|
|
469
|
+
Status: TagSyncTaskStatus | None
|
|
470
|
+
ErrorMessage: ErrorMessage | None
|
|
471
|
+
CreatedAt: timestamp | None
|
|
472
472
|
|
|
473
473
|
|
|
474
|
-
TagSyncTaskList =
|
|
474
|
+
TagSyncTaskList = list[TagSyncTaskItem]
|
|
475
475
|
|
|
476
476
|
|
|
477
477
|
class ListTagSyncTasksOutput(TypedDict, total=False):
|
|
478
|
-
TagSyncTasks:
|
|
479
|
-
NextToken:
|
|
478
|
+
TagSyncTasks: TagSyncTaskList | None
|
|
479
|
+
NextToken: NextToken | None
|
|
480
480
|
|
|
481
481
|
|
|
482
482
|
class PutGroupConfigurationInput(ServiceRequest):
|
|
483
|
-
Group:
|
|
484
|
-
Configuration:
|
|
483
|
+
Group: GroupString | None
|
|
484
|
+
Configuration: GroupConfigurationList | None
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
class PutGroupConfigurationOutput(TypedDict, total=False):
|
|
@@ -490,32 +490,32 @@ class PutGroupConfigurationOutput(TypedDict, total=False):
|
|
|
490
490
|
|
|
491
491
|
class SearchResourcesInput(ServiceRequest):
|
|
492
492
|
ResourceQuery: ResourceQuery
|
|
493
|
-
MaxResults:
|
|
494
|
-
NextToken:
|
|
493
|
+
MaxResults: MaxResults | None
|
|
494
|
+
NextToken: NextToken | None
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
class SearchResourcesOutput(TypedDict, total=False):
|
|
498
|
-
ResourceIdentifiers:
|
|
499
|
-
NextToken:
|
|
500
|
-
QueryErrors:
|
|
498
|
+
ResourceIdentifiers: ResourceIdentifierList | None
|
|
499
|
+
NextToken: NextToken | None
|
|
500
|
+
QueryErrors: QueryErrorList | None
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
class StartTagSyncTaskInput(ServiceRequest):
|
|
504
504
|
Group: GroupStringV2
|
|
505
|
-
TagKey:
|
|
506
|
-
TagValue:
|
|
507
|
-
ResourceQuery:
|
|
505
|
+
TagKey: TagKey | None
|
|
506
|
+
TagValue: TagValue | None
|
|
507
|
+
ResourceQuery: ResourceQuery | None
|
|
508
508
|
RoleArn: RoleArn
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
class StartTagSyncTaskOutput(TypedDict, total=False):
|
|
512
|
-
GroupArn:
|
|
513
|
-
GroupName:
|
|
514
|
-
TaskArn:
|
|
515
|
-
TagKey:
|
|
516
|
-
TagValue:
|
|
517
|
-
ResourceQuery:
|
|
518
|
-
RoleArn:
|
|
512
|
+
GroupArn: GroupArnV2 | None
|
|
513
|
+
GroupName: GroupName | None
|
|
514
|
+
TaskArn: TagSyncTaskArn | None
|
|
515
|
+
TagKey: TagKey | None
|
|
516
|
+
TagValue: TagValue | None
|
|
517
|
+
ResourceQuery: ResourceQuery | None
|
|
518
|
+
RoleArn: RoleArn | None
|
|
519
519
|
|
|
520
520
|
|
|
521
521
|
class TagInput(ServiceRequest):
|
|
@@ -523,12 +523,12 @@ class TagInput(ServiceRequest):
|
|
|
523
523
|
Tags: Tags
|
|
524
524
|
|
|
525
525
|
|
|
526
|
-
TagKeyList =
|
|
526
|
+
TagKeyList = list[TagKey]
|
|
527
527
|
|
|
528
528
|
|
|
529
529
|
class TagOutput(TypedDict, total=False):
|
|
530
|
-
Arn:
|
|
531
|
-
Tags:
|
|
530
|
+
Arn: GroupArnV2 | None
|
|
531
|
+
Tags: Tags | None
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
class UngroupResourcesInput(ServiceRequest):
|
|
@@ -537,9 +537,9 @@ class UngroupResourcesInput(ServiceRequest):
|
|
|
537
537
|
|
|
538
538
|
|
|
539
539
|
class UngroupResourcesOutput(TypedDict, total=False):
|
|
540
|
-
Succeeded:
|
|
541
|
-
Failed:
|
|
542
|
-
Pending:
|
|
540
|
+
Succeeded: ResourceArnList | None
|
|
541
|
+
Failed: FailedResourceList | None
|
|
542
|
+
Pending: PendingResourceList | None
|
|
543
543
|
|
|
544
544
|
|
|
545
545
|
class UntagInput(ServiceRequest):
|
|
@@ -548,44 +548,44 @@ class UntagInput(ServiceRequest):
|
|
|
548
548
|
|
|
549
549
|
|
|
550
550
|
class UntagOutput(TypedDict, total=False):
|
|
551
|
-
Arn:
|
|
552
|
-
Keys:
|
|
551
|
+
Arn: GroupArnV2 | None
|
|
552
|
+
Keys: TagKeyList | None
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
class UpdateAccountSettingsInput(ServiceRequest):
|
|
556
|
-
GroupLifecycleEventsDesiredStatus:
|
|
556
|
+
GroupLifecycleEventsDesiredStatus: GroupLifecycleEventsDesiredStatus | None
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
class UpdateAccountSettingsOutput(TypedDict, total=False):
|
|
560
|
-
AccountSettings:
|
|
560
|
+
AccountSettings: AccountSettings | None
|
|
561
561
|
|
|
562
562
|
|
|
563
563
|
class UpdateGroupInput(ServiceRequest):
|
|
564
|
-
GroupName:
|
|
565
|
-
Group:
|
|
566
|
-
Description:
|
|
567
|
-
Criticality:
|
|
568
|
-
Owner:
|
|
569
|
-
DisplayName:
|
|
564
|
+
GroupName: GroupName | None
|
|
565
|
+
Group: GroupStringV2 | None
|
|
566
|
+
Description: Description | None
|
|
567
|
+
Criticality: Criticality | None
|
|
568
|
+
Owner: Owner | None
|
|
569
|
+
DisplayName: DisplayName | None
|
|
570
570
|
|
|
571
571
|
|
|
572
572
|
class UpdateGroupOutput(TypedDict, total=False):
|
|
573
|
-
Group:
|
|
573
|
+
Group: Group | None
|
|
574
574
|
|
|
575
575
|
|
|
576
576
|
class UpdateGroupQueryInput(ServiceRequest):
|
|
577
|
-
GroupName:
|
|
578
|
-
Group:
|
|
577
|
+
GroupName: GroupName | None
|
|
578
|
+
Group: GroupString | None
|
|
579
579
|
ResourceQuery: ResourceQuery
|
|
580
580
|
|
|
581
581
|
|
|
582
582
|
class UpdateGroupQueryOutput(TypedDict, total=False):
|
|
583
|
-
GroupQuery:
|
|
583
|
+
GroupQuery: GroupQuery | None
|
|
584
584
|
|
|
585
585
|
|
|
586
586
|
class ResourceGroupsApi:
|
|
587
|
-
service = "resource-groups"
|
|
588
|
-
version = "2017-11-27"
|
|
587
|
+
service: str = "resource-groups"
|
|
588
|
+
version: str = "2017-11-27"
|
|
589
589
|
|
|
590
590
|
@handler("CancelTagSyncTask")
|
|
591
591
|
def cancel_tag_sync_task(
|