lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.56.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.57.0
- old
+ new
@@ -1241,10 +1241,13 @@
# resp.service.task_sets[0].service_registries[0].container_port #=> Integer
# resp.service.task_sets[0].scale.value #=> Float
# resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
# resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.service.task_sets[0].stability_status_at #=> Time
+ # resp.service.task_sets[0].tags #=> Array
+ # resp.service.task_sets[0].tags[0].key #=> String
+ # resp.service.task_sets[0].tags[0].value #=> String
# resp.service.deployments #=> Array
# resp.service.deployments[0].id #=> String
# resp.service.deployments[0].status #=> String
# resp.service.deployments[0].task_definition #=> String
# resp.service.deployments[0].desired_count #=> Integer
@@ -1395,10 +1398,41 @@
#
# @option params [String] :client_token
# Unique, case-sensitive identifier that you provide to ensure the
# idempotency of the request. Up to 32 ASCII characters are allowed.
#
+ # @option params [Array<Types::Tag>] :tags
+ # The metadata that you apply to the task set to help you categorize and
+ # organize them. Each tag consists of a key and an optional value, both
+ # of which you define. When a service is deleted, the tags are deleted
+ # as well.
+ #
+ # The following basic restrictions apply to tags:
+ #
+ # * Maximum number of tags per resource - 50
+ #
+ # * For each resource, each tag key must be unique, and each tag key can
+ # have only one value.
+ #
+ # * Maximum key length - 128 Unicode characters in UTF-8
+ #
+ # * Maximum value length - 256 Unicode characters in UTF-8
+ #
+ # * If your tagging schema is used across multiple services and
+ # resources, remember that other services may have restrictions on
+ # allowed characters. Generally allowed characters are: letters,
+ # numbers, and spaces representable in UTF-8, and the following
+ # characters: + - = . \_ : / @.
+ #
+ # * Tag keys and values are case-sensitive.
+ #
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
+ # such as a prefix for either keys or values as it is reserved for AWS
+ # use. You cannot edit or delete tag keys or values with this prefix.
+ # Tags with this prefix do not count against your tags per resource
+ # limit.
+ #
# @return [Types::CreateTaskSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateTaskSetResponse#task_set #task_set} => Types::TaskSet
#
# @example Request syntax with placeholder values
@@ -1443,10 +1477,16 @@
# scale: {
# value: 1.0,
# unit: "PERCENT", # accepts PERCENT
# },
# client_token: "String",
+ # tags: [
+ # {
+ # key: "TagKey",
+ # value: "TagValue",
+ # },
+ # ],
# })
#
# @example Response structure
#
# resp.task_set.id #=> String
@@ -1485,10 +1525,13 @@
# resp.task_set.service_registries[0].container_port #=> Integer
# resp.task_set.scale.value #=> Float
# resp.task_set.scale.unit #=> String, one of "PERCENT"
# resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.task_set.stability_status_at #=> Time
+ # resp.task_set.tags #=> Array
+ # resp.task_set.tags[0].key #=> String
+ # resp.task_set.tags[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet AWS API Documentation
#
# @overload create_task_set(params = {})
# @param [Hash] params ({})
@@ -1845,10 +1888,13 @@
# resp.service.task_sets[0].service_registries[0].container_port #=> Integer
# resp.service.task_sets[0].scale.value #=> Float
# resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
# resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.service.task_sets[0].stability_status_at #=> Time
+ # resp.service.task_sets[0].tags #=> Array
+ # resp.service.task_sets[0].tags[0].key #=> String
+ # resp.service.task_sets[0].tags[0].value #=> String
# resp.service.deployments #=> Array
# resp.service.deployments[0].id #=> String
# resp.service.deployments[0].status #=> String
# resp.service.deployments[0].task_definition #=> String
# resp.service.deployments[0].desired_count #=> Integer
@@ -1979,10 +2025,13 @@
# resp.task_set.service_registries[0].container_port #=> Integer
# resp.task_set.scale.value #=> Float
# resp.task_set.scale.unit #=> String, one of "PERCENT"
# resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.task_set.stability_status_at #=> Time
+ # resp.task_set.tags #=> Array
+ # resp.task_set.tags[0].key #=> String
+ # resp.task_set.tags[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet AWS API Documentation
#
# @overload delete_task_set(params = {})
# @param [Hash] params ({})
@@ -2852,10 +2901,13 @@
# resp.services[0].task_sets[0].service_registries[0].container_port #=> Integer
# resp.services[0].task_sets[0].scale.value #=> Float
# resp.services[0].task_sets[0].scale.unit #=> String, one of "PERCENT"
# resp.services[0].task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.services[0].task_sets[0].stability_status_at #=> Time
+ # resp.services[0].task_sets[0].tags #=> Array
+ # resp.services[0].task_sets[0].tags[0].key #=> String
+ # resp.services[0].task_sets[0].tags[0].value #=> String
# resp.services[0].deployments #=> Array
# resp.services[0].deployments[0].id #=> String
# resp.services[0].deployments[0].status #=> String
# resp.services[0].deployments[0].task_definition #=> String
# resp.services[0].deployments[0].desired_count #=> Integer
@@ -3183,10 +3235,15 @@
# the task sets exist in.
#
# @option params [Array<String>] :task_sets
# The ID or full Amazon Resource Name (ARN) of task sets to describe.
#
+ # @option params [Array<String>] :include
+ # Specifies whether to see the resource tags for the task set. If `TAGS`
+ # is specified, the tags are included in the response. If this field is
+ # omitted, tags are not included in the response.
+ #
# @return [Types::DescribeTaskSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeTaskSetsResponse#task_sets #task_sets} => Array<Types::TaskSet>
# * {Types::DescribeTaskSetsResponse#failures #failures} => Array<Types::Failure>
#
@@ -3194,10 +3251,11 @@
#
# resp = client.describe_task_sets({
# cluster: "String", # required
# service: "String", # required
# task_sets: ["String"],
+ # include: ["TAGS"], # accepts TAGS
# })
#
# @example Response structure
#
# resp.task_sets #=> Array
@@ -3237,10 +3295,13 @@
# resp.task_sets[0].service_registries[0].container_port #=> Integer
# resp.task_sets[0].scale.value #=> Float
# resp.task_sets[0].scale.unit #=> String, one of "PERCENT"
# resp.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.task_sets[0].stability_status_at #=> Time
+ # resp.task_sets[0].tags #=> Array
+ # resp.task_sets[0].tags[0].key #=> String
+ # resp.task_sets[0].tags[0].value #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
# resp.failures[0].detail #=> String
#
@@ -7470,10 +7531,13 @@
# resp.service.task_sets[0].service_registries[0].container_port #=> Integer
# resp.service.task_sets[0].scale.value #=> Float
# resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
# resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.service.task_sets[0].stability_status_at #=> Time
+ # resp.service.task_sets[0].tags #=> Array
+ # resp.service.task_sets[0].tags[0].key #=> String
+ # resp.service.task_sets[0].tags[0].value #=> String
# resp.service.deployments #=> Array
# resp.service.deployments[0].id #=> String
# resp.service.deployments[0].status #=> String
# resp.service.deployments[0].task_definition #=> String
# resp.service.deployments[0].desired_count #=> Integer
@@ -7601,10 +7665,13 @@
# resp.task_set.service_registries[0].container_port #=> Integer
# resp.task_set.scale.value #=> Float
# resp.task_set.scale.unit #=> String, one of "PERCENT"
# resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.task_set.stability_status_at #=> Time
+ # resp.task_set.tags #=> Array
+ # resp.task_set.tags[0].key #=> String
+ # resp.task_set.tags[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet AWS API Documentation
#
# @overload update_service_primary_task_set(params = {})
# @param [Hash] params ({})
@@ -7692,10 +7759,13 @@
# resp.task_set.service_registries[0].container_port #=> Integer
# resp.task_set.scale.value #=> Float
# resp.task_set.scale.unit #=> String, one of "PERCENT"
# resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
# resp.task_set.stability_status_at #=> Time
+ # resp.task_set.tags #=> Array
+ # resp.task_set.tags[0].key #=> String
+ # resp.task_set.tags[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet AWS API Documentation
#
# @overload update_task_set(params = {})
# @param [Hash] params ({})
@@ -7715,10 +7785,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.56.0'
+ context[:gem_version] = '1.57.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#