aws-sdk-ecs 1.114.0 → 1.116.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +37 -16
- data/lib/aws-sdk-ecs/types.rb +39 -8
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9d5abbd33de57234e3078be526939c5597427b4eede4c19c00673fdaad5f396
|
4
|
+
data.tar.gz: df76354c0704f80d1e6f928cd61454cb90c8bd8611a71f6b20aecf1589c09cd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03343a21e3e167f02764d438d3a6b16e02bdd59a1d50f224a5e61d767a760e3065a239a61455279d2516fce34cf68d54328f7e18a796521c5548cfac4c016935
|
7
|
+
data.tar.gz: 8240e9af8ac51480be4922d4079bcd52cd3665ee1dd1c031a6af0fe92126edd0e93847257f57a5d003e233059c7a53564b66d191e189ff3311edc7fddac8a5bb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.116.0 (2023-04-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation update to address various Amazon ECS tickets.
|
8
|
+
|
9
|
+
1.115.0 (2023-04-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release supports the Account Setting "TagResourceAuthorization" that allows for enhanced Tagging security controls.
|
13
|
+
|
4
14
|
1.114.0 (2023-04-14)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.116.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1887,13 +1887,13 @@ module Aws::ECS
|
|
1887
1887
|
# @example Request syntax with placeholder values
|
1888
1888
|
#
|
1889
1889
|
# resp = client.delete_account_setting({
|
1890
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode
|
1890
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
|
1891
1891
|
# principal_arn: "String",
|
1892
1892
|
# })
|
1893
1893
|
#
|
1894
1894
|
# @example Response structure
|
1895
1895
|
#
|
1896
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode"
|
1896
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
|
1897
1897
|
# resp.setting.value #=> String
|
1898
1898
|
# resp.setting.principal_arn #=> String
|
1899
1899
|
#
|
@@ -4534,7 +4534,7 @@ module Aws::ECS
|
|
4534
4534
|
# @example Request syntax with placeholder values
|
4535
4535
|
#
|
4536
4536
|
# resp = client.list_account_settings({
|
4537
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode
|
4537
|
+
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
|
4538
4538
|
# value: "String",
|
4539
4539
|
# principal_arn: "String",
|
4540
4540
|
# effective_settings: false,
|
@@ -4545,7 +4545,7 @@ module Aws::ECS
|
|
4545
4545
|
# @example Response structure
|
4546
4546
|
#
|
4547
4547
|
# resp.settings #=> Array
|
4548
|
-
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode"
|
4548
|
+
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
|
4549
4549
|
# resp.settings[0].value #=> String
|
4550
4550
|
# resp.settings[0].principal_arn #=> String
|
4551
4551
|
# resp.next_token #=> String
|
@@ -5440,11 +5440,21 @@ module Aws::ECS
|
|
5440
5440
|
# see [CloudWatch Container Insights][3] in the *Amazon Elastic
|
5441
5441
|
# Container Service Developer Guide*.
|
5442
5442
|
#
|
5443
|
+
# Amazon ECS is introducing tagging authorization for resource creation.
|
5444
|
+
# Users must have permissions for actions that create the resource, such
|
5445
|
+
# as `ecsCreateCluster`. If tags are specified when you create a
|
5446
|
+
# resource, Amazon Web Services performs additional authorization to
|
5447
|
+
# verify if users or roles have permissions to create tags. Therefore,
|
5448
|
+
# you must grant explicit permissions to use the `ecs:TagResource`
|
5449
|
+
# action. For more information, see [Grant permission to tag resources
|
5450
|
+
# on creation][4] in the *Amazon ECS Developer Guide*.
|
5451
|
+
#
|
5443
5452
|
#
|
5444
5453
|
#
|
5445
5454
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
|
5446
5455
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
|
5447
5456
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
5457
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
|
5448
5458
|
#
|
5449
5459
|
# @option params [required, String] :name
|
5450
5460
|
# The Amazon ECS resource name for which to modify the account setting.
|
@@ -5458,7 +5468,14 @@ module Aws::ECS
|
|
5458
5468
|
# `containerInsights` is specified, the default setting for Amazon Web
|
5459
5469
|
# Services CloudWatch Container Insights for your clusters is affected.
|
5460
5470
|
# If `fargateFIPSMode` is specified, Fargate FIPS 140 compliance is
|
5461
|
-
# affected.
|
5471
|
+
# affected. If `tagResourceAuthorization` is specified, the opt-in
|
5472
|
+
# option for tagging resources on creation is affected. For information
|
5473
|
+
# about the opt-in timeline, see [Tagging authorization timeline][1] in
|
5474
|
+
# the *Amazon ECS Developer Guide*.
|
5475
|
+
#
|
5476
|
+
#
|
5477
|
+
#
|
5478
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
5462
5479
|
#
|
5463
5480
|
# @option params [required, String] :value
|
5464
5481
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -5525,14 +5542,14 @@ module Aws::ECS
|
|
5525
5542
|
# @example Request syntax with placeholder values
|
5526
5543
|
#
|
5527
5544
|
# resp = client.put_account_setting({
|
5528
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode
|
5545
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
|
5529
5546
|
# value: "String", # required
|
5530
5547
|
# principal_arn: "String",
|
5531
5548
|
# })
|
5532
5549
|
#
|
5533
5550
|
# @example Response structure
|
5534
5551
|
#
|
5535
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode"
|
5552
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
|
5536
5553
|
# resp.setting.value #=> String
|
5537
5554
|
# resp.setting.principal_arn #=> String
|
5538
5555
|
#
|
@@ -5559,18 +5576,22 @@ module Aws::ECS
|
|
5559
5576
|
# `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
|
5560
5577
|
# container instances is affected. If `containerInsights` is specified,
|
5561
5578
|
# the default setting for Amazon Web Services CloudWatch Container
|
5562
|
-
# Insights for your clusters is affected.
|
5579
|
+
# Insights for your clusters is affected. If `tagResourceAuthorization`
|
5580
|
+
# is specified, the opt-in option for tagging resources on creation is
|
5581
|
+
# affected. For information about the opt-in timeline, see [Tagging
|
5582
|
+
# authorization timeline][1] in the *Amazon ECS Developer Guide*.
|
5563
5583
|
#
|
5564
5584
|
# When you specify `fargateFIPSMode` for the `name` and `enabled` for
|
5565
5585
|
# the `value`, Fargate uses FIPS-140 compliant cryptographic algorithms
|
5566
5586
|
# on your tasks. For more information about FIPS-140 compliance with
|
5567
5587
|
# Fargate, see [ Amazon Web Services Fargate Federal Information
|
5568
|
-
# Processing Standard (FIPS) 140-2 compliance][
|
5588
|
+
# Processing Standard (FIPS) 140-2 compliance][2] in the *Amazon Elastic
|
5569
5589
|
# Container Service Developer Guide*.
|
5570
5590
|
#
|
5571
5591
|
#
|
5572
5592
|
#
|
5573
|
-
# [1]: https://docs.aws.amazon.com/
|
5593
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
5594
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
5574
5595
|
#
|
5575
5596
|
# @option params [required, String] :value
|
5576
5597
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -5604,13 +5625,13 @@ module Aws::ECS
|
|
5604
5625
|
# @example Request syntax with placeholder values
|
5605
5626
|
#
|
5606
5627
|
# resp = client.put_account_setting_default({
|
5607
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode
|
5628
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
|
5608
5629
|
# value: "String", # required
|
5609
5630
|
# })
|
5610
5631
|
#
|
5611
5632
|
# @example Response structure
|
5612
5633
|
#
|
5613
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode"
|
5634
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
|
5614
5635
|
# resp.setting.value #=> String
|
5615
5636
|
# resp.setting.principal_arn #=> String
|
5616
5637
|
#
|
@@ -6336,7 +6357,7 @@ module Aws::ECS
|
|
6336
6357
|
#
|
6337
6358
|
# * Linux platform version `1.4.0` or later.
|
6338
6359
|
#
|
6339
|
-
#
|
6360
|
+
# * Windows platform version `1.0.0` or later.
|
6340
6361
|
#
|
6341
6362
|
# </note>
|
6342
6363
|
#
|
@@ -7382,8 +7403,8 @@ module Aws::ECS
|
|
7382
7403
|
#
|
7383
7404
|
# @option params [Boolean] :enable_execute_command
|
7384
7405
|
# Whether or not the execute command functionality is turned on for the
|
7385
|
-
# task. If `true`, this
|
7386
|
-
# containers in the task.
|
7406
|
+
# task. If `true`, this turns on the execute command functionality on
|
7407
|
+
# all containers in the task.
|
7387
7408
|
#
|
7388
7409
|
# @option params [String] :group
|
7389
7410
|
# The name of the task group to associate with the task. The default
|
@@ -9683,7 +9704,7 @@ module Aws::ECS
|
|
9683
9704
|
params: params,
|
9684
9705
|
config: config)
|
9685
9706
|
context[:gem_name] = 'aws-sdk-ecs'
|
9686
|
-
context[:gem_version] = '1.
|
9707
|
+
context[:gem_version] = '1.116.0'
|
9687
9708
|
Seahorse::Client::Request.new(handlers, context)
|
9688
9709
|
end
|
9689
9710
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -4554,7 +4554,7 @@ module Aws::ECS
|
|
4554
4554
|
#
|
4555
4555
|
# * Linux platform version `1.4.0` or later.
|
4556
4556
|
#
|
4557
|
-
#
|
4557
|
+
# * Windows platform version `1.0.0` or later.
|
4558
4558
|
#
|
4559
4559
|
# </note>
|
4560
4560
|
#
|
@@ -5408,6 +5408,9 @@ module Aws::ECS
|
|
5408
5408
|
# <note markdown="1"> If you're using tasks that use the Fargate launch type, the
|
5409
5409
|
# `maxSwap` parameter isn't supported.
|
5410
5410
|
#
|
5411
|
+
# If you're using tasks on Amazon Linux 2023 the `swappiness`
|
5412
|
+
# parameter isn't supported.
|
5413
|
+
#
|
5411
5414
|
# </note>
|
5412
5415
|
#
|
5413
5416
|
#
|
@@ -5429,6 +5432,9 @@ module Aws::ECS
|
|
5429
5432
|
# <note markdown="1"> If you're using tasks that use the Fargate launch type, the
|
5430
5433
|
# `swappiness` parameter isn't supported.
|
5431
5434
|
#
|
5435
|
+
# If you're using tasks on Amazon Linux 2023 the `swappiness`
|
5436
|
+
# parameter isn't supported.
|
5437
|
+
#
|
5432
5438
|
# </note>
|
5433
5439
|
#
|
5434
5440
|
#
|
@@ -6846,6 +6852,13 @@ module Aws::ECS
|
|
6846
6852
|
# mode, specify the exposed ports using `containerPort`. The `hostPort`
|
6847
6853
|
# can be left blank or it must be the same value as the `containerPort`.
|
6848
6854
|
#
|
6855
|
+
# Most fields of this parameter (`containerPort`, `hostPort`,
|
6856
|
+
# `protocol`) maps to `PortBindings` in the [Create a container][1]
|
6857
|
+
# section of the [Docker Remote API][2] and the `--publish` option to [
|
6858
|
+
# `docker run` ][3]. If the network mode of a task definition is set to
|
6859
|
+
# `host`, host ports must either be undefined or match the container
|
6860
|
+
# port in the port mapping.
|
6861
|
+
#
|
6849
6862
|
# <note markdown="1"> You can't expose the same container port for multiple protocols. If
|
6850
6863
|
# you attempt this, an error is returned.
|
6851
6864
|
#
|
@@ -6855,6 +6868,12 @@ module Aws::ECS
|
|
6855
6868
|
# and container port assignments are visible in the `networkBindings`
|
6856
6869
|
# section of DescribeTasks API responses.
|
6857
6870
|
#
|
6871
|
+
#
|
6872
|
+
#
|
6873
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
6874
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
6875
|
+
# [3]: https://docs.docker.com/engine/reference/commandline/run/
|
6876
|
+
#
|
6858
6877
|
# @!attribute [rw] container_port
|
6859
6878
|
# The port number on the container that's bound to the user-specified
|
6860
6879
|
# or automatically assigned host port.
|
@@ -7146,18 +7165,23 @@ module Aws::ECS
|
|
7146
7165
|
# `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
|
7147
7166
|
# container instances is affected. If `containerInsights` is
|
7148
7167
|
# specified, the default setting for Amazon Web Services CloudWatch
|
7149
|
-
# Container Insights for your clusters is affected.
|
7168
|
+
# Container Insights for your clusters is affected. If
|
7169
|
+
# `tagResourceAuthorization` is specified, the opt-in option for
|
7170
|
+
# tagging resources on creation is affected. For information about the
|
7171
|
+
# opt-in timeline, see [Tagging authorization timeline][1] in the
|
7172
|
+
# *Amazon ECS Developer Guide*.
|
7150
7173
|
#
|
7151
7174
|
# When you specify `fargateFIPSMode` for the `name` and `enabled` for
|
7152
7175
|
# the `value`, Fargate uses FIPS-140 compliant cryptographic
|
7153
7176
|
# algorithms on your tasks. For more information about FIPS-140
|
7154
7177
|
# compliance with Fargate, see [ Amazon Web Services Fargate Federal
|
7155
|
-
# Information Processing Standard (FIPS) 140-2 compliance][
|
7178
|
+
# Information Processing Standard (FIPS) 140-2 compliance][2] in the
|
7156
7179
|
# *Amazon Elastic Container Service Developer Guide*.
|
7157
7180
|
#
|
7158
7181
|
#
|
7159
7182
|
#
|
7160
|
-
# [1]: https://docs.aws.amazon.com/
|
7183
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
7184
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
7161
7185
|
# @return [String]
|
7162
7186
|
#
|
7163
7187
|
# @!attribute [rw] value
|
@@ -7198,7 +7222,14 @@ module Aws::ECS
|
|
7198
7222
|
# `containerInsights` is specified, the default setting for Amazon Web
|
7199
7223
|
# Services CloudWatch Container Insights for your clusters is
|
7200
7224
|
# affected. If `fargateFIPSMode` is specified, Fargate FIPS 140
|
7201
|
-
# compliance is affected.
|
7225
|
+
# compliance is affected. If `tagResourceAuthorization` is specified,
|
7226
|
+
# the opt-in option for tagging resources on creation is affected. For
|
7227
|
+
# information about the opt-in timeline, see [Tagging authorization
|
7228
|
+
# timeline][1] in the *Amazon ECS Developer Guide*.
|
7229
|
+
#
|
7230
|
+
#
|
7231
|
+
#
|
7232
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
7202
7233
|
# @return [String]
|
7203
7234
|
#
|
7204
7235
|
# @!attribute [rw] value
|
@@ -7778,7 +7809,7 @@ module Aws::ECS
|
|
7778
7809
|
#
|
7779
7810
|
# * Linux platform version `1.4.0` or later.
|
7780
7811
|
#
|
7781
|
-
#
|
7812
|
+
# * Windows platform version `1.0.0` or later.
|
7782
7813
|
#
|
7783
7814
|
# </note>
|
7784
7815
|
#
|
@@ -9084,8 +9115,8 @@ module Aws::ECS
|
|
9084
9115
|
#
|
9085
9116
|
# @!attribute [rw] enable_execute_command
|
9086
9117
|
# Whether or not the execute command functionality is turned on for
|
9087
|
-
# the task. If `true`, this
|
9088
|
-
# all containers in the task.
|
9118
|
+
# the task. If `true`, this turns on the execute command functionality
|
9119
|
+
# on all containers in the task.
|
9089
9120
|
# @return [Boolean]
|
9090
9121
|
#
|
9091
9122
|
# @!attribute [rw] group
|
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.116.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|