aws-sdk-ecs 1.110.0 → 1.111.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '099a61e6b90333ac05b74ade4af404d2af9ddfeafdeb4c61920dd3bbc776a553'
4
- data.tar.gz: 6d587065c7c63a201f17be4323cfaaa41c94b4c8a4cf45ed8cf8c56ba28881e6
3
+ metadata.gz: bcbc44501a831857c337390d2169af60bb54b6acecc4ac0b3d2fba1816fe78b1
4
+ data.tar.gz: a3c80653f46ef67d82617ce94ed54586cd011d64d514aaf64a7de32d87d9d867
5
5
  SHA512:
6
- metadata.gz: c783fd58a23fdccd6da398dbf30af9a78c8302784a3bf15af363ec7c26e380d375fe8c6fe33eae582a047ad7789aee118d21b6ff80c9537fee7f2e1ea66712fe
7
- data.tar.gz: 785c6a884f7984b50eb7cb9d876e29f6c47d4ea3669b1d16ee62eb7022828a25067c8083f512c0b6a922f5d0f93b405c2adcd81758428397d690403d6866f500
6
+ metadata.gz: 1c365f23a7b7e1ae78a34e96ee0bee017f65ed6e09c72ce0a539f34fed26eca02cc96376f6b09dbad317c7741b37731ec2df32af5509f24d8de70548aaef3de3
7
+ data.tar.gz: 6c227527f1635c4076135c4af22cbaf0c0169d17b7f751d64e541d3f763045ccdcf60b57692b68898904189a0aeb7234333b20e70f3f4dc83be020af31ccd64a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2023-02-23)
5
+ ------------------
6
+
7
+ * Feature - This release supports deleting Amazon ECS task definitions that are in the INACTIVE state.
8
+
4
9
  1.110.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.111.0
@@ -488,7 +488,7 @@ module Aws::ECS
488
488
  # <note markdown="1"> When you call the CreateCluster API operation, Amazon ECS attempts to
489
489
  # create the Amazon ECS service-linked role for your account. This is so
490
490
  # that it can manage required resources in other Amazon Web Services
491
- # services on your behalf. However, if the IAM user that makes the call
491
+ # services on your behalf. However, if the user that makes the call
492
492
  # doesn't have permissions to create the service-linked role, it isn't
493
493
  # created. For more information, see [Using service-linked roles for
494
494
  # Amazon ECS][1] in the *Amazon Elastic Container Service Developer
@@ -550,33 +550,45 @@ module Aws::ECS
550
550
  # cluster. A capacity provider must be associated with a cluster before
551
551
  # it can be included as part of the default capacity provider strategy
552
552
  # of the cluster or used in a capacity provider strategy when calling
553
- # the CreateService or RunTask actions.
553
+ # the [CreateService][1] or [RunTask][2] actions.
554
554
  #
555
555
  # If specifying a capacity provider that uses an Auto Scaling group, the
556
556
  # capacity provider must be created but not associated with another
557
557
  # cluster. New Auto Scaling group capacity providers can be created with
558
- # the CreateCapacityProvider API operation.
558
+ # the [CreateCapacityProvider][3] API operation.
559
559
  #
560
560
  # To use a Fargate capacity provider, specify either the `FARGATE` or
561
561
  # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
562
562
  # available to all accounts and only need to be associated with a
563
563
  # cluster to be used.
564
564
  #
565
- # The PutClusterCapacityProviders API operation is used to update the
566
- # list of available capacity providers for a cluster after the cluster
567
- # is created.
565
+ # The [PutCapacityProvider][4] API operation is used to update the list
566
+ # of available capacity providers for a cluster after the cluster is
567
+ # created.
568
+ #
569
+ #
570
+ #
571
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html
572
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
573
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html
574
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html
568
575
  #
569
576
  # @option params [Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
570
577
  # The capacity provider strategy to set as the default for the cluster.
571
578
  # After a default capacity provider strategy is set for a cluster, when
572
- # you call the RunTask or CreateService APIs with no capacity provider
573
- # strategy or launch type specified, the default capacity provider
574
- # strategy for the cluster is used.
579
+ # you call the [CreateService][1] or [RunTask][2] APIs with no capacity
580
+ # provider strategy or launch type specified, the default capacity
581
+ # provider strategy for the cluster is used.
575
582
  #
576
583
  # If a default capacity provider strategy isn't defined for a cluster
577
584
  # when it was created, it can be defined later with the
578
585
  # PutClusterCapacityProviders API operation.
579
586
  #
587
+ #
588
+ #
589
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html
590
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
591
+ #
580
592
  # @option params [Types::ClusterServiceConnectDefaultsRequest] :service_connect_defaults
581
593
  # Use this parameter to set a default Service Connect namespace. After
582
594
  # you set a default Service Connect namespace, any new services with
@@ -1788,8 +1800,8 @@ module Aws::ECS
1788
1800
  req.send_request(options)
1789
1801
  end
1790
1802
 
1791
- # Disables an account setting for a specified IAM user, IAM role, or the
1792
- # root user for an account.
1803
+ # Disables an account setting for a specified user, role, or the root
1804
+ # user for an account.
1793
1805
  #
1794
1806
  # @option params [required, String] :name
1795
1807
  # The resource name to disable the account setting for. If
@@ -1802,12 +1814,12 @@ module Aws::ECS
1802
1814
  # container instances is affected.
1803
1815
  #
1804
1816
  # @option params [String] :principal_arn
1805
- # The Amazon Resource Name (ARN) of the principal. It can be an IAM
1806
- # user, IAM role, or the root user. If you specify the root user, it
1807
- # disables the account setting for all IAM users, IAM roles, and the
1808
- # root user of the account unless an IAM user or role explicitly
1809
- # overrides these settings. If this field is omitted, the setting is
1810
- # changed only for the authenticated user.
1817
+ # The Amazon Resource Name (ARN) of the principal. It can be an user,
1818
+ # role, or the root user. If you specify the root user, it disables the
1819
+ # account setting for all users, roles, and the root user of the account
1820
+ # unless a user or role explicitly overrides these settings. If this
1821
+ # field is omitted, the setting is changed only for the authenticated
1822
+ # user.
1811
1823
  #
1812
1824
  # @return [Types::DeleteAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1813
1825
  #
@@ -2297,6 +2309,226 @@ module Aws::ECS
2297
2309
  req.send_request(options)
2298
2310
  end
2299
2311
 
2312
+ # Deletes one or more task definitions.
2313
+ #
2314
+ # You must deregister a task definition revision before you delete it.
2315
+ # For more information, see [DeregisterTaskDefinition][1].
2316
+ #
2317
+ # When you delete a task definition revision, it is immediately
2318
+ # transitions from the `INACTIVE` to `DELETE_IN_PROGRESS`. Existing
2319
+ # tasks and services that reference a `DELETE_IN_PROGRESS` task
2320
+ # definition revision continue to run without disruption. Existing
2321
+ # services that reference a `DELETE_IN_PROGRESS` task definition
2322
+ # revision can still scale up or down by modifying the service's
2323
+ # desired count.
2324
+ #
2325
+ # You can't use a `DELETE_IN_PROGRESS` task definition revision to run
2326
+ # new tasks or create new services. You also can't update an existing
2327
+ # service to reference a `DELETE_IN_PROGRESS` task definition revision.
2328
+ #
2329
+ # A task definition revision will stay in `DELETE_IN_PROGRESS` status
2330
+ # until all the associated tasks and services have been terminated.
2331
+ #
2332
+ #
2333
+ #
2334
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html
2335
+ #
2336
+ # @option params [required, Array<String>] :task_definitions
2337
+ # The `family` and `revision` (`family:revision`) or full Amazon
2338
+ # Resource Name (ARN) of the task definition to delete. You must specify
2339
+ # a `revision`.
2340
+ #
2341
+ # You can specify up to 10 task definitions as a comma separated list.
2342
+ #
2343
+ # @return [Types::DeleteTaskDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2344
+ #
2345
+ # * {Types::DeleteTaskDefinitionsResponse#task_definitions #task_definitions} => Array&lt;Types::TaskDefinition&gt;
2346
+ # * {Types::DeleteTaskDefinitionsResponse#failures #failures} => Array&lt;Types::Failure&gt;
2347
+ #
2348
+ # @example Request syntax with placeholder values
2349
+ #
2350
+ # resp = client.delete_task_definitions({
2351
+ # task_definitions: ["String"], # required
2352
+ # })
2353
+ #
2354
+ # @example Response structure
2355
+ #
2356
+ # resp.task_definitions #=> Array
2357
+ # resp.task_definitions[0].task_definition_arn #=> String
2358
+ # resp.task_definitions[0].container_definitions #=> Array
2359
+ # resp.task_definitions[0].container_definitions[0].name #=> String
2360
+ # resp.task_definitions[0].container_definitions[0].image #=> String
2361
+ # resp.task_definitions[0].container_definitions[0].repository_credentials.credentials_parameter #=> String
2362
+ # resp.task_definitions[0].container_definitions[0].cpu #=> Integer
2363
+ # resp.task_definitions[0].container_definitions[0].memory #=> Integer
2364
+ # resp.task_definitions[0].container_definitions[0].memory_reservation #=> Integer
2365
+ # resp.task_definitions[0].container_definitions[0].links #=> Array
2366
+ # resp.task_definitions[0].container_definitions[0].links[0] #=> String
2367
+ # resp.task_definitions[0].container_definitions[0].port_mappings #=> Array
2368
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].container_port #=> Integer
2369
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].host_port #=> Integer
2370
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].protocol #=> String, one of "tcp", "udp"
2371
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].name #=> String
2372
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].app_protocol #=> String, one of "http", "http2", "grpc"
2373
+ # resp.task_definitions[0].container_definitions[0].port_mappings[0].container_port_range #=> String
2374
+ # resp.task_definitions[0].container_definitions[0].essential #=> Boolean
2375
+ # resp.task_definitions[0].container_definitions[0].entry_point #=> Array
2376
+ # resp.task_definitions[0].container_definitions[0].entry_point[0] #=> String
2377
+ # resp.task_definitions[0].container_definitions[0].command #=> Array
2378
+ # resp.task_definitions[0].container_definitions[0].command[0] #=> String
2379
+ # resp.task_definitions[0].container_definitions[0].environment #=> Array
2380
+ # resp.task_definitions[0].container_definitions[0].environment[0].name #=> String
2381
+ # resp.task_definitions[0].container_definitions[0].environment[0].value #=> String
2382
+ # resp.task_definitions[0].container_definitions[0].environment_files #=> Array
2383
+ # resp.task_definitions[0].container_definitions[0].environment_files[0].value #=> String
2384
+ # resp.task_definitions[0].container_definitions[0].environment_files[0].type #=> String, one of "s3"
2385
+ # resp.task_definitions[0].container_definitions[0].mount_points #=> Array
2386
+ # resp.task_definitions[0].container_definitions[0].mount_points[0].source_volume #=> String
2387
+ # resp.task_definitions[0].container_definitions[0].mount_points[0].container_path #=> String
2388
+ # resp.task_definitions[0].container_definitions[0].mount_points[0].read_only #=> Boolean
2389
+ # resp.task_definitions[0].container_definitions[0].volumes_from #=> Array
2390
+ # resp.task_definitions[0].container_definitions[0].volumes_from[0].source_container #=> String
2391
+ # resp.task_definitions[0].container_definitions[0].volumes_from[0].read_only #=> Boolean
2392
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.capabilities.add #=> Array
2393
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.capabilities.add[0] #=> String
2394
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.capabilities.drop #=> Array
2395
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.capabilities.drop[0] #=> String
2396
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.devices #=> Array
2397
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.devices[0].host_path #=> String
2398
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.devices[0].container_path #=> String
2399
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.devices[0].permissions #=> Array
2400
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.devices[0].permissions[0] #=> String, one of "read", "write", "mknod"
2401
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.init_process_enabled #=> Boolean
2402
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.shared_memory_size #=> Integer
2403
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.tmpfs #=> Array
2404
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.tmpfs[0].container_path #=> String
2405
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.tmpfs[0].size #=> Integer
2406
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.tmpfs[0].mount_options #=> Array
2407
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.tmpfs[0].mount_options[0] #=> String
2408
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.max_swap #=> Integer
2409
+ # resp.task_definitions[0].container_definitions[0].linux_parameters.swappiness #=> Integer
2410
+ # resp.task_definitions[0].container_definitions[0].secrets #=> Array
2411
+ # resp.task_definitions[0].container_definitions[0].secrets[0].name #=> String
2412
+ # resp.task_definitions[0].container_definitions[0].secrets[0].value_from #=> String
2413
+ # resp.task_definitions[0].container_definitions[0].depends_on #=> Array
2414
+ # resp.task_definitions[0].container_definitions[0].depends_on[0].container_name #=> String
2415
+ # resp.task_definitions[0].container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
2416
+ # resp.task_definitions[0].container_definitions[0].start_timeout #=> Integer
2417
+ # resp.task_definitions[0].container_definitions[0].stop_timeout #=> Integer
2418
+ # resp.task_definitions[0].container_definitions[0].hostname #=> String
2419
+ # resp.task_definitions[0].container_definitions[0].user #=> String
2420
+ # resp.task_definitions[0].container_definitions[0].working_directory #=> String
2421
+ # resp.task_definitions[0].container_definitions[0].disable_networking #=> Boolean
2422
+ # resp.task_definitions[0].container_definitions[0].privileged #=> Boolean
2423
+ # resp.task_definitions[0].container_definitions[0].readonly_root_filesystem #=> Boolean
2424
+ # resp.task_definitions[0].container_definitions[0].dns_servers #=> Array
2425
+ # resp.task_definitions[0].container_definitions[0].dns_servers[0] #=> String
2426
+ # resp.task_definitions[0].container_definitions[0].dns_search_domains #=> Array
2427
+ # resp.task_definitions[0].container_definitions[0].dns_search_domains[0] #=> String
2428
+ # resp.task_definitions[0].container_definitions[0].extra_hosts #=> Array
2429
+ # resp.task_definitions[0].container_definitions[0].extra_hosts[0].hostname #=> String
2430
+ # resp.task_definitions[0].container_definitions[0].extra_hosts[0].ip_address #=> String
2431
+ # resp.task_definitions[0].container_definitions[0].docker_security_options #=> Array
2432
+ # resp.task_definitions[0].container_definitions[0].docker_security_options[0] #=> String
2433
+ # resp.task_definitions[0].container_definitions[0].interactive #=> Boolean
2434
+ # resp.task_definitions[0].container_definitions[0].pseudo_terminal #=> Boolean
2435
+ # resp.task_definitions[0].container_definitions[0].docker_labels #=> Hash
2436
+ # resp.task_definitions[0].container_definitions[0].docker_labels["String"] #=> String
2437
+ # resp.task_definitions[0].container_definitions[0].ulimits #=> Array
2438
+ # resp.task_definitions[0].container_definitions[0].ulimits[0].name #=> String, one of "core", "cpu", "data", "fsize", "locks", "memlock", "msgqueue", "nice", "nofile", "nproc", "rss", "rtprio", "rttime", "sigpending", "stack"
2439
+ # resp.task_definitions[0].container_definitions[0].ulimits[0].soft_limit #=> Integer
2440
+ # resp.task_definitions[0].container_definitions[0].ulimits[0].hard_limit #=> Integer
2441
+ # resp.task_definitions[0].container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
2442
+ # resp.task_definitions[0].container_definitions[0].log_configuration.options #=> Hash
2443
+ # resp.task_definitions[0].container_definitions[0].log_configuration.options["String"] #=> String
2444
+ # resp.task_definitions[0].container_definitions[0].log_configuration.secret_options #=> Array
2445
+ # resp.task_definitions[0].container_definitions[0].log_configuration.secret_options[0].name #=> String
2446
+ # resp.task_definitions[0].container_definitions[0].log_configuration.secret_options[0].value_from #=> String
2447
+ # resp.task_definitions[0].container_definitions[0].health_check.command #=> Array
2448
+ # resp.task_definitions[0].container_definitions[0].health_check.command[0] #=> String
2449
+ # resp.task_definitions[0].container_definitions[0].health_check.interval #=> Integer
2450
+ # resp.task_definitions[0].container_definitions[0].health_check.timeout #=> Integer
2451
+ # resp.task_definitions[0].container_definitions[0].health_check.retries #=> Integer
2452
+ # resp.task_definitions[0].container_definitions[0].health_check.start_period #=> Integer
2453
+ # resp.task_definitions[0].container_definitions[0].system_controls #=> Array
2454
+ # resp.task_definitions[0].container_definitions[0].system_controls[0].namespace #=> String
2455
+ # resp.task_definitions[0].container_definitions[0].system_controls[0].value #=> String
2456
+ # resp.task_definitions[0].container_definitions[0].resource_requirements #=> Array
2457
+ # resp.task_definitions[0].container_definitions[0].resource_requirements[0].value #=> String
2458
+ # resp.task_definitions[0].container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
2459
+ # resp.task_definitions[0].container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
2460
+ # resp.task_definitions[0].container_definitions[0].firelens_configuration.options #=> Hash
2461
+ # resp.task_definitions[0].container_definitions[0].firelens_configuration.options["String"] #=> String
2462
+ # resp.task_definitions[0].family #=> String
2463
+ # resp.task_definitions[0].task_role_arn #=> String
2464
+ # resp.task_definitions[0].execution_role_arn #=> String
2465
+ # resp.task_definitions[0].network_mode #=> String, one of "bridge", "host", "awsvpc", "none"
2466
+ # resp.task_definitions[0].revision #=> Integer
2467
+ # resp.task_definitions[0].volumes #=> Array
2468
+ # resp.task_definitions[0].volumes[0].name #=> String
2469
+ # resp.task_definitions[0].volumes[0].host.source_path #=> String
2470
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.scope #=> String, one of "task", "shared"
2471
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.autoprovision #=> Boolean
2472
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.driver #=> String
2473
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.driver_opts #=> Hash
2474
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.driver_opts["String"] #=> String
2475
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.labels #=> Hash
2476
+ # resp.task_definitions[0].volumes[0].docker_volume_configuration.labels["String"] #=> String
2477
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.file_system_id #=> String
2478
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.root_directory #=> String
2479
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
2480
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
2481
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
2482
+ # resp.task_definitions[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
2483
+ # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
2484
+ # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
2485
+ # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
2486
+ # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
2487
+ # resp.task_definitions[0].status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
2488
+ # resp.task_definitions[0].requires_attributes #=> Array
2489
+ # resp.task_definitions[0].requires_attributes[0].name #=> String
2490
+ # resp.task_definitions[0].requires_attributes[0].value #=> String
2491
+ # resp.task_definitions[0].requires_attributes[0].target_type #=> String, one of "container-instance"
2492
+ # resp.task_definitions[0].requires_attributes[0].target_id #=> String
2493
+ # resp.task_definitions[0].placement_constraints #=> Array
2494
+ # resp.task_definitions[0].placement_constraints[0].type #=> String, one of "memberOf"
2495
+ # resp.task_definitions[0].placement_constraints[0].expression #=> String
2496
+ # resp.task_definitions[0].compatibilities #=> Array
2497
+ # resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2498
+ # resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
2499
+ # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
2500
+ # resp.task_definitions[0].requires_compatibilities #=> Array
2501
+ # resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2502
+ # resp.task_definitions[0].cpu #=> String
2503
+ # resp.task_definitions[0].memory #=> String
2504
+ # resp.task_definitions[0].inference_accelerators #=> Array
2505
+ # resp.task_definitions[0].inference_accelerators[0].device_name #=> String
2506
+ # resp.task_definitions[0].inference_accelerators[0].device_type #=> String
2507
+ # resp.task_definitions[0].pid_mode #=> String, one of "host", "task"
2508
+ # resp.task_definitions[0].ipc_mode #=> String, one of "host", "task", "none"
2509
+ # resp.task_definitions[0].proxy_configuration.type #=> String, one of "APPMESH"
2510
+ # resp.task_definitions[0].proxy_configuration.container_name #=> String
2511
+ # resp.task_definitions[0].proxy_configuration.properties #=> Array
2512
+ # resp.task_definitions[0].proxy_configuration.properties[0].name #=> String
2513
+ # resp.task_definitions[0].proxy_configuration.properties[0].value #=> String
2514
+ # resp.task_definitions[0].registered_at #=> Time
2515
+ # resp.task_definitions[0].deregistered_at #=> Time
2516
+ # resp.task_definitions[0].registered_by #=> String
2517
+ # resp.task_definitions[0].ephemeral_storage.size_in_gi_b #=> Integer
2518
+ # resp.failures #=> Array
2519
+ # resp.failures[0].arn #=> String
2520
+ # resp.failures[0].reason #=> String
2521
+ # resp.failures[0].detail #=> String
2522
+ #
2523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskDefinitions AWS API Documentation
2524
+ #
2525
+ # @overload delete_task_definitions(params = {})
2526
+ # @param [Hash] params ({})
2527
+ def delete_task_definitions(params = {}, options = {})
2528
+ req = build_request(:delete_task_definitions, params)
2529
+ req.send_request(options)
2530
+ end
2531
+
2300
2532
  # Deletes a specified task set within a service. This is used when a
2301
2533
  # service uses the `EXTERNAL` deployment controller type. For more
2302
2534
  # information, see [Amazon ECS deployment types][1] in the *Amazon
@@ -2534,7 +2766,8 @@ module Aws::ECS
2534
2766
  # tasks and services that reference an `INACTIVE` task definition
2535
2767
  # continue to run without disruption. Existing services that reference
2536
2768
  # an `INACTIVE` task definition can still scale up or down by modifying
2537
- # the service's desired count.
2769
+ # the service's desired count. If you want to delete a task definition
2770
+ # revision, you must first deregister the task definition revision.
2538
2771
  #
2539
2772
  # You can't use an `INACTIVE` task definition to run new tasks or
2540
2773
  # create new services, and you can't update an existing service to
@@ -2550,6 +2783,13 @@ module Aws::ECS
2550
2783
  #
2551
2784
  # </note>
2552
2785
  #
2786
+ # You must deregister a task definition revision before you delete it.
2787
+ # For more information, see [DeleteTaskDefinitions][1].
2788
+ #
2789
+ #
2790
+ #
2791
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html
2792
+ #
2553
2793
  # @option params [required, String] :task_definition
2554
2794
  # The `family` and `revision` (`family:revision`) or full Amazon
2555
2795
  # Resource Name (ARN) of the task definition to deregister. You must
@@ -2697,7 +2937,7 @@ module Aws::ECS
2697
2937
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
2698
2938
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
2699
2939
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
2700
- # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
2940
+ # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
2701
2941
  # resp.task_definition.requires_attributes #=> Array
2702
2942
  # resp.task_definition.requires_attributes[0].name #=> String
2703
2943
  # resp.task_definition.requires_attributes[0].value #=> String
@@ -3613,7 +3853,7 @@ module Aws::ECS
3613
3853
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
3614
3854
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
3615
3855
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
3616
- # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
3856
+ # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
3617
3857
  # resp.task_definition.requires_attributes #=> Array
3618
3858
  # resp.task_definition.requires_attributes[0].name #=> String
3619
3859
  # resp.task_definition.requires_attributes[0].value #=> String
@@ -4163,9 +4403,9 @@ module Aws::ECS
4163
4403
  # also specify an account setting name to use this parameter.
4164
4404
  #
4165
4405
  # @option params [String] :principal_arn
4166
- # The ARN of the principal, which can be an IAM user, IAM role, or the
4167
- # root user. If this field is omitted, the account settings are listed
4168
- # only for the authenticated user.
4406
+ # The ARN of the principal, which can be a user, role, or the root user.
4407
+ # If this field is omitted, the account settings are listed only for the
4408
+ # authenticated user.
4169
4409
  #
4170
4410
  # <note markdown="1"> Federated users assume the account setting of the root user and can't
4171
4411
  # have explicit account settings set for them.
@@ -4976,7 +5216,7 @@ module Aws::ECS
4976
5216
  #
4977
5217
  # resp = client.list_task_definitions({
4978
5218
  # family_prefix: "String",
4979
- # status: "ACTIVE", # accepts ACTIVE, INACTIVE
5219
+ # status: "ACTIVE", # accepts ACTIVE, INACTIVE, DELETE_IN_PROGRESS
4980
5220
  # sort: "ASC", # accepts ASC, DESC
4981
5221
  # next_token: "String",
4982
5222
  # max_results: 1,
@@ -5148,7 +5388,7 @@ module Aws::ECS
5148
5388
  # basis.
5149
5389
  #
5150
5390
  # If you change the account setting for the root user, the default
5151
- # settings for all of the IAM users and roles that no individual account
5391
+ # settings for all of the users and roles that no individual account
5152
5392
  # setting was specified are reset for. For more information, see
5153
5393
  # [Account Settings][1] in the *Amazon Elastic Container Service
5154
5394
  # Developer Guide*.
@@ -5156,12 +5396,12 @@ module Aws::ECS
5156
5396
  # When `serviceLongArnFormat`, `taskLongArnFormat`, or
5157
5397
  # `containerInstanceLongArnFormat` are specified, the Amazon Resource
5158
5398
  # Name (ARN) and resource ID format of the resource type for a specified
5159
- # IAM user, IAM role, or the root user for an account is affected. The
5160
- # opt-in and opt-out account setting must be set for each Amazon ECS
5161
- # resource separately. The ARN and resource ID format of a resource is
5162
- # defined by the opt-in status of the IAM user or role that created the
5163
- # resource. You must turn on this setting to use Amazon ECS features
5164
- # such as resource tagging.
5399
+ # user, role, or the root user for an account is affected. The opt-in
5400
+ # and opt-out account setting must be set for each Amazon ECS resource
5401
+ # separately. The ARN and resource ID format of a resource is defined by
5402
+ # the opt-in status of the user or role that created the resource. You
5403
+ # must turn on this setting to use Amazon ECS features such as resource
5404
+ # tagging.
5165
5405
  #
5166
5406
  # When `awsvpcTrunking` is specified, the elastic network interface
5167
5407
  # (ENI) limit for any new container instances that support the feature
@@ -5202,12 +5442,11 @@ module Aws::ECS
5202
5442
  # values are `enabled` and `disabled`.
5203
5443
  #
5204
5444
  # @option params [String] :principal_arn
5205
- # The ARN of the principal, which can be an IAM user, IAM role, or the
5206
- # root user. If you specify the root user, it modifies the account
5207
- # setting for all IAM users, IAM roles, and the root user of the account
5208
- # unless an IAM user or role explicitly overrides these settings. If
5209
- # this field is omitted, the setting is changed only for the
5210
- # authenticated user.
5445
+ # The ARN of the principal, which can be a user, role, or the root user.
5446
+ # If you specify the root user, it modifies the account setting for all
5447
+ # users, roles, and the root user of the account unless a user or role
5448
+ # explicitly overrides these settings. If this field is omitted, the
5449
+ # setting is changed only for the authenticated user.
5211
5450
  #
5212
5451
  # <note markdown="1"> Federated users assume the account setting of the root user and can't
5213
5452
  # have explicit account settings set for them.
@@ -5283,8 +5522,8 @@ module Aws::ECS
5283
5522
  req.send_request(options)
5284
5523
  end
5285
5524
 
5286
- # Modifies an account setting for all IAM users on an account for whom
5287
- # no individual account setting has been specified. Account settings are
5525
+ # Modifies an account setting for all users on an account for whom no
5526
+ # individual account setting has been specified. Account settings are
5288
5527
  # set on a per-Region basis.
5289
5528
  #
5290
5529
  # @option params [required, String] :name
@@ -5734,13 +5973,12 @@ module Aws::ECS
5734
5973
  # Definitions][1] in the *Amazon Elastic Container Service Developer
5735
5974
  # Guide*.
5736
5975
  #
5737
- # You can specify an IAM role for your task with the `taskRoleArn`
5738
- # parameter. When you specify an IAM role for a task, its containers can
5739
- # then use the latest versions of the CLI or SDKs to make API requests
5740
- # to the Amazon Web Services services that are specified in the IAM
5741
- # policy that's associated with the role. For more information, see
5742
- # [IAM Roles for Tasks][2] in the *Amazon Elastic Container Service
5743
- # Developer Guide*.
5976
+ # You can specify a role for your task with the `taskRoleArn` parameter.
5977
+ # When you specify a role for a task, its containers can then use the
5978
+ # latest versions of the CLI or SDKs to make API requests to the Amazon
5979
+ # Web Services services that are specified in the policy that's
5980
+ # associated with the role. For more information, see [IAM Roles for
5981
+ # Tasks][2] in the *Amazon Elastic Container Service Developer Guide*.
5744
5982
  #
5745
5983
  # You can specify a Docker networking mode for the containers in your
5746
5984
  # task definition with the `networkMode` parameter. The available
@@ -6522,7 +6760,7 @@ module Aws::ECS
6522
6760
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
6523
6761
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
6524
6762
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
6525
- # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
6763
+ # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
6526
6764
  # resp.task_definition.requires_attributes #=> Array
6527
6765
  # resp.task_definition.requires_attributes[0].name #=> String
6528
6766
  # resp.task_definition.requires_attributes[0].value #=> String
@@ -6785,11 +7023,11 @@ module Aws::ECS
6785
7023
  # task definition to run. If a `revision` isn't specified, the latest
6786
7024
  # `ACTIVE` revision is used.
6787
7025
  #
6788
- # When you create an IAM policy for run-task, you can set the resource
6789
- # to be the latest task definition revision, or a specific revision.
7026
+ # When you create a policy for run-task, you can set the resource to be
7027
+ # the latest task definition revision, or a specific revision.
6790
7028
  #
6791
7029
  # The full ARN value must match the value that you specified as the
6792
- # `Resource` of the IAM principal's permissions policy.
7030
+ # `Resource` of the principal's permissions policy.
6793
7031
  #
6794
7032
  # When you specify the policy resource as the latest task definition
6795
7033
  # version (by setting the `Resource` in the policy to
@@ -7403,7 +7641,7 @@ module Aws::ECS
7403
7641
  # cluster is assumed.
7404
7642
  #
7405
7643
  # @option params [required, String] :task
7406
- # The task ID or full Amazon Resource Name (ARN) of the task to stop.
7644
+ # The task ID of the task to stop.
7407
7645
  #
7408
7646
  # @option params [String] :reason
7409
7647
  # An optional message specified when a task is stopped. For example, if
@@ -8518,8 +8756,8 @@ module Aws::ECS
8518
8756
  # with the largest number of running tasks for this service.
8519
8757
  #
8520
8758
  # <note markdown="1"> You must have a service-linked role when you update any of the
8521
- # following service properties. If you specified a custom IAM role when
8522
- # you created the service, Amazon ECS automatically replaces the
8759
+ # following service properties. If you specified a custom role when you
8760
+ # created the service, Amazon ECS automatically replaces the
8523
8761
  # [roleARN][2] associated with the service with the ARN of your
8524
8762
  # service-linked role. For more information, see [Service-linked
8525
8763
  # roles][3] in the *Amazon Elastic Container Service Developer Guide*.
@@ -9399,7 +9637,7 @@ module Aws::ECS
9399
9637
  params: params,
9400
9638
  config: config)
9401
9639
  context[:gem_name] = 'aws-sdk-ecs'
9402
- context[:gem_version] = '1.110.0'
9640
+ context[:gem_version] = '1.111.0'
9403
9641
  Seahorse::Client::Request.new(handlers, context)
9404
9642
  end
9405
9643
 
@@ -96,6 +96,8 @@ module Aws::ECS
96
96
  DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
97
97
  DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
98
98
  DeleteServiceResponse = Shapes::StructureShape.new(name: 'DeleteServiceResponse')
99
+ DeleteTaskDefinitionsRequest = Shapes::StructureShape.new(name: 'DeleteTaskDefinitionsRequest')
100
+ DeleteTaskDefinitionsResponse = Shapes::StructureShape.new(name: 'DeleteTaskDefinitionsResponse')
99
101
  DeleteTaskSetRequest = Shapes::StructureShape.new(name: 'DeleteTaskSetRequest')
100
102
  DeleteTaskSetResponse = Shapes::StructureShape.new(name: 'DeleteTaskSetResponse')
101
103
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
@@ -335,6 +337,7 @@ module Aws::ECS
335
337
  TaskDefinitionFamilyStatus = Shapes::StringShape.new(name: 'TaskDefinitionFamilyStatus')
336
338
  TaskDefinitionField = Shapes::StringShape.new(name: 'TaskDefinitionField')
337
339
  TaskDefinitionFieldList = Shapes::ListShape.new(name: 'TaskDefinitionFieldList')
340
+ TaskDefinitionList = Shapes::ListShape.new(name: 'TaskDefinitionList')
338
341
  TaskDefinitionPlacementConstraint = Shapes::StructureShape.new(name: 'TaskDefinitionPlacementConstraint')
339
342
  TaskDefinitionPlacementConstraintType = Shapes::StringShape.new(name: 'TaskDefinitionPlacementConstraintType')
340
343
  TaskDefinitionPlacementConstraints = Shapes::ListShape.new(name: 'TaskDefinitionPlacementConstraints')
@@ -719,6 +722,13 @@ module Aws::ECS
719
722
  DeleteServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
720
723
  DeleteServiceResponse.struct_class = Types::DeleteServiceResponse
721
724
 
725
+ DeleteTaskDefinitionsRequest.add_member(:task_definitions, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "taskDefinitions"))
726
+ DeleteTaskDefinitionsRequest.struct_class = Types::DeleteTaskDefinitionsRequest
727
+
728
+ DeleteTaskDefinitionsResponse.add_member(:task_definitions, Shapes::ShapeRef.new(shape: TaskDefinitionList, location_name: "taskDefinitions"))
729
+ DeleteTaskDefinitionsResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
730
+ DeleteTaskDefinitionsResponse.struct_class = Types::DeleteTaskDefinitionsResponse
731
+
722
732
  DeleteTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
723
733
  DeleteTaskSetRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
724
734
  DeleteTaskSetRequest.add_member(:task_set, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskSet"))
@@ -1620,6 +1630,8 @@ module Aws::ECS
1620
1630
 
1621
1631
  TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
1622
1632
 
1633
+ TaskDefinitionList.member = Shapes::ShapeRef.new(shape: TaskDefinition)
1634
+
1623
1635
  TaskDefinitionPlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: TaskDefinitionPlacementConstraintType, location_name: "type"))
1624
1636
  TaskDefinitionPlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: String, location_name: "expression"))
1625
1637
  TaskDefinitionPlacementConstraint.struct_class = Types::TaskDefinitionPlacementConstraint
@@ -1945,6 +1957,18 @@ module Aws::ECS
1945
1957
  o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
1946
1958
  end)
1947
1959
 
1960
+ api.add_operation(:delete_task_definitions, Seahorse::Model::Operation.new.tap do |o|
1961
+ o.name = "DeleteTaskDefinitions"
1962
+ o.http_method = "POST"
1963
+ o.http_request_uri = "/"
1964
+ o.input = Shapes::ShapeRef.new(shape: DeleteTaskDefinitionsRequest)
1965
+ o.output = Shapes::ShapeRef.new(shape: DeleteTaskDefinitionsResponse)
1966
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1967
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1968
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1970
+ end)
1971
+
1948
1972
  api.add_operation(:delete_task_set, Seahorse::Model::Operation.new.tap do |o|
1949
1973
  o.name = "DeleteTaskSet"
1950
1974
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::ECS
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::ECS
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ecs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -137,6 +137,20 @@ module Aws::ECS
137
137
  end
138
138
  end
139
139
 
140
+ class DeleteTaskDefinitions
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::ECS::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
140
154
  class DeleteTaskSet
141
155
  def self.build(context)
142
156
  unless context.config.regional_endpoint
@@ -74,6 +74,8 @@ module Aws::ECS
74
74
  Aws::ECS::Endpoints::DeleteCluster.build(context)
75
75
  when :delete_service
76
76
  Aws::ECS::Endpoints::DeleteService.build(context)
77
+ when :delete_task_definitions
78
+ Aws::ECS::Endpoints::DeleteTaskDefinitions.build(context)
77
79
  when :delete_task_set
78
80
  Aws::ECS::Endpoints::DeleteTaskSet.build(context)
79
81
  when :deregister_container_instance
@@ -139,20 +139,20 @@ module Aws::ECS
139
139
  # The managed termination protection setting to use for the Auto
140
140
  # Scaling group capacity provider. This determines whether the Auto
141
141
  # Scaling group has managed termination protection. The default is
142
- # disabled.
142
+ # off.
143
143
  #
144
144
  # When using managed termination protection, managed scaling must also
145
145
  # be used otherwise managed termination protection doesn't work.
146
146
  #
147
- # When managed termination protection is enabled, Amazon ECS prevents
148
- # the Amazon EC2 instances in an Auto Scaling group that contain tasks
147
+ # When managed termination protection is on, Amazon ECS prevents the
148
+ # Amazon EC2 instances in an Auto Scaling group that contain tasks
149
149
  # from being terminated during a scale-in action. The Auto Scaling
150
150
  # group and each instance in the Auto Scaling group must have instance
151
151
  # protection from scale-in actions enabled as well. For more
152
152
  # information, see [Instance Protection][1] in the *Auto Scaling User
153
153
  # Guide*.
154
154
  #
155
- # When managed termination protection is disabled, your Amazon EC2
155
+ # When managed termination protection is off, your Amazon EC2
156
156
  # instances aren't protected from termination when the Auto Scaling
157
157
  # group scales in.
158
158
  #
@@ -186,14 +186,14 @@ module Aws::ECS
186
186
  # When using managed termination protection, managed scaling must also
187
187
  # be used otherwise managed termination protection doesn't work.
188
188
  #
189
- # When managed termination protection is enabled, Amazon ECS prevents
190
- # the Amazon EC2 instances in an Auto Scaling group that contain tasks
189
+ # When managed termination protection is on, Amazon ECS prevents the
190
+ # Amazon EC2 instances in an Auto Scaling group that contain tasks
191
191
  # from being terminated during a scale-in action. The Auto Scaling
192
192
  # group and each instance in the Auto Scaling group must have instance
193
- # protection from scale-in actions enabled. For more information, see
193
+ # protection from scale-in actions on. For more information, see
194
194
  # [Instance Protection][1] in the *Auto Scaling User Guide*.
195
195
  #
196
- # When managed termination protection is disabled, your Amazon EC2
196
+ # When managed termination protection is off, your Amazon EC2
197
197
  # instances aren't protected from termination when the Auto Scaling
198
198
  # group scales in.
199
199
  #
@@ -563,7 +563,7 @@ module Aws::ECS
563
563
  #
564
564
  # @!attribute [rw] settings
565
565
  # The settings for the cluster. This parameter indicates whether
566
- # CloudWatch Container Insights is enabled or disabled for a cluster.
566
+ # CloudWatch Container Insights is on or off for a cluster.
567
567
  # @return [Array<Types::ClusterSetting>]
568
568
  #
569
569
  # @!attribute [rw] capacity_providers
@@ -797,10 +797,15 @@ module Aws::ECS
797
797
  # The value to set for the cluster setting. The supported values are
798
798
  # `enabled` and `disabled`. If `enabled` is specified, CloudWatch
799
799
  # Container Insights will be enabled for the cluster, otherwise it
800
- # will be disabled unless the `containerInsights` account setting is
801
- # enabled. If a cluster value is specified, it will override the
802
- # `containerInsights` value set with PutAccountSetting or
803
- # PutAccountSettingDefault.
800
+ # will be off unless the `containerInsights` account setting is turned
801
+ # on. If a cluster value is specified, it will override the
802
+ # `containerInsights` value set with [PutAccountSetting][1] or
803
+ # [PutAccountSettingDefault][2].
804
+ #
805
+ #
806
+ #
807
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html
808
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html
804
809
  # @return [String]
805
810
  #
806
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterSetting AWS API Documentation
@@ -1516,8 +1521,8 @@ module Aws::ECS
1516
1521
  # @return [String]
1517
1522
  #
1518
1523
  # @!attribute [rw] disable_networking
1519
- # When this parameter is true, networking is disabled within the
1520
- # container. This parameter maps to `NetworkDisabled` in the [Create a
1524
+ # When this parameter is true, networking is off within the container.
1525
+ # This parameter maps to `NetworkDisabled` in the [Create a
1521
1526
  # container][1] section of the [Docker Remote API][2].
1522
1527
  #
1523
1528
  # <note markdown="1"> This parameter is not supported for Windows containers.
@@ -1713,7 +1718,7 @@ module Aws::ECS
1713
1718
  # `nofile` resource limit parameter which Fargate overrides. The
1714
1719
  # `nofile` resource limit sets a restriction on the number of open
1715
1720
  # files that a container can use. The default `nofile` soft limit is
1716
- # `1024` and hard limit is `4096`.
1721
+ # `1024` and the default hard limit is `4096`.
1717
1722
  #
1718
1723
  # This parameter requires version 1.18 of the Docker Remote API or
1719
1724
  # greater on your container instance. To check the Docker Remote API
@@ -2394,33 +2399,45 @@ module Aws::ECS
2394
2399
  # the cluster. A capacity provider must be associated with a cluster
2395
2400
  # before it can be included as part of the default capacity provider
2396
2401
  # strategy of the cluster or used in a capacity provider strategy when
2397
- # calling the CreateService or RunTask actions.
2402
+ # calling the [CreateService][1] or [RunTask][2] actions.
2398
2403
  #
2399
2404
  # If specifying a capacity provider that uses an Auto Scaling group,
2400
2405
  # the capacity provider must be created but not associated with
2401
2406
  # another cluster. New Auto Scaling group capacity providers can be
2402
- # created with the CreateCapacityProvider API operation.
2407
+ # created with the [CreateCapacityProvider][3] API operation.
2403
2408
  #
2404
2409
  # To use a Fargate capacity provider, specify either the `FARGATE` or
2405
2410
  # `FARGATE_SPOT` capacity providers. The Fargate capacity providers
2406
2411
  # are available to all accounts and only need to be associated with a
2407
2412
  # cluster to be used.
2408
2413
  #
2409
- # The PutClusterCapacityProviders API operation is used to update the
2414
+ # The [PutCapacityProvider][4] API operation is used to update the
2410
2415
  # list of available capacity providers for a cluster after the cluster
2411
2416
  # is created.
2417
+ #
2418
+ #
2419
+ #
2420
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html
2421
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
2422
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html
2423
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html
2412
2424
  # @return [Array<String>]
2413
2425
  #
2414
2426
  # @!attribute [rw] default_capacity_provider_strategy
2415
2427
  # The capacity provider strategy to set as the default for the
2416
2428
  # cluster. After a default capacity provider strategy is set for a
2417
- # cluster, when you call the RunTask or CreateService APIs with no
2418
- # capacity provider strategy or launch type specified, the default
2419
- # capacity provider strategy for the cluster is used.
2429
+ # cluster, when you call the [CreateService][1] or [RunTask][2] APIs
2430
+ # with no capacity provider strategy or launch type specified, the
2431
+ # default capacity provider strategy for the cluster is used.
2420
2432
  #
2421
2433
  # If a default capacity provider strategy isn't defined for a cluster
2422
2434
  # when it was created, it can be defined later with the
2423
2435
  # PutClusterCapacityProviders API operation.
2436
+ #
2437
+ #
2438
+ #
2439
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html
2440
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
2424
2441
  # @return [Array<Types::CapacityProviderStrategyItem>]
2425
2442
  #
2426
2443
  # @!attribute [rw] service_connect_defaults
@@ -3075,12 +3092,12 @@ module Aws::ECS
3075
3092
  # @return [String]
3076
3093
  #
3077
3094
  # @!attribute [rw] principal_arn
3078
- # The Amazon Resource Name (ARN) of the principal. It can be an IAM
3079
- # user, IAM role, or the root user. If you specify the root user, it
3080
- # disables the account setting for all IAM users, IAM roles, and the
3081
- # root user of the account unless an IAM user or role explicitly
3082
- # overrides these settings. If this field is omitted, the setting is
3083
- # changed only for the authenticated user.
3095
+ # The Amazon Resource Name (ARN) of the principal. It can be an user,
3096
+ # role, or the root user. If you specify the root user, it disables
3097
+ # the account setting for all users, roles, and the root user of the
3098
+ # account unless a user or role explicitly overrides these settings.
3099
+ # If this field is omitted, the setting is changed only for the
3100
+ # authenticated user.
3084
3101
  # @return [String]
3085
3102
  #
3086
3103
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSettingRequest AWS API Documentation
@@ -3228,6 +3245,39 @@ module Aws::ECS
3228
3245
  include Aws::Structure
3229
3246
  end
3230
3247
 
3248
+ # @!attribute [rw] task_definitions
3249
+ # The `family` and `revision` (`family:revision`) or full Amazon
3250
+ # Resource Name (ARN) of the task definition to delete. You must
3251
+ # specify a `revision`.
3252
+ #
3253
+ # You can specify up to 10 task definitions as a comma separated list.
3254
+ # @return [Array<String>]
3255
+ #
3256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskDefinitionsRequest AWS API Documentation
3257
+ #
3258
+ class DeleteTaskDefinitionsRequest < Struct.new(
3259
+ :task_definitions)
3260
+ SENSITIVE = []
3261
+ include Aws::Structure
3262
+ end
3263
+
3264
+ # @!attribute [rw] task_definitions
3265
+ # The list of deleted task definitions.
3266
+ # @return [Array<Types::TaskDefinition>]
3267
+ #
3268
+ # @!attribute [rw] failures
3269
+ # Any failures associated with the call.
3270
+ # @return [Array<Types::Failure>]
3271
+ #
3272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskDefinitionsResponse AWS API Documentation
3273
+ #
3274
+ class DeleteTaskDefinitionsResponse < Struct.new(
3275
+ :task_definitions,
3276
+ :failures)
3277
+ SENSITIVE = []
3278
+ include Aws::Structure
3279
+ end
3280
+
3231
3281
  # @!attribute [rw] cluster
3232
3282
  # The short name or full Amazon Resource Name (ARN) of the cluster
3233
3283
  # that hosts the service that the task set found in to delete.
@@ -3499,8 +3549,7 @@ module Aws::ECS
3499
3549
  end
3500
3550
 
3501
3551
  # <note markdown="1"> The deployment circuit breaker can only be used for services using the
3502
- # rolling update (`ECS`) deployment type that aren't behind a Classic
3503
- # Load Balancer.
3552
+ # rolling update (`ECS`) deployment type.
3504
3553
  #
3505
3554
  # </note>
3506
3555
  #
@@ -3548,10 +3597,16 @@ module Aws::ECS
3548
3597
  #
3549
3598
  # The **deployment circuit breaker** determines whether a service
3550
3599
  # deployment will fail if the service can't reach a steady state. If
3551
- # deployment circuit breaker is enabled, a service deployment will
3552
- # transition to a failed state and stop launching new tasks. If
3553
- # rollback is enabled, when a service deployment fails, the service is
3554
- # rolled back to the last deployment that completed successfully.
3600
+ # you use the deployment circuit breaker, a service deployment will
3601
+ # transition to a failed state and stop launching new tasks. If you
3602
+ # use the rollback option, when a service deployment fails, the
3603
+ # service is rolled back to the last deployment that completed
3604
+ # successfully. For more information, see [Rolling update][1] in the
3605
+ # *Amazon Elastic Container Service Developer Guide*
3606
+ #
3607
+ #
3608
+ #
3609
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
3555
3610
  # @return [Types::DeploymentCircuitBreaker]
3556
3611
  #
3557
3612
  # @!attribute [rw] maximum_percent
@@ -4336,13 +4391,12 @@ module Aws::ECS
4336
4391
  # @return [String]
4337
4392
  #
4338
4393
  # @!attribute [rw] iam
4339
- # Determines whether to use the Amazon ECS task IAM role defined in a
4340
- # task definition when mounting the Amazon EFS file system. If
4341
- # enabled, transit encryption must be enabled in the
4342
- # `EFSVolumeConfiguration`. If this parameter is omitted, the default
4343
- # value of `DISABLED` is used. For more information, see [Using Amazon
4344
- # EFS access points][1] in the *Amazon Elastic Container Service
4345
- # Developer Guide*.
4394
+ # Determines whether to use the Amazon ECS task role defined in a task
4395
+ # definition when mounting the Amazon EFS file system. If enabled,
4396
+ # transit encryption must be enabled in the `EFSVolumeConfiguration`.
4397
+ # If this parameter is omitted, the default value of `DISABLED` is
4398
+ # used. For more information, see [Using Amazon EFS access points][1]
4399
+ # in the *Amazon Elastic Container Service Developer Guide*.
4346
4400
  #
4347
4401
  #
4348
4402
  #
@@ -4554,7 +4608,7 @@ module Aws::ECS
4554
4608
  #
4555
4609
  # @!attribute [rw] cloud_watch_encryption_enabled
4556
4610
  # Determines whether to use encryption on the CloudWatch logs. If not
4557
- # specified, encryption will be disabled.
4611
+ # specified, encryption will be off.
4558
4612
  # @return [Boolean]
4559
4613
  #
4560
4614
  # @!attribute [rw] s3_bucket_name
@@ -4937,14 +4991,14 @@ module Aws::ECS
4937
4991
  #
4938
4992
  # When you use the Amazon Web Services Management Console JSON panel,
4939
4993
  # the Command Line Interface, or the APIs, enclose the list of
4940
- # commands in brackets.
4994
+ # commands in double quotes and brackets.
4941
4995
  #
4942
4996
  # `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`
4943
4997
  #
4944
- # You don't need to include the brackets when you use the Amazon Web
4945
- # Services Management Console.
4998
+ # You don't include the double quotes and brackets when you use the
4999
+ # Amazon Web Services Management Console.
4946
5000
  #
4947
- # ` "CMD-SHELL", "curl -f http://localhost/ || exit 1" `
5001
+ # ` CMD-SHELL, curl -f http://localhost/ || exit 1`
4948
5002
  #
4949
5003
  # An exit code of 0 indicates success, and non-zero exit code
4950
5004
  # indicates failure. For more information, see `HealthCheck` in the
@@ -4978,7 +5032,7 @@ module Aws::ECS
4978
5032
  # The optional grace period to provide containers time to bootstrap
4979
5033
  # before failed health checks count towards the maximum number of
4980
5034
  # retries. You can specify between 0 and 300 seconds. By default, the
4981
- # `startPeriod` is disabled.
5035
+ # `startPeriod` is off.
4982
5036
  #
4983
5037
  # <note markdown="1"> If a health check succeeds within the `startPeriod`, then the
4984
5038
  # container is considered healthy and any subsequent failures count
@@ -5382,9 +5436,9 @@ module Aws::ECS
5382
5436
  # @return [String]
5383
5437
  #
5384
5438
  # @!attribute [rw] principal_arn
5385
- # The ARN of the principal, which can be an IAM user, IAM role, or the
5386
- # root user. If this field is omitted, the account settings are listed
5387
- # only for the authenticated user.
5439
+ # The ARN of the principal, which can be a user, role, or the root
5440
+ # user. If this field is omitted, the account settings are listed only
5441
+ # for the authenticated user.
5388
5442
  #
5389
5443
  # <note markdown="1"> Federated users assume the account setting of the root user and
5390
5444
  # can't have explicit account settings set for them.
@@ -6384,8 +6438,8 @@ module Aws::ECS
6384
6438
  # for the metric. For more information, see [Using managed scaling][1]
6385
6439
  # in the *Amazon Elastic Container Service Developer Guide*.
6386
6440
  #
6387
- # If managed scaling is disabled, the user must manage the scaling of
6388
- # the Auto Scaling group.
6441
+ # If managed scaling is off, the user must manage the scaling of the
6442
+ # Auto Scaling group.
6389
6443
  #
6390
6444
  #
6391
6445
  #
@@ -6593,8 +6647,7 @@ module Aws::ECS
6593
6647
  include Aws::Structure
6594
6648
  end
6595
6649
 
6596
- # An object representing the network configuration for a task or
6597
- # service.
6650
+ # The network configuration for a task or service.
6598
6651
  #
6599
6652
  # @!attribute [rw] awsvpc_configuration
6600
6653
  # The VPC subnets and security groups that are associated with a task.
@@ -6973,8 +7026,8 @@ module Aws::ECS
6973
7026
  # @return [String]
6974
7027
  #
6975
7028
  # @!attribute [rw] protection_enabled
6976
- # The protection status of the task. If scale-in protection is enabled
6977
- # for a task, the value is `true`. Otherwise, it is `false`.
7029
+ # The protection status of the task. If scale-in protection is on for
7030
+ # a task, the value is `true`. Otherwise, it is `false`.
6978
7031
  # @return [Boolean]
6979
7032
  #
6980
7033
  # @!attribute [rw] expiration_date
@@ -7124,12 +7177,11 @@ module Aws::ECS
7124
7177
  # @return [String]
7125
7178
  #
7126
7179
  # @!attribute [rw] principal_arn
7127
- # The ARN of the principal, which can be an IAM user, IAM role, or the
7128
- # root user. If you specify the root user, it modifies the account
7129
- # setting for all IAM users, IAM roles, and the root user of the
7130
- # account unless an IAM user or role explicitly overrides these
7131
- # settings. If this field is omitted, the setting is changed only for
7132
- # the authenticated user.
7180
+ # The ARN of the principal, which can be a user, role, or the root
7181
+ # user. If you specify the root user, it modifies the account setting
7182
+ # for all users, roles, and the root user of the account unless a user
7183
+ # or role explicitly overrides these settings. If this field is
7184
+ # omitted, the setting is changed only for the authenticated user.
7133
7185
  #
7134
7186
  # <note markdown="1"> Federated users assume the account setting of the root user and
7135
7187
  # can't have explicit account settings set for them.
@@ -8072,11 +8124,11 @@ module Aws::ECS
8072
8124
  # task definition to run. If a `revision` isn't specified, the latest
8073
8125
  # `ACTIVE` revision is used.
8074
8126
  #
8075
- # When you create an IAM policy for run-task, you can set the resource
8076
- # to be the latest task definition revision, or a specific revision.
8127
+ # When you create a policy for run-task, you can set the resource to
8128
+ # be the latest task definition revision, or a specific revision.
8077
8129
  #
8078
8130
  # The full ARN value must match the value that you specified as the
8079
- # `Resource` of the IAM principal's permissions policy.
8131
+ # `Resource` of the principal's permissions policy.
8080
8132
  #
8081
8133
  # When you specify the policy resource as the latest task definition
8082
8134
  # version (by setting the `Resource` in the policy to
@@ -8959,14 +9011,13 @@ module Aws::ECS
8959
9011
  # @return [String]
8960
9012
  #
8961
9013
  # @!attribute [rw] value
8962
- # Determines whether the account setting is enabled or disabled for
8963
- # the specified resource.
9014
+ # Determines whether the account setting is on or off for the
9015
+ # specified resource.
8964
9016
  # @return [String]
8965
9017
  #
8966
9018
  # @!attribute [rw] principal_arn
8967
- # The ARN of the principal. It can be an IAM user, IAM role, or the
8968
- # root user. If this field is omitted, the authenticated user is
8969
- # assumed.
9019
+ # The ARN of the principal. It can be a user, role, or the root user.
9020
+ # If this field is omitted, the authenticated user is assumed.
8970
9021
  # @return [String]
8971
9022
  #
8972
9023
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Setting AWS API Documentation
@@ -9139,7 +9190,7 @@ module Aws::ECS
9139
9190
  # @return [String]
9140
9191
  #
9141
9192
  # @!attribute [rw] task
9142
- # The task ID or full Amazon Resource Name (ARN) of the task to stop.
9193
+ # The task ID of the task to stop.
9143
9194
  # @return [String]
9144
9195
  #
9145
9196
  # @!attribute [rw] reason
@@ -10341,10 +10392,10 @@ module Aws::ECS
10341
10392
  # @return [Array<Types::InferenceAcceleratorOverride>]
10342
10393
  #
10343
10394
  # @!attribute [rw] execution_role_arn
10344
- # The Amazon Resource Name (ARN) of the task execution IAM role
10345
- # override for the task. For more information, see [Amazon ECS task
10346
- # execution IAM role][1] in the *Amazon Elastic Container Service
10347
- # Developer Guide*.
10395
+ # The Amazon Resource Name (ARN) of the task execution role override
10396
+ # for the task. For more information, see [Amazon ECS task execution
10397
+ # IAM role][1] in the *Amazon Elastic Container Service Developer
10398
+ # Guide*.
10348
10399
  #
10349
10400
  #
10350
10401
  #
@@ -10356,8 +10407,8 @@ module Aws::ECS
10356
10407
  # @return [String]
10357
10408
  #
10358
10409
  # @!attribute [rw] task_role_arn
10359
- # The Amazon Resource Name (ARN) of the IAM role that containers in
10360
- # this task can assume. All containers in this task are granted the
10410
+ # The Amazon Resource Name (ARN) of the role that containers in this
10411
+ # task can assume. All containers in this task are granted the
10361
10412
  # permissions that are specified in this role. For more information,
10362
10413
  # see [IAM Role for Tasks][1] in the *Amazon Elastic Container Service
10363
10414
  # Developer Guide*.
@@ -10675,8 +10726,11 @@ module Aws::ECS
10675
10726
  # values set by the operating system with the exception of the `nofile`
10676
10727
  # resource limit parameter which Fargate overrides. The `nofile`
10677
10728
  # resource limit sets a restriction on the number of open files that a
10678
- # container can use. The default `nofile` soft limit is `1024` and hard
10679
- # limit is `4096`.
10729
+ # container can use. The default `nofile` soft limit is `1024` and the
10730
+ # default hard limit is `4096`.
10731
+ #
10732
+ # You can specify the `ulimit` settings for a container in a task
10733
+ # definition.
10680
10734
  #
10681
10735
  # @!attribute [rw] name
10682
10736
  # The `type` of the `ulimit`.
data/lib/aws-sdk-ecs.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecs/customizations'
53
53
  # @!group service
54
54
  module Aws::ECS
55
55
 
56
- GEM_VERSION = '1.110.0'
56
+ GEM_VERSION = '1.111.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.110.0
4
+ version: 1.111.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core