aws-sdk-ecs 1.97.0 → 1.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +46 -25
- data/lib/aws-sdk-ecs/types.rb +58 -13
- 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: 49266dbfb72f7957a1825b64b2c26d47ee13b3a3a51d14d0ef4ac6bf4cf5c88e
|
4
|
+
data.tar.gz: e714d5a38946aafca5e0cc96165c3150837569865956727f7c3247f24464dd82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aae3ed5a949c62f52f95922719cc9915ca043d791ee74a373d40e2602140a00e28aa4ede58ac2fb95cbe8a8501a4c785130535a97ad1c5d71f6437cfcc660804
|
7
|
+
data.tar.gz: 84060c32132051d81b6473e14823ccb425ecb5b8c09428839d6e4720ea1bbcd58746aebb47fb46f3736ee8b12a365e8c5c698d05310f108fb055bf1b281082a3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.98.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -526,7 +526,7 @@ module Aws::ECS
|
|
526
526
|
# PutAccountSetting or PutAccountSettingDefault.
|
527
527
|
#
|
528
528
|
# @option params [Types::ClusterConfiguration] :configuration
|
529
|
-
# The execute command configuration for the cluster.
|
529
|
+
# The `execute` command configuration for the cluster.
|
530
530
|
#
|
531
531
|
# @option params [Array<String>] :capacity_providers
|
532
532
|
# The short name of one or more capacity providers to associate with the
|
@@ -1109,12 +1109,10 @@ module Aws::ECS
|
|
1109
1109
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
1110
1110
|
#
|
1111
1111
|
# @option params [String] :propagate_tags
|
1112
|
-
# Specifies whether to propagate the tags from the task definition
|
1113
|
-
# the
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
# after service creation or task creation, use the TagResource API
|
1117
|
-
# action.
|
1112
|
+
# Specifies whether to propagate the tags from the task definition to
|
1113
|
+
# the task. If no value is specified, the tags aren't propagated. Tags
|
1114
|
+
# can only be propagated to the task during task creation. To add tags
|
1115
|
+
# to a task after task creation, use the TagResource API action.
|
1118
1116
|
#
|
1119
1117
|
# @option params [Boolean] :enable_execute_command
|
1120
1118
|
# Determines whether the execute command functionality is enabled for
|
@@ -6284,6 +6282,9 @@ module Aws::ECS
|
|
6284
6282
|
# containers in this task. If `true`, this enables execute command
|
6285
6283
|
# functionality on all containers in the task.
|
6286
6284
|
#
|
6285
|
+
# If `true`, then the task definition must have a task role, or you must
|
6286
|
+
# provide one as an override.
|
6287
|
+
#
|
6287
6288
|
# @option params [String] :group
|
6288
6289
|
# The name of the task group to associate with the task. The default
|
6289
6290
|
# value is the family name of the task definition (for example,
|
@@ -6427,13 +6428,33 @@ module Aws::ECS
|
|
6427
6428
|
# task definition to run. If a `revision` isn't specified, the latest
|
6428
6429
|
# `ACTIVE` revision is used.
|
6429
6430
|
#
|
6431
|
+
# When you create an IAM policy for run-task, you can set the resource
|
6432
|
+
# to be the latest task definition revision, or a specific revision.
|
6433
|
+
#
|
6430
6434
|
# The full ARN value must match the value that you specified as the
|
6431
|
-
# `Resource` of the IAM principal's permissions policy.
|
6432
|
-
#
|
6433
|
-
#
|
6434
|
-
# the `
|
6435
|
+
# `Resource` of the IAM principal's permissions policy.
|
6436
|
+
#
|
6437
|
+
# When you specify the policy resource as the latest task definition
|
6438
|
+
# version (by setting the `Resource` in the policy to
|
6439
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`),
|
6440
|
+
# then set this value to
|
6435
6441
|
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
6436
6442
|
#
|
6443
|
+
# When you specify the policy resource as a specific task definition
|
6444
|
+
# version (by setting the `Resource` in the policy to
|
6445
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1`
|
6446
|
+
# or
|
6447
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*`),
|
6448
|
+
# then set this value to
|
6449
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1`.
|
6450
|
+
#
|
6451
|
+
# For more information, see [Policy Resources for Amazon ECS][1] in the
|
6452
|
+
# Amazon Elastic Container Service developer Guide.
|
6453
|
+
#
|
6454
|
+
#
|
6455
|
+
#
|
6456
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources
|
6457
|
+
#
|
6437
6458
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6438
6459
|
#
|
6439
6460
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -7857,7 +7878,7 @@ module Aws::ECS
|
|
7857
7878
|
# services that do not use a load balancer are considered healthy if
|
7858
7879
|
# they're in the `RUNNING` state. Tasks for services that use a load
|
7859
7880
|
# balancer are considered healthy if they're in the `RUNNING` state
|
7860
|
-
# and are reported as healthy by the load balancer
|
7881
|
+
# and are reported as healthy by the load balancer.
|
7861
7882
|
#
|
7862
7883
|
# * The `maximumPercent` parameter represents an upper limit on the
|
7863
7884
|
# number of running tasks during task replacement. You can use this to
|
@@ -7986,20 +8007,20 @@ module Aws::ECS
|
|
7986
8007
|
# Modifies the parameters of a service.
|
7987
8008
|
#
|
7988
8009
|
# For services using the rolling update (`ECS`) you can update the
|
7989
|
-
# desired count,
|
7990
|
-
#
|
7991
|
-
#
|
7992
|
-
#
|
7993
|
-
#
|
8010
|
+
# desired count, deployment configuration, network configuration, load
|
8011
|
+
# balancers, service registries, enable ECS managed tags option,
|
8012
|
+
# propagate tags option, task placement constraints and strategies, and
|
8013
|
+
# task definition. When you update any of these parameters, Amazon ECS
|
8014
|
+
# starts new tasks with the new configuration.
|
7994
8015
|
#
|
7995
8016
|
# For services using the blue/green (`CODE_DEPLOY`) deployment
|
7996
|
-
# controller, only the desired count, deployment configuration,
|
7997
|
-
# placement constraints and strategies, enable
|
7998
|
-
# and propagate tags can be updated using this
|
7999
|
-
# configuration, platform version, task definition,
|
8000
|
-
# need to be updated, create a new CodeDeploy
|
8001
|
-
# information, see [CreateDeployment][2] in the
|
8002
|
-
# Reference*.
|
8017
|
+
# controller, only the desired count, deployment configuration, health
|
8018
|
+
# check grace period, task placement constraints and strategies, enable
|
8019
|
+
# ECS managed tags option, and propagate tags can be updated using this
|
8020
|
+
# API. If the network configuration, platform version, task definition,
|
8021
|
+
# or load balancer need to be updated, create a new CodeDeploy
|
8022
|
+
# deployment. For more information, see [CreateDeployment][2] in the
|
8023
|
+
# *CodeDeploy API Reference*.
|
8003
8024
|
#
|
8004
8025
|
# For services using an external deployment controller, you can update
|
8005
8026
|
# only the desired count, task placement constraints and strategies,
|
@@ -8708,7 +8729,7 @@ module Aws::ECS
|
|
8708
8729
|
params: params,
|
8709
8730
|
config: config)
|
8710
8731
|
context[:gem_name] = 'aws-sdk-ecs'
|
8711
|
-
context[:gem_version] = '1.
|
8732
|
+
context[:gem_version] = '1.98.0'
|
8712
8733
|
Seahorse::Client::Request.new(handlers, context)
|
8713
8734
|
end
|
8714
8735
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -2624,7 +2624,7 @@ module Aws::ECS
|
|
2624
2624
|
# @return [Array<Types::ClusterSetting>]
|
2625
2625
|
#
|
2626
2626
|
# @!attribute [rw] configuration
|
2627
|
-
# The execute command configuration for the cluster.
|
2627
|
+
# The `execute` command configuration for the cluster.
|
2628
2628
|
# @return [Types::ClusterConfiguration]
|
2629
2629
|
#
|
2630
2630
|
# @!attribute [rw] capacity_providers
|
@@ -3101,12 +3101,10 @@ module Aws::ECS
|
|
3101
3101
|
# @return [Boolean]
|
3102
3102
|
#
|
3103
3103
|
# @!attribute [rw] propagate_tags
|
3104
|
-
# Specifies whether to propagate the tags from the task definition
|
3105
|
-
# the
|
3106
|
-
#
|
3107
|
-
#
|
3108
|
-
# task after service creation or task creation, use the TagResource
|
3109
|
-
# API action.
|
3104
|
+
# Specifies whether to propagate the tags from the task definition to
|
3105
|
+
# the task. If no value is specified, the tags aren't propagated.
|
3106
|
+
# Tags can only be propagated to the task during task creation. To add
|
3107
|
+
# tags to a task after task creation, use the TagResource API action.
|
3110
3108
|
# @return [String]
|
3111
3109
|
#
|
3112
3110
|
# @!attribute [rw] enable_execute_command
|
@@ -5317,6 +5315,15 @@ module Aws::ECS
|
|
5317
5315
|
# Docker health checks that exist in the container image (such as those
|
5318
5316
|
# specified in a parent image or from the image's Dockerfile).
|
5319
5317
|
#
|
5318
|
+
# <note markdown="1"> The Amazon ECS container agent only monitors and reports on the health
|
5319
|
+
# checks specified in the task definition. Amazon ECS does not monitor
|
5320
|
+
# Docker health checks that are embedded in a container image and not
|
5321
|
+
# specified in the container definition. Health check parameters that
|
5322
|
+
# are specified in a container definition override any Docker health
|
5323
|
+
# checks that exist in the container image.
|
5324
|
+
#
|
5325
|
+
# </note>
|
5326
|
+
#
|
5320
5327
|
# You can view the health status of both individual containers and a
|
5321
5328
|
# task with the DescribeTasks API operation or when viewing the task
|
5322
5329
|
# details in the console.
|
@@ -8772,6 +8779,9 @@ module Aws::ECS
|
|
8772
8779
|
# Determines whether to use the execute command functionality for the
|
8773
8780
|
# containers in this task. If `true`, this enables execute command
|
8774
8781
|
# functionality on all containers in the task.
|
8782
|
+
#
|
8783
|
+
# If `true`, then the task definition must have a task role, or you
|
8784
|
+
# must provide one as an override.
|
8775
8785
|
# @return [Boolean]
|
8776
8786
|
#
|
8777
8787
|
# @!attribute [rw] group
|
@@ -8928,12 +8938,32 @@ module Aws::ECS
|
|
8928
8938
|
# task definition to run. If a `revision` isn't specified, the latest
|
8929
8939
|
# `ACTIVE` revision is used.
|
8930
8940
|
#
|
8941
|
+
# When you create an IAM policy for run-task, you can set the resource
|
8942
|
+
# to be the latest task definition revision, or a specific revision.
|
8943
|
+
#
|
8931
8944
|
# The full ARN value must match the value that you specified as the
|
8932
|
-
# `Resource` of the IAM principal's permissions policy.
|
8933
|
-
#
|
8934
|
-
#
|
8935
|
-
# the `
|
8945
|
+
# `Resource` of the IAM principal's permissions policy.
|
8946
|
+
#
|
8947
|
+
# When you specify the policy resource as the latest task definition
|
8948
|
+
# version (by setting the `Resource` in the policy to
|
8949
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`),
|
8950
|
+
# then set this value to
|
8936
8951
|
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`.
|
8952
|
+
#
|
8953
|
+
# When you specify the policy resource as a specific task definition
|
8954
|
+
# version (by setting the `Resource` in the policy to
|
8955
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1`
|
8956
|
+
# or
|
8957
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*`),
|
8958
|
+
# then set this value to
|
8959
|
+
# `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1`.
|
8960
|
+
#
|
8961
|
+
# For more information, see [Policy Resources for Amazon ECS][1] in
|
8962
|
+
# the Amazon Elastic Container Service developer Guide.
|
8963
|
+
#
|
8964
|
+
#
|
8965
|
+
#
|
8966
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources
|
8937
8967
|
# @return [String]
|
8938
8968
|
#
|
8939
8969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest AWS API Documentation
|
@@ -10252,8 +10282,23 @@ module Aws::ECS
|
|
10252
10282
|
#
|
10253
10283
|
class TagResourceResponse < Aws::EmptyStructure; end
|
10254
10284
|
|
10255
|
-
# The
|
10256
|
-
#
|
10285
|
+
# The execute command cannot run. This error can be caused by any of the
|
10286
|
+
# following configuration issues:
|
10287
|
+
#
|
10288
|
+
# * Incorrect IAM permissions
|
10289
|
+
#
|
10290
|
+
# * The SSM agent is not installed or is not running
|
10291
|
+
#
|
10292
|
+
# * There is an interface Amazon VPC endpoint for Amazon ECS, but there
|
10293
|
+
# is not one for for Systems Manager Session Manager
|
10294
|
+
#
|
10295
|
+
# For information about how to troubleshoot the issues, see
|
10296
|
+
# [Troubleshooting issues with ECS Exec][1] in the *Amazon Elastic
|
10297
|
+
# Container Service Developer Guide*.
|
10298
|
+
#
|
10299
|
+
#
|
10300
|
+
#
|
10301
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html
|
10257
10302
|
#
|
10258
10303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TargetNotConnectedException AWS API Documentation
|
10259
10304
|
#
|
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.98.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: 2022-03-
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|