aws-sdk-ecs 1.87.0 → 1.88.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: 2ee1bbbfc40c30ba01f9e1e2737eb3f53314b02f32a5cbc6f754bc05c0d43c5c
4
- data.tar.gz: ef651fcaf810728c02d44a9e38412cab580d26349d905269e58546639533f009
3
+ metadata.gz: a27ba2714c2c3c8b681d7eac4dce387a31c164c08a575a3ae4bee2f60494e0d7
4
+ data.tar.gz: cf61e01c3cd98b843f74f08a808ef1bd40e3e9de5d30a01f324b41c0147175ab
5
5
  SHA512:
6
- metadata.gz: aee6a34cae063e53b1eeaaad73f956621b91e03e1a18dffd3eb4104e75b5f6bab084ff2dd2a37ea43b10c9e406717c08e455237c131f5578a871d0a025888e69
7
- data.tar.gz: 9e5a333c93c94df7bc488ff7cf0df405ef61ccc4923abd7b33cbabf92894d2d7c734dc9db2aa3c077b3f096919264a73865f9a877c59d7a95b6ac25eb0a18fb4
6
+ metadata.gz: 9b15711f1545aef1b27c03ae3125d50dc81627693218ab2c0bfc4f37e367b5d3efd5bcca6558c7cead63e35999359f4e1d0a255954496594c230c597f5dcc353
7
+ data.tar.gz: 0cb56de5f7ddeeeff61c2a9090b7df7dc02ec24f9afa9a38715e85e054da7f7920c7bb9363503d5ec8cea1064cb805774787732b4859e76b2afac35d9b2ffee7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.88.0 (2021-10-28)
5
+ ------------------
6
+
7
+ * Feature - Amazon ECS now supports running Fargate tasks on Windows Operating Systems Families which includes Windows Server 2019 Core and Windows Server 2019 Full.
8
+
4
9
  1.87.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.88.0
@@ -1311,6 +1311,7 @@ module Aws::ECS
1311
1311
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
1312
1312
  # resp.service.capacity_provider_strategy[0].base #=> Integer
1313
1313
  # resp.service.platform_version #=> String
1314
+ # resp.service.platform_family #=> String
1314
1315
  # resp.service.task_definition #=> String
1315
1316
  # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
1316
1317
  # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
@@ -1336,6 +1337,7 @@ module Aws::ECS
1336
1337
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
1337
1338
  # resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
1338
1339
  # resp.service.task_sets[0].platform_version #=> String
1340
+ # resp.service.task_sets[0].platform_family #=> String
1339
1341
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
1340
1342
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
1341
1343
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -1374,6 +1376,7 @@ module Aws::ECS
1374
1376
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
1375
1377
  # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1376
1378
  # resp.service.deployments[0].platform_version #=> String
1379
+ # resp.service.deployments[0].platform_family #=> String
1377
1380
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
1378
1381
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
1379
1382
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -1623,6 +1626,7 @@ module Aws::ECS
1623
1626
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
1624
1627
  # resp.task_set.capacity_provider_strategy[0].base #=> Integer
1625
1628
  # resp.task_set.platform_version #=> String
1629
+ # resp.task_set.platform_family #=> String
1626
1630
  # resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
1627
1631
  # resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
1628
1632
  # resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -2030,6 +2034,7 @@ module Aws::ECS
2030
2034
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
2031
2035
  # resp.service.capacity_provider_strategy[0].base #=> Integer
2032
2036
  # resp.service.platform_version #=> String
2037
+ # resp.service.platform_family #=> String
2033
2038
  # resp.service.task_definition #=> String
2034
2039
  # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
2035
2040
  # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
@@ -2055,6 +2060,7 @@ module Aws::ECS
2055
2060
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
2056
2061
  # resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
2057
2062
  # resp.service.task_sets[0].platform_version #=> String
2063
+ # resp.service.task_sets[0].platform_family #=> String
2058
2064
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
2059
2065
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
2060
2066
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -2093,6 +2099,7 @@ module Aws::ECS
2093
2099
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
2094
2100
  # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2095
2101
  # resp.service.deployments[0].platform_version #=> String
2102
+ # resp.service.deployments[0].platform_family #=> String
2096
2103
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
2097
2104
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
2098
2105
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -2196,6 +2203,7 @@ module Aws::ECS
2196
2203
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
2197
2204
  # resp.task_set.capacity_provider_strategy[0].base #=> Integer
2198
2205
  # resp.task_set.platform_version #=> String
2206
+ # resp.task_set.platform_family #=> String
2199
2207
  # resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
2200
2208
  # resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
2201
2209
  # resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -2536,6 +2544,8 @@ module Aws::ECS
2536
2544
  # resp.task_definition.placement_constraints[0].expression #=> String
2537
2545
  # resp.task_definition.compatibilities #=> Array
2538
2546
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2547
+ # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
2548
+ # 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"
2539
2549
  # resp.task_definition.requires_compatibilities #=> Array
2540
2550
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2541
2551
  # resp.task_definition.cpu #=> String
@@ -3059,6 +3069,7 @@ module Aws::ECS
3059
3069
  # resp.services[0].capacity_provider_strategy[0].weight #=> Integer
3060
3070
  # resp.services[0].capacity_provider_strategy[0].base #=> Integer
3061
3071
  # resp.services[0].platform_version #=> String
3072
+ # resp.services[0].platform_family #=> String
3062
3073
  # resp.services[0].task_definition #=> String
3063
3074
  # resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
3064
3075
  # resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
@@ -3084,6 +3095,7 @@ module Aws::ECS
3084
3095
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
3085
3096
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].base #=> Integer
3086
3097
  # resp.services[0].task_sets[0].platform_version #=> String
3098
+ # resp.services[0].task_sets[0].platform_family #=> String
3087
3099
  # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
3088
3100
  # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
3089
3101
  # resp.services[0].task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -3122,6 +3134,7 @@ module Aws::ECS
3122
3134
  # resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
3123
3135
  # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3124
3136
  # resp.services[0].deployments[0].platform_version #=> String
3137
+ # resp.services[0].deployments[0].platform_family #=> String
3125
3138
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
3126
3139
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
3127
3140
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -3411,6 +3424,8 @@ module Aws::ECS
3411
3424
  # resp.task_definition.placement_constraints[0].expression #=> String
3412
3425
  # resp.task_definition.compatibilities #=> Array
3413
3426
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3427
+ # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3428
+ # 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"
3414
3429
  # resp.task_definition.requires_compatibilities #=> Array
3415
3430
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3416
3431
  # resp.task_definition.cpu #=> String
@@ -3503,6 +3518,7 @@ module Aws::ECS
3503
3518
  # resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
3504
3519
  # resp.task_sets[0].capacity_provider_strategy[0].base #=> Integer
3505
3520
  # resp.task_sets[0].platform_version #=> String
3521
+ # resp.task_sets[0].platform_family #=> String
3506
3522
  # resp.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
3507
3523
  # resp.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
3508
3524
  # resp.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -3708,6 +3724,7 @@ module Aws::ECS
3708
3724
  # resp.tasks[0].overrides.task_role_arn #=> String
3709
3725
  # resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
3710
3726
  # resp.tasks[0].platform_version #=> String
3727
+ # resp.tasks[0].platform_family #=> String
3711
3728
  # resp.tasks[0].pull_started_at #=> Time
3712
3729
  # resp.tasks[0].pull_stopped_at #=> Time
3713
3730
  # resp.tasks[0].started_at #=> Time
@@ -5642,8 +5659,12 @@ module Aws::ECS
5642
5659
  # more information, see [Fargate task storage][1] in the *Amazon ECS
5643
5660
  # User Guide for Fargate*.
5644
5661
  #
5645
- # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
5646
- # platform version `1.4.0` or later.
5662
+ # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using the
5663
+ # following platform versions:
5664
+ #
5665
+ # * Linux platform version `1.4.0` or later.
5666
+ #
5667
+ # * Windows platform version `1.0.0` or later.
5647
5668
  #
5648
5669
  # </note>
5649
5670
  #
@@ -5651,6 +5672,13 @@ module Aws::ECS
5651
5672
  #
5652
5673
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
5653
5674
  #
5675
+ # @option params [Types::RuntimePlatform] :runtime_platform
5676
+ # The operating system that your tasks definitions run on. A platform
5677
+ # family is specified only for tasks using the Fargate launch type.
5678
+ #
5679
+ # When you specify a task definition in a service, this value must match
5680
+ # the `runtimePlatform` value of the service.
5681
+ #
5654
5682
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5655
5683
  #
5656
5684
  # * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
@@ -5943,6 +5971,10 @@ module Aws::ECS
5943
5971
  # ephemeral_storage: {
5944
5972
  # size_in_gi_b: 1, # required
5945
5973
  # },
5974
+ # runtime_platform: {
5975
+ # cpu_architecture: "X86_64", # accepts X86_64, ARM64
5976
+ # 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
5977
+ # },
5946
5978
  # })
5947
5979
  #
5948
5980
  # @example Response structure
@@ -6085,6 +6117,8 @@ module Aws::ECS
6085
6117
  # resp.task_definition.placement_constraints[0].expression #=> String
6086
6118
  # resp.task_definition.compatibilities #=> Array
6087
6119
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6120
+ # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
6121
+ # 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"
6088
6122
  # resp.task_definition.requires_compatibilities #=> Array
6089
6123
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
6090
6124
  # resp.task_definition.cpu #=> String
@@ -6561,6 +6595,7 @@ module Aws::ECS
6561
6595
  # resp.tasks[0].overrides.task_role_arn #=> String
6562
6596
  # resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
6563
6597
  # resp.tasks[0].platform_version #=> String
6598
+ # resp.tasks[0].platform_family #=> String
6564
6599
  # resp.tasks[0].pull_started_at #=> Time
6565
6600
  # resp.tasks[0].pull_stopped_at #=> Time
6566
6601
  # resp.tasks[0].started_at #=> Time
@@ -6868,6 +6903,7 @@ module Aws::ECS
6868
6903
  # resp.tasks[0].overrides.task_role_arn #=> String
6869
6904
  # resp.tasks[0].overrides.ephemeral_storage.size_in_gi_b #=> Integer
6870
6905
  # resp.tasks[0].platform_version #=> String
6906
+ # resp.tasks[0].platform_family #=> String
6871
6907
  # resp.tasks[0].pull_started_at #=> Time
6872
6908
  # resp.tasks[0].pull_stopped_at #=> Time
6873
6909
  # resp.tasks[0].started_at #=> Time
@@ -7033,6 +7069,7 @@ module Aws::ECS
7033
7069
  # resp.task.overrides.task_role_arn #=> String
7034
7070
  # resp.task.overrides.ephemeral_storage.size_in_gi_b #=> Integer
7035
7071
  # resp.task.platform_version #=> String
7072
+ # resp.task.platform_family #=> String
7036
7073
  # resp.task.pull_started_at #=> Time
7037
7074
  # resp.task.pull_stopped_at #=> Time
7038
7075
  # resp.task.started_at #=> Time
@@ -8205,6 +8242,7 @@ module Aws::ECS
8205
8242
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
8206
8243
  # resp.service.capacity_provider_strategy[0].base #=> Integer
8207
8244
  # resp.service.platform_version #=> String
8245
+ # resp.service.platform_family #=> String
8208
8246
  # resp.service.task_definition #=> String
8209
8247
  # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
8210
8248
  # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
@@ -8230,6 +8268,7 @@ module Aws::ECS
8230
8268
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
8231
8269
  # resp.service.task_sets[0].capacity_provider_strategy[0].base #=> Integer
8232
8270
  # resp.service.task_sets[0].platform_version #=> String
8271
+ # resp.service.task_sets[0].platform_family #=> String
8233
8272
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets #=> Array
8234
8273
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
8235
8274
  # resp.service.task_sets[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -8268,6 +8307,7 @@ module Aws::ECS
8268
8307
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
8269
8308
  # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8270
8309
  # resp.service.deployments[0].platform_version #=> String
8310
+ # resp.service.deployments[0].platform_family #=> String
8271
8311
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
8272
8312
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets[0] #=> String
8273
8313
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -8368,6 +8408,7 @@ module Aws::ECS
8368
8408
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
8369
8409
  # resp.task_set.capacity_provider_strategy[0].base #=> Integer
8370
8410
  # resp.task_set.platform_version #=> String
8411
+ # resp.task_set.platform_family #=> String
8371
8412
  # resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
8372
8413
  # resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
8373
8414
  # resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -8462,6 +8503,7 @@ module Aws::ECS
8462
8503
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
8463
8504
  # resp.task_set.capacity_provider_strategy[0].base #=> Integer
8464
8505
  # resp.task_set.platform_version #=> String
8506
+ # resp.task_set.platform_family #=> String
8465
8507
  # resp.task_set.network_configuration.awsvpc_configuration.subnets #=> Array
8466
8508
  # resp.task_set.network_configuration.awsvpc_configuration.subnets[0] #=> String
8467
8509
  # resp.task_set.network_configuration.awsvpc_configuration.security_groups #=> Array
@@ -8507,7 +8549,7 @@ module Aws::ECS
8507
8549
  params: params,
8508
8550
  config: config)
8509
8551
  context[:gem_name] = 'aws-sdk-ecs'
8510
- context[:gem_version] = '1.87.0'
8552
+ context[:gem_version] = '1.88.0'
8511
8553
  Seahorse::Client::Request.new(handlers, context)
8512
8554
  end
8513
8555
 
@@ -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"))
@@ -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 platform version `1.3.0` or later.
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, this parameter requires
1496
- # that the task or service uses platform version 1.3.0 or later.
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 platform version 1.3.0 or later. The max stop timeout value
1524
- # is 120 seconds and if the parameter is not specified, the default
1525
- # value of 30 seconds is used.
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, this parameter requires that
1999
- # the task or service uses platform version 1.3.0 or later.
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
  #
@@ -3690,6 +3707,15 @@ module Aws::ECS
3690
3707
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
3691
3708
  # @return [String]
3692
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
+ #
3693
3719
  # @!attribute [rw] network_configuration
3694
3720
  # The VPC subnet and security group configuration for tasks that
3695
3721
  # receive their own elastic network interface by using the `awsvpc`
@@ -3731,6 +3757,7 @@ module Aws::ECS
3731
3757
  :capacity_provider_strategy,
3732
3758
  :launch_type,
3733
3759
  :platform_version,
3760
+ :platform_family,
3734
3761
  :network_configuration,
3735
3762
  :rollout_state,
3736
3763
  :rollout_state_reason)
@@ -4789,8 +4816,12 @@ module Aws::ECS
4789
4816
  # variables][2] in the *Amazon Elastic Container Service Developer
4790
4817
  # Guide*.
4791
4818
  #
4792
- # This field is only valid for containers in Fargate tasks that use
4793
- # platform version `1.4.0` or later.
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.
4794
4825
  #
4795
4826
  #
4796
4827
  #
@@ -4829,8 +4860,12 @@ module Aws::ECS
4829
4860
  # more information, see [Fargate task storage][1] in the *Amazon ECS
4830
4861
  # User Guide for Fargate*.
4831
4862
  #
4832
- # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
4833
- # platform version `1.4.0` or later.
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.
4834
4869
  #
4835
4870
  # </note>
4836
4871
  #
@@ -4950,8 +4985,8 @@ module Aws::ECS
4950
4985
  # @return [String]
4951
4986
  #
4952
4987
  # @!attribute [rw] s3_encryption_enabled
4953
- # Whether or not to enable encryption on the CloudWatch logs. If not
4954
- # specified, encryption will be disabled.
4988
+ # Whether or not to use encryption on the S3 logs. If not specified,
4989
+ # encryption is not used.
4955
4990
  # @return [Boolean]
4956
4991
  #
4957
4992
  # @!attribute [rw] s3_key_prefix
@@ -7996,6 +8031,10 @@ module Aws::ECS
7996
8031
  # ephemeral_storage: {
7997
8032
  # size_in_gi_b: 1, # required
7998
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
+ # },
7999
8038
  # }
8000
8039
  #
8001
8040
  # @!attribute [rw] family
@@ -8302,7 +8341,11 @@ module Aws::ECS
8302
8341
  # ECS User Guide for Fargate*.
8303
8342
  #
8304
8343
  # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
8305
- # platform version `1.4.0` or later.
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.
8306
8349
  #
8307
8350
  # </note>
8308
8351
  #
@@ -8311,6 +8354,14 @@ module Aws::ECS
8311
8354
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
8312
8355
  # @return [Types::EphemeralStorage]
8313
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
+ #
8314
8365
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
8315
8366
  #
8316
8367
  class RegisterTaskDefinitionRequest < Struct.new(
@@ -8329,7 +8380,8 @@ module Aws::ECS
8329
8380
  :ipc_mode,
8330
8381
  :proxy_configuration,
8331
8382
  :inference_accelerators,
8332
- :ephemeral_storage)
8383
+ :ephemeral_storage,
8384
+ :runtime_platform)
8333
8385
  SENSITIVE = []
8334
8386
  include Aws::Structure
8335
8387
  end
@@ -8834,6 +8886,33 @@ module Aws::ECS
8834
8886
  include Aws::Structure
8835
8887
  end
8836
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
+
8837
8916
  # A floating-point percentage of the desired number of tasks to place
8838
8917
  # and keep running in the task set.
8839
8918
  #
@@ -9010,6 +9089,15 @@ module Aws::ECS
9010
9089
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
9011
9090
  # @return [String]
9012
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
+ #
9013
9101
  # @!attribute [rw] task_definition
9014
9102
  # The task definition to use for tasks in the service. This value is
9015
9103
  # specified when the service is created with CreateService, and it can
@@ -9176,6 +9264,7 @@ module Aws::ECS
9176
9264
  :launch_type,
9177
9265
  :capacity_provider_strategy,
9178
9266
  :platform_version,
9267
+ :platform_family,
9179
9268
  :task_definition,
9180
9269
  :deployment_configuration,
9181
9270
  :task_sets,
@@ -10240,6 +10329,14 @@ module Aws::ECS
10240
10329
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
10241
10330
  # @return [String]
10242
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
+ #
10243
10340
  # @!attribute [rw] pull_started_at
10244
10341
  # The Unix timestamp for when the container image pull began.
10245
10342
  # @return [Time]
@@ -10356,6 +10453,7 @@ module Aws::ECS
10356
10453
  :memory,
10357
10454
  :overrides,
10358
10455
  :platform_version,
10456
+ :platform_family,
10359
10457
  :pull_started_at,
10360
10458
  :pull_stopped_at,
10361
10459
  :started_at,
@@ -10550,6 +10648,15 @@ module Aws::ECS
10550
10648
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
10551
10649
  # @return [Array<String>]
10552
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
+ #
10553
10660
  # @!attribute [rw] requires_compatibilities
10554
10661
  # The task launch types the task definition was validated against. To
10555
10662
  # determine which task launch types the task definition is validated
@@ -10734,6 +10841,7 @@ module Aws::ECS
10734
10841
  :requires_attributes,
10735
10842
  :placement_constraints,
10736
10843
  :compatibilities,
10844
+ :runtime_platform,
10737
10845
  :requires_compatibilities,
10738
10846
  :cpu,
10739
10847
  :memory,
@@ -10884,7 +10992,11 @@ module Aws::ECS
10884
10992
  # The ephemeral storage setting override for the task.
10885
10993
  #
10886
10994
  # <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
10887
- # platform version `1.4.0` or later.
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.
10888
11000
  #
10889
11001
  # </note>
10890
11002
  # @return [Types::EphemeralStorage]
@@ -11021,6 +11133,14 @@ module Aws::ECS
11021
11133
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
11022
11134
  # @return [String]
11023
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
+ #
11024
11144
  # @!attribute [rw] network_configuration
11025
11145
  # The network configuration for the task set.
11026
11146
  # @return [Types::NetworkConfiguration]
@@ -11117,6 +11237,7 @@ module Aws::ECS
11117
11237
  :launch_type,
11118
11238
  :capacity_provider_strategy,
11119
11239
  :platform_version,
11240
+ :platform_family,
11120
11241
  :network_configuration,
11121
11242
  :load_balancers,
11122
11243
  :service_registries,
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.87.0'
52
+ GEM_VERSION = '1.88.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.88.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core