lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.130.0 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.131.0
- old
+ new
@@ -1272,14 +1272,14 @@
# ],
# load_balancers: [
# ],
# pending_count: 0,
# running_count: 0,
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
# service_name: "ecs-simple-service",
# status: "ACTIVE",
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6",
# },
# }
#
# @example Example: To create a new service behind a load balancer
#
@@ -1333,14 +1333,14 @@
# },
# ],
# pending_count: 0,
# role_arn: "arn:aws:iam::012345678910:role/ecsServiceRole",
# running_count: 0,
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service-elb",
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service-elb",
# service_name: "ecs-simple-service-elb",
# status: "ACTIVE",
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6",
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/console-sample-app-static:6",
# },
# }
#
# @example Request syntax with placeholder values
#
@@ -3284,11 +3284,11 @@
# resp.to_h outputs the following:
# {
# container_instances: [
# {
# agent_connected: true,
- # container_instance_arn: "arn:aws:ecs:us-east-1:012345678910:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7",
+ # container_instance_arn: "arn:aws:ecs:us-east-1:012345678910:container-instance/default/f2756532-8f13-4d53-87c9-aed50dc94cd7",
# ec2_instance_id: "i-807f3249",
# pending_tasks_count: 0,
# registered_resources: [
# {
# name: "CPU",
@@ -3500,14 +3500,14 @@
# ],
# load_balancers: [
# ],
# pending_count: 0,
# running_count: 0,
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
# service_name: "ecs-simple-service",
# status: "ACTIVE",
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6",
# },
# ],
# }
#
# @example Request syntax with placeholder values
@@ -4103,11 +4103,11 @@
# failures: [
# ],
# tasks: [
# {
# cluster_arn: "arn:aws:ecs:<region>:<aws_account_id>:cluster/default",
- # container_instance_arn: "arn:aws:ecs:<region>:<aws_account_id>:container-instance/18f9eda5-27d7-4c19-b133-45adc516e8fb",
+ # container_instance_arn: "arn:aws:ecs:<region>:<aws_account_id>:container-instance/default/18f9eda5-27d7-4c19-b133-45adc516e8fb",
# containers: [
# {
# name: "ecs-demo",
# container_arn: "arn:aws:ecs:<region>:<aws_account_id>:container/7c01765b-c588-45b3-8290-4ba38bd6c5a6",
# last_status: "RUNNING",
@@ -4116,11 +4116,11 @@
# bind_ip: "0.0.0.0",
# container_port: 80,
# host_port: 80,
# },
# ],
- # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
+ # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
# },
# ],
# desired_status: "RUNNING",
# last_status: "RUNNING",
# overrides: {
@@ -4129,11 +4129,11 @@
# name: "ecs-demo",
# },
# ],
# },
# started_by: "ecs-svc/9223370608528463088",
- # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
+ # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
# task_definition_arn: "arn:aws:ecs:<region>:<aws_account_id>:task-definition/amazon-ecs-sample:1",
# },
# ],
# }
#
@@ -4426,11 +4426,11 @@
# ],
# protected_tasks: [
# {
# expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
# protection_enabled: true,
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
# },
# ],
# }
#
# @example Request syntax with placeholder values
@@ -4827,12 +4827,12 @@
# })
#
# resp.to_h outputs the following:
# {
# container_instance_arns: [
- # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f",
- # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
+ # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/f6bbb147-5370-4ace-8c73-c7181ded911f",
+ # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
# ],
# }
#
# @example Request syntax with placeholder values
#
@@ -4912,11 +4912,11 @@
# })
#
# resp.to_h outputs the following:
# {
# service_arns: [
- # "arn:aws:ecs:us-east-1:012345678910:service/my-http-service",
+ # "arn:aws:ecs:us-east-1:012345678910:service/default/my-http-service",
# ],
# }
#
# @example Request syntax with placeholder values
#
@@ -5396,12 +5396,12 @@
# })
#
# resp.to_h outputs the following:
# {
# task_arns: [
- # "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
- # "arn:aws:ecs:us-east-1:012345678910:task/6b809ef6-c67e-4467-921f-ee261c15a0a1",
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/6b809ef6-c67e-4467-921f-ee261c15a0a1",
# ],
# }
#
# @example Example: To list the tasks on a particular container instance
#
@@ -5414,11 +5414,11 @@
# })
#
# resp.to_h outputs the following:
# {
# task_arns: [
- # "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
# ],
# }
#
# @example Request syntax with placeholder values
#
@@ -7229,17 +7229,17 @@
#
# resp.to_h outputs the following:
# {
# tasks: [
# {
- # container_instance_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
+ # container_instance_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
# containers: [
# {
# name: "sleep",
- # container_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
+ # container_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container/default/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
# last_status: "PENDING",
- # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
+ # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
# },
# ],
# desired_status: "RUNNING",
# last_status: "PENDING",
# overrides: {
@@ -7247,11 +7247,11 @@
# {
# name: "sleep",
# },
# ],
# },
- # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
+ # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
# task_definition_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1",
# },
# ],
# }
#
@@ -9614,11 +9614,11 @@
# ],
# protected_tasks: [
# {
# expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
# protection_enabled: true,
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
# },
# ],
# }
#
# @example Example: To set task scale-in protection for the default time period in minutes
@@ -9640,11 +9640,11 @@
# ],
# protected_tasks: [
# {
# expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
# protection_enabled: true,
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
# },
# ],
# }
#
# @example Example: To remove task scale-in protection
@@ -9664,11 +9664,11 @@
# failures: [
# ],
# protected_tasks: [
# {
# protection_enabled: false,
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
# },
# ],
# }
#
# @example Request syntax with placeholder values
@@ -9806,10 +9806,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.130.0'
+ context[:gem_version] = '1.131.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#