aws-sdk-ecs 1.78.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faf66a3300e6e2511e9e1476c901ad9fedefc0086bd4dc9274408b6599f21ff6
4
- data.tar.gz: 30e2775986c5300956396fd6989c37f8de3f72e032b60017921458f2601eef95
3
+ metadata.gz: 85533e8aa4f98dda13e034fd525a9f0299d0742bd78b89a93ffcee9b6623502d
4
+ data.tar.gz: 696f923f2e0ec395f2d91506d081e346a2d98c6dc6260073633b9d619ca7e015
5
5
  SHA512:
6
- metadata.gz: 6741505bae9c51cf802c7bcafb6aca825614aceedc443b3ace002ee49be249e5182d891e5c70081a0b2ec7a2b4324886350f10a24a1eed02fc64b3dc9dfe3fe4
7
- data.tar.gz: d04f63c23729f68b8f4012728f2dbc83b6eecb72dc1bf5e1eadd3371e528246046c04e98a7eddb794164f175588b1148e8b837d82b81738dc4a7c6d76de23a42
6
+ metadata.gz: 64f7495d8b338a6c16382909dde0666ab685d4e97162c55439ac60cffb3b46d0ab93020e65b64b11cdb7e7262966516ca295233daba5625e6b8ad6f43d1b95fe
7
+ data.tar.gz: '0069789d1e02770c35728956f14818146652d9a11b0465f2212faa6d971bda7b7a88c893a80a7a080b06c8dbfb8dec1509145bbe9be7e74e509aba94fd9b3938'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2021-05-26)
5
+ ------------------
6
+
7
+ * Feature - The release adds support for registering External instances to your Amazon ECS clusters.
8
+
4
9
  1.78.0 (2021-05-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.79.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.78.0'
52
+ GEM_VERSION = '1.79.0'
53
53
 
54
54
  end
@@ -876,23 +876,33 @@ module Aws::ECS
876
876
  # idempotency of the request. Up to 32 ASCII characters are allowed.
877
877
  #
878
878
  # @option params [String] :launch_type
879
- # The launch type on which to run your service. The accepted values are
880
- # `FARGATE` and `EC2`. For more information, see [Amazon ECS launch
881
- # types][1] in the *Amazon Elastic Container Service Developer Guide*.
879
+ # The infrastructure on which to run your service. For more information,
880
+ # see [Amazon ECS launch types][1] in the *Amazon Elastic Container
881
+ # Service Developer Guide*.
882
882
  #
883
- # When a value of `FARGATE` is specified, your tasks are launched on AWS
884
- # Fargate On-Demand infrastructure. To use Fargate Spot, you must use a
885
- # capacity provider strategy with the `FARGATE_SPOT` capacity provider.
883
+ # The `FARGATE` launch type runs your tasks on AWS Fargate On-Demand
884
+ # infrastructure.
886
885
  #
887
- # When a value of `EC2` is specified, your tasks are launched on Amazon
888
- # EC2 instances registered to your cluster.
886
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
887
+ # provider strategy must be used. For more information, see [AWS Fargate
888
+ # capacity providers][2] in the *Amazon ECS User Guide for AWS Fargate*.
889
889
  #
890
- # If a `launchType` is specified, the `capacityProviderStrategy`
891
- # parameter must be omitted.
890
+ # </note>
891
+ #
892
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
893
+ # registered to your cluster.
894
+ #
895
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
896
+ # or virtual machine (VM) capacity registered to your cluster.
897
+ #
898
+ # A service can use either a launch type or a capacity provider
899
+ # strategy. If a `launchType` is specified, the
900
+ # `capacityProviderStrategy` parameter must be omitted.
892
901
  #
893
902
  #
894
903
  #
895
904
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
905
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
896
906
  #
897
907
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
898
908
  # The capacity provider strategy to use for the service.
@@ -1219,7 +1229,7 @@ module Aws::ECS
1219
1229
  # ],
1220
1230
  # desired_count: 1,
1221
1231
  # client_token: "String",
1222
- # launch_type: "EC2", # accepts EC2, FARGATE
1232
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1223
1233
  # capacity_provider_strategy: [
1224
1234
  # {
1225
1235
  # capacity_provider: "String", # required
@@ -1291,7 +1301,7 @@ module Aws::ECS
1291
1301
  # resp.service.desired_count #=> Integer
1292
1302
  # resp.service.running_count #=> Integer
1293
1303
  # resp.service.pending_count #=> Integer
1294
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
1304
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1295
1305
  # resp.service.capacity_provider_strategy #=> Array
1296
1306
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
1297
1307
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -1316,7 +1326,7 @@ module Aws::ECS
1316
1326
  # resp.service.task_sets[0].running_count #=> Integer
1317
1327
  # resp.service.task_sets[0].created_at #=> Time
1318
1328
  # resp.service.task_sets[0].updated_at #=> Time
1319
- # 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"
1320
1330
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
1321
1331
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
1322
1332
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -1358,7 +1368,7 @@ module Aws::ECS
1358
1368
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
1359
1369
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
1360
1370
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
1361
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
1371
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1362
1372
  # resp.service.deployments[0].platform_version #=> String
1363
1373
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
1364
1374
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -1566,7 +1576,7 @@ module Aws::ECS
1566
1576
  # container_port: 1,
1567
1577
  # },
1568
1578
  # ],
1569
- # launch_type: "EC2", # accepts EC2, FARGATE
1579
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1570
1580
  # capacity_provider_strategy: [
1571
1581
  # {
1572
1582
  # capacity_provider: "String", # required
@@ -1603,7 +1613,7 @@ module Aws::ECS
1603
1613
  # resp.task_set.running_count #=> Integer
1604
1614
  # resp.task_set.created_at #=> Time
1605
1615
  # resp.task_set.updated_at #=> Time
1606
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
1616
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1607
1617
  # resp.task_set.capacity_provider_strategy #=> Array
1608
1618
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
1609
1619
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2010,7 +2020,7 @@ module Aws::ECS
2010
2020
  # resp.service.desired_count #=> Integer
2011
2021
  # resp.service.running_count #=> Integer
2012
2022
  # resp.service.pending_count #=> Integer
2013
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
2023
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2014
2024
  # resp.service.capacity_provider_strategy #=> Array
2015
2025
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
2016
2026
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -2035,7 +2045,7 @@ module Aws::ECS
2035
2045
  # resp.service.task_sets[0].running_count #=> Integer
2036
2046
  # resp.service.task_sets[0].created_at #=> Time
2037
2047
  # resp.service.task_sets[0].updated_at #=> Time
2038
- # 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"
2039
2049
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
2040
2050
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
2041
2051
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -2077,7 +2087,7 @@ module Aws::ECS
2077
2087
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
2078
2088
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
2079
2089
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
2080
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
2090
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2081
2091
  # resp.service.deployments[0].platform_version #=> String
2082
2092
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
2083
2093
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -2176,7 +2186,7 @@ module Aws::ECS
2176
2186
  # resp.task_set.running_count #=> Integer
2177
2187
  # resp.task_set.created_at #=> Time
2178
2188
  # resp.task_set.updated_at #=> Time
2179
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
2189
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2180
2190
  # resp.task_set.capacity_provider_strategy #=> Array
2181
2191
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
2182
2192
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2521,9 +2531,9 @@ module Aws::ECS
2521
2531
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
2522
2532
  # resp.task_definition.placement_constraints[0].expression #=> String
2523
2533
  # resp.task_definition.compatibilities #=> Array
2524
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
2534
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2525
2535
  # resp.task_definition.requires_compatibilities #=> Array
2526
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
2536
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2527
2537
  # resp.task_definition.cpu #=> String
2528
2538
  # resp.task_definition.memory #=> String
2529
2539
  # resp.task_definition.inference_accelerators #=> Array
@@ -3054,7 +3064,7 @@ module Aws::ECS
3054
3064
  # resp.services[0].desired_count #=> Integer
3055
3065
  # resp.services[0].running_count #=> Integer
3056
3066
  # resp.services[0].pending_count #=> Integer
3057
- # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE"
3067
+ # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3058
3068
  # resp.services[0].capacity_provider_strategy #=> Array
3059
3069
  # resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
3060
3070
  # resp.services[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3079,7 +3089,7 @@ module Aws::ECS
3079
3089
  # resp.services[0].task_sets[0].running_count #=> Integer
3080
3090
  # resp.services[0].task_sets[0].created_at #=> Time
3081
3091
  # resp.services[0].task_sets[0].updated_at #=> Time
3082
- # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
3092
+ # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3083
3093
  # resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
3084
3094
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
3085
3095
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3121,7 +3131,7 @@ module Aws::ECS
3121
3131
  # resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
3122
3132
  # resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
3123
3133
  # resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
3124
- # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
3134
+ # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3125
3135
  # resp.services[0].deployments[0].platform_version #=> String
3126
3136
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
3127
3137
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -3411,9 +3421,9 @@ module Aws::ECS
3411
3421
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
3412
3422
  # resp.task_definition.placement_constraints[0].expression #=> String
3413
3423
  # resp.task_definition.compatibilities #=> Array
3414
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
3424
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3415
3425
  # resp.task_definition.requires_compatibilities #=> Array
3416
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
3426
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3417
3427
  # resp.task_definition.cpu #=> String
3418
3428
  # resp.task_definition.memory #=> String
3419
3429
  # resp.task_definition.inference_accelerators #=> Array
@@ -3498,7 +3508,7 @@ module Aws::ECS
3498
3508
  # resp.task_sets[0].running_count #=> Integer
3499
3509
  # resp.task_sets[0].created_at #=> Time
3500
3510
  # resp.task_sets[0].updated_at #=> Time
3501
- # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
3511
+ # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3502
3512
  # resp.task_sets[0].capacity_provider_strategy #=> Array
3503
3513
  # resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
3504
3514
  # resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -3682,7 +3692,7 @@ module Aws::ECS
3682
3692
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
3683
3693
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
3684
3694
  # resp.tasks[0].last_status #=> String
3685
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
3695
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3686
3696
  # resp.tasks[0].memory #=> String
3687
3697
  # resp.tasks[0].overrides.container_overrides #=> Array
3688
3698
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -4248,12 +4258,13 @@ module Aws::ECS
4248
4258
  req.send_request(options)
4249
4259
  end
4250
4260
 
4251
- # Lists the services that are running in a specified cluster.
4261
+ # Returns a list of services. You can filter the results by cluster,
4262
+ # launch type, and scheduling strategy.
4252
4263
  #
4253
4264
  # @option params [String] :cluster
4254
- # The short name or full Amazon Resource Name (ARN) of the cluster that
4255
- # hosts the services to list. If you do not specify a cluster, the
4256
- # default cluster is assumed.
4265
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
4266
+ # use when filtering the `ListServices` results. If you do not specify a
4267
+ # cluster, the default cluster is assumed.
4257
4268
  #
4258
4269
  # @option params [String] :next_token
4259
4270
  # The `nextToken` value returned from a `ListServices` request
@@ -4278,10 +4289,11 @@ module Aws::ECS
4278
4289
  # and a `nextToken` value if applicable.
4279
4290
  #
4280
4291
  # @option params [String] :launch_type
4281
- # The launch type for the services to list.
4292
+ # The launch type to use when filtering the `ListServices` results.
4282
4293
  #
4283
4294
  # @option params [String] :scheduling_strategy
4284
- # The scheduling strategy for services to list.
4295
+ # The scheduling strategy to use when filtering the `ListServices`
4296
+ # results.
4285
4297
  #
4286
4298
  # @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4287
4299
  #
@@ -4311,7 +4323,7 @@ module Aws::ECS
4311
4323
  # cluster: "String",
4312
4324
  # next_token: "String",
4313
4325
  # max_results: 1,
4314
- # launch_type: "EC2", # accepts EC2, FARGATE
4326
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
4315
4327
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
4316
4328
  # })
4317
4329
  #
@@ -4616,30 +4628,29 @@ module Aws::ECS
4616
4628
  req.send_request(options)
4617
4629
  end
4618
4630
 
4619
- # Returns a list of tasks for a specified cluster. You can filter the
4620
- # results by family name, by a particular container instance, or by the
4621
- # desired status of the task with the `family`, `containerInstance`, and
4622
- # `desiredStatus` parameters.
4631
+ # Returns a list of tasks. You can filter the results by cluster, task
4632
+ # definition family, container instance, launch type, what IAM principal
4633
+ # started the task, or by the desired status of the task.
4623
4634
  #
4624
4635
  # Recently stopped tasks might appear in the returned results.
4625
4636
  # Currently, stopped tasks appear in the returned results for at least
4626
4637
  # one hour.
4627
4638
  #
4628
4639
  # @option params [String] :cluster
4629
- # The short name or full Amazon Resource Name (ARN) of the cluster that
4630
- # hosts the tasks to list. If you do not specify a cluster, the default
4631
- # cluster is assumed.
4640
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
4641
+ # use when filtering the `ListTasks` results. If you do not specify a
4642
+ # cluster, the default cluster is assumed.
4632
4643
  #
4633
4644
  # @option params [String] :container_instance
4634
- # The container instance ID or full ARN of the container instance with
4635
- # which to filter the `ListTasks` results. Specifying a
4645
+ # The container instance ID or full ARN of the container instance to use
4646
+ # when filtering the `ListTasks` results. Specifying a
4636
4647
  # `containerInstance` limits the results to tasks that belong to that
4637
4648
  # container instance.
4638
4649
  #
4639
4650
  # @option params [String] :family
4640
- # The name of the family with which to filter the `ListTasks` results.
4641
- # Specifying a `family` limits the results to tasks that belong to that
4642
- # family.
4651
+ # The name of the task definition family to use when filtering the
4652
+ # `ListTasks` results. Specifying a `family` limits the results to tasks
4653
+ # that belong to that family.
4643
4654
  #
4644
4655
  # @option params [String] :next_token
4645
4656
  # The `nextToken` value returned from a `ListTasks` request indicating
@@ -4669,12 +4680,12 @@ module Aws::ECS
4669
4680
  # started with that value.
4670
4681
  #
4671
4682
  # @option params [String] :service_name
4672
- # The name of the service with which to filter the `ListTasks` results.
4683
+ # The name of the service to use when filtering the `ListTasks` results.
4673
4684
  # Specifying a `serviceName` limits the results to tasks that belong to
4674
4685
  # that service.
4675
4686
  #
4676
4687
  # @option params [String] :desired_status
4677
- # The task desired status with which to filter the `ListTasks` results.
4688
+ # The task desired status to use when filtering the `ListTasks` results.
4678
4689
  # Specifying a `desiredStatus` of `STOPPED` limits the results to tasks
4679
4690
  # that Amazon ECS has set the desired status to `STOPPED`. This can be
4680
4691
  # useful for debugging tasks that are not starting properly or have died
@@ -4689,7 +4700,7 @@ module Aws::ECS
4689
4700
  # </note>
4690
4701
  #
4691
4702
  # @option params [String] :launch_type
4692
- # The launch type for services to list.
4703
+ # The launch type to use when filtering the `ListTasks` results.
4693
4704
  #
4694
4705
  # @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4695
4706
  #
@@ -4743,7 +4754,7 @@ module Aws::ECS
4743
4754
  # started_by: "String",
4744
4755
  # service_name: "String",
4745
4756
  # desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
4746
- # launch_type: "EC2", # accepts EC2, FARGATE
4757
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
4747
4758
  # })
4748
4759
  #
4749
4760
  # @example Response structure
@@ -5922,7 +5933,7 @@ module Aws::ECS
5922
5933
  # expression: "String",
5923
5934
  # },
5924
5935
  # ],
5925
- # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE
5936
+ # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
5926
5937
  # cpu: "String",
5927
5938
  # memory: "String",
5928
5939
  # tags: [
@@ -6093,9 +6104,9 @@ module Aws::ECS
6093
6104
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
6094
6105
  # resp.task_definition.placement_constraints[0].expression #=> String
6095
6106
  # resp.task_definition.compatibilities #=> Array
6096
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE"
6107
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6097
6108
  # resp.task_definition.requires_compatibilities #=> Array
6098
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE"
6109
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6099
6110
  # resp.task_definition.cpu #=> String
6100
6111
  # resp.task_definition.memory #=> String
6101
6112
  # resp.task_definition.inference_accelerators #=> Array
@@ -6198,23 +6209,33 @@ module Aws::ECS
6198
6209
  # family:my-family-name).
6199
6210
  #
6200
6211
  # @option params [String] :launch_type
6201
- # The launch type on which to run your task. The accepted values are
6202
- # `FARGATE` and `EC2`. For more information, see [Amazon ECS Launch
6203
- # Types][1] in the *Amazon Elastic Container Service Developer Guide*.
6212
+ # The infrastructure on which to run your standalone task. For more
6213
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
6214
+ # Container Service Developer Guide*.
6215
+ #
6216
+ # The `FARGATE` launch type runs your tasks on AWS Fargate On-Demand
6217
+ # infrastructure.
6218
+ #
6219
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
6220
+ # provider strategy must be used. For more information, see [AWS Fargate
6221
+ # capacity providers][2] in the *Amazon ECS User Guide for AWS Fargate*.
6222
+ #
6223
+ # </note>
6204
6224
  #
6205
- # When a value of `FARGATE` is specified, your tasks are launched on AWS
6206
- # Fargate On-Demand infrastructure. To use Fargate Spot, you must use a
6207
- # capacity provider strategy with the `FARGATE_SPOT` capacity provider.
6225
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
6226
+ # registered to your cluster.
6208
6227
  #
6209
- # When a value of `EC2` is specified, your tasks are launched on Amazon
6210
- # EC2 instances registered to your cluster.
6228
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
6229
+ # or virtual machine (VM) capacity registered to your cluster.
6211
6230
  #
6231
+ # A task can use either a launch type or a capacity provider strategy.
6212
6232
  # If a `launchType` is specified, the `capacityProviderStrategy`
6213
6233
  # parameter must be omitted.
6214
6234
  #
6215
6235
  #
6216
6236
  #
6217
6237
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
6238
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
6218
6239
  #
6219
6240
  # @option params [Types::NetworkConfiguration] :network_configuration
6220
6241
  # The network configuration for the task. This parameter is required for
@@ -6381,7 +6402,7 @@ module Aws::ECS
6381
6402
  # enable_ecs_managed_tags: false,
6382
6403
  # enable_execute_command: false,
6383
6404
  # group: "String",
6384
- # launch_type: "EC2", # accepts EC2, FARGATE
6405
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6385
6406
  # network_configuration: {
6386
6407
  # awsvpc_configuration: {
6387
6408
  # subnets: ["String"], # required
@@ -6518,7 +6539,7 @@ module Aws::ECS
6518
6539
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
6519
6540
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
6520
6541
  # resp.tasks[0].last_status #=> String
6521
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
6542
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6522
6543
  # resp.tasks[0].memory #=> String
6523
6544
  # resp.tasks[0].overrides.container_overrides #=> Array
6524
6545
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6825,7 +6846,7 @@ module Aws::ECS
6825
6846
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
6826
6847
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
6827
6848
  # resp.tasks[0].last_status #=> String
6828
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE"
6849
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6829
6850
  # resp.tasks[0].memory #=> String
6830
6851
  # resp.tasks[0].overrides.container_overrides #=> Array
6831
6852
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6990,7 +7011,7 @@ module Aws::ECS
6990
7011
  # resp.task.inference_accelerators[0].device_name #=> String
6991
7012
  # resp.task.inference_accelerators[0].device_type #=> String
6992
7013
  # resp.task.last_status #=> String
6993
- # resp.task.launch_type #=> String, one of "EC2", "FARGATE"
7014
+ # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6994
7015
  # resp.task.memory #=> String
6995
7016
  # resp.task.overrides.container_overrides #=> Array
6996
7017
  # resp.task.overrides.container_overrides[0].name #=> String
@@ -8183,7 +8204,7 @@ module Aws::ECS
8183
8204
  # resp.service.desired_count #=> Integer
8184
8205
  # resp.service.running_count #=> Integer
8185
8206
  # resp.service.pending_count #=> Integer
8186
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE"
8207
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8187
8208
  # resp.service.capacity_provider_strategy #=> Array
8188
8209
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
8189
8210
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -8208,7 +8229,7 @@ module Aws::ECS
8208
8229
  # resp.service.task_sets[0].running_count #=> Integer
8209
8230
  # resp.service.task_sets[0].created_at #=> Time
8210
8231
  # resp.service.task_sets[0].updated_at #=> Time
8211
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE"
8232
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8212
8233
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
8213
8234
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
8214
8235
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -8250,7 +8271,7 @@ module Aws::ECS
8250
8271
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
8251
8272
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
8252
8273
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
8253
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE"
8274
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8254
8275
  # resp.service.deployments[0].platform_version #=> String
8255
8276
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
8256
8277
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
@@ -8346,7 +8367,7 @@ module Aws::ECS
8346
8367
  # resp.task_set.running_count #=> Integer
8347
8368
  # resp.task_set.created_at #=> Time
8348
8369
  # resp.task_set.updated_at #=> Time
8349
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
8370
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8350
8371
  # resp.task_set.capacity_provider_strategy #=> Array
8351
8372
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
8352
8373
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -8440,7 +8461,7 @@ module Aws::ECS
8440
8461
  # resp.task_set.running_count #=> Integer
8441
8462
  # resp.task_set.created_at #=> Time
8442
8463
  # resp.task_set.updated_at #=> Time
8443
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE"
8464
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8444
8465
  # resp.task_set.capacity_provider_strategy #=> Array
8445
8466
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
8446
8467
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -8491,7 +8512,7 @@ module Aws::ECS
8491
8512
  params: params,
8492
8513
  config: config)
8493
8514
  context[:gem_name] = 'aws-sdk-ecs'
8494
- context[:gem_version] = '1.78.0'
8515
+ context[:gem_version] = '1.79.0'
8495
8516
  Seahorse::Client::Request.new(handlers, context)
8496
8517
  end
8497
8518
 
@@ -2656,7 +2656,7 @@ module Aws::ECS
2656
2656
  # ],
2657
2657
  # desired_count: 1,
2658
2658
  # client_token: "String",
2659
- # launch_type: "EC2", # accepts EC2, FARGATE
2659
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
2660
2660
  # capacity_provider_strategy: [
2661
2661
  # {
2662
2662
  # capacity_provider: "String", # required
@@ -2823,25 +2823,34 @@ module Aws::ECS
2823
2823
  # @return [String]
2824
2824
  #
2825
2825
  # @!attribute [rw] launch_type
2826
- # The launch type on which to run your service. The accepted values
2827
- # are `FARGATE` and `EC2`. For more information, see [Amazon ECS
2828
- # launch types][1] in the *Amazon Elastic Container Service Developer
2829
- # Guide*.
2826
+ # The infrastructure on which to run your service. For more
2827
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
2828
+ # Container Service Developer Guide*.
2830
2829
  #
2831
- # When a value of `FARGATE` is specified, your tasks are launched on
2832
- # AWS Fargate On-Demand infrastructure. To use Fargate Spot, you must
2833
- # use a capacity provider strategy with the `FARGATE_SPOT` capacity
2834
- # provider.
2830
+ # The `FARGATE` launch type runs your tasks on AWS Fargate On-Demand
2831
+ # infrastructure.
2835
2832
  #
2836
- # When a value of `EC2` is specified, your tasks are launched on
2837
- # Amazon EC2 instances registered to your cluster.
2833
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
2834
+ # provider strategy must be used. For more information, see [AWS
2835
+ # Fargate capacity providers][2] in the *Amazon ECS User Guide for AWS
2836
+ # Fargate*.
2838
2837
  #
2839
- # If a `launchType` is specified, the `capacityProviderStrategy`
2840
- # parameter must be omitted.
2838
+ # </note>
2839
+ #
2840
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
2841
+ # registered to your cluster.
2842
+ #
2843
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
2844
+ # or virtual machine (VM) capacity registered to your cluster.
2845
+ #
2846
+ # A service can use either a launch type or a capacity provider
2847
+ # strategy. If a `launchType` is specified, the
2848
+ # `capacityProviderStrategy` parameter must be omitted.
2841
2849
  #
2842
2850
  #
2843
2851
  #
2844
2852
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
2853
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
2845
2854
  # @return [String]
2846
2855
  #
2847
2856
  # @!attribute [rw] capacity_provider_strategy
@@ -3122,7 +3131,7 @@ module Aws::ECS
3122
3131
  # container_port: 1,
3123
3132
  # },
3124
3133
  # ],
3125
- # launch_type: "EC2", # accepts EC2, FARGATE
3134
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
3126
3135
  # capacity_provider_strategy: [
3127
3136
  # {
3128
3137
  # capacity_provider: "String", # required
@@ -6125,14 +6134,14 @@ module Aws::ECS
6125
6134
  # cluster: "String",
6126
6135
  # next_token: "String",
6127
6136
  # max_results: 1,
6128
- # launch_type: "EC2", # accepts EC2, FARGATE
6137
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6129
6138
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
6130
6139
  # }
6131
6140
  #
6132
6141
  # @!attribute [rw] cluster
6133
- # The short name or full Amazon Resource Name (ARN) of the cluster
6134
- # that hosts the services to list. If you do not specify a cluster,
6135
- # the default cluster is assumed.
6142
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
6143
+ # use when filtering the `ListServices` results. If you do not specify
6144
+ # a cluster, the default cluster is assumed.
6136
6145
  # @return [String]
6137
6146
  #
6138
6147
  # @!attribute [rw] next_token
@@ -6160,11 +6169,12 @@ module Aws::ECS
6160
6169
  # @return [Integer]
6161
6170
  #
6162
6171
  # @!attribute [rw] launch_type
6163
- # The launch type for the services to list.
6172
+ # The launch type to use when filtering the `ListServices` results.
6164
6173
  # @return [String]
6165
6174
  #
6166
6175
  # @!attribute [rw] scheduling_strategy
6167
- # The scheduling strategy for services to list.
6176
+ # The scheduling strategy to use when filtering the `ListServices`
6177
+ # results.
6168
6178
  # @return [String]
6169
6179
  #
6170
6180
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesRequest AWS API Documentation
@@ -6430,26 +6440,26 @@ module Aws::ECS
6430
6440
  # started_by: "String",
6431
6441
  # service_name: "String",
6432
6442
  # desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
6433
- # launch_type: "EC2", # accepts EC2, FARGATE
6443
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6434
6444
  # }
6435
6445
  #
6436
6446
  # @!attribute [rw] cluster
6437
- # The short name or full Amazon Resource Name (ARN) of the cluster
6438
- # that hosts the tasks to list. If you do not specify a cluster, the
6439
- # default cluster is assumed.
6447
+ # The short name or full Amazon Resource Name (ARN) of the cluster to
6448
+ # use when filtering the `ListTasks` results. If you do not specify a
6449
+ # cluster, the default cluster is assumed.
6440
6450
  # @return [String]
6441
6451
  #
6442
6452
  # @!attribute [rw] container_instance
6443
- # The container instance ID or full ARN of the container instance with
6444
- # which to filter the `ListTasks` results. Specifying a
6453
+ # The container instance ID or full ARN of the container instance to
6454
+ # use when filtering the `ListTasks` results. Specifying a
6445
6455
  # `containerInstance` limits the results to tasks that belong to that
6446
6456
  # container instance.
6447
6457
  # @return [String]
6448
6458
  #
6449
6459
  # @!attribute [rw] family
6450
- # The name of the family with which to filter the `ListTasks` results.
6451
- # Specifying a `family` limits the results to tasks that belong to
6452
- # that family.
6460
+ # The name of the task definition family to use when filtering the
6461
+ # `ListTasks` results. Specifying a `family` limits the results to
6462
+ # tasks that belong to that family.
6453
6463
  # @return [String]
6454
6464
  #
6455
6465
  # @!attribute [rw] next_token
@@ -6483,13 +6493,13 @@ module Aws::ECS
6483
6493
  # @return [String]
6484
6494
  #
6485
6495
  # @!attribute [rw] service_name
6486
- # The name of the service with which to filter the `ListTasks`
6496
+ # The name of the service to use when filtering the `ListTasks`
6487
6497
  # results. Specifying a `serviceName` limits the results to tasks that
6488
6498
  # belong to that service.
6489
6499
  # @return [String]
6490
6500
  #
6491
6501
  # @!attribute [rw] desired_status
6492
- # The task desired status with which to filter the `ListTasks`
6502
+ # The task desired status to use when filtering the `ListTasks`
6493
6503
  # results. Specifying a `desiredStatus` of `STOPPED` limits the
6494
6504
  # results to tasks that Amazon ECS has set the desired status to
6495
6505
  # `STOPPED`. This can be useful for debugging tasks that are not
@@ -6506,7 +6516,7 @@ module Aws::ECS
6506
6516
  # @return [String]
6507
6517
  #
6508
6518
  # @!attribute [rw] launch_type
6509
- # The launch type for services to list.
6519
+ # The launch type to use when filtering the `ListTasks` results.
6510
6520
  # @return [String]
6511
6521
  #
6512
6522
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksRequest AWS API Documentation
@@ -7947,7 +7957,7 @@ module Aws::ECS
7947
7957
  # expression: "String",
7948
7958
  # },
7949
7959
  # ],
7950
- # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE
7960
+ # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
7951
7961
  # cpu: "String",
7952
7962
  # memory: "String",
7953
7963
  # tags: [
@@ -8504,7 +8514,7 @@ module Aws::ECS
8504
8514
  # enable_ecs_managed_tags: false,
8505
8515
  # enable_execute_command: false,
8506
8516
  # group: "String",
8507
- # launch_type: "EC2", # accepts EC2, FARGATE
8517
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
8508
8518
  # network_configuration: {
8509
8519
  # awsvpc_configuration: {
8510
8520
  # subnets: ["String"], # required
@@ -8622,24 +8632,34 @@ module Aws::ECS
8622
8632
  # @return [String]
8623
8633
  #
8624
8634
  # @!attribute [rw] launch_type
8625
- # The launch type on which to run your task. The accepted values are
8626
- # `FARGATE` and `EC2`. For more information, see [Amazon ECS Launch
8627
- # Types][1] in the *Amazon Elastic Container Service Developer Guide*.
8635
+ # The infrastructure on which to run your standalone task. For more
8636
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
8637
+ # Container Service Developer Guide*.
8628
8638
  #
8629
- # When a value of `FARGATE` is specified, your tasks are launched on
8630
- # AWS Fargate On-Demand infrastructure. To use Fargate Spot, you must
8631
- # use a capacity provider strategy with the `FARGATE_SPOT` capacity
8632
- # provider.
8639
+ # The `FARGATE` launch type runs your tasks on AWS Fargate On-Demand
8640
+ # infrastructure.
8641
+ #
8642
+ # <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
8643
+ # provider strategy must be used. For more information, see [AWS
8644
+ # Fargate capacity providers][2] in the *Amazon ECS User Guide for AWS
8645
+ # Fargate*.
8646
+ #
8647
+ # </note>
8648
+ #
8649
+ # The `EC2` launch type runs your tasks on Amazon EC2 instances
8650
+ # registered to your cluster.
8633
8651
  #
8634
- # When a value of `EC2` is specified, your tasks are launched on
8635
- # Amazon EC2 instances registered to your cluster.
8652
+ # The `EXTERNAL` launch type runs your tasks on your on-premise server
8653
+ # or virtual machine (VM) capacity registered to your cluster.
8636
8654
  #
8655
+ # A task can use either a launch type or a capacity provider strategy.
8637
8656
  # If a `launchType` is specified, the `capacityProviderStrategy`
8638
8657
  # parameter must be omitted.
8639
8658
  #
8640
8659
  #
8641
8660
  #
8642
8661
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
8662
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html
8643
8663
  # @return [String]
8644
8664
  #
8645
8665
  # @!attribute [rw] network_configuration
@@ -8954,10 +8974,9 @@ module Aws::ECS
8954
8974
  # @return [Integer]
8955
8975
  #
8956
8976
  # @!attribute [rw] launch_type
8957
- # The launch type on which your service is running. If no value is
8958
- # specified, it will default to `EC2`. Valid values include `EC2` and
8959
- # `FARGATE`. For more information, see [Amazon ECS Launch Types][1] in
8960
- # the *Amazon Elastic Container Service Developer Guide*.
8977
+ # The infrastructure on which your service is running. For more
8978
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
8979
+ # Container Service Developer Guide*.
8961
8980
  #
8962
8981
  #
8963
8982
  #
@@ -10157,9 +10176,9 @@ module Aws::ECS
10157
10176
  # @return [String]
10158
10177
  #
10159
10178
  # @!attribute [rw] launch_type
10160
- # The launch type on which your task is running. For more information,
10161
- # see [Amazon ECS Launch Types][1] in the *Amazon Elastic Container
10162
- # Service Developer Guide*.
10179
+ # The infrastructure on which your task is running. For more
10180
+ # information, see [Amazon ECS launch types][1] in the *Amazon Elastic
10181
+ # Container Service Developer Guide*.
10163
10182
  #
10164
10183
  #
10165
10184
  #
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.78.0
4
+ version: 1.79.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: 2021-05-10 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core