aws-sdk-ecs 1.77.0 → 1.81.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: e445164b0e4079e2eaa8e135efa5be76393ba67e464e57d50f085aeb7d335c37
4
- data.tar.gz: 207a0b2c9f4198ef2e3756c8143d3b4c191ff7f6ae71cbbb099d6a92c78ae84a
3
+ metadata.gz: 1a86ecac4da16156e153bba9b16fcc43d9ad029fe7562302595bcb400ba8988b
4
+ data.tar.gz: a076985e82cb9cd84821be3b1e4abb834cdfe1e5966200388d34a417e37a35cd
5
5
  SHA512:
6
- metadata.gz: 8d8649e27ed33ae4a1a21fb6a54243b82c212f7c007df39618761eaefb002f580e07ec902251088594b809bfd4dcbd4d91287095f3adb0346d5c8f0278476953
7
- data.tar.gz: 26f6bc1dcd7ba0e77a7125c6bdc8ec709030569eb84a5cb41c7f4f75fb27df6d8cf4022d145c144a609dab1aefdede1ef9eb38a971cdc88dcdbd6170285f0794
6
+ metadata.gz: 7ed593033e593a52c48d39418dc794af28f18a436ce1282d9ab7ae08926cdc82146bec1dfd5aac4ff0d8d855c2c10f240ba8e73fbe9ea59a1ad88120e520016f
7
+ data.tar.gz: 5ab0a5fd885da6b009c98fe96e5325c7e654530ef6ec3ade12299e0821b65484c622a5a3eb9007d8b694b7187bb4366a87e8353c6897c76bb910f3f8afb913a6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2021-07-15)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for support of awsvpc mode on Windows.
8
+
9
+ 1.80.0 (2021-06-02)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for Amazon ECS.
13
+
14
+ 1.79.0 (2021-05-26)
15
+ ------------------
16
+
17
+ * Feature - The release adds support for registering External instances to your Amazon ECS clusters.
18
+
19
+ 1.78.0 (2021-05-10)
20
+ ------------------
21
+
22
+ * Feature - This release contains updates for Amazon ECS.
23
+
4
24
  1.77.0 (2021-04-29)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.81.0
data/lib/aws-sdk-ecs.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecs/customizations'
49
49
  # @!group service
50
50
  module Aws::ECS
51
51
 
52
- GEM_VERSION = '1.77.0'
52
+ GEM_VERSION = '1.81.0'
53
53
 
54
54
  end
@@ -342,9 +342,9 @@ module Aws::ECS
342
342
  # strategies to facilitate cluster auto scaling.
343
343
  #
344
344
  # Only capacity providers using an Auto Scaling group can be created.
345
- # Amazon ECS tasks on AWS Fargate use the `FARGATE` and `FARGATE_SPOT`
345
+ # Amazon ECS tasks on Fargate use the `FARGATE` and `FARGATE_SPOT`
346
346
  # capacity providers which are already created and available to all
347
- # accounts in Regions supported by AWS Fargate.
347
+ # accounts in Regions supported by Fargate.
348
348
  #
349
349
  # @option params [required, String] :name
350
350
  # The name of the capacity provider. Up to 255 characters are allowed,
@@ -380,10 +380,10 @@ module Aws::ECS
380
380
  # * Tag keys and values are case-sensitive.
381
381
  #
382
382
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
383
- # such as a prefix for either keys or values as it is reserved for AWS
384
- # use. You cannot edit or delete tag keys or values with this prefix.
385
- # Tags with this prefix do not count against your tags per resource
386
- # limit.
383
+ # such as a prefix for either keys or values as it is reserved for
384
+ # Amazon Web Services use. You cannot edit or delete tag keys or
385
+ # values with this prefix. Tags with this prefix do not count against
386
+ # your tags per resource limit.
387
387
  #
388
388
  # @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
389
389
  #
@@ -446,11 +446,12 @@ module Aws::ECS
446
446
  #
447
447
  # <note markdown="1"> When you call the CreateCluster API operation, Amazon ECS attempts to
448
448
  # create the Amazon ECS service-linked role for your account so that
449
- # required resources in other AWS services can be managed on your
450
- # behalf. However, if the IAM user that makes the call does not have
451
- # permissions to create the service-linked role, it is not created. For
452
- # more information, see [Using Service-Linked Roles for Amazon ECS][1]
453
- # in the *Amazon Elastic Container Service Developer Guide*.
449
+ # required resources in other Amazon Web Services services can be
450
+ # managed on your behalf. However, if the IAM user that makes the call
451
+ # does not have permissions to create the service-linked role, it is not
452
+ # created. For more information, see [Using Service-Linked Roles for
453
+ # Amazon ECS][1] in the *Amazon Elastic Container Service Developer
454
+ # Guide*.
454
455
  #
455
456
  # </note>
456
457
  #
@@ -461,7 +462,8 @@ module Aws::ECS
461
462
  # @option params [String] :cluster_name
462
463
  # The name of your cluster. If you do not specify a name for your
463
464
  # cluster, you create a cluster named `default`. Up to 255 letters
464
- # (uppercase and lowercase), numbers, and hyphens are allowed.
465
+ # (uppercase and lowercase), numbers, underscores, and hyphens are
466
+ # allowed.
465
467
  #
466
468
  # @option params [Array<Types::Tag>] :tags
467
469
  # The metadata that you apply to the cluster to help you categorize and
@@ -488,10 +490,10 @@ module Aws::ECS
488
490
  # * Tag keys and values are case-sensitive.
489
491
  #
490
492
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
491
- # such as a prefix for either keys or values as it is reserved for AWS
492
- # use. You cannot edit or delete tag keys or values with this prefix.
493
- # Tags with this prefix do not count against your tags per resource
494
- # limit.
493
+ # such as a prefix for either keys or values as it is reserved for
494
+ # Amazon Web Services use. You cannot edit or delete tag keys or
495
+ # values with this prefix. Tags with this prefix do not count against
496
+ # your tags per resource limit.
495
497
  #
496
498
  # @option params [Array<Types::ClusterSetting>] :settings
497
499
  # The setting to use when creating a cluster. This parameter is used to
@@ -514,10 +516,10 @@ module Aws::ECS
514
516
  # with another cluster. New Auto Scaling group capacity providers can be
515
517
  # created with the CreateCapacityProvider API operation.
516
518
  #
517
- # To use a AWS Fargate capacity provider, specify either the `FARGATE`
518
- # or `FARGATE_SPOT` capacity providers. The AWS Fargate capacity
519
- # providers are available to all accounts and only need to be associated
520
- # with a cluster to be used.
519
+ # To use a Fargate capacity provider, specify either the `FARGATE` or
520
+ # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
521
+ # available to all accounts and only need to be associated with a
522
+ # cluster to be used.
521
523
  #
522
524
  # The PutClusterCapacityProviders API operation is used to update the
523
525
  # list of available capacity providers for a cluster after the cluster
@@ -778,9 +780,9 @@ module Aws::ECS
778
780
  #
779
781
  # @option params [required, String] :service_name
780
782
  # The name of your service. Up to 255 letters (uppercase and lowercase),
781
- # numbers, and hyphens are allowed. Service names must be unique within
782
- # a cluster, but you can have similarly named services in multiple
783
- # clusters within a Region or across multiple Regions.
783
+ # numbers, underscores, and hyphens are allowed. Service names must be
784
+ # unique within a cluster, but you can have similarly named services in
785
+ # multiple clusters within a Region or across multiple Regions.
784
786
  #
785
787
  # @option params [String] :task_definition
786
788
  # The `family` and `revision` (`family:revision`) or full ARN of the
@@ -805,15 +807,15 @@ module Aws::ECS
805
807
  #
806
808
  # If the service is using the `CODE_DEPLOY` deployment controller, the
807
809
  # service is required to use either an Application Load Balancer or
808
- # Network Load Balancer. When creating an AWS CodeDeploy deployment
809
- # group, you specify two target groups (referred to as a
810
- # `targetGroupPair`). During a deployment, AWS CodeDeploy determines
811
- # which task set in your service has the status `PRIMARY` and associates
812
- # one target group with it, and then associates the other target group
813
- # with the replacement task set. The load balancer can also have up to
814
- # two listeners: a required listener for production traffic and an
815
- # optional listener that allows you perform validation tests with Lambda
816
- # functions before routing production traffic to it.
810
+ # Network Load Balancer. When creating an CodeDeploy deployment group,
811
+ # you specify two target groups (referred to as a `targetGroupPair`).
812
+ # During a deployment, CodeDeploy determines which task set in your
813
+ # service has the status `PRIMARY` and associates one target group with
814
+ # it, and then associates the other target group with the replacement
815
+ # task set. The load balancer can also have up to two listeners: a
816
+ # required listener for production traffic and an optional listener that
817
+ # allows you perform validation tests with Lambda functions before
818
+ # routing production traffic to it.
817
819
  #
818
820
  # After you create a service using the `ECS` deployment controller, the
819
821
  # load balancer name or target group ARN, container name, and container
@@ -875,23 +877,33 @@ module Aws::ECS
875
877
  # idempotency of the request. Up to 32 ASCII characters are allowed.
876
878
  #
877
879
  # @option params [String] :launch_type
878
- # The launch type on which to run your service. The accepted values are
879
- # `FARGATE` and `EC2`. For more information, see [Amazon ECS launch
880
- # types][1] in the *Amazon Elastic Container Service Developer Guide*.
880
+ # The infrastructure on which to run your service. For more information,
881
+ # see [Amazon ECS launch types][1] in the *Amazon Elastic Container
882
+ # Service Developer Guide*.
881
883
  #
882
- # When a value of `FARGATE` is specified, your tasks are launched on AWS
883
- # Fargate On-Demand infrastructure. To use Fargate Spot, you must use a
884
- # capacity provider strategy with the `FARGATE_SPOT` capacity provider.
884
+ # The `FARGATE` launch type runs your tasks on Fargate On-Demand
885
+ # infrastructure.
885
886
  #
886
- # When a value of `EC2` is specified, your tasks are launched on Amazon
887
- # EC2 instances registered to your cluster.
887
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
888
+ # provider strategy must be used. For more information, see [Fargate
889
+ # capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
888
890
  #
889
- # If a `launchType` is specified, the `capacityProviderStrategy`
890
- # parameter must be omitted.
891
+ # </note>
892
+ #
893
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
894
+ # registered to your cluster.
895
+ #
896
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
897
+ # or virtual machine (VM) capacity registered to your cluster.
898
+ #
899
+ # A service can use either a launch type or a capacity provider
900
+ # strategy. If a `launchType` is specified, the
901
+ # `capacityProviderStrategy` parameter must be omitted.
891
902
  #
892
903
  #
893
904
  #
894
905
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
906
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
895
907
  #
896
908
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
897
909
  # The capacity provider strategy to use for the service.
@@ -905,9 +917,8 @@ module Aws::ECS
905
917
  # The platform version that your tasks in the service are running on. A
906
918
  # platform version is specified only for tasks using the Fargate launch
907
919
  # type. If one isn't specified, the `LATEST` platform version is used
908
- # by default. For more information, see [AWS Fargate platform
909
- # versions][1] in the *Amazon Elastic Container Service Developer
910
- # Guide*.
920
+ # by default. For more information, see [Fargate platform versions][1]
921
+ # in the *Amazon Elastic Container Service Developer Guide*.
911
922
  #
912
923
  #
913
924
  #
@@ -1045,10 +1056,10 @@ module Aws::ECS
1045
1056
  # * Tag keys and values are case-sensitive.
1046
1057
  #
1047
1058
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1048
- # such as a prefix for either keys or values as it is reserved for AWS
1049
- # use. You cannot edit or delete tag keys or values with this prefix.
1050
- # Tags with this prefix do not count against your tags per resource
1051
- # limit.
1059
+ # such as a prefix for either keys or values as it is reserved for
1060
+ # Amazon Web Services use. You cannot edit or delete tag keys or
1061
+ # values with this prefix. Tags with this prefix do not count against
1062
+ # your tags per resource limit.
1052
1063
  #
1053
1064
  # @option params [Boolean] :enable_ecs_managed_tags
1054
1065
  # Specifies whether to enable Amazon ECS managed tags for the tasks
@@ -1218,7 +1229,7 @@ module Aws::ECS
1218
1229
  # ],
1219
1230
  # desired_count: 1,
1220
1231
  # client_token: "String",
1221
- # launch_type: "EC2", # accepts EC2, FARGATE
1232
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1222
1233
  # capacity_provider_strategy: [
1223
1234
  # {
1224
1235
  # capacity_provider: "String", # required
@@ -1290,7 +1301,7 @@ module Aws::ECS
1290
1301
  # resp.service.desired_count #=> Integer
1291
1302
  # resp.service.running_count #=> Integer
1292
1303
  # resp.service.pending_count #=> Integer
1293
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
1304
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1294
1305
  # resp.service.capacity_provider_strategy #=> Array
1295
1306
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
1296
1307
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -1315,7 +1326,7 @@ module Aws::ECS
1315
1326
  # resp.service.task_sets[0].running_count #=> Integer
1316
1327
  # resp.service.task_sets[0].created_at #=> Time
1317
1328
  # resp.service.task_sets[0].updated_at #=> Time
1318
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
1329
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1319
1330
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
1320
1331
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
1321
1332
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -1357,7 +1368,7 @@ module Aws::ECS
1357
1368
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
1358
1369
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
1359
1370
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
1360
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
1371
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1361
1372
  # resp.service.deployments[0].platform_version #=> String
1362
1373
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
1363
1374
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -1424,7 +1435,7 @@ module Aws::ECS
1424
1435
  # An optional non-unique tag that identifies this task set in external
1425
1436
  # systems. If the task set is associated with a service discovery
1426
1437
  # registry, the tasks in this task set will have the
1427
- # `ECS_TASK_SET_EXTERNAL_ID` AWS Cloud Map attribute set to the provided
1438
+ # `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute set to the provided
1428
1439
  # value.
1429
1440
  #
1430
1441
  # @option params [required, String] :task_definition
@@ -1477,10 +1488,10 @@ module Aws::ECS
1477
1488
  # capacity provider must already be created. New capacity providers can
1478
1489
  # be created with the CreateCapacityProvider API operation.
1479
1490
  #
1480
- # To use a AWS Fargate capacity provider, specify either the `FARGATE`
1481
- # or `FARGATE_SPOT` capacity providers. The AWS Fargate capacity
1482
- # providers are available to all accounts and only need to be associated
1483
- # with a cluster to be used.
1491
+ # To use a Fargate capacity provider, specify either the `FARGATE` or
1492
+ # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
1493
+ # available to all accounts and only need to be associated with a
1494
+ # cluster to be used.
1484
1495
  #
1485
1496
  # The PutClusterCapacityProviders API operation is used to update the
1486
1497
  # list of available capacity providers for a cluster after the cluster
@@ -1526,10 +1537,10 @@ module Aws::ECS
1526
1537
  # * Tag keys and values are case-sensitive.
1527
1538
  #
1528
1539
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1529
- # such as a prefix for either keys or values as it is reserved for AWS
1530
- # use. You cannot edit or delete tag keys or values with this prefix.
1531
- # Tags with this prefix do not count against your tags per resource
1532
- # limit.
1540
+ # such as a prefix for either keys or values as it is reserved for
1541
+ # Amazon Web Services use. You cannot edit or delete tag keys or
1542
+ # values with this prefix. Tags with this prefix do not count against
1543
+ # your tags per resource limit.
1533
1544
  #
1534
1545
  # @return [Types::CreateTaskSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
1546
  #
@@ -1565,7 +1576,7 @@ module Aws::ECS
1565
1576
  # container_port: 1,
1566
1577
  # },
1567
1578
  # ],
1568
- # launch_type: "EC2", # accepts EC2, FARGATE
1579
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1569
1580
  # capacity_provider_strategy: [
1570
1581
  # {
1571
1582
  # capacity_provider: "String", # required
@@ -1602,7 +1613,7 @@ module Aws::ECS
1602
1613
  # resp.task_set.running_count #=> Integer
1603
1614
  # resp.task_set.created_at #=> Time
1604
1615
  # resp.task_set.updated_at #=> Time
1605
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
1616
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1606
1617
  # resp.task_set.capacity_provider_strategy #=> Array
1607
1618
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
1608
1619
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2009,7 +2020,7 @@ module Aws::ECS
2009
2020
  # resp.service.desired_count #=> Integer
2010
2021
  # resp.service.running_count #=> Integer
2011
2022
  # resp.service.pending_count #=> Integer
2012
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
2023
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2013
2024
  # resp.service.capacity_provider_strategy #=> Array
2014
2025
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
2015
2026
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -2034,7 +2045,7 @@ module Aws::ECS
2034
2045
  # resp.service.task_sets[0].running_count #=> Integer
2035
2046
  # resp.service.task_sets[0].created_at #=> Time
2036
2047
  # resp.service.task_sets[0].updated_at #=> Time
2037
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
2048
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2038
2049
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
2039
2050
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
2040
2051
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -2076,7 +2087,7 @@ module Aws::ECS
2076
2087
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
2077
2088
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
2078
2089
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
2079
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
2090
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2080
2091
  # resp.service.deployments[0].platform_version #=> String
2081
2092
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
2082
2093
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -2175,7 +2186,7 @@ module Aws::ECS
2175
2186
  # resp.task_set.running_count #=> Integer
2176
2187
  # resp.task_set.created_at #=> Time
2177
2188
  # resp.task_set.updated_at #=> Time
2178
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
2189
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2179
2190
  # resp.task_set.capacity_provider_strategy #=> Array
2180
2191
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
2181
2192
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2241,9 +2252,9 @@ module Aws::ECS
2241
2252
  # @option params [required, String] :container_instance
2242
2253
  # The container instance ID or full ARN of the container instance to
2243
2254
  # deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
2244
- # the Region of the container instance, the AWS account ID of the
2245
- # container instance owner, the `container-instance` namespace, and then
2246
- # the container instance ID. For example,
2255
+ # the Region of the container instance, the account ID of the container
2256
+ # instance owner, the `container-instance` namespace, and then the
2257
+ # container instance ID. For example,
2247
2258
  # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
2248
2259
  #
2249
2260
  # @option params [Boolean] :force
@@ -2520,9 +2531,9 @@ module Aws::ECS
2520
2531
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
2521
2532
  # resp.task_definition.placement_constraints[0].expression #=> String
2522
2533
  # resp.task_definition.compatibilities #=> Array
2523
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
2534
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2524
2535
  # resp.task_definition.requires_compatibilities #=> Array
2525
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
2536
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2526
2537
  # resp.task_definition.cpu #=> String
2527
2538
  # resp.task_definition.memory #=> String
2528
2539
  # resp.task_definition.inference_accelerators #=> Array
@@ -2642,33 +2653,16 @@ module Aws::ECS
2642
2653
  # assumed.
2643
2654
  #
2644
2655
  # @option params [Array<String>] :include
2645
- # Whether to include additional information about your clusters in the
2646
- # response. If this field is omitted, the attachments, statistics, and
2647
- # tags are not included.
2656
+ # Whether to include additional information about the clusters in the
2657
+ # response. If this field is omitted, this information isn't included.
2648
2658
  #
2649
2659
  # If `ATTACHMENTS` is specified, the attachments for the container
2650
2660
  # instances or tasks within the cluster are included.
2651
2661
  #
2652
2662
  # If `SETTINGS` is specified, the settings for the cluster are included.
2653
2663
  #
2654
- # If `STATISTICS` is specified, the following additional information,
2655
- # separated by launch type, is included:
2656
- #
2657
- # * runningEC2TasksCount
2658
- #
2659
- # * runningFargateTasksCount
2660
- #
2661
- # * pendingEC2TasksCount
2662
- #
2663
- # * pendingFargateTasksCount
2664
- #
2665
- # * activeEC2ServiceCount
2666
- #
2667
- # * activeFargateServiceCount
2668
- #
2669
- # * drainingEC2ServiceCount
2670
- #
2671
- # * drainingFargateServiceCount
2664
+ # If `STATISTICS` is specified, the task and service count is included,
2665
+ # separated by launch type.
2672
2666
  #
2673
2667
  # If `TAGS` is specified, the metadata tags associated with the cluster
2674
2668
  # are included.
@@ -2763,8 +2757,7 @@ module Aws::ECS
2763
2757
  req.send_request(options)
2764
2758
  end
2765
2759
 
2766
- # Describes Amazon Elastic Container Service container instances.
2767
- # Returns metadata about registered and remaining resources on each
2760
+ # Describes one or more container instances. Returns metadata about each
2768
2761
  # container instance requested.
2769
2762
  #
2770
2763
  # @option params [String] :cluster
@@ -3053,7 +3046,7 @@ module Aws::ECS
3053
3046
  # resp.services[0].desired_count #=> Integer
3054
3047
  # resp.services[0].running_count #=> Integer
3055
3048
  # resp.services[0].pending_count #=> Integer
3056
- # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE"
3049
+ # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3057
3050
  # resp.services[0].capacity_provider_strategy #=> Array
3058
3051
  # resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
3059
3052
  # resp.services[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3078,7 +3071,7 @@ module Aws::ECS
3078
3071
  # resp.services[0].task_sets[0].running_count #=> Integer
3079
3072
  # resp.services[0].task_sets[0].created_at #=> Time
3080
3073
  # resp.services[0].task_sets[0].updated_at #=> Time
3081
- # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
3074
+ # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3082
3075
  # resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
3083
3076
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
3084
3077
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3120,7 +3113,7 @@ module Aws::ECS
3120
3113
  # resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
3121
3114
  # resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
3122
3115
  # resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
3123
- # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
3116
+ # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3124
3117
  # resp.services[0].deployments[0].platform_version #=> String
3125
3118
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
3126
3119
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -3410,9 +3403,9 @@ module Aws::ECS
3410
3403
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
3411
3404
  # resp.task_definition.placement_constraints[0].expression #=> String
3412
3405
  # resp.task_definition.compatibilities #=> Array
3413
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
3406
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3414
3407
  # resp.task_definition.requires_compatibilities #=> Array
3415
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
3408
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3416
3409
  # resp.task_definition.cpu #=> String
3417
3410
  # resp.task_definition.memory #=> String
3418
3411
  # resp.task_definition.inference_accelerators #=> Array
@@ -3497,7 +3490,7 @@ module Aws::ECS
3497
3490
  # resp.task_sets[0].running_count #=> Integer
3498
3491
  # resp.task_sets[0].created_at #=> Time
3499
3492
  # resp.task_sets[0].updated_at #=> Time
3500
- # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
3493
+ # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3501
3494
  # resp.task_sets[0].capacity_provider_strategy #=> Array
3502
3495
  # resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
3503
3496
  # resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3681,7 +3674,7 @@ module Aws::ECS
3681
3674
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
3682
3675
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
3683
3676
  # resp.tasks[0].last_status #=> String
3684
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
3677
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3685
3678
  # resp.tasks[0].memory #=> String
3686
3679
  # resp.tasks[0].overrides.container_overrides #=> Array
3687
3680
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -3753,7 +3746,7 @@ module Aws::ECS
3753
3746
  # @option params [String] :container_instance
3754
3747
  # The container instance ID or full ARN of the container instance. The
3755
3748
  # ARN contains the `arn:aws:ecs` namespace, followed by the Region of
3756
- # the container instance, the AWS account ID of the container instance
3749
+ # the container instance, the account ID of the container instance
3757
3750
  # owner, the `container-instance` namespace, and then the container
3758
3751
  # instance ID. For example,
3759
3752
  # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
@@ -4247,12 +4240,13 @@ module Aws::ECS
4247
4240
  req.send_request(options)
4248
4241
  end
4249
4242
 
4250
- # Lists the services that are running in a specified cluster.
4243
+ # Returns a list of services. You can filter the results by cluster,
4244
+ # launch type, and scheduling strategy.
4251
4245
  #
4252
4246
  # @option params [String] :cluster
4253
- # The short name or full Amazon Resource Name (ARN) of the cluster that
4254
- # hosts the services to list. If you do not specify a cluster, the
4255
- # default cluster is assumed.
4247
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
4248
+ # use when filtering the `ListServices` results. If you do not specify a
4249
+ # cluster, the default cluster is assumed.
4256
4250
  #
4257
4251
  # @option params [String] :next_token
4258
4252
  # The `nextToken` value returned from a `ListServices` request
@@ -4277,10 +4271,11 @@ module Aws::ECS
4277
4271
  # and a `nextToken` value if applicable.
4278
4272
  #
4279
4273
  # @option params [String] :launch_type
4280
- # The launch type for the services to list.
4274
+ # The launch type to use when filtering the `ListServices` results.
4281
4275
  #
4282
4276
  # @option params [String] :scheduling_strategy
4283
- # The scheduling strategy for services to list.
4277
+ # The scheduling strategy to use when filtering the `ListServices`
4278
+ # results.
4284
4279
  #
4285
4280
  # @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4286
4281
  #
@@ -4310,7 +4305,7 @@ module Aws::ECS
4310
4305
  # cluster: "String",
4311
4306
  # next_token: "String",
4312
4307
  # max_results: 1,
4313
- # launch_type: "EC2", # accepts EC2, FARGATE
4308
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
4314
4309
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
4315
4310
  # })
4316
4311
  #
@@ -4615,30 +4610,29 @@ module Aws::ECS
4615
4610
  req.send_request(options)
4616
4611
  end
4617
4612
 
4618
- # Returns a list of tasks for a specified cluster. You can filter the
4619
- # results by family name, by a particular container instance, or by the
4620
- # desired status of the task with the `family`, `containerInstance`, and
4621
- # `desiredStatus` parameters.
4613
+ # Returns a list of tasks. You can filter the results by cluster, task
4614
+ # definition family, container instance, launch type, what IAM principal
4615
+ # started the task, or by the desired status of the task.
4622
4616
  #
4623
4617
  # Recently stopped tasks might appear in the returned results.
4624
4618
  # Currently, stopped tasks appear in the returned results for at least
4625
4619
  # one hour.
4626
4620
  #
4627
4621
  # @option params [String] :cluster
4628
- # The short name or full Amazon Resource Name (ARN) of the cluster that
4629
- # hosts the tasks to list. If you do not specify a cluster, the default
4630
- # cluster is assumed.
4622
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
4623
+ # use when filtering the `ListTasks` results. If you do not specify a
4624
+ # cluster, the default cluster is assumed.
4631
4625
  #
4632
4626
  # @option params [String] :container_instance
4633
- # The container instance ID or full ARN of the container instance with
4634
- # which to filter the `ListTasks` results. Specifying a
4627
+ # The container instance ID or full ARN of the container instance to use
4628
+ # when filtering the `ListTasks` results. Specifying a
4635
4629
  # `containerInstance` limits the results to tasks that belong to that
4636
4630
  # container instance.
4637
4631
  #
4638
4632
  # @option params [String] :family
4639
- # The name of the family with which to filter the `ListTasks` results.
4640
- # Specifying a `family` limits the results to tasks that belong to that
4641
- # family.
4633
+ # The name of the task definition family to use when filtering the
4634
+ # `ListTasks` results. Specifying a `family` limits the results to tasks
4635
+ # that belong to that family.
4642
4636
  #
4643
4637
  # @option params [String] :next_token
4644
4638
  # The `nextToken` value returned from a `ListTasks` request indicating
@@ -4668,12 +4662,12 @@ module Aws::ECS
4668
4662
  # started with that value.
4669
4663
  #
4670
4664
  # @option params [String] :service_name
4671
- # The name of the service with which to filter the `ListTasks` results.
4665
+ # The name of the service to use when filtering the `ListTasks` results.
4672
4666
  # Specifying a `serviceName` limits the results to tasks that belong to
4673
4667
  # that service.
4674
4668
  #
4675
4669
  # @option params [String] :desired_status
4676
- # The task desired status with which to filter the `ListTasks` results.
4670
+ # The task desired status to use when filtering the `ListTasks` results.
4677
4671
  # Specifying a `desiredStatus` of `STOPPED` limits the results to tasks
4678
4672
  # that Amazon ECS has set the desired status to `STOPPED`. This can be
4679
4673
  # useful for debugging tasks that are not starting properly or have died
@@ -4688,7 +4682,7 @@ module Aws::ECS
4688
4682
  # </note>
4689
4683
  #
4690
4684
  # @option params [String] :launch_type
4691
- # The launch type for services to list.
4685
+ # The launch type to use when filtering the `ListTasks` results.
4692
4686
  #
4693
4687
  # @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4694
4688
  #
@@ -4742,7 +4736,7 @@ module Aws::ECS
4742
4736
  # started_by: "String",
4743
4737
  # service_name: "String",
4744
4738
  # desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
4745
- # launch_type: "EC2", # accepts EC2, FARGATE
4739
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
4746
4740
  # })
4747
4741
  #
4748
4742
  # @example Response structure
@@ -5053,10 +5047,10 @@ module Aws::ECS
5053
5047
  # capacity provider must already be created. New capacity providers can
5054
5048
  # be created with the CreateCapacityProvider API operation.
5055
5049
  #
5056
- # To use a AWS Fargate capacity provider, specify either the `FARGATE`
5057
- # or `FARGATE_SPOT` capacity providers. The AWS Fargate capacity
5058
- # providers are available to all accounts and only need to be associated
5059
- # with a cluster to be used.
5050
+ # To use a Fargate capacity provider, specify either the `FARGATE` or
5051
+ # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
5052
+ # available to all accounts and only need to be associated with a
5053
+ # cluster to be used.
5060
5054
  #
5061
5055
  # @option params [required, Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
5062
5056
  # The capacity provider strategy to use by default for the cluster.
@@ -5076,10 +5070,10 @@ module Aws::ECS
5076
5070
  # capacity provider must already be created. New capacity providers can
5077
5071
  # be created with the CreateCapacityProvider API operation.
5078
5072
  #
5079
- # To use a AWS Fargate capacity provider, specify either the `FARGATE`
5080
- # or `FARGATE_SPOT` capacity providers. The AWS Fargate capacity
5081
- # providers are available to all accounts and only need to be associated
5082
- # with a cluster to be used.
5073
+ # To use a Fargate capacity provider, specify either the `FARGATE` or
5074
+ # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
5075
+ # available to all accounts and only need to be associated with a
5076
+ # cluster to be used.
5083
5077
  #
5084
5078
  # @return [Types::PutClusterCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5085
5079
  #
@@ -5216,10 +5210,10 @@ module Aws::ECS
5216
5210
  # * Tag keys and values are case-sensitive.
5217
5211
  #
5218
5212
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
5219
- # such as a prefix for either keys or values as it is reserved for AWS
5220
- # use. You cannot edit or delete tag keys or values with this prefix.
5221
- # Tags with this prefix do not count against your tags per resource
5222
- # limit.
5213
+ # such as a prefix for either keys or values as it is reserved for
5214
+ # Amazon Web Services use. You cannot edit or delete tag keys or
5215
+ # values with this prefix. Tags with this prefix do not count against
5216
+ # your tags per resource limit.
5223
5217
  #
5224
5218
  # @return [Types::RegisterContainerInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5225
5219
  #
@@ -5335,10 +5329,11 @@ module Aws::ECS
5335
5329
  #
5336
5330
  # You can specify an IAM role for your task with the `taskRoleArn`
5337
5331
  # parameter. When you specify an IAM role for a task, its containers can
5338
- # then use the latest versions of the AWS CLI or SDKs to make API
5339
- # requests to the AWS services that are specified in the IAM policy
5340
- # associated with the role. For more information, see [IAM Roles for
5341
- # Tasks][2] in the *Amazon Elastic Container Service Developer Guide*.
5332
+ # then use the latest versions of the CLI or SDKs to make API requests
5333
+ # to the Amazon Web Services services that are specified in the IAM
5334
+ # policy associated with the role. For more information, see [IAM Roles
5335
+ # for Tasks][2] in the *Amazon Elastic Container Service Developer
5336
+ # Guide*.
5342
5337
  #
5343
5338
  # You can specify a Docker networking mode for the containers in your
5344
5339
  # task definition with the `networkMode` parameter. The available
@@ -5361,7 +5356,7 @@ module Aws::ECS
5361
5356
  # You must specify a `family` for a task definition, which allows you to
5362
5357
  # track multiple versions of the same task definition. The `family` is
5363
5358
  # used as a name for your task definition. Up to 255 letters (uppercase
5364
- # and lowercase), numbers, and hyphens are allowed.
5359
+ # and lowercase), numbers, underscores, and hyphens are allowed.
5365
5360
  #
5366
5361
  # @option params [String] :task_role_arn
5367
5362
  # The short name or full Amazon Resource Name (ARN) of the IAM role that
@@ -5376,11 +5371,11 @@ module Aws::ECS
5376
5371
  #
5377
5372
  # @option params [String] :execution_role_arn
5378
5373
  # The Amazon Resource Name (ARN) of the task execution role that grants
5379
- # the Amazon ECS container agent permission to make AWS API calls on
5380
- # your behalf. The task execution IAM role is required depending on the
5381
- # requirements of your task. For more information, see [Amazon ECS task
5382
- # execution IAM role][1] in the *Amazon Elastic Container Service
5383
- # Developer Guide*.
5374
+ # the Amazon ECS container agent permission to make Amazon Web Services
5375
+ # API calls on your behalf. The task execution IAM role is required
5376
+ # depending on the requirements of your task. For more information, see
5377
+ # [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
5378
+ # Container Service Developer Guide*.
5384
5379
  #
5385
5380
  #
5386
5381
  #
@@ -5392,13 +5387,15 @@ module Aws::ECS
5392
5387
  # mode is specified, the default is `bridge`.
5393
5388
  #
5394
5389
  # For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
5395
- # required. For Amazon ECS tasks on Amazon EC2 instances, any network
5396
- # mode can be used. If the network mode is set to `none`, you cannot
5397
- # specify port mappings in your container definitions, and the tasks
5398
- # containers do not have external connectivity. The `host` and `awsvpc`
5399
- # network modes offer the highest networking performance for containers
5400
- # because they use the EC2 network stack instead of the virtualized
5401
- # network stack provided by the `bridge` mode.
5390
+ # required. For Amazon ECS tasks on Amazon EC2 Linux instances, any
5391
+ # network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows
5392
+ # instances, `<default>` or `awsvpc` can be used. If the network mode is
5393
+ # set to `none`, you cannot specify port mappings in your container
5394
+ # definitions, and the tasks containers do not have external
5395
+ # connectivity. The `host` and `awsvpc` network modes offer the highest
5396
+ # networking performance for containers because they use the EC2 network
5397
+ # stack instead of the virtualized network stack provided by the
5398
+ # `bridge` mode.
5402
5399
  #
5403
5400
  # With the `host` and `awsvpc` network modes, exposed container ports
5404
5401
  # are mapped directly to the corresponding host port (for the `host`
@@ -5416,22 +5413,10 @@ module Aws::ECS
5416
5413
  # more information, see [Task Networking][1] in the *Amazon Elastic
5417
5414
  # Container Service Developer Guide*.
5418
5415
  #
5419
- # <note markdown="1"> Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants
5420
- # with the `ecs-init` package, or AWS Fargate infrastructure support the
5421
- # `awsvpc` network mode.
5422
- #
5423
- # </note>
5424
- #
5425
5416
  # If the network mode is `host`, you cannot run multiple instantiations
5426
5417
  # of the same task on a single container instance when port mappings are
5427
5418
  # used.
5428
5419
  #
5429
- # Docker for Windows uses different network modes than Docker for Linux.
5430
- # When you register a task definition with Windows containers, you must
5431
- # not specify a network mode. If you use the console to register a task
5432
- # definition with Windows containers, you must choose the `<default>`
5433
- # network mode object.
5434
- #
5435
5420
  # For more information, see [Network settings][2] in the *Docker run
5436
5421
  # reference*.
5437
5422
  #
@@ -5554,10 +5539,10 @@ module Aws::ECS
5554
5539
  # * Tag keys and values are case-sensitive.
5555
5540
  #
5556
5541
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
5557
- # such as a prefix for either keys or values as it is reserved for AWS
5558
- # use. You cannot edit or delete tag keys or values with this prefix.
5559
- # Tags with this prefix do not count against your tags per resource
5560
- # limit.
5542
+ # such as a prefix for either keys or values as it is reserved for
5543
+ # Amazon Web Services use. You cannot edit or delete tag keys or
5544
+ # values with this prefix. Tags with this prefix do not count against
5545
+ # your tags per resource limit.
5561
5546
  #
5562
5547
  # @option params [String] :pid_mode
5563
5548
  # The process namespace to use for the containers in the task. The valid
@@ -5574,7 +5559,7 @@ module Aws::ECS
5574
5559
  # [Docker security][2].
5575
5560
  #
5576
5561
  # <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
5577
- # AWS Fargate.
5562
+ # Fargate.
5578
5563
  #
5579
5564
  # </note>
5580
5565
  #
@@ -5613,7 +5598,7 @@ module Aws::ECS
5613
5598
  # `systemControls` will apply to all containers within a task.
5614
5599
  #
5615
5600
  # <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
5616
- # AWS Fargate.
5601
+ # Fargate.
5617
5602
  #
5618
5603
  # </note>
5619
5604
  #
@@ -5646,11 +5631,11 @@ module Aws::ECS
5646
5631
  # @option params [Types::EphemeralStorage] :ephemeral_storage
5647
5632
  # The amount of ephemeral storage to allocate for the task. This
5648
5633
  # parameter is used to expand the total amount of ephemeral storage
5649
- # available, beyond the default amount, for tasks hosted on AWS Fargate.
5650
- # For more information, see [Fargate task storage][1] in the *Amazon ECS
5651
- # User Guide for AWS Fargate*.
5634
+ # available, beyond the default amount, for tasks hosted on Fargate. For
5635
+ # more information, see [Fargate task storage][1] in the *Amazon ECS
5636
+ # User Guide for Fargate*.
5652
5637
  #
5653
- # <note markdown="1"> This parameter is only supported for tasks hosted on AWS Fargate using
5638
+ # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
5654
5639
  # platform version `1.4.0` or later.
5655
5640
  #
5656
5641
  # </note>
@@ -5921,7 +5906,7 @@ module Aws::ECS
5921
5906
  # expression: "String",
5922
5907
  # },
5923
5908
  # ],
5924
- # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE
5909
+ # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
5925
5910
  # cpu: "String",
5926
5911
  # memory: "String",
5927
5912
  # tags: [
@@ -6092,9 +6077,9 @@ module Aws::ECS
6092
6077
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
6093
6078
  # resp.task_definition.placement_constraints[0].expression #=> String
6094
6079
  # resp.task_definition.compatibilities #=> Array
6095
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
6080
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6096
6081
  # resp.task_definition.requires_compatibilities #=> Array
6097
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
6082
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6098
6083
  # resp.task_definition.cpu #=> String
6099
6084
  # resp.task_definition.memory #=> String
6100
6085
  # resp.task_definition.inference_accelerators #=> Array
@@ -6168,6 +6153,9 @@ module Aws::ECS
6168
6153
  # `launchType` is specified, the `defaultCapacityProviderStrategy` for
6169
6154
  # the cluster is used.
6170
6155
  #
6156
+ # When you use cluster auto scaling, you must specify
6157
+ # `capacityProviderStrategy` and not `launchType`.
6158
+ #
6171
6159
  # @option params [String] :cluster
6172
6160
  # The short name or full Amazon Resource Name (ARN) of the cluster on
6173
6161
  # which to run your task. If you do not specify a cluster, the default
@@ -6197,23 +6185,36 @@ module Aws::ECS
6197
6185
  # family:my-family-name).
6198
6186
  #
6199
6187
  # @option params [String] :launch_type
6200
- # The launch type on which to run your task. The accepted values are
6201
- # `FARGATE` and `EC2`. For more information, see [Amazon ECS Launch
6202
- # Types][1] in the *Amazon Elastic Container Service Developer Guide*.
6188
+ # The infrastructure on which to run your standalone task. For more
6189
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
6190
+ # Container Service Developer Guide*.
6191
+ #
6192
+ # The `FARGATE` launch type runs your tasks on Fargate On-Demand
6193
+ # infrastructure.
6203
6194
  #
6204
- # When a value of `FARGATE` is specified, your tasks are launched on AWS
6205
- # Fargate On-Demand infrastructure. To use Fargate Spot, you must use a
6206
- # capacity provider strategy with the `FARGATE_SPOT` capacity provider.
6195
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
6196
+ # provider strategy must be used. For more information, see [Fargate
6197
+ # capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
6207
6198
  #
6208
- # When a value of `EC2` is specified, your tasks are launched on Amazon
6209
- # EC2 instances registered to your cluster.
6199
+ # </note>
6200
+ #
6201
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
6202
+ # registered to your cluster.
6203
+ #
6204
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
6205
+ # or virtual machine (VM) capacity registered to your cluster.
6210
6206
  #
6207
+ # A task can use either a launch type or a capacity provider strategy.
6211
6208
  # If a `launchType` is specified, the `capacityProviderStrategy`
6212
6209
  # parameter must be omitted.
6213
6210
  #
6211
+ # When you use cluster auto scaling, you must specify
6212
+ # `capacityProviderStrategy` and not `launchType`.
6213
+ #
6214
6214
  #
6215
6215
  #
6216
6216
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
6217
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
6217
6218
  #
6218
6219
  # @option params [Types::NetworkConfiguration] :network_configuration
6219
6220
  # The network configuration for the task. This parameter is required for
@@ -6254,8 +6255,8 @@ module Aws::ECS
6254
6255
  # The platform version the task should run. A platform version is only
6255
6256
  # specified for tasks using the Fargate launch type. If one is not
6256
6257
  # specified, the `LATEST` platform version is used by default. For more
6257
- # information, see [AWS Fargate Platform Versions][1] in the *Amazon
6258
- # Elastic Container Service Developer Guide*.
6258
+ # information, see [Fargate Platform Versions][1] in the *Amazon Elastic
6259
+ # Container Service Developer Guide*.
6259
6260
  #
6260
6261
  #
6261
6262
  #
@@ -6312,10 +6313,10 @@ module Aws::ECS
6312
6313
  # * Tag keys and values are case-sensitive.
6313
6314
  #
6314
6315
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
6315
- # such as a prefix for either keys or values as it is reserved for AWS
6316
- # use. You cannot edit or delete tag keys or values with this prefix.
6317
- # Tags with this prefix do not count against your tags per resource
6318
- # limit.
6316
+ # such as a prefix for either keys or values as it is reserved for
6317
+ # Amazon Web Services use. You cannot edit or delete tag keys or
6318
+ # values with this prefix. Tags with this prefix do not count against
6319
+ # your tags per resource limit.
6319
6320
  #
6320
6321
  # @option params [required, String] :task_definition
6321
6322
  # The `family` and `revision` (`family:revision`) or full ARN of the
@@ -6380,7 +6381,7 @@ module Aws::ECS
6380
6381
  # enable_ecs_managed_tags: false,
6381
6382
  # enable_execute_command: false,
6382
6383
  # group: "String",
6383
- # launch_type: "EC2", # accepts EC2, FARGATE
6384
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6384
6385
  # network_configuration: {
6385
6386
  # awsvpc_configuration: {
6386
6387
  # subnets: ["String"], # required
@@ -6517,7 +6518,7 @@ module Aws::ECS
6517
6518
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
6518
6519
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
6519
6520
  # resp.tasks[0].last_status #=> String
6520
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
6521
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6521
6522
  # resp.tasks[0].memory #=> String
6522
6523
  # resp.tasks[0].overrides.container_overrides #=> Array
6523
6524
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6678,10 +6679,10 @@ module Aws::ECS
6678
6679
  # * Tag keys and values are case-sensitive.
6679
6680
  #
6680
6681
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
6681
- # such as a prefix for either keys or values as it is reserved for AWS
6682
- # use. You cannot edit or delete tag keys or values with this prefix.
6683
- # Tags with this prefix do not count against your tags per resource
6684
- # limit.
6682
+ # such as a prefix for either keys or values as it is reserved for
6683
+ # Amazon Web Services use. You cannot edit or delete tag keys or
6684
+ # values with this prefix. Tags with this prefix do not count against
6685
+ # your tags per resource limit.
6685
6686
  #
6686
6687
  # @option params [required, String] :task_definition
6687
6688
  # The `family` and `revision` (`family:revision`) or full ARN of the
@@ -6824,7 +6825,7 @@ module Aws::ECS
6824
6825
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
6825
6826
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
6826
6827
  # resp.tasks[0].last_status #=> String
6827
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
6828
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6828
6829
  # resp.tasks[0].memory #=> String
6829
6830
  # resp.tasks[0].overrides.container_overrides #=> Array
6830
6831
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6989,7 +6990,7 @@ module Aws::ECS
6989
6990
  # resp.task.inference_accelerators[0].device_name #=> String
6990
6991
  # resp.task.inference_accelerators[0].device_type #=> String
6991
6992
  # resp.task.last_status #=> String
6992
- # resp.task.launch_type #=> String, one of "EC2", "FARGATE"
6993
+ # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6993
6994
  # resp.task.memory #=> String
6994
6995
  # resp.task.overrides.container_overrides #=> Array
6995
6996
  # resp.task.overrides.container_overrides[0].name #=> String
@@ -7285,10 +7286,10 @@ module Aws::ECS
7285
7286
  # * Tag keys and values are case-sensitive.
7286
7287
  #
7287
7288
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
7288
- # such as a prefix for either keys or values as it is reserved for AWS
7289
- # use. You cannot edit or delete tag keys or values with this prefix.
7290
- # Tags with this prefix do not count against your tags per resource
7291
- # limit.
7289
+ # such as a prefix for either keys or values as it is reserved for
7290
+ # Amazon Web Services use. You cannot edit or delete tag keys or
7291
+ # values with this prefix. Tags with this prefix do not count against
7292
+ # your tags per resource limit.
7292
7293
  #
7293
7294
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7294
7295
  #
@@ -7867,9 +7868,9 @@ module Aws::ECS
7867
7868
  # controller, only the desired count, deployment configuration, task
7868
7869
  # placement constraints and strategies, and health check grace period
7869
7870
  # can be updated using this API. If the network configuration, platform
7870
- # version, or task definition need to be updated, a new AWS CodeDeploy
7871
+ # version, or task definition need to be updated, a new CodeDeploy
7871
7872
  # deployment should be created. For more information, see
7872
- # [CreateDeployment][2] in the *AWS CodeDeploy API Reference*.
7873
+ # [CreateDeployment][2] in the *CodeDeploy API Reference*.
7873
7874
  #
7874
7875
  # For services using an external deployment controller, you can update
7875
7876
  # only the desired count, task placement constraints and strategies, and
@@ -8010,10 +8011,10 @@ module Aws::ECS
8010
8011
  # capacity provider must already be created. New capacity providers can
8011
8012
  # be created with the CreateCapacityProvider API operation.
8012
8013
  #
8013
- # To use a AWS Fargate capacity provider, specify either the `FARGATE`
8014
- # or `FARGATE_SPOT` capacity providers. The AWS Fargate capacity
8015
- # providers are available to all accounts and only need to be associated
8016
- # with a cluster to be used.
8014
+ # To use a Fargate capacity provider, specify either the `FARGATE` or
8015
+ # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
8016
+ # available to all accounts and only need to be associated with a
8017
+ # cluster to be used.
8017
8018
  #
8018
8019
  # The PutClusterCapacityProviders API operation is used to update the
8019
8020
  # list of available capacity providers for a cluster after the cluster
@@ -8050,7 +8051,7 @@ module Aws::ECS
8050
8051
  # The platform version on which your tasks in the service are running. A
8051
8052
  # platform version is only specified for tasks using the Fargate launch
8052
8053
  # type. If a platform version is not specified, the `LATEST` platform
8053
- # version is used by default. For more information, see [AWS Fargate
8054
+ # version is used by default. For more information, see [Fargate
8054
8055
  # Platform Versions][1] in the *Amazon Elastic Container Service
8055
8056
  # Developer Guide*.
8056
8057
  #
@@ -8182,7 +8183,7 @@ module Aws::ECS
8182
8183
  # resp.service.desired_count #=> Integer
8183
8184
  # resp.service.running_count #=> Integer
8184
8185
  # resp.service.pending_count #=> Integer
8185
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
8186
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8186
8187
  # resp.service.capacity_provider_strategy #=> Array
8187
8188
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
8188
8189
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -8207,7 +8208,7 @@ module Aws::ECS
8207
8208
  # resp.service.task_sets[0].running_count #=> Integer
8208
8209
  # resp.service.task_sets[0].created_at #=> Time
8209
8210
  # resp.service.task_sets[0].updated_at #=> Time
8210
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
8211
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8211
8212
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
8212
8213
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
8213
8214
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -8249,7 +8250,7 @@ module Aws::ECS
8249
8250
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
8250
8251
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
8251
8252
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
8252
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
8253
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8253
8254
  # resp.service.deployments[0].platform_version #=> String
8254
8255
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
8255
8256
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -8345,7 +8346,7 @@ module Aws::ECS
8345
8346
  # resp.task_set.running_count #=> Integer
8346
8347
  # resp.task_set.created_at #=> Time
8347
8348
  # resp.task_set.updated_at #=> Time
8348
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
8349
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8349
8350
  # resp.task_set.capacity_provider_strategy #=> Array
8350
8351
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
8351
8352
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -8439,7 +8440,7 @@ module Aws::ECS
8439
8440
  # resp.task_set.running_count #=> Integer
8440
8441
  # resp.task_set.created_at #=> Time
8441
8442
  # resp.task_set.updated_at #=> Time
8442
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
8443
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8443
8444
  # resp.task_set.capacity_provider_strategy #=> Array
8444
8445
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
8445
8446
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -8490,7 +8491,7 @@ module Aws::ECS
8490
8491
  params: params,
8491
8492
  config: config)
8492
8493
  context[:gem_name] = 'aws-sdk-ecs'
8493
- context[:gem_version] = '1.77.0'
8494
+ context[:gem_version] = '1.81.0'
8494
8495
  Seahorse::Client::Request.new(handlers, context)
8495
8496
  end
8496
8497