lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.141.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.142.0
- old
+ new
@@ -5586,98 +5586,108 @@
# If you change the root user account setting, the default settings are
# reset for users and roles that do not have specified individual
# account settings. For more information, see [Account Settings][1] in
# the *Amazon Elastic Container Service Developer Guide*.
#
- # When you specify `serviceLongArnFormat`, `taskLongArnFormat`, or
- # `containerInstanceLongArnFormat`, the Amazon Resource Name (ARN) and
- # resource ID format of the resource type for a specified user, role, or
- # the root user for an account is affected. The opt-in and opt-out
- # account setting must be set for each Amazon ECS resource separately.
- # The ARN and resource ID format of a resource is defined by the opt-in
- # status of the user or role that created the resource. You must turn on
- # this setting to use Amazon ECS features such as resource tagging.
#
- # When you specify `awsvpcTrunking`, the elastic network interface (ENI)
- # limit for any new container instances that support the feature is
- # changed. If `awsvpcTrunking` is turned on, any new container instances
- # that support the feature are launched have the increased ENI limits
- # available to them. For more information, see [Elastic Network
- # Interface Trunking][2] in the *Amazon Elastic Container Service
- # Developer Guide*.
#
- # When you specify `containerInsights`, the default setting indicating
- # whether Amazon Web Services CloudWatch Container Insights is turned on
- # for your clusters is changed. If `containerInsights` is turned on, any
- # 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*.
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
#
- # 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*.
+ # @option params [required, String] :name
+ # The Amazon ECS account setting name to modify.
#
- # When Amazon Web Services determines that a security or infrastructure
- # update is needed for an Amazon ECS task hosted on Fargate, the tasks
- # need to be stopped and new tasks launched to replace them. Use
- # `fargateTaskRetirementWaitPeriod` to configure the wait time to retire
- # a Fargate task. For information about the Fargate tasks maintenance,
- # see [Amazon Web Services Fargate task maintenance][5] in the *Amazon
- # ECS Developer Guide*.
+ # The following are the valid values for the account setting name.
#
- # The `guardDutyActivate` parameter is read-only in Amazon ECS and
- # indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
- # by your security administrator in your Amazon ECS account. Amazon
- # GuardDuty controls this account setting on your behalf. For more
- # information, see [Protecting Amazon ECS workloads with Amazon ECS
- # Runtime Monitoring][6].
+ # * `serviceLongArnFormat` - When modified, the Amazon Resource Name
+ # (ARN) and resource ID format of the resource type for a specified
+ # user, role, or the root user for an account is affected. The opt-in
+ # and opt-out account setting must be set for each Amazon ECS resource
+ # separately. The ARN and resource ID format of a resource is defined
+ # by the opt-in status of the user or role that created the resource.
+ # You must turn on this setting to use Amazon ECS features such as
+ # resource tagging.
#
+ # * `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN)
+ # and resource ID format of the resource type for a specified user,
+ # role, or the root user for an account is affected. The opt-in and
+ # opt-out account setting must be set for each Amazon ECS resource
+ # separately. The ARN and resource ID format of a resource is defined
+ # by the opt-in status of the user or role that created the resource.
+ # You must turn on this setting to use Amazon ECS features such as
+ # resource tagging.
#
+ # * `containerInstanceLongArnFormat` - When modified, the Amazon
+ # Resource Name (ARN) and resource ID format of the resource type for
+ # a specified user, role, or the root user for an account is affected.
+ # The opt-in and opt-out account setting must be set for each Amazon
+ # ECS resource separately. The ARN and resource ID format of a
+ # resource is defined by the opt-in status of the user or role that
+ # created the resource. You must turn on this setting to use Amazon
+ # ECS features such as resource tagging.
#
- # [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
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
- # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
+ # * `awsvpcTrunking` - When modified, the elastic network interface
+ # (ENI) limit for any new container instances that support the feature
+ # is changed. If `awsvpcTrunking` is turned on, any new container
+ # instances that support the feature are launched have the increased
+ # ENI limits available to them. For more information, see [Elastic
+ # Network Interface Trunking][1] in the *Amazon Elastic Container
+ # Service Developer Guide*.
#
- # @option params [required, String] :name
- # The Amazon ECS resource name for which to modify the account setting.
- # If you specify `serviceLongArnFormat`, the ARN for your Amazon ECS
- # services is affected. If you specify `taskLongArnFormat`, the ARN and
- # resource ID for your Amazon ECS tasks is affected. If you specify
- # `containerInstanceLongArnFormat`, the ARN and resource ID for your
- # Amazon ECS container instances is affected. If you specify
- # `awsvpcTrunking`, the elastic network interface (ENI) limit for your
- # Amazon ECS container instances is affected. If you specify
- # `containerInsights`, the default setting for Amazon Web Services
- # CloudWatch Container Insights for your clusters is affected. If you
- # specify `fargateFIPSMode`, Fargate FIPS 140 compliance is affected. If
- # you specify `tagResourceAuthorization`, 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*. If you specify `fargateTaskRetirementWaitPeriod`,
- # the wait time to retire a Fargate task is affected.
+ # * `containerInsights` - When modified, the default setting indicating
+ # whether Amazon Web Services CloudWatch Container Insights is turned
+ # on for your clusters is changed. If `containerInsights` is turned
+ # on, any 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][2] in the *Amazon
+ # Elastic Container Service Developer Guide*.
#
- # The `guardDutyActivate` parameter is read-only in Amazon ECS and
- # indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
- # by your security administrator in your Amazon ECS account. Amazon
- # GuardDuty controls this account setting on your behalf. For more
- # information, see [Protecting Amazon ECS workloads with Amazon ECS
- # Runtime Monitoring][2].
+ # * `dualStackIPv6` - When turned on, when using a VPC in dual stack
+ # mode, your tasks using the `awsvpc` network mode can have an IPv6
+ # address assigned. For more information on using IPv6 with tasks
+ # launched on Amazon EC2 instances, see [Using a VPC in dual-stack
+ # mode][3]. For more information on using IPv6 with tasks launched on
+ # Fargate, see [Using a VPC in dual-stack mode][4].
#
+ # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
+ # 140 compliance is affected.
#
+ # * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
+ # determines that a security or infrastructure update is needed for an
+ # Amazon ECS task hosted on Fargate, the tasks need to be stopped and
+ # new tasks launched to replace them. Use
+ # `fargateTaskRetirementWaitPeriod` to configure the wait time to
+ # retire a Fargate task. For information about the Fargate tasks
+ # maintenance, see [Amazon Web Services Fargate task maintenance][5]
+ # in the *Amazon ECS Developer Guide*.
#
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
+ # * `tagResourceAuthorization` - 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][6]
+ # in the *Amazon ECS Developer Guide*.
#
+ # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
+ # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
+ # enabled or disabled by your security administrator in your Amazon
+ # ECS account. Amazon GuardDuty controls this account setting on your
+ # behalf. For more information, see [Protecting Amazon ECS workloads
+ # with Amazon ECS Runtime Monitoring][7].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
+ # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
+ #
# @option params [required, String] :value
# The account setting value for the specified principal ARN. Accepted
# values are `enabled`, `disabled`, `on`, and `off`.
#
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
@@ -5780,55 +5790,103 @@
# Modifies an account setting for all users on an account for whom no
# individual account setting has been specified. Account settings are
# set on a per-Region basis.
#
# @option params [required, String] :name
- # The resource name for which to modify the account setting. If you
- # specify `serviceLongArnFormat`, the ARN for your Amazon ECS services
- # is affected. If you specify `taskLongArnFormat`, the ARN and resource
- # ID for your Amazon ECS tasks is affected. If you specify
- # `containerInstanceLongArnFormat`, the ARN and resource ID for your
- # Amazon ECS container instances is affected. If you specify
- # `awsvpcTrunking`, the ENI limit for your Amazon ECS container
- # instances is affected. If you specify `containerInsights`, the default
- # setting for Amazon Web Services CloudWatch Container Insights for your
- # clusters is affected. If you specify `tagResourceAuthorization`, 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*. If you specify
- # `fargateTaskRetirementWaitPeriod`, the default wait time to retire a
- # Fargate task due to required maintenance is affected.
+ # The resource name for which to modify the account setting.
#
- # 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][2] in the *Amazon Elastic
- # Container Service Developer Guide*.
+ # The following are the valid values for the account setting name.
#
- # When Amazon Web Services determines that a security or infrastructure
- # update is needed for an Amazon ECS task hosted on Fargate, the tasks
- # need to be stopped and new tasks launched to replace them. Use
- # `fargateTaskRetirementWaitPeriod` to set the wait time to retire a
- # Fargate task to the default. For information about the Fargate tasks
- # maintenance, see [Amazon Web Services Fargate task maintenance][3] in
- # the *Amazon ECS Developer Guide*.
+ # * `serviceLongArnFormat` - When modified, the Amazon Resource Name
+ # (ARN) and resource ID format of the resource type for a specified
+ # user, role, or the root user for an account is affected. The opt-in
+ # and opt-out account setting must be set for each Amazon ECS resource
+ # separately. The ARN and resource ID format of a resource is defined
+ # by the opt-in status of the user or role that created the resource.
+ # You must turn on this setting to use Amazon ECS features such as
+ # resource tagging.
#
- # The `guardDutyActivate` parameter is read-only in Amazon ECS and
- # indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
- # by your security administrator in your Amazon ECS account. Amazon
- # GuardDuty controls this account setting on your behalf. For more
- # information, see [Protecting Amazon ECS workloads with Amazon ECS
- # Runtime Monitoring][4].
+ # * `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN)
+ # and resource ID format of the resource type for a specified user,
+ # role, or the root user for an account is affected. The opt-in and
+ # opt-out account setting must be set for each Amazon ECS resource
+ # separately. The ARN and resource ID format of a resource is defined
+ # by the opt-in status of the user or role that created the resource.
+ # You must turn on this setting to use Amazon ECS features such as
+ # resource tagging.
#
+ # * `containerInstanceLongArnFormat` - When modified, the Amazon
+ # Resource Name (ARN) and resource ID format of the resource type for
+ # a specified user, role, or the root user for an account is affected.
+ # The opt-in and opt-out account setting must be set for each Amazon
+ # ECS resource separately. The ARN and resource ID format of a
+ # resource is defined by the opt-in status of the user or role that
+ # created the resource. You must turn on this setting to use Amazon
+ # ECS features such as resource tagging.
#
+ # * `awsvpcTrunking` - When modified, the elastic network interface
+ # (ENI) limit for any new container instances that support the feature
+ # is changed. If `awsvpcTrunking` is turned on, any new container
+ # instances that support the feature are launched have the increased
+ # ENI limits available to them. For more information, see [Elastic
+ # Network Interface Trunking][1] in the *Amazon Elastic Container
+ # Service Developer Guide*.
#
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
- # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
- # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
+ # * `containerInsights` - When modified, the default setting indicating
+ # whether Amazon Web Services CloudWatch Container Insights is turned
+ # on for your clusters is changed. If `containerInsights` is turned
+ # on, any 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][2] in the *Amazon
+ # Elastic Container Service Developer Guide*.
#
+ # * `dualStackIPv6` - When turned on, when using a VPC in dual stack
+ # mode, your tasks using the `awsvpc` network mode can have an IPv6
+ # address assigned. For more information on using IPv6 with tasks
+ # launched on Amazon EC2 instances, see [Using a VPC in dual-stack
+ # mode][3]. For more information on using IPv6 with tasks launched on
+ # Fargate, see [Using a VPC in dual-stack mode][4].
+ #
+ # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
+ # 140 compliance is affected.
+ #
+ # * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
+ # determines that a security or infrastructure update is needed for an
+ # Amazon ECS task hosted on Fargate, the tasks need to be stopped and
+ # new tasks launched to replace them. Use
+ # `fargateTaskRetirementWaitPeriod` to configure the wait time to
+ # retire a Fargate task. For information about the Fargate tasks
+ # maintenance, see [Amazon Web Services Fargate task maintenance][5]
+ # in the *Amazon ECS Developer Guide*.
+ #
+ # * `tagResourceAuthorization` - 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][6]
+ # in the *Amazon ECS Developer Guide*.
+ #
+ # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
+ # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
+ # enabled or disabled by your security administrator in your Amazon
+ # ECS account. Amazon GuardDuty controls this account setting on your
+ # behalf. For more information, see [Protecting Amazon ECS workloads
+ # with Amazon ECS Runtime Monitoring][7].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
+ # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
+ #
# @option params [required, String] :value
# The account setting value for the specified principal ARN. Accepted
# values are `enabled`, `disabled`, `on`, and `off`.
#
# When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
@@ -10165,10 +10223,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.141.0'
+ context[:gem_version] = '1.142.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#