lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.114.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.115.0

- old
+ new

@@ -1885,17 +1885,17 @@ # } # # @example Request syntax with placeholder values # # resp = client.delete_account_setting({ - # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode + # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization # principal_arn: "String", # }) # # @example Response structure # - # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode" + # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization" # resp.setting.value #=> String # resp.setting.principal_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting AWS API Documentation # @@ -4532,22 +4532,22 @@ # } # # @example Request syntax with placeholder values # # resp = client.list_account_settings({ - # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode + # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization # value: "String", # principal_arn: "String", # effective_settings: false, # next_token: "String", # max_results: 1, # }) # # @example Response structure # # resp.settings #=> Array - # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode" + # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization" # resp.settings[0].value #=> String # resp.settings[0].principal_arn #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings AWS API Documentation @@ -5438,15 +5438,25 @@ # new clusters that are created will have Container Insights turned on # unless you disable it during cluster creation. For more information, # see [CloudWatch Container Insights][3] in the *Amazon Elastic # Container Service Developer Guide*. # + # Amazon ECS is introducing tagging authorization for resource creation. + # Users must have permissions for actions that create the resource, such + # as `ecsCreateCluster`. If tags are specified when you create a + # resource, Amazon Web Services performs additional authorization to + # verify if users or roles have permissions to create tags. Therefore, + # you must grant explicit permissions to use the `ecs:TagResource` + # action. For more information, see [Grant permission to tag resources + # on creation][4] in the *Amazon ECS Developer Guide*. # # + # # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html + # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html # # @option params [required, String] :name # The Amazon ECS resource name for which to modify the account setting. # If `serviceLongArnFormat` is specified, the ARN for your Amazon ECS # services is affected. If `taskLongArnFormat` is specified, the ARN and @@ -5456,12 +5466,19 @@ # `awsvpcTrunking` is specified, the elastic network interface (ENI) # limit for your Amazon ECS container instances is affected. If # `containerInsights` is specified, the default setting for Amazon Web # Services CloudWatch Container Insights for your clusters is affected. # If `fargateFIPSMode` is specified, Fargate FIPS 140 compliance is - # affected. + # affected. If `tagResourceAuthorization` is specified, the opt-in + # option for tagging resources on creation is affected. For information + # about the opt-in timeline, see [Tagging authorization timeline][1] in + # the *Amazon ECS Developer Guide*. # + # + # + # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources + # # @option params [required, String] :value # The account setting value for the specified principal ARN. Accepted # values are `enabled` and `disabled`. # # @option params [String] :principal_arn @@ -5523,18 +5540,18 @@ # } # # @example Request syntax with placeholder values # # resp = client.put_account_setting({ - # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode + # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization # value: "String", # required # principal_arn: "String", # }) # # @example Response structure # - # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode" + # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization" # resp.setting.value #=> String # resp.setting.principal_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting AWS API Documentation # @@ -5557,22 +5574,26 @@ # `containerInstanceLongArnFormat` is specified, the ARN and resource ID # for your Amazon ECS container instances is affected. If # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS # container instances is affected. If `containerInsights` is specified, # the default setting for Amazon Web Services CloudWatch Container - # Insights for your clusters is affected. + # Insights for your clusters is affected. If `tagResourceAuthorization` + # is specified, the opt-in option for tagging resources on creation is + # affected. For information about the opt-in timeline, see [Tagging + # authorization timeline][1] in the *Amazon ECS Developer Guide*. # # When you specify `fargateFIPSMode` for the `name` and `enabled` for # the `value`, Fargate uses FIPS-140 compliant cryptographic algorithms # on your tasks. For more information about FIPS-140 compliance with # Fargate, see [ Amazon Web Services Fargate Federal Information - # Processing Standard (FIPS) 140-2 compliance][1] in the *Amazon Elastic + # Processing Standard (FIPS) 140-2 compliance][2] in the *Amazon Elastic # Container Service Developer Guide*. # # # - # [1]: https://docs.aws.amazon.com/AWSEC2ContainerServiceDocs/build/server-root/AmazonECS/latest/developerguide/ecs-fips-compliance.html + # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources + # [2]: https://docs.aws.amazon.com/AWSEC2ContainerServiceDocs/build/server-root/AmazonECS/latest/developerguide/ecs-fips-compliance.html # # @option params [required, String] :value # The account setting value for the specified principal ARN. Accepted # values are `enabled` and `disabled`. # @@ -5602,17 +5623,17 @@ # } # # @example Request syntax with placeholder values # # resp = client.put_account_setting_default({ - # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode + # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization # value: "String", # required # }) # # @example Response structure # - # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode" + # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization" # resp.setting.value #=> String # resp.setting.principal_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault AWS API Documentation # @@ -6334,11 +6355,11 @@ # <note markdown="1"> For tasks using the Fargate launch type, the task requires the # following platforms: # # * Linux platform version `1.4.0` or later. # - # ^ + # * Windows platform version `1.0.0` or later. # # </note> # # # @@ -7380,12 +7401,12 @@ # # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html # # @option params [Boolean] :enable_execute_command # Whether or not the execute command functionality is turned on for the - # task. If `true`, this enables execute command functionality on all - # containers in the task. + # task. If `true`, this turns on the execute command functionality on + # all containers in the task. # # @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). @@ -9681,10 +9702,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecs' - context[:gem_version] = '1.114.0' + context[:gem_version] = '1.115.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #