aws-sdk-ecs 1.85.0 → 1.89.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +63 -4
- data/lib/aws-sdk-ecs/client_api.rb +13 -0
- data/lib/aws-sdk-ecs/types.rb +164 -23
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df6ca7b5785d32915f3d6e2c3388168a5d36c58e843a47e5d816b68057d12250
|
4
|
+
data.tar.gz: b2fd9da2a43debc54629d05a8bac2353d9cca1a662e32c965fdcaa1a0d05b503
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d066b3a19993d1b70344fe07a15ee9d1bcb9eb86cee2e4e85a1cafae271d865e0646fc5f74a61446d6594e140b2ce078e71a9186a689ccf8f36b2284caddef18
|
7
|
+
data.tar.gz: 92fb58e76d9ba7c69dd514f564e01e31ac1db1c05e4968636e255eb8686f01e4fb284c7407f5b1ba9443575c73c5783e8e069cda9a18c7f0ad7ffe9d493b201e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.89.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.88.0 (2021-10-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon ECS now supports running Fargate tasks on Windows Operating Systems Families which includes Windows Server 2019 Core and Windows Server 2019 Full.
|
13
|
+
|
14
|
+
1.87.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.86.0 (2021-10-12)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation only update to address tickets.
|
23
|
+
|
4
24
|
1.85.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.89.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -285,6 +285,15 @@ module Aws::ECS
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -1079,7 +1088,8 @@ module Aws::ECS
|
|
1079
1088
|
# the service to the tasks in the service. If no value is specified, the
|
1080
1089
|
# tags are not propagated. Tags can only be propagated to the tasks
|
1081
1090
|
# within the service during service creation. To add tags to a task
|
1082
|
-
# after service creation, use the TagResource API
|
1091
|
+
# after service creation or task creation, use the TagResource API
|
1092
|
+
# action.
|
1083
1093
|
#
|
1084
1094
|
# @option params [Boolean] :enable_execute_command
|
1085
1095
|
# Whether or not the execute command functionality is enabled for the
|
@@ -1310,6 +1320,7 @@ module Aws::ECS
|
|
1310
1320
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
1311
1321
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
1312
1322
|
# resp.service.platform_version #=> String
|
1323
|
+
# resp.service.platform_family #=> String
|
1313
1324
|
# resp.service.task_definition #=> String
|
1314
1325
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
1315
1326
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -1335,6 +1346,7 @@ module Aws::ECS
|
|
1335
1346
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
1336
1347
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
1337
1348
|
# resp.service.task_sets[0].platform_version #=> String
|
1349
|
+
# resp.service.task_sets[0].platform_family #=> String
|
1338
1350
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
1339
1351
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1340
1352
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -1373,6 +1385,7 @@ module Aws::ECS
|
|
1373
1385
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
1374
1386
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1375
1387
|
# resp.service.deployments[0].platform_version #=> String
|
1388
|
+
# resp.service.deployments[0].platform_family #=> String
|
1376
1389
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
1377
1390
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1378
1391
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -1622,6 +1635,7 @@ module Aws::ECS
|
|
1622
1635
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
1623
1636
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
1624
1637
|
# resp.task_set.platform_version #=> String
|
1638
|
+
# resp.task_set.platform_family #=> String
|
1625
1639
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
1626
1640
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
1627
1641
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2029,6 +2043,7 @@ module Aws::ECS
|
|
2029
2043
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
2030
2044
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
2031
2045
|
# resp.service.platform_version #=> String
|
2046
|
+
# resp.service.platform_family #=> String
|
2032
2047
|
# resp.service.task_definition #=> String
|
2033
2048
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
2034
2049
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -2054,6 +2069,7 @@ module Aws::ECS
|
|
2054
2069
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
2055
2070
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
2056
2071
|
# resp.service.task_sets[0].platform_version #=> String
|
2072
|
+
# resp.service.task_sets[0].platform_family #=> String
|
2057
2073
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
2058
2074
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2059
2075
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2092,6 +2108,7 @@ module Aws::ECS
|
|
2092
2108
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
2093
2109
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2094
2110
|
# resp.service.deployments[0].platform_version #=> String
|
2111
|
+
# resp.service.deployments[0].platform_family #=> String
|
2095
2112
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
2096
2113
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2097
2114
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2195,6 +2212,7 @@ module Aws::ECS
|
|
2195
2212
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
2196
2213
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
2197
2214
|
# resp.task_set.platform_version #=> String
|
2215
|
+
# resp.task_set.platform_family #=> String
|
2198
2216
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
2199
2217
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
2200
2218
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -2535,6 +2553,8 @@ module Aws::ECS
|
|
2535
2553
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
2536
2554
|
# resp.task_definition.compatibilities #=> Array
|
2537
2555
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2556
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
2557
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
2538
2558
|
# resp.task_definition.requires_compatibilities #=> Array
|
2539
2559
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2540
2560
|
# resp.task_definition.cpu #=> String
|
@@ -3058,6 +3078,7 @@ module Aws::ECS
|
|
3058
3078
|
# resp.services[0].capacity_provider_strategy[0].weight #=> Integer
|
3059
3079
|
# resp.services[0].capacity_provider_strategy[0].base #=> Integer
|
3060
3080
|
# resp.services[0].platform_version #=> String
|
3081
|
+
# resp.services[0].platform_family #=> String
|
3061
3082
|
# resp.services[0].task_definition #=> String
|
3062
3083
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
3063
3084
|
# resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -3083,6 +3104,7 @@ module Aws::ECS
|
|
3083
3104
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
3084
3105
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
3085
3106
|
# resp.services[0].task_sets[0].platform_version #=> String
|
3107
|
+
# resp.services[0].task_sets[0].platform_family #=> String
|
3086
3108
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3087
3109
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3088
3110
|
# resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3121,6 +3143,7 @@ module Aws::ECS
|
|
3121
3143
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
|
3122
3144
|
# resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3123
3145
|
# resp.services[0].deployments[0].platform_version #=> String
|
3146
|
+
# resp.services[0].deployments[0].platform_family #=> String
|
3124
3147
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3125
3148
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3126
3149
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3410,6 +3433,8 @@ module Aws::ECS
|
|
3410
3433
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
3411
3434
|
# resp.task_definition.compatibilities #=> Array
|
3412
3435
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3436
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3437
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
3413
3438
|
# resp.task_definition.requires_compatibilities #=> Array
|
3414
3439
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3415
3440
|
# resp.task_definition.cpu #=> String
|
@@ -3502,6 +3527,7 @@ module Aws::ECS
|
|
3502
3527
|
# resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
3503
3528
|
# resp.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
3504
3529
|
# resp.task_sets[0].platform_version #=> String
|
3530
|
+
# resp.task_sets[0].platform_family #=> String
|
3505
3531
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
3506
3532
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
3507
3533
|
# resp.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -3707,6 +3733,7 @@ module Aws::ECS
|
|
3707
3733
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
3708
3734
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
3709
3735
|
# resp.tasks[0].platform_version #=> String
|
3736
|
+
# resp.tasks[0].platform_family #=> String
|
3710
3737
|
# resp.tasks[0].pull_started_at #=> Time
|
3711
3738
|
# resp.tasks[0].pull_stopped_at #=> Time
|
3712
3739
|
# resp.tasks[0].started_at #=> Time
|
@@ -5641,8 +5668,12 @@ module Aws::ECS
|
|
5641
5668
|
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
5642
5669
|
# User Guide for Fargate*.
|
5643
5670
|
#
|
5644
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
5645
|
-
# platform
|
5671
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
|
5672
|
+
# following platform versions:
|
5673
|
+
#
|
5674
|
+
# * Linux platform version `1.4.0` or later.
|
5675
|
+
#
|
5676
|
+
# * Windows platform version `1.0.0` or later.
|
5646
5677
|
#
|
5647
5678
|
# </note>
|
5648
5679
|
#
|
@@ -5650,6 +5681,13 @@ module Aws::ECS
|
|
5650
5681
|
#
|
5651
5682
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
5652
5683
|
#
|
5684
|
+
# @option params [Types::RuntimePlatform] :runtime_platform
|
5685
|
+
# The operating system that your tasks definitions run on. A platform
|
5686
|
+
# family is specified only for tasks using the Fargate launch type.
|
5687
|
+
#
|
5688
|
+
# When you specify a task definition in a service, this value must match
|
5689
|
+
# the `runtimePlatform` value of the service.
|
5690
|
+
#
|
5653
5691
|
# @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5654
5692
|
#
|
5655
5693
|
# * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
|
@@ -5942,6 +5980,10 @@ module Aws::ECS
|
|
5942
5980
|
# ephemeral_storage: {
|
5943
5981
|
# size_in_gi_b: 1, # required
|
5944
5982
|
# },
|
5983
|
+
# runtime_platform: {
|
5984
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
5985
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
5986
|
+
# },
|
5945
5987
|
# })
|
5946
5988
|
#
|
5947
5989
|
# @example Response structure
|
@@ -6084,6 +6126,8 @@ module Aws::ECS
|
|
6084
6126
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
6085
6127
|
# resp.task_definition.compatibilities #=> Array
|
6086
6128
|
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
6129
|
+
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
6130
|
+
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
6087
6131
|
# resp.task_definition.requires_compatibilities #=> Array
|
6088
6132
|
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
6089
6133
|
# resp.task_definition.cpu #=> String
|
@@ -6331,6 +6375,13 @@ module Aws::ECS
|
|
6331
6375
|
# task definition to run. If a `revision` is not specified, the latest
|
6332
6376
|
# `ACTIVE` revision is used.
|
6333
6377
|
#
|
6378
|
+
# The full ARN value must match the value that you specified ias the
|
6379
|
+
# `Resource` of the IAM principal's permissions policy. For example, if
|
6380
|
+
# the `Resource` is
|
6381
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
6382
|
+
# the `taskDefinition` ARN value must be
|
6383
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
6384
|
+
#
|
6334
6385
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6335
6386
|
#
|
6336
6387
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -6553,6 +6604,7 @@ module Aws::ECS
|
|
6553
6604
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6554
6605
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6555
6606
|
# resp.tasks[0].platform_version #=> String
|
6607
|
+
# resp.tasks[0].platform_family #=> String
|
6556
6608
|
# resp.tasks[0].pull_started_at #=> Time
|
6557
6609
|
# resp.tasks[0].pull_stopped_at #=> Time
|
6558
6610
|
# resp.tasks[0].started_at #=> Time
|
@@ -6860,6 +6912,7 @@ module Aws::ECS
|
|
6860
6912
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
6861
6913
|
# resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
6862
6914
|
# resp.tasks[0].platform_version #=> String
|
6915
|
+
# resp.tasks[0].platform_family #=> String
|
6863
6916
|
# resp.tasks[0].pull_started_at #=> Time
|
6864
6917
|
# resp.tasks[0].pull_stopped_at #=> Time
|
6865
6918
|
# resp.tasks[0].started_at #=> Time
|
@@ -7025,6 +7078,7 @@ module Aws::ECS
|
|
7025
7078
|
# resp.task.overrides.task_role_arn #=> String
|
7026
7079
|
# resp.task.overrides.ephemeral_storage.size_in_gi_b #=> Integer
|
7027
7080
|
# resp.task.platform_version #=> String
|
7081
|
+
# resp.task.platform_family #=> String
|
7028
7082
|
# resp.task.pull_started_at #=> Time
|
7029
7083
|
# resp.task.pull_stopped_at #=> Time
|
7030
7084
|
# resp.task.started_at #=> Time
|
@@ -8197,6 +8251,7 @@ module Aws::ECS
|
|
8197
8251
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
8198
8252
|
# resp.service.capacity_provider_strategy[0].base #=> Integer
|
8199
8253
|
# resp.service.platform_version #=> String
|
8254
|
+
# resp.service.platform_family #=> String
|
8200
8255
|
# resp.service.task_definition #=> String
|
8201
8256
|
# resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
|
8202
8257
|
# resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
|
@@ -8222,6 +8277,7 @@ module Aws::ECS
|
|
8222
8277
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
8223
8278
|
# resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
|
8224
8279
|
# resp.service.task_sets[0].platform_version #=> String
|
8280
|
+
# resp.service.task_sets[0].platform_family #=> String
|
8225
8281
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
8226
8282
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8227
8283
|
# resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8260,6 +8316,7 @@ module Aws::ECS
|
|
8260
8316
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
8261
8317
|
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
8262
8318
|
# resp.service.deployments[0].platform_version #=> String
|
8319
|
+
# resp.service.deployments[0].platform_family #=> String
|
8263
8320
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
8264
8321
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8265
8322
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8360,6 +8417,7 @@ module Aws::ECS
|
|
8360
8417
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
8361
8418
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
8362
8419
|
# resp.task_set.platform_version #=> String
|
8420
|
+
# resp.task_set.platform_family #=> String
|
8363
8421
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
8364
8422
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8365
8423
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8454,6 +8512,7 @@ module Aws::ECS
|
|
8454
8512
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
8455
8513
|
# resp.task_set.capacity_provider_strategy[0].base #=> Integer
|
8456
8514
|
# resp.task_set.platform_version #=> String
|
8515
|
+
# resp.task_set.platform_family #=> String
|
8457
8516
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
|
8458
8517
|
# resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
8459
8518
|
# resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
|
@@ -8499,7 +8558,7 @@ module Aws::ECS
|
|
8499
8558
|
params: params,
|
8500
8559
|
config: config)
|
8501
8560
|
context[:gem_name] = 'aws-sdk-ecs'
|
8502
|
-
context[:gem_version] = '1.
|
8561
|
+
context[:gem_version] = '1.89.0'
|
8503
8562
|
Seahorse::Client::Request.new(handlers, context)
|
8504
8563
|
end
|
8505
8564
|
|
@@ -31,6 +31,7 @@ module Aws::ECS
|
|
31
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
32
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
33
33
|
BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
|
34
|
+
CPUArchitecture = Shapes::StringShape.new(name: 'CPUArchitecture')
|
34
35
|
CapacityProvider = Shapes::StructureShape.new(name: 'CapacityProvider')
|
35
36
|
CapacityProviderField = Shapes::StringShape.new(name: 'CapacityProviderField')
|
36
37
|
CapacityProviderFieldList = Shapes::ListShape.new(name: 'CapacityProviderFieldList')
|
@@ -212,6 +213,7 @@ module Aws::ECS
|
|
212
213
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
213
214
|
NetworkMode = Shapes::StringShape.new(name: 'NetworkMode')
|
214
215
|
NoUpdateAvailableException = Shapes::StructureShape.new(name: 'NoUpdateAvailableException')
|
216
|
+
OSFamily = Shapes::StringShape.new(name: 'OSFamily')
|
215
217
|
PidMode = Shapes::StringShape.new(name: 'PidMode')
|
216
218
|
PlacementConstraint = Shapes::StructureShape.new(name: 'PlacementConstraint')
|
217
219
|
PlacementConstraintType = Shapes::StringShape.new(name: 'PlacementConstraintType')
|
@@ -253,6 +255,7 @@ module Aws::ECS
|
|
253
255
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
254
256
|
RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
|
255
257
|
RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
|
258
|
+
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
256
259
|
Scale = Shapes::StructureShape.new(name: 'Scale')
|
257
260
|
ScaleUnit = Shapes::StringShape.new(name: 'ScaleUnit')
|
258
261
|
SchedulingStrategy = Shapes::StringShape.new(name: 'SchedulingStrategy')
|
@@ -697,6 +700,7 @@ module Aws::ECS
|
|
697
700
|
Deployment.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
698
701
|
Deployment.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
699
702
|
Deployment.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
703
|
+
Deployment.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
700
704
|
Deployment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
701
705
|
Deployment.add_member(:rollout_state, Shapes::ShapeRef.new(shape: DeploymentRolloutState, location_name: "rolloutState"))
|
702
706
|
Deployment.add_member(:rollout_state_reason, Shapes::ShapeRef.new(shape: String, location_name: "rolloutStateReason"))
|
@@ -1204,6 +1208,7 @@ module Aws::ECS
|
|
1204
1208
|
RegisterTaskDefinitionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
1205
1209
|
RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1206
1210
|
RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1211
|
+
RegisterTaskDefinitionRequest.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1207
1212
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
1208
1213
|
|
1209
1214
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1258,6 +1263,10 @@ module Aws::ECS
|
|
1258
1263
|
RunTaskResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
1259
1264
|
RunTaskResponse.struct_class = Types::RunTaskResponse
|
1260
1265
|
|
1266
|
+
RuntimePlatform.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: CPUArchitecture, location_name: "cpuArchitecture"))
|
1267
|
+
RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: OSFamily, location_name: "operatingSystemFamily"))
|
1268
|
+
RuntimePlatform.struct_class = Types::RuntimePlatform
|
1269
|
+
|
1261
1270
|
Scale.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "value"))
|
1262
1271
|
Scale.add_member(:unit, Shapes::ShapeRef.new(shape: ScaleUnit, location_name: "unit"))
|
1263
1272
|
Scale.struct_class = Types::Scale
|
@@ -1283,6 +1292,7 @@ module Aws::ECS
|
|
1283
1292
|
Service.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1284
1293
|
Service.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1285
1294
|
Service.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1295
|
+
Service.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1286
1296
|
Service.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
1287
1297
|
Service.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
1288
1298
|
Service.add_member(:task_sets, Shapes::ShapeRef.new(shape: TaskSets, location_name: "taskSets"))
|
@@ -1452,6 +1462,7 @@ module Aws::ECS
|
|
1452
1462
|
Task.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1453
1463
|
Task.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
|
1454
1464
|
Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1465
|
+
Task.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1455
1466
|
Task.add_member(:pull_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStartedAt"))
|
1456
1467
|
Task.add_member(:pull_stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStoppedAt"))
|
1457
1468
|
Task.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
@@ -1479,6 +1490,7 @@ module Aws::ECS
|
|
1479
1490
|
TaskDefinition.add_member(:requires_attributes, Shapes::ShapeRef.new(shape: RequiresAttributes, location_name: "requiresAttributes"))
|
1480
1491
|
TaskDefinition.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: TaskDefinitionPlacementConstraints, location_name: "placementConstraints"))
|
1481
1492
|
TaskDefinition.add_member(:compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "compatibilities"))
|
1493
|
+
TaskDefinition.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1482
1494
|
TaskDefinition.add_member(:requires_compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "requiresCompatibilities"))
|
1483
1495
|
TaskDefinition.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
1484
1496
|
TaskDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
@@ -1527,6 +1539,7 @@ module Aws::ECS
|
|
1527
1539
|
TaskSet.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1528
1540
|
TaskSet.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1529
1541
|
TaskSet.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1542
|
+
TaskSet.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1530
1543
|
TaskSet.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
1531
1544
|
TaskSet.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
1532
1545
|
TaskSet.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -1468,7 +1468,11 @@ module Aws::ECS
|
|
1468
1468
|
# Developer Guide*.
|
1469
1469
|
#
|
1470
1470
|
# For tasks using the Fargate launch type, the task or service
|
1471
|
-
# requires
|
1471
|
+
# requires the followiwng platforms:
|
1472
|
+
#
|
1473
|
+
# * Linux platform version `1.3.0` or later.
|
1474
|
+
#
|
1475
|
+
# * Windows platform version `1.0.0` or later.
|
1472
1476
|
#
|
1473
1477
|
#
|
1474
1478
|
#
|
@@ -1492,8 +1496,12 @@ module Aws::ECS
|
|
1492
1496
|
#
|
1493
1497
|
# </note>
|
1494
1498
|
#
|
1495
|
-
# For tasks using the Fargate launch type,
|
1496
|
-
#
|
1499
|
+
# For tasks using the Fargate launch type, the task or service
|
1500
|
+
# requires the followiwng platforms:
|
1501
|
+
#
|
1502
|
+
# * Linux platform version `1.3.0` or later.
|
1503
|
+
#
|
1504
|
+
# * Windows platform version `1.0.0` or later.
|
1497
1505
|
#
|
1498
1506
|
# For tasks using the EC2 launch type, your container instances
|
1499
1507
|
# require at least version `1.26.0` of the container agent to enable a
|
@@ -1520,9 +1528,14 @@ module Aws::ECS
|
|
1520
1528
|
# forcefully killed if it doesn't exit normally on its own.
|
1521
1529
|
#
|
1522
1530
|
# For tasks using the Fargate launch type, the task or service
|
1523
|
-
# requires
|
1524
|
-
#
|
1525
|
-
#
|
1531
|
+
# requires the followiwng platforms:
|
1532
|
+
#
|
1533
|
+
# * Linux platform version `1.3.0` or later.
|
1534
|
+
#
|
1535
|
+
# * Windows platform version `1.0.0` or later.
|
1536
|
+
#
|
1537
|
+
# The max stop timeout value is 120 seconds and if the parameter is
|
1538
|
+
# not specified, the default value of 30 seconds is used.
|
1526
1539
|
#
|
1527
1540
|
# For tasks using the EC2 launch type, if the `stopTimeout` parameter
|
1528
1541
|
# is not specified, the value set for the Amazon ECS container agent
|
@@ -1995,8 +2008,12 @@ module Aws::ECS
|
|
1995
2008
|
# see [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic
|
1996
2009
|
# Container Service Developer Guide*.
|
1997
2010
|
#
|
1998
|
-
# <note markdown="1"> For tasks using the Fargate launch type,
|
1999
|
-
# the
|
2011
|
+
# <note markdown="1"> For tasks using the Fargate launch type, the task or service requires
|
2012
|
+
# the followiwng platforms:
|
2013
|
+
#
|
2014
|
+
# * Linux platform version `1.3.0` or later.
|
2015
|
+
#
|
2016
|
+
# * Windows platform version `1.0.0` or later.
|
2000
2017
|
#
|
2001
2018
|
# </note>
|
2002
2019
|
#
|
@@ -3049,7 +3066,8 @@ module Aws::ECS
|
|
3049
3066
|
# the service to the tasks in the service. If no value is specified,
|
3050
3067
|
# the tags are not propagated. Tags can only be propagated to the
|
3051
3068
|
# tasks within the service during service creation. To add tags to a
|
3052
|
-
# task after service creation, use the TagResource
|
3069
|
+
# task after service creation or task creation, use the TagResource
|
3070
|
+
# API action.
|
3053
3071
|
# @return [String]
|
3054
3072
|
#
|
3055
3073
|
# @!attribute [rw] enable_execute_command
|
@@ -3689,6 +3707,15 @@ module Aws::ECS
|
|
3689
3707
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
3690
3708
|
# @return [String]
|
3691
3709
|
#
|
3710
|
+
# @!attribute [rw] platform_family
|
3711
|
+
# The operating system that your tasks in the service, or tasks are
|
3712
|
+
# running on. A platform family is specified only for tasks using the
|
3713
|
+
# Fargate launch type.
|
3714
|
+
#
|
3715
|
+
# All tasks that run as part of this service must use the same
|
3716
|
+
# `platformFamily` value as the service, for example, ` LINUX.`.
|
3717
|
+
# @return [String]
|
3718
|
+
#
|
3692
3719
|
# @!attribute [rw] network_configuration
|
3693
3720
|
# The VPC subnet and security group configuration for tasks that
|
3694
3721
|
# receive their own elastic network interface by using the `awsvpc`
|
@@ -3730,6 +3757,7 @@ module Aws::ECS
|
|
3730
3757
|
:capacity_provider_strategy,
|
3731
3758
|
:launch_type,
|
3732
3759
|
:platform_version,
|
3760
|
+
:platform_family,
|
3733
3761
|
:network_configuration,
|
3734
3762
|
:rollout_state,
|
3735
3763
|
:rollout_state_reason)
|
@@ -4788,8 +4816,12 @@ module Aws::ECS
|
|
4788
4816
|
# variables][2] in the *Amazon Elastic Container Service Developer
|
4789
4817
|
# Guide*.
|
4790
4818
|
#
|
4791
|
-
# This
|
4792
|
-
# platform
|
4819
|
+
# This parameter is only supported for tasks hosted on Fargate using the
|
4820
|
+
# following platform versions:
|
4821
|
+
#
|
4822
|
+
# * Linux platform version `1.4.0` or later.
|
4823
|
+
#
|
4824
|
+
# * Windows platform version `1.0.0` or later.
|
4793
4825
|
#
|
4794
4826
|
#
|
4795
4827
|
#
|
@@ -4828,8 +4860,12 @@ module Aws::ECS
|
|
4828
4860
|
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
4829
4861
|
# User Guide for Fargate*.
|
4830
4862
|
#
|
4831
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
4832
|
-
# platform
|
4863
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
|
4864
|
+
# following platform versions:
|
4865
|
+
#
|
4866
|
+
# * Linux platform version `1.4.0` or later.
|
4867
|
+
#
|
4868
|
+
# * Windows platform version `1.0.0` or later.
|
4833
4869
|
#
|
4834
4870
|
# </note>
|
4835
4871
|
#
|
@@ -4949,8 +4985,8 @@ module Aws::ECS
|
|
4949
4985
|
# @return [String]
|
4950
4986
|
#
|
4951
4987
|
# @!attribute [rw] s3_encryption_enabled
|
4952
|
-
# Whether or not to
|
4953
|
-
#
|
4988
|
+
# Whether or not to use encryption on the S3 logs. If not specified,
|
4989
|
+
# encryption is not used.
|
4954
4990
|
# @return [Boolean]
|
4955
4991
|
#
|
4956
4992
|
# @!attribute [rw] s3_key_prefix
|
@@ -5440,7 +5476,7 @@ module Aws::ECS
|
|
5440
5476
|
#
|
5441
5477
|
#
|
5442
5478
|
#
|
5443
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5479
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5444
5480
|
#
|
5445
5481
|
# @note When making an API call, you may pass InferenceAccelerator
|
5446
5482
|
# data as a hash:
|
@@ -5477,7 +5513,7 @@ module Aws::ECS
|
|
5477
5513
|
#
|
5478
5514
|
#
|
5479
5515
|
#
|
5480
|
-
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
5516
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5481
5517
|
#
|
5482
5518
|
# @note When making an API call, you may pass InferenceAcceleratorOverride
|
5483
5519
|
# data as a hash:
|
@@ -7995,6 +8031,10 @@ module Aws::ECS
|
|
7995
8031
|
# ephemeral_storage: {
|
7996
8032
|
# size_in_gi_b: 1, # required
|
7997
8033
|
# },
|
8034
|
+
# runtime_platform: {
|
8035
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8036
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
8037
|
+
# },
|
7998
8038
|
# }
|
7999
8039
|
#
|
8000
8040
|
# @!attribute [rw] family
|
@@ -8301,7 +8341,11 @@ module Aws::ECS
|
|
8301
8341
|
# ECS User Guide for Fargate*.
|
8302
8342
|
#
|
8303
8343
|
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
8304
|
-
#
|
8344
|
+
# the following platform versions:
|
8345
|
+
#
|
8346
|
+
# * Linux platform version `1.4.0` or later.
|
8347
|
+
#
|
8348
|
+
# * Windows platform version `1.0.0` or later.
|
8305
8349
|
#
|
8306
8350
|
# </note>
|
8307
8351
|
#
|
@@ -8310,6 +8354,14 @@ module Aws::ECS
|
|
8310
8354
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
8311
8355
|
# @return [Types::EphemeralStorage]
|
8312
8356
|
#
|
8357
|
+
# @!attribute [rw] runtime_platform
|
8358
|
+
# The operating system that your tasks definitions run on. A platform
|
8359
|
+
# family is specified only for tasks using the Fargate launch type.
|
8360
|
+
#
|
8361
|
+
# When you specify a task definition in a service, this value must
|
8362
|
+
# match the `runtimePlatform` value of the service.
|
8363
|
+
# @return [Types::RuntimePlatform]
|
8364
|
+
#
|
8313
8365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
|
8314
8366
|
#
|
8315
8367
|
class RegisterTaskDefinitionRequest < Struct.new(
|
@@ -8328,7 +8380,8 @@ module Aws::ECS
|
|
8328
8380
|
:ipc_mode,
|
8329
8381
|
:proxy_configuration,
|
8330
8382
|
:inference_accelerators,
|
8331
|
-
:ephemeral_storage
|
8383
|
+
:ephemeral_storage,
|
8384
|
+
:runtime_platform)
|
8332
8385
|
SENSITIVE = []
|
8333
8386
|
include Aws::Structure
|
8334
8387
|
end
|
@@ -8458,7 +8511,7 @@ module Aws::ECS
|
|
8458
8511
|
#
|
8459
8512
|
#
|
8460
8513
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
|
8461
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-
|
8514
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
8462
8515
|
#
|
8463
8516
|
# @note When making an API call, you may pass ResourceRequirement
|
8464
8517
|
# data as a hash:
|
@@ -8782,6 +8835,13 @@ module Aws::ECS
|
|
8782
8835
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
8783
8836
|
# task definition to run. If a `revision` is not specified, the latest
|
8784
8837
|
# `ACTIVE` revision is used.
|
8838
|
+
#
|
8839
|
+
# The full ARN value must match the value that you specified ias the
|
8840
|
+
# `Resource` of the IAM principal's permissions policy. For example,
|
8841
|
+
# if the `Resource` is
|
8842
|
+
# arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*,
|
8843
|
+
# the `taskDefinition` ARN value must be
|
8844
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
8785
8845
|
# @return [String]
|
8786
8846
|
#
|
8787
8847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest AWS API Documentation
|
@@ -8826,6 +8886,33 @@ module Aws::ECS
|
|
8826
8886
|
include Aws::Structure
|
8827
8887
|
end
|
8828
8888
|
|
8889
|
+
# Information about the platform for the Amazon ECS service or task.
|
8890
|
+
#
|
8891
|
+
# @note When making an API call, you may pass RuntimePlatform
|
8892
|
+
# data as a hash:
|
8893
|
+
#
|
8894
|
+
# {
|
8895
|
+
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8896
|
+
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
|
8897
|
+
# }
|
8898
|
+
#
|
8899
|
+
# @!attribute [rw] cpu_architecture
|
8900
|
+
# The CPU architecture.
|
8901
|
+
# @return [String]
|
8902
|
+
#
|
8903
|
+
# @!attribute [rw] operating_system_family
|
8904
|
+
# The operating system.
|
8905
|
+
# @return [String]
|
8906
|
+
#
|
8907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RuntimePlatform AWS API Documentation
|
8908
|
+
#
|
8909
|
+
class RuntimePlatform < Struct.new(
|
8910
|
+
:cpu_architecture,
|
8911
|
+
:operating_system_family)
|
8912
|
+
SENSITIVE = []
|
8913
|
+
include Aws::Structure
|
8914
|
+
end
|
8915
|
+
|
8829
8916
|
# A floating-point percentage of the desired number of tasks to place
|
8830
8917
|
# and keep running in the task set.
|
8831
8918
|
#
|
@@ -9002,6 +9089,15 @@ module Aws::ECS
|
|
9002
9089
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
9003
9090
|
# @return [String]
|
9004
9091
|
#
|
9092
|
+
# @!attribute [rw] platform_family
|
9093
|
+
# The operating system that your tasks in the service are running on.
|
9094
|
+
# A platform family is specified only for tasks using the Fargate
|
9095
|
+
# launch type.
|
9096
|
+
#
|
9097
|
+
# All tasks that run as part of this service must use the same
|
9098
|
+
# `platformFamily` value as the service, for example, `LINUX`.
|
9099
|
+
# @return [String]
|
9100
|
+
#
|
9005
9101
|
# @!attribute [rw] task_definition
|
9006
9102
|
# The task definition to use for tasks in the service. This value is
|
9007
9103
|
# specified when the service is created with CreateService, and it can
|
@@ -9168,6 +9264,7 @@ module Aws::ECS
|
|
9168
9264
|
:launch_type,
|
9169
9265
|
:capacity_provider_strategy,
|
9170
9266
|
:platform_version,
|
9267
|
+
:platform_family,
|
9171
9268
|
:task_definition,
|
9172
9269
|
:deployment_configuration,
|
9173
9270
|
:task_sets,
|
@@ -10232,6 +10329,14 @@ module Aws::ECS
|
|
10232
10329
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
10233
10330
|
# @return [String]
|
10234
10331
|
#
|
10332
|
+
# @!attribute [rw] platform_family
|
10333
|
+
# The operating system that your tasks are running on. A platform
|
10334
|
+
# family is specified only for tasks using the Fargate launch type.
|
10335
|
+
#
|
10336
|
+
# All tasks that run as part of this service must use the same
|
10337
|
+
# `platformFamily` value as the service, for example, `LINUX.`.
|
10338
|
+
# @return [String]
|
10339
|
+
#
|
10235
10340
|
# @!attribute [rw] pull_started_at
|
10236
10341
|
# The Unix timestamp for when the container image pull began.
|
10237
10342
|
# @return [Time]
|
@@ -10348,6 +10453,7 @@ module Aws::ECS
|
|
10348
10453
|
:memory,
|
10349
10454
|
:overrides,
|
10350
10455
|
:platform_version,
|
10456
|
+
:platform_family,
|
10351
10457
|
:pull_started_at,
|
10352
10458
|
:pull_stopped_at,
|
10353
10459
|
:started_at,
|
@@ -10542,6 +10648,15 @@ module Aws::ECS
|
|
10542
10648
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
10543
10649
|
# @return [Array<String>]
|
10544
10650
|
#
|
10651
|
+
# @!attribute [rw] runtime_platform
|
10652
|
+
# The operating system that your task definitions are running on. A
|
10653
|
+
# platform family is specified only for tasks using the Fargate launch
|
10654
|
+
# type.
|
10655
|
+
#
|
10656
|
+
# When you specify a task in a service, this value must match the
|
10657
|
+
# `runtimePlatform` value of the service.
|
10658
|
+
# @return [Types::RuntimePlatform]
|
10659
|
+
#
|
10545
10660
|
# @!attribute [rw] requires_compatibilities
|
10546
10661
|
# The task launch types the task definition was validated against. To
|
10547
10662
|
# determine which task launch types the task definition is validated
|
@@ -10726,6 +10841,7 @@ module Aws::ECS
|
|
10726
10841
|
:requires_attributes,
|
10727
10842
|
:placement_constraints,
|
10728
10843
|
:compatibilities,
|
10844
|
+
:runtime_platform,
|
10729
10845
|
:requires_compatibilities,
|
10730
10846
|
:cpu,
|
10731
10847
|
:memory,
|
@@ -10847,7 +10963,13 @@ module Aws::ECS
|
|
10847
10963
|
#
|
10848
10964
|
# @!attribute [rw] execution_role_arn
|
10849
10965
|
# The Amazon Resource Name (ARN) of the task execution IAM role
|
10850
|
-
# override for the task.
|
10966
|
+
# override for the task. For more information, see [Amazon ECS task
|
10967
|
+
# execution IAM role][1] in the *Amazon Elastic Container Service
|
10968
|
+
# Developer Guide*.
|
10969
|
+
#
|
10970
|
+
#
|
10971
|
+
#
|
10972
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
|
10851
10973
|
# @return [String]
|
10852
10974
|
#
|
10853
10975
|
# @!attribute [rw] memory
|
@@ -10857,14 +10979,24 @@ module Aws::ECS
|
|
10857
10979
|
# @!attribute [rw] task_role_arn
|
10858
10980
|
# The Amazon Resource Name (ARN) of the IAM role that containers in
|
10859
10981
|
# this task can assume. All containers in this task are granted the
|
10860
|
-
# permissions that are specified in this role.
|
10982
|
+
# permissions that are specified in this role. For more information,
|
10983
|
+
# see [IAM Role for Tasks][1] in the *Amazon Elastic Container Service
|
10984
|
+
# Developer Guide*.
|
10985
|
+
#
|
10986
|
+
#
|
10987
|
+
#
|
10988
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
10861
10989
|
# @return [String]
|
10862
10990
|
#
|
10863
10991
|
# @!attribute [rw] ephemeral_storage
|
10864
10992
|
# The ephemeral storage setting override for the task.
|
10865
10993
|
#
|
10866
10994
|
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
10867
|
-
#
|
10995
|
+
# the following platform versions:
|
10996
|
+
#
|
10997
|
+
# * Linux platform version `1.4.0` or later.
|
10998
|
+
#
|
10999
|
+
# * Windows platform version `1.0.0` or later.
|
10868
11000
|
#
|
10869
11001
|
# </note>
|
10870
11002
|
# @return [Types::EphemeralStorage]
|
@@ -11001,6 +11133,14 @@ module Aws::ECS
|
|
11001
11133
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
11002
11134
|
# @return [String]
|
11003
11135
|
#
|
11136
|
+
# @!attribute [rw] platform_family
|
11137
|
+
# The operating system that your tasks in the set are running on. A
|
11138
|
+
# platform family is specified only for tasks using the Fargate launch
|
11139
|
+
# type.
|
11140
|
+
#
|
11141
|
+
# All tasks in the set must have the same value.
|
11142
|
+
# @return [String]
|
11143
|
+
#
|
11004
11144
|
# @!attribute [rw] network_configuration
|
11005
11145
|
# The network configuration for the task set.
|
11006
11146
|
# @return [Types::NetworkConfiguration]
|
@@ -11097,6 +11237,7 @@ module Aws::ECS
|
|
11097
11237
|
:launch_type,
|
11098
11238
|
:capacity_provider_strategy,
|
11099
11239
|
:platform_version,
|
11240
|
+
:platform_family,
|
11100
11241
|
:network_configuration,
|
11101
11242
|
:load_balancers,
|
11102
11243
|
:service_registries,
|
data/lib/aws-sdk-ecs.rb
CHANGED
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.
|
4
|
+
version: 1.89.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-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|