lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.97.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.98.0

- old
+ new

@@ -524,11 +524,11 @@ # turn on CloudWatch Container Insights for a cluster. If this value is # specified, it overrides the `containerInsights` value set with # PutAccountSetting or PutAccountSettingDefault. # # @option params [Types::ClusterConfiguration] :configuration - # The execute command configuration for the cluster. + # The `execute` command configuration for the cluster. # # @option params [Array<String>] :capacity_providers # The short name of one or more capacity providers to associate with the # cluster. A capacity provider must be associated with a cluster before # it can be included as part of the default capacity provider strategy @@ -1107,16 +1107,14 @@ # # # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html # # @option params [String] :propagate_tags - # Specifies whether to propagate the tags from the task definition or - # the service to the tasks in the service. If no value is specified, the - # tags aren't propagated. Tags can only be propagated to the tasks - # within the service during service creation. To add tags to a task - # after service creation or task creation, use the TagResource API - # action. + # Specifies whether to propagate the tags from the task definition to + # the task. If no value is specified, the tags aren't propagated. Tags + # can only be propagated to the task during task creation. To add tags + # to a task after task creation, use the TagResource API action. # # @option params [Boolean] :enable_execute_command # Determines whether the execute command functionality is enabled for # the service. If `true`, this enables execute command functionality on # all containers in the service tasks. @@ -6282,10 +6280,13 @@ # @option params [Boolean] :enable_execute_command # Determines whether to use the execute command functionality for the # containers in this task. If `true`, this enables execute command # functionality on all containers in the task. # + # If `true`, then the task definition must have a task role, or you must + # provide one as an override. + # # @option params [String] :group # The name of the task group to associate with the task. The default # value is the family name of the task definition (for example, # `family:my-family-name`). # @@ -6425,17 +6426,37 @@ # @option params [required, String] :task_definition # The `family` and `revision` (`family:revision`) or full ARN of the # task definition to run. If a `revision` isn't specified, the latest # `ACTIVE` revision is used. # + # When you create an IAM policy for run-task, you can set the resource + # to be the latest task definition revision, or a specific revision. + # # The full ARN value must match the value that you specified as the - # `Resource` of the IAM principal's permissions policy. For example, if - # the `Resource` is - # arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, - # the `taskDefinition` ARN value must be + # `Resource` of the IAM principal's permissions policy. + # + # When you specify the policy resource as the latest task definition + # version (by setting the `Resource` in the policy to + # `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`), + # then set this value to # `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName`. # + # When you specify the policy resource as a specific task definition + # version (by setting the `Resource` in the policy to + # `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1` + # or + # `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*`), + # then set this value to + # `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1`. + # + # For more information, see [Policy Resources for Amazon ECS][1] in the + # Amazon Elastic Container Service developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources + # # @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RunTaskResponse#tasks #tasks} => Array&lt;Types::Task&gt; # * {Types::RunTaskResponse#failures #failures} => Array&lt;Types::Failure&gt; # @@ -7855,11 +7876,11 @@ # minimum is 100%, the service scheduler can't remove existing tasks # until the replacement tasks are considered healthy. Tasks for # services that do not use a load balancer are considered healthy if # they're in the `RUNNING` state. Tasks for services that use a load # balancer are considered healthy if they're in the `RUNNING` state - # and are reported as healthy by the load balancer.. + # and are reported as healthy by the load balancer. # # * The `maximumPercent` parameter represents an upper limit on the # number of running tasks during task replacement. You can use this to # define the replacement batch size. For example, if `desiredCount` is # four tasks, a maximum of 200% starts four new tasks before stopping @@ -7984,24 +8005,24 @@ # Terms apply to your participation in this preview. # # Modifies the parameters of a service. # # For services using the rolling update (`ECS`) you can update the - # desired count, the deployment configuration, the network - # configuration, load balancers, service registries, enable ECS managed - # tags option, propagate tags option, task placement constraints and - # strategies, and the task definition. When you update any of these - # parameters, Amazon ECS starts new tasks with the new configuration. + # desired count, deployment configuration, network configuration, load + # balancers, service registries, enable ECS managed tags option, + # propagate tags option, task placement constraints and strategies, and + # task definition. When you update any of these parameters, Amazon ECS + # starts new tasks with the new configuration. # # For services using the blue/green (`CODE_DEPLOY`) deployment - # controller, only the desired count, deployment configuration, task - # placement constraints and strategies, enable ECS managed tags option, - # and propagate tags can be updated using this API. If the network - # configuration, platform version, task definition, or load balancer - # need to be updated, create a new CodeDeploy deployment. For more - # information, see [CreateDeployment][2] in the *CodeDeploy API - # Reference*. + # controller, only the desired count, deployment configuration, health + # check grace period, task placement constraints and strategies, enable + # ECS managed tags option, and propagate tags can be updated using this + # API. If the network configuration, platform version, task definition, + # or load balancer need to be updated, create a new CodeDeploy + # deployment. For more information, see [CreateDeployment][2] in the + # *CodeDeploy API Reference*. # # For services using an external deployment controller, you can update # only the desired count, task placement constraints and strategies, # health check grace period, enable ECS managed tags option, and # propagate tags option, using this API. If the launch type, load @@ -8706,10 +8727,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecs' - context[:gem_version] = '1.97.0' + context[:gem_version] = '1.98.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #