aws-sdk-ecs 1.130.0 → 1.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 670485e3d38b5a95f99889773abf10a6d183140170b6fe2c13cee08786da6f4c
4
- data.tar.gz: b8af0eb9f0241b0e8fbd7b9e340399087b56b495aab216fae41cea36fe2b9c5e
3
+ metadata.gz: bd17f1e96153338ba22930d8515bf665cf7b7e8c173a9a46590b3cfa6a4e0125
4
+ data.tar.gz: 29d3ac3597bbc14d5ad9f16a08c2b6bb454758cf8298abacd1e4500016cac6c0
5
5
  SHA512:
6
- metadata.gz: 862a37f46fc058975360fbdf85a4c2eebb85d3683c428b2847683ba734a3eb54f90af62ea29d092486aafa4152eb913d5b2569d2fc7743a2238f298ba9af95b2
7
- data.tar.gz: 4ee83226c7e9f486c4eff6494bc4f0f0e2ffadab9940b71b5133c278242989ddf0ef429f249209b92af2d14c926a1e0686022567a138d9c78b5c521df43989ec
6
+ metadata.gz: '0860585a980ad315b8163803b7f30bbf90e14aed2acf44d6a942f508469fa31930559fcbd09ca5a29f8898eb0e9c2279802c898bf617379491b021f843132599'
7
+ data.tar.gz: 879bd85d459640b803946299845711e5c85216236ce5751799ef0be31293c36cb38f1ba92f7057b811ee3e4f56016f62e096a9ae64ffebfefa2709cfbc740dc4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.131.0 (2023-10-17)
5
+ ------------------
6
+
7
+ * Feature - Documentation only updates to address Amazon ECS tickets.
8
+
4
9
  1.130.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.130.0
1
+ 1.131.0
@@ -1274,10 +1274,10 @@ module Aws::ECS
1274
1274
  # ],
1275
1275
  # pending_count: 0,
1276
1276
  # running_count: 0,
1277
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
1277
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
1278
1278
  # service_name: "ecs-simple-service",
1279
1279
  # status: "ACTIVE",
1280
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
1280
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6",
1281
1281
  # },
1282
1282
  # }
1283
1283
  #
@@ -1335,10 +1335,10 @@ module Aws::ECS
1335
1335
  # pending_count: 0,
1336
1336
  # role_arn: "arn:aws:iam::012345678910:role/ecsServiceRole",
1337
1337
  # running_count: 0,
1338
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service-elb",
1338
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service-elb",
1339
1339
  # service_name: "ecs-simple-service-elb",
1340
1340
  # status: "ACTIVE",
1341
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/console-sample-app-static:6",
1341
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/console-sample-app-static:6",
1342
1342
  # },
1343
1343
  # }
1344
1344
  #
@@ -3286,7 +3286,7 @@ module Aws::ECS
3286
3286
  # container_instances: [
3287
3287
  # {
3288
3288
  # agent_connected: true,
3289
- # container_instance_arn: "arn:aws:ecs:us-east-1:012345678910:container-instance/f2756532-8f13-4d53-87c9-aed50dc94cd7",
3289
+ # container_instance_arn: "arn:aws:ecs:us-east-1:012345678910:container-instance/default/f2756532-8f13-4d53-87c9-aed50dc94cd7",
3290
3290
  # ec2_instance_id: "i-807f3249",
3291
3291
  # pending_tasks_count: 0,
3292
3292
  # registered_resources: [
@@ -3502,10 +3502,10 @@ module Aws::ECS
3502
3502
  # ],
3503
3503
  # pending_count: 0,
3504
3504
  # running_count: 0,
3505
- # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/ecs-simple-service",
3505
+ # service_arn: "arn:aws:ecs:us-east-1:012345678910:service/default/ecs-simple-service",
3506
3506
  # service_name: "ecs-simple-service",
3507
3507
  # status: "ACTIVE",
3508
- # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/hello_world:6",
3508
+ # task_definition: "arn:aws:ecs:us-east-1:012345678910:task-definition/default/hello_world:6",
3509
3509
  # },
3510
3510
  # ],
3511
3511
  # }
@@ -4105,7 +4105,7 @@ module Aws::ECS
4105
4105
  # tasks: [
4106
4106
  # {
4107
4107
  # cluster_arn: "arn:aws:ecs:<region>:<aws_account_id>:cluster/default",
4108
- # container_instance_arn: "arn:aws:ecs:<region>:<aws_account_id>:container-instance/18f9eda5-27d7-4c19-b133-45adc516e8fb",
4108
+ # container_instance_arn: "arn:aws:ecs:<region>:<aws_account_id>:container-instance/default/18f9eda5-27d7-4c19-b133-45adc516e8fb",
4109
4109
  # containers: [
4110
4110
  # {
4111
4111
  # name: "ecs-demo",
@@ -4118,7 +4118,7 @@ module Aws::ECS
4118
4118
  # host_port: 80,
4119
4119
  # },
4120
4120
  # ],
4121
- # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
4121
+ # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
4122
4122
  # },
4123
4123
  # ],
4124
4124
  # desired_status: "RUNNING",
@@ -4131,7 +4131,7 @@ module Aws::ECS
4131
4131
  # ],
4132
4132
  # },
4133
4133
  # started_by: "ecs-svc/9223370608528463088",
4134
- # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
4134
+ # task_arn: "arn:aws:ecs:<region>:<aws_account_id>:task/default/c5cba4eb-5dad-405e-96db-71ef8eefe6a8",
4135
4135
  # task_definition_arn: "arn:aws:ecs:<region>:<aws_account_id>:task-definition/amazon-ecs-sample:1",
4136
4136
  # },
4137
4137
  # ],
@@ -4428,7 +4428,7 @@ module Aws::ECS
4428
4428
  # {
4429
4429
  # expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
4430
4430
  # protection_enabled: true,
4431
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
4431
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
4432
4432
  # },
4433
4433
  # ],
4434
4434
  # }
@@ -4829,8 +4829,8 @@ module Aws::ECS
4829
4829
  # resp.to_h outputs the following:
4830
4830
  # {
4831
4831
  # container_instance_arns: [
4832
- # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/f6bbb147-5370-4ace-8c73-c7181ded911f",
4833
- # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
4832
+ # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/f6bbb147-5370-4ace-8c73-c7181ded911f",
4833
+ # "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
4834
4834
  # ],
4835
4835
  # }
4836
4836
  #
@@ -4914,7 +4914,7 @@ module Aws::ECS
4914
4914
  # resp.to_h outputs the following:
4915
4915
  # {
4916
4916
  # service_arns: [
4917
- # "arn:aws:ecs:us-east-1:012345678910:service/my-http-service",
4917
+ # "arn:aws:ecs:us-east-1:012345678910:service/default/my-http-service",
4918
4918
  # ],
4919
4919
  # }
4920
4920
  #
@@ -5398,8 +5398,8 @@ module Aws::ECS
5398
5398
  # resp.to_h outputs the following:
5399
5399
  # {
5400
5400
  # task_arns: [
5401
- # "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
5402
- # "arn:aws:ecs:us-east-1:012345678910:task/6b809ef6-c67e-4467-921f-ee261c15a0a1",
5401
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
5402
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/6b809ef6-c67e-4467-921f-ee261c15a0a1",
5403
5403
  # ],
5404
5404
  # }
5405
5405
  #
@@ -5416,7 +5416,7 @@ module Aws::ECS
5416
5416
  # resp.to_h outputs the following:
5417
5417
  # {
5418
5418
  # task_arns: [
5419
- # "arn:aws:ecs:us-east-1:012345678910:task/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
5419
+ # "arn:aws:ecs:us-east-1:012345678910:task/default/0cc43cdb-3bee-4407-9c26-c0e6ea5bee84",
5420
5420
  # ],
5421
5421
  # }
5422
5422
  #
@@ -7231,13 +7231,13 @@ module Aws::ECS
7231
7231
  # {
7232
7232
  # tasks: [
7233
7233
  # {
7234
- # container_instance_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
7234
+ # container_instance_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container-instance/default/ffe3d344-77e2-476c-a4d0-bf560ad50acb",
7235
7235
  # containers: [
7236
7236
  # {
7237
7237
  # name: "sleep",
7238
- # container_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
7238
+ # container_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:container/default/58591c8e-be29-4ddf-95aa-ee459d4c59fd",
7239
7239
  # last_status: "PENDING",
7240
- # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
7240
+ # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
7241
7241
  # },
7242
7242
  # ],
7243
7243
  # desired_status: "RUNNING",
@@ -7249,7 +7249,7 @@ module Aws::ECS
7249
7249
  # },
7250
7250
  # ],
7251
7251
  # },
7252
- # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
7252
+ # task_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task/default/a9f21ea7-c9f5-44b1-b8e6-b31f50ed33c0",
7253
7253
  # task_definition_arn: "arn:aws:ecs:us-east-1:<aws_account_id>:task-definition/sleep360:1",
7254
7254
  # },
7255
7255
  # ],
@@ -9616,7 +9616,7 @@ module Aws::ECS
9616
9616
  # {
9617
9617
  # expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
9618
9618
  # protection_enabled: true,
9619
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
9619
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
9620
9620
  # },
9621
9621
  # ],
9622
9622
  # }
@@ -9642,7 +9642,7 @@ module Aws::ECS
9642
9642
  # {
9643
9643
  # expiration_date: Time.parse("2022-11-02T06:56:32.553Z"),
9644
9644
  # protection_enabled: true,
9645
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
9645
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
9646
9646
  # },
9647
9647
  # ],
9648
9648
  # }
@@ -9666,7 +9666,7 @@ module Aws::ECS
9666
9666
  # protected_tasks: [
9667
9667
  # {
9668
9668
  # protection_enabled: false,
9669
- # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/b8b1cf532d0e46ba8d44a40d1de16772",
9669
+ # task_arn: "arn:aws:ecs:us-west-2:012345678910:task/default/b8b1cf532d0e46ba8d44a40d1de16772",
9670
9670
  # },
9671
9671
  # ],
9672
9672
  # }
@@ -9808,7 +9808,7 @@ module Aws::ECS
9808
9808
  params: params,
9809
9809
  config: config)
9810
9810
  context[:gem_name] = 'aws-sdk-ecs'
9811
- context[:gem_version] = '1.130.0'
9811
+ context[:gem_version] = '1.131.0'
9812
9812
  Seahorse::Client::Request.new(handlers, context)
9813
9813
  end
9814
9814
 
@@ -32,7 +32,7 @@ module Aws::ECS
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -763,7 +763,7 @@ module Aws::ECS
763
763
  # the "HTTP" namespace type in the Command Line Interface. Other
764
764
  # types of instance discovery aren't used by Service Connect.
765
765
  #
766
- # If you update the service with an empty string `""` for the
766
+ # If you update the cluster with an empty string `""` for the
767
767
  # namespace name, the cluster configuration for Service Connect is
768
768
  # removed. Note that the namespace will remain in Cloud Map and must
769
769
  # be deleted separately.
@@ -4577,9 +4577,7 @@ module Aws::ECS
4577
4577
  # container. You can specify up to ten environment files. The file must
4578
4578
  # have a `.env` file extension. Each line in an environment file should
4579
4579
  # contain an environment variable in `VARIABLE=VALUE` format. Lines
4580
- # beginning with `#` are treated as comments and are ignored. For more
4581
- # information about the environment variable file syntax, see [Declare
4582
- # default environment variables in file][1].
4580
+ # beginning with `#` are treated as comments and are ignored.
4583
4581
  #
4584
4582
  # If there are environment variables specified using the `environment`
4585
4583
  # parameter in a container definition, they take precedence over the
@@ -4587,7 +4585,7 @@ module Aws::ECS
4587
4585
  # environment files are specified that contain the same variable,
4588
4586
  # they're processed from the top down. We recommend that you use unique
4589
4587
  # variable names. For more information, see [Specifying environment
4590
- # variables][2] in the *Amazon Elastic Container Service Developer
4588
+ # variables][1] in the *Amazon Elastic Container Service Developer
4591
4589
  # Guide*.
4592
4590
  #
4593
4591
  # You must use the following platforms for the Fargate launch type:
@@ -4596,10 +4594,17 @@ module Aws::ECS
4596
4594
  #
4597
4595
  # * Windows platform version `1.0.0` or later.
4598
4596
  #
4597
+ # Consider the following when using the Fargate launch type:
4599
4598
  #
4599
+ # * The file is handled like a native Docker env-file.
4600
4600
  #
4601
- # [1]: https://docs.docker.com/compose/env-file/
4602
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
4601
+ # * There is no support for shell escape handling.
4602
+ #
4603
+ # * The container entry point interperts the `VARIABLE` values.
4604
+ #
4605
+ #
4606
+ #
4607
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
4603
4608
  #
4604
4609
  # @!attribute [rw] value
4605
4610
  # The Amazon Resource Name (ARN) of the Amazon S3 object containing
@@ -5036,23 +5041,57 @@ module Aws::ECS
5036
5041
  #
5037
5042
  # * `UNHEALTHY`-The container health check has failed.
5038
5043
  #
5039
- # * `UNKNOWN`-The container health check is being evaluated or there's
5040
- # no container health check defined.
5044
+ # * `UNKNOWN`-The container health check is being evaluated, there's no
5045
+ # container health check defined, or Amazon ECS doesn't have the
5046
+ # health status of the container.
5047
+ #
5048
+ # The following describes the possible `healthStatus` values based on
5049
+ # the container health checker status of essential containers in the
5050
+ # task with the following priority order (high to low):
5041
5051
  #
5042
- # The following describes the possible `healthStatus` values for a task.
5043
- # The container health check status of non-essential containers don't
5044
- # have an effect on the health status of a task.
5052
+ # * `UNHEALTHY`-One or more essential containers have failed their
5053
+ # health check.
5054
+ #
5055
+ # * `UNKNOWN`-Any essential container running within the task is in an
5056
+ # `UNKNOWN` state and no other essential containers have an
5057
+ # `UNHEALTHY` state.
5045
5058
  #
5046
5059
  # * `HEALTHY`-All essential containers within the task have passed their
5047
5060
  # health checks.
5048
5061
  #
5049
- # * `UNHEALTHY`-One or more essential containers have failed their
5050
- # health check.
5062
+ # Consider the following task health example with 2 containers.
5063
+ #
5064
+ # * If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, the task
5065
+ # health is `UNHEALTHY`.
5066
+ #
5067
+ # * If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, the task
5068
+ # health is `UNHEALTHY`.
5069
+ #
5070
+ # * If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, the task
5071
+ # health is `UNKNOWN`.
5072
+ #
5073
+ # * If Container1 is `HEALTHY` and Container2 is `HEALTHY`, the task
5074
+ # health is `HEALTHY`.
5075
+ #
5076
+ # Consider the following task health example with 3 containers.
5077
+ #
5078
+ # * If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and
5079
+ # Container3 is `UNKNOWN`, the task health is `UNHEALTHY`.
5080
+ #
5081
+ # * If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and
5082
+ # Container3 is `HEALTHY`, the task health is `UNHEALTHY`.
5083
+ #
5084
+ # * If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, and
5085
+ # Container3 is `HEALTHY`, the task health is `UNHEALTHY`.
5086
+ #
5087
+ # * If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and
5088
+ # Container3 is `HEALTHY`, the task health is `UNKNOWN`.
5089
+ #
5090
+ # * If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and
5091
+ # Container3 is `UNKNOWN`, the task health is `UNKNOWN`.
5051
5092
  #
5052
- # * `UNKNOWN`-The essential containers within the task are still having
5053
- # their health checks evaluated, there are only nonessential
5054
- # containers with health checks defined, or there are no container
5055
- # health checks defined.
5093
+ # * If Container1 is `HEALTHY` and Container2 is `HEALTHY`, and
5094
+ # Container3 is `HEALTHY`, the task health is `HEALTHY`.
5056
5095
  #
5057
5096
  # If a task is run manually, and not as part of a service, the task will
5058
5097
  # continue its lifecycle regardless of its health status. For tasks that
@@ -6710,8 +6749,8 @@ module Aws::ECS
6710
6749
  # `hostPortRange` is set as follows:
6711
6750
  #
6712
6751
  # * For containers in a task with the `awsvpc` network mode, the
6713
- # `hostPort` is set to the same value as the `containerPort`. This
6714
- # is a static mapping strategy.
6752
+ # `hostPortRange` is set to the same value as the
6753
+ # `containerPortRange`. This is a static mapping strategy.
6715
6754
  #
6716
6755
  # * For containers in a task with the `bridge` network mode, the
6717
6756
  # Amazon ECS agent finds open host ports from the default
@@ -7103,8 +7142,8 @@ module Aws::ECS
7103
7142
  # `hostPortRange` is set as follows:
7104
7143
  #
7105
7144
  # * For containers in a task with the `awsvpc` network mode, the
7106
- # `hostPort` is set to the same value as the `containerPort`. This
7107
- # is a static mapping strategy.
7145
+ # `hostPortRange` is set to the same value as the
7146
+ # `containerPortRange`. This is a static mapping strategy.
7108
7147
  #
7109
7148
  # * For containers in a task with the `bridge` network mode, the
7110
7149
  # Amazon ECS agent finds open host ports from the default
data/lib/aws-sdk-ecs.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecs/customizations'
53
53
  # @!group service
54
54
  module Aws::ECS
55
55
 
56
- GEM_VERSION = '1.130.0'
56
+ GEM_VERSION = '1.131.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.130.0
4
+ version: 1.131.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core