aws-sdk-ecs 1.15.0 → 1.16.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 +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +25 -18
- data/lib/aws-sdk-ecs/client_api.rb +5 -0
- data/lib/aws-sdk-ecs/types.rb +92 -48
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e017245bec7ecb16e8cb7167b1aa646d392d5fc
|
4
|
+
data.tar.gz: 4dfefcc6aefde599fd4b6437312dce0831bb8702
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82fd84c8f7b99591fa0f1a69cfa36cdc3f1e89f3c7ab4b1e6c5f5cdd281cc245f57870ca02eb48c740ff8641220c727abd82aebf661fca65dd15b7b09d4674ee
|
7
|
+
data.tar.gz: cf29531026335d867535684e3b6689a8eb9b424f41b4244faab969a3129750e34275764513b44bdb25b7b793aa0afe3bd8ecccb4257b884add0a45730eaa51cb
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -331,7 +331,7 @@ module Aws::ECS
|
|
331
331
|
# The name of your service. Up to 255 letters (uppercase and lowercase),
|
332
332
|
# numbers, hyphens, and underscores are allowed. Service names must be
|
333
333
|
# unique within a cluster, but you can have similarly named services in
|
334
|
-
# multiple clusters within a
|
334
|
+
# multiple clusters within a Region or across multiple Regions.
|
335
335
|
#
|
336
336
|
# @option params [required, String] :task_definition
|
337
337
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
@@ -367,8 +367,8 @@ module Aws::ECS
|
|
367
367
|
# network interface, not an Amazon EC2 instance.
|
368
368
|
#
|
369
369
|
# @option params [Array<Types::ServiceRegistry>] :service_registries
|
370
|
-
# The details of the service discovery registries
|
371
|
-
#
|
370
|
+
# The details of the service discovery registries to assign to this
|
371
|
+
# service. For more information, see [Service Discovery][1].
|
372
372
|
#
|
373
373
|
# <note markdown="1"> Service discovery is supported for Fargate tasks if using platform
|
374
374
|
# version v1.1.0 or later. For more information, see [AWS Fargate
|
@@ -455,7 +455,7 @@ module Aws::ECS
|
|
455
455
|
# after a task has first started. This is only valid if your service is
|
456
456
|
# configured to use a load balancer. If your service's tasks take a
|
457
457
|
# while to start and respond to Elastic Load Balancing health checks,
|
458
|
-
# you can specify a health check grace period of up to
|
458
|
+
# you can specify a health check grace period of up to 7,200 seconds
|
459
459
|
# during which the ECS service scheduler ignores health check status.
|
460
460
|
# This grace period can prevent the ECS service scheduler from marking
|
461
461
|
# tasks as unhealthy and stopping them before they have time to come up.
|
@@ -997,7 +997,7 @@ module Aws::ECS
|
|
997
997
|
# @option params [required, String] :container_instance
|
998
998
|
# The container instance ID or full ARN of the container instance to
|
999
999
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
|
1000
|
-
# the
|
1000
|
+
# the Region of the container instance, the AWS account ID of the
|
1001
1001
|
# container instance owner, the `container-instance` namespace, and then
|
1002
1002
|
# the container instance ID. For example,
|
1003
1003
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
|
@@ -1139,6 +1139,7 @@ module Aws::ECS
|
|
1139
1139
|
# resp.task_definition.container_definitions #=> Array
|
1140
1140
|
# resp.task_definition.container_definitions[0].name #=> String
|
1141
1141
|
# resp.task_definition.container_definitions[0].image #=> String
|
1142
|
+
# resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
|
1142
1143
|
# resp.task_definition.container_definitions[0].cpu #=> Integer
|
1143
1144
|
# resp.task_definition.container_definitions[0].memory #=> Integer
|
1144
1145
|
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
|
@@ -1745,6 +1746,7 @@ module Aws::ECS
|
|
1745
1746
|
# resp.task_definition.container_definitions #=> Array
|
1746
1747
|
# resp.task_definition.container_definitions[0].name #=> String
|
1747
1748
|
# resp.task_definition.container_definitions[0].image #=> String
|
1749
|
+
# resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
|
1748
1750
|
# resp.task_definition.container_definitions[0].cpu #=> Integer
|
1749
1751
|
# resp.task_definition.container_definitions[0].memory #=> Integer
|
1750
1752
|
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
|
@@ -2005,7 +2007,7 @@ module Aws::ECS
|
|
2005
2007
|
#
|
2006
2008
|
# @option params [String] :container_instance
|
2007
2009
|
# The container instance ID or full ARN of the container instance. The
|
2008
|
-
# ARN contains the `arn:aws:ecs` namespace, followed by the
|
2010
|
+
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
2009
2011
|
# the container instance, the AWS account ID of the container instance
|
2010
2012
|
# owner, the `container-instance` namespace, and then the container
|
2011
2013
|
# instance ID. For example,
|
@@ -2322,7 +2324,7 @@ module Aws::ECS
|
|
2322
2324
|
# and a `nextToken` value if applicable.
|
2323
2325
|
#
|
2324
2326
|
# @option params [String] :launch_type
|
2325
|
-
# The launch type for services
|
2327
|
+
# The launch type for the services to list.
|
2326
2328
|
#
|
2327
2329
|
# @option params [String] :scheduling_strategy
|
2328
2330
|
# The scheduling strategy for services to list.
|
@@ -2677,7 +2679,7 @@ module Aws::ECS
|
|
2677
2679
|
# </note>
|
2678
2680
|
#
|
2679
2681
|
# @option params [String] :launch_type
|
2680
|
-
# The launch type for services
|
2682
|
+
# The launch type for services to list.
|
2681
2683
|
#
|
2682
2684
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2683
2685
|
#
|
@@ -2947,7 +2949,7 @@ module Aws::ECS
|
|
2947
2949
|
# task definition with the `networkMode` parameter. The available
|
2948
2950
|
# network modes correspond to those described in [Network settings][3]
|
2949
2951
|
# in the Docker run reference. If you specify the `awsvpc` network mode,
|
2950
|
-
# the task is allocated an
|
2952
|
+
# the task is allocated an elastic network interface, and you must
|
2951
2953
|
# specify a NetworkConfiguration when you create a service or run a task
|
2952
2954
|
# with the task definition. For more information, see [Task
|
2953
2955
|
# Networking][4] in the *Amazon Elastic Container Service Developer
|
@@ -3041,9 +3043,9 @@ module Aws::ECS
|
|
3041
3043
|
# @option params [String] :cpu
|
3042
3044
|
# The number of CPU units used by the task. It can be expressed as an
|
3043
3045
|
# integer using CPU units, for example `1024`, or as a string using
|
3044
|
-
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition
|
3045
|
-
#
|
3046
|
-
# definition is registered.
|
3046
|
+
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition. String
|
3047
|
+
# values are converted to an integer indicating the CPU units when the
|
3048
|
+
# task definition is registered.
|
3047
3049
|
#
|
3048
3050
|
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
|
3049
3051
|
# containers. We recommend specifying container-level resources for
|
@@ -3077,8 +3079,9 @@ module Aws::ECS
|
|
3077
3079
|
# @option params [String] :memory
|
3078
3080
|
# The amount of memory (in MiB) used by the task. It can be expressed as
|
3079
3081
|
# an integer using MiB, for example `1024`, or as a string using GB, for
|
3080
|
-
# example `1GB` or `1 GB`, in a task definition
|
3081
|
-
# an integer indicating the MiB when the task definition is
|
3082
|
+
# example `1GB` or `1 GB`, in a task definition. String values are
|
3083
|
+
# converted to an integer indicating the MiB when the task definition is
|
3084
|
+
# registered.
|
3082
3085
|
#
|
3083
3086
|
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
|
3084
3087
|
# containers. We recommend specifying container-level resources for
|
@@ -3179,6 +3182,9 @@ module Aws::ECS
|
|
3179
3182
|
# {
|
3180
3183
|
# name: "String",
|
3181
3184
|
# image: "String",
|
3185
|
+
# repository_credentials: {
|
3186
|
+
# credentials_parameter: "String", # required
|
3187
|
+
# },
|
3182
3188
|
# cpu: 1,
|
3183
3189
|
# memory: 1,
|
3184
3190
|
# memory_reservation: 1,
|
@@ -3299,6 +3305,7 @@ module Aws::ECS
|
|
3299
3305
|
# resp.task_definition.container_definitions #=> Array
|
3300
3306
|
# resp.task_definition.container_definitions[0].name #=> String
|
3301
3307
|
# resp.task_definition.container_definitions[0].image #=> String
|
3308
|
+
# resp.task_definition.container_definitions[0].repository_credentials.credentials_parameter #=> String
|
3302
3309
|
# resp.task_definition.container_definitions[0].cpu #=> Integer
|
3303
3310
|
# resp.task_definition.container_definitions[0].memory #=> Integer
|
3304
3311
|
# resp.task_definition.container_definitions[0].memory_reservation #=> Integer
|
@@ -3426,7 +3433,7 @@ module Aws::ECS
|
|
3426
3433
|
# algorithm to ensure that you allow enough time for the previous
|
3427
3434
|
# command to propagate through the system. To do this, run the
|
3428
3435
|
# DescribeTasks command repeatedly, starting with a couple of seconds
|
3429
|
-
# of wait time
|
3436
|
+
# of wait time and increasing gradually up to five minutes of wait
|
3430
3437
|
# time.
|
3431
3438
|
#
|
3432
3439
|
# * Add wait time between subsequent commands, even if the DescribeTasks
|
@@ -3740,7 +3747,7 @@ module Aws::ECS
|
|
3740
3747
|
#
|
3741
3748
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
3742
3749
|
# The VPC subnet and security group configuration for tasks that receive
|
3743
|
-
# their own
|
3750
|
+
# their own elastic network interface by using the `awsvpc` networking
|
3744
3751
|
# mode.
|
3745
3752
|
#
|
3746
3753
|
# @return [Types::StartTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -4484,7 +4491,7 @@ module Aws::ECS
|
|
4484
4491
|
# [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
4485
4492
|
#
|
4486
4493
|
# @option params [String] :platform_version
|
4487
|
-
# The platform version
|
4494
|
+
# The platform version that your service should run.
|
4488
4495
|
#
|
4489
4496
|
# @option params [Boolean] :force_new_deployment
|
4490
4497
|
# Whether to force a new deployment of the service. Deployments are not
|
@@ -4642,7 +4649,7 @@ module Aws::ECS
|
|
4642
4649
|
params: params,
|
4643
4650
|
config: config)
|
4644
4651
|
context[:gem_name] = 'aws-sdk-ecs'
|
4645
|
-
context[:gem_version] = '1.
|
4652
|
+
context[:gem_version] = '1.16.0'
|
4646
4653
|
Seahorse::Client::Request.new(handlers, context)
|
4647
4654
|
end
|
4648
4655
|
|
@@ -146,6 +146,7 @@ module Aws::ECS
|
|
146
146
|
RegisterContainerInstanceResponse = Shapes::StructureShape.new(name: 'RegisterContainerInstanceResponse')
|
147
147
|
RegisterTaskDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionRequest')
|
148
148
|
RegisterTaskDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionResponse')
|
149
|
+
RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
|
149
150
|
RequiresAttributes = Shapes::ListShape.new(name: 'RequiresAttributes')
|
150
151
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
151
152
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
@@ -263,6 +264,7 @@ module Aws::ECS
|
|
263
264
|
|
264
265
|
ContainerDefinition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
265
266
|
ContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
267
|
+
ContainerDefinition.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
266
268
|
ContainerDefinition.add_member(:cpu, Shapes::ShapeRef.new(shape: Integer, location_name: "cpu"))
|
267
269
|
ContainerDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory"))
|
268
270
|
ContainerDefinition.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation"))
|
@@ -681,6 +683,9 @@ module Aws::ECS
|
|
681
683
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
682
684
|
RegisterTaskDefinitionResponse.struct_class = Types::RegisterTaskDefinitionResponse
|
683
685
|
|
686
|
+
RepositoryCredentials.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
|
687
|
+
RepositoryCredentials.struct_class = Types::RepositoryCredentials
|
688
|
+
|
684
689
|
RequiresAttributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
685
690
|
|
686
691
|
Resource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -25,7 +25,7 @@ module Aws::ECS
|
|
25
25
|
# @return [String]
|
26
26
|
#
|
27
27
|
# @!attribute [rw] details
|
28
|
-
# Details of the attachment. For
|
28
|
+
# Details of the attachment. For elastic network interfaces, this
|
29
29
|
# includes the network interface ID, the MAC address, the subnet ID,
|
30
30
|
# and the private IPv4 address.
|
31
31
|
# @return [Array<Types::KeyValuePair>]
|
@@ -131,14 +131,22 @@ module Aws::ECS
|
|
131
131
|
#
|
132
132
|
# @!attribute [rw] subnets
|
133
133
|
# The subnets associated with the task or service. There is a limit of
|
134
|
-
# 10 subnets able to be specified per AwsVpcConfiguration
|
134
|
+
# 10 subnets able to be specified per `AwsVpcConfiguration`.
|
135
|
+
#
|
136
|
+
# <note markdown="1"> All specified subnets must be from the same VPC.
|
137
|
+
#
|
138
|
+
# </note>
|
135
139
|
# @return [Array<String>]
|
136
140
|
#
|
137
141
|
# @!attribute [rw] security_groups
|
138
142
|
# The security groups associated with the task or service. If you do
|
139
143
|
# not specify a security group, the default security group for the VPC
|
140
144
|
# is used. There is a limit of 5 security groups able to be specified
|
141
|
-
# per AwsVpcConfiguration
|
145
|
+
# per `AwsVpcConfiguration`.
|
146
|
+
#
|
147
|
+
# <note markdown="1"> All specified security groups must be from the same VPC.
|
148
|
+
#
|
149
|
+
# </note>
|
142
150
|
# @return [Array<String>]
|
143
151
|
#
|
144
152
|
# @!attribute [rw] assign_public_ip
|
@@ -163,7 +171,7 @@ module Aws::ECS
|
|
163
171
|
#
|
164
172
|
# @!attribute [rw] cluster_arn
|
165
173
|
# The Amazon Resource Name (ARN) that identifies the cluster. The ARN
|
166
|
-
# contains the `arn:aws:ecs` namespace, followed by the
|
174
|
+
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
167
175
|
# cluster, the AWS account ID of the cluster owner, the `cluster`
|
168
176
|
# namespace, and then the cluster name. For example,
|
169
177
|
# `arn:aws:ecs:region:012345678910:cluster/test `..
|
@@ -297,6 +305,9 @@ module Aws::ECS
|
|
297
305
|
# {
|
298
306
|
# name: "String",
|
299
307
|
# image: "String",
|
308
|
+
# repository_credentials: {
|
309
|
+
# credentials_parameter: "String", # required
|
310
|
+
# },
|
300
311
|
# cpu: 1,
|
301
312
|
# memory: 1,
|
302
313
|
# memory_reservation: 1,
|
@@ -447,6 +458,10 @@ module Aws::ECS
|
|
447
458
|
# [3]: https://docs.docker.com/engine/reference/run/
|
448
459
|
# @return [String]
|
449
460
|
#
|
461
|
+
# @!attribute [rw] repository_credentials
|
462
|
+
# The private repository authentication credentials to use.
|
463
|
+
# @return [Types::RepositoryCredentials]
|
464
|
+
#
|
450
465
|
# @!attribute [rw] cpu
|
451
466
|
# The number of `cpu` units reserved for the container. This parameter
|
452
467
|
# maps to `CpuShares` in the [Create a container][1] section of the
|
@@ -643,8 +658,8 @@ module Aws::ECS
|
|
643
658
|
# <note markdown="1"> After a task reaches the `RUNNING` status, manual and automatic host
|
644
659
|
# and container port assignments are visible in the **Network
|
645
660
|
# Bindings** section of a container description for a selected task in
|
646
|
-
# the Amazon ECS console
|
647
|
-
# DescribeTasks responses.
|
661
|
+
# the Amazon ECS console. The assignments are also visible in the
|
662
|
+
# `networkBindings` section DescribeTasks responses.
|
648
663
|
#
|
649
664
|
# </note>
|
650
665
|
#
|
@@ -897,8 +912,8 @@ module Aws::ECS
|
|
897
912
|
# @!attribute [rw] extra_hosts
|
898
913
|
# A list of hostnames and IP address mappings to append to the
|
899
914
|
# `/etc/hosts` file on the container. If using the Fargate launch
|
900
|
-
# type, this may be used to list non-Fargate hosts
|
901
|
-
# container
|
915
|
+
# type, this may be used to list non-Fargate hosts to which the
|
916
|
+
# container can talk. This parameter maps to `ExtraHosts` in the
|
902
917
|
# [Create a container][1] section of the [Docker Remote API][2] and
|
903
918
|
# the `--add-host` option to [docker run][3].
|
904
919
|
#
|
@@ -1047,6 +1062,7 @@ module Aws::ECS
|
|
1047
1062
|
class ContainerDefinition < Struct.new(
|
1048
1063
|
:name,
|
1049
1064
|
:image,
|
1065
|
+
:repository_credentials,
|
1050
1066
|
:cpu,
|
1051
1067
|
:memory,
|
1052
1068
|
:memory_reservation,
|
@@ -1081,7 +1097,7 @@ module Aws::ECS
|
|
1081
1097
|
#
|
1082
1098
|
# @!attribute [rw] container_instance_arn
|
1083
1099
|
# The Amazon Resource Name (ARN) of the container instance. The ARN
|
1084
|
-
# contains the `arn:aws:ecs` namespace, followed by the
|
1100
|
+
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
1085
1101
|
# container instance, the AWS account ID of the container instance
|
1086
1102
|
# owner, the `container-instance` namespace, and then the container
|
1087
1103
|
# instance ID. For example,
|
@@ -1148,7 +1164,7 @@ module Aws::ECS
|
|
1148
1164
|
# @!attribute [rw] agent_connected
|
1149
1165
|
# This parameter returns `true` if the agent is connected to Amazon
|
1150
1166
|
# ECS. Registered instances with an agent that may be unhealthy or
|
1151
|
-
# stopped return `false`.
|
1167
|
+
# stopped return `false`. Only instances connected to an agent can
|
1152
1168
|
# accept placement requests.
|
1153
1169
|
# @return [Boolean]
|
1154
1170
|
#
|
@@ -1178,7 +1194,7 @@ module Aws::ECS
|
|
1178
1194
|
# @return [Time]
|
1179
1195
|
#
|
1180
1196
|
# @!attribute [rw] attachments
|
1181
|
-
# The
|
1197
|
+
# The elastic network interfaces associated with the container
|
1182
1198
|
# instance.
|
1183
1199
|
# @return [Array<Types::Attachment>]
|
1184
1200
|
#
|
@@ -1420,8 +1436,8 @@ module Aws::ECS
|
|
1420
1436
|
# The name of your service. Up to 255 letters (uppercase and
|
1421
1437
|
# lowercase), numbers, hyphens, and underscores are allowed. Service
|
1422
1438
|
# names must be unique within a cluster, but you can have similarly
|
1423
|
-
# named services in multiple clusters within a
|
1424
|
-
# multiple
|
1439
|
+
# named services in multiple clusters within a Region or across
|
1440
|
+
# multiple Regions.
|
1425
1441
|
# @return [String]
|
1426
1442
|
#
|
1427
1443
|
# @!attribute [rw] task_definition
|
@@ -1462,8 +1478,8 @@ module Aws::ECS
|
|
1462
1478
|
# @return [Array<Types::LoadBalancer>]
|
1463
1479
|
#
|
1464
1480
|
# @!attribute [rw] service_registries
|
1465
|
-
# The details of the service discovery registries
|
1466
|
-
#
|
1481
|
+
# The details of the service discovery registries to assign to this
|
1482
|
+
# service. For more information, see [Service Discovery][1].
|
1467
1483
|
#
|
1468
1484
|
# <note markdown="1"> Service discovery is supported for Fargate tasks if using platform
|
1469
1485
|
# version v1.1.0 or later. For more information, see [AWS Fargate
|
@@ -1564,7 +1580,7 @@ module Aws::ECS
|
|
1564
1580
|
# your service is configured to use a load balancer. If your
|
1565
1581
|
# service's tasks take a while to start and respond to Elastic Load
|
1566
1582
|
# Balancing health checks, you can specify a health check grace period
|
1567
|
-
# of up to
|
1583
|
+
# of up to 7,200 seconds during which the ECS service scheduler
|
1568
1584
|
# ignores health check status. This grace period can prevent the ECS
|
1569
1585
|
# service scheduler from marking tasks as unhealthy and stopping them
|
1570
1586
|
# before they have time to come up.
|
@@ -1807,7 +1823,7 @@ module Aws::ECS
|
|
1807
1823
|
#
|
1808
1824
|
# @!attribute [rw] network_configuration
|
1809
1825
|
# The VPC subnet and security group configuration for tasks that
|
1810
|
-
# receive their own
|
1826
|
+
# receive their own elastic network interface by using the `awsvpc`
|
1811
1827
|
# networking mode.
|
1812
1828
|
# @return [Types::NetworkConfiguration]
|
1813
1829
|
#
|
@@ -1882,7 +1898,7 @@ module Aws::ECS
|
|
1882
1898
|
# @!attribute [rw] container_instance
|
1883
1899
|
# The container instance ID or full ARN of the container instance to
|
1884
1900
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed
|
1885
|
-
# by the
|
1901
|
+
# by the Region of the container instance, the AWS account ID of the
|
1886
1902
|
# container instance owner, the `container-instance` namespace, and
|
1887
1903
|
# then the container instance ID. For example,
|
1888
1904
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
|
@@ -2219,7 +2235,7 @@ module Aws::ECS
|
|
2219
2235
|
#
|
2220
2236
|
# @!attribute [rw] container_instance
|
2221
2237
|
# The container instance ID or full ARN of the container instance. The
|
2222
|
-
# ARN contains the `arn:aws:ecs` namespace, followed by the
|
2238
|
+
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
2223
2239
|
# the container instance, the AWS account ID of the container instance
|
2224
2240
|
# owner, the `container-instance` namespace, and then the container
|
2225
2241
|
# instance ID. For example,
|
@@ -2317,13 +2333,13 @@ module Aws::ECS
|
|
2317
2333
|
# @!attribute [rw] timeout
|
2318
2334
|
# The time period in seconds to wait for a health check to succeed
|
2319
2335
|
# before it is considered a failure. You may specify between 2 and 60
|
2320
|
-
# seconds. The default value is 5
|
2336
|
+
# seconds. The default value is 5.
|
2321
2337
|
# @return [Integer]
|
2322
2338
|
#
|
2323
2339
|
# @!attribute [rw] retries
|
2324
2340
|
# The number of times to retry a failed health check before the
|
2325
2341
|
# container is considered unhealthy. You may specify between 1 and 10
|
2326
|
-
# retries. The default value is 3
|
2342
|
+
# retries. The default value is 3.
|
2327
2343
|
# @return [Integer]
|
2328
2344
|
#
|
2329
2345
|
# @!attribute [rw] start_period
|
@@ -2910,7 +2926,7 @@ module Aws::ECS
|
|
2910
2926
|
# @return [Integer]
|
2911
2927
|
#
|
2912
2928
|
# @!attribute [rw] launch_type
|
2913
|
-
# The launch type for services
|
2929
|
+
# The launch type for the services to list.
|
2914
2930
|
# @return [String]
|
2915
2931
|
#
|
2916
2932
|
# @!attribute [rw] scheduling_strategy
|
@@ -3217,7 +3233,7 @@ module Aws::ECS
|
|
3217
3233
|
# @return [String]
|
3218
3234
|
#
|
3219
3235
|
# @!attribute [rw] launch_type
|
3220
|
-
# The launch type for services
|
3236
|
+
# The launch type for services to list.
|
3221
3237
|
# @return [String]
|
3222
3238
|
#
|
3223
3239
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksRequest AWS API Documentation
|
@@ -3464,6 +3480,10 @@ module Aws::ECS
|
|
3464
3480
|
#
|
3465
3481
|
# @!attribute [rw] awsvpc_configuration
|
3466
3482
|
# The VPC subnets and security groups associated with a task.
|
3483
|
+
#
|
3484
|
+
# <note markdown="1"> All specified subnets and security groups must be from the same VPC.
|
3485
|
+
#
|
3486
|
+
# </note>
|
3467
3487
|
# @return [Types::AwsVpcConfiguration]
|
3468
3488
|
#
|
3469
3489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkConfiguration AWS API Documentation
|
@@ -3473,7 +3493,7 @@ module Aws::ECS
|
|
3473
3493
|
include Aws::Structure
|
3474
3494
|
end
|
3475
3495
|
|
3476
|
-
# An object representing the
|
3496
|
+
# An object representing the elastic network interface for tasks that
|
3477
3497
|
# use the `awsvpc` network mode.
|
3478
3498
|
#
|
3479
3499
|
# @!attribute [rw] attachment_id
|
@@ -3522,8 +3542,8 @@ module Aws::ECS
|
|
3522
3542
|
# @return [String]
|
3523
3543
|
#
|
3524
3544
|
# @!attribute [rw] expression
|
3525
|
-
# A cluster query language expression to apply to the constraint.
|
3526
|
-
#
|
3545
|
+
# A cluster query language expression to apply to the constraint. You
|
3546
|
+
# cannot specify an expression if the constraint type is
|
3527
3547
|
# `distinctInstance`. For more information, see [Cluster Query
|
3528
3548
|
# Language][1] in the *Amazon Elastic Container Service Developer
|
3529
3549
|
# Guide*.
|
@@ -3831,6 +3851,9 @@ module Aws::ECS
|
|
3831
3851
|
# {
|
3832
3852
|
# name: "String",
|
3833
3853
|
# image: "String",
|
3854
|
+
# repository_credentials: {
|
3855
|
+
# credentials_parameter: "String", # required
|
3856
|
+
# },
|
3834
3857
|
# cpu: 1,
|
3835
3858
|
# memory: 1,
|
3836
3859
|
# memory_reservation: 1,
|
@@ -4037,9 +4060,9 @@ module Aws::ECS
|
|
4037
4060
|
# @!attribute [rw] cpu
|
4038
4061
|
# The number of CPU units used by the task. It can be expressed as an
|
4039
4062
|
# integer using CPU units, for example `1024`, or as a string using
|
4040
|
-
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition
|
4041
|
-
#
|
4042
|
-
# task definition is registered.
|
4063
|
+
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition.
|
4064
|
+
# String values are converted to an integer indicating the CPU units
|
4065
|
+
# when the task definition is registered.
|
4043
4066
|
#
|
4044
4067
|
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
|
4045
4068
|
# containers. We recommend specifying container-level resources for
|
@@ -4075,9 +4098,9 @@ module Aws::ECS
|
|
4075
4098
|
# @!attribute [rw] memory
|
4076
4099
|
# The amount of memory (in MiB) used by the task. It can be expressed
|
4077
4100
|
# as an integer using MiB, for example `1024`, or as a string using
|
4078
|
-
# GB, for example `1GB` or `1 GB`, in a task definition
|
4079
|
-
# converted to an integer indicating the MiB when the task
|
4080
|
-
# is registered.
|
4101
|
+
# GB, for example `1GB` or `1 GB`, in a task definition. String values
|
4102
|
+
# are converted to an integer indicating the MiB when the task
|
4103
|
+
# definition is registered.
|
4081
4104
|
#
|
4082
4105
|
# <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
|
4083
4106
|
# containers. We recommend specifying container-level resources for
|
@@ -4134,6 +4157,27 @@ module Aws::ECS
|
|
4134
4157
|
include Aws::Structure
|
4135
4158
|
end
|
4136
4159
|
|
4160
|
+
# The repository credentials for private registry authentication.
|
4161
|
+
#
|
4162
|
+
# @note When making an API call, you may pass RepositoryCredentials
|
4163
|
+
# data as a hash:
|
4164
|
+
#
|
4165
|
+
# {
|
4166
|
+
# credentials_parameter: "String", # required
|
4167
|
+
# }
|
4168
|
+
#
|
4169
|
+
# @!attribute [rw] credentials_parameter
|
4170
|
+
# The Amazon Resource Name (ARN) or name of the secret containing the
|
4171
|
+
# private repository credentials.
|
4172
|
+
# @return [String]
|
4173
|
+
#
|
4174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RepositoryCredentials AWS API Documentation
|
4175
|
+
#
|
4176
|
+
class RepositoryCredentials < Struct.new(
|
4177
|
+
:credentials_parameter)
|
4178
|
+
include Aws::Structure
|
4179
|
+
end
|
4180
|
+
|
4137
4181
|
# Describes the resources available for a container instance.
|
4138
4182
|
#
|
4139
4183
|
# @note When making an API call, you may pass Resource
|
@@ -4363,7 +4407,7 @@ module Aws::ECS
|
|
4363
4407
|
#
|
4364
4408
|
# @!attribute [rw] service_arn
|
4365
4409
|
# The ARN that identifies the service. The ARN contains the
|
4366
|
-
# `arn:aws:ecs` namespace, followed by the
|
4410
|
+
# `arn:aws:ecs` namespace, followed by the Region of the service, the
|
4367
4411
|
# AWS account ID of the service owner, the `service` namespace, and
|
4368
4412
|
# then the service name. For example,
|
4369
4413
|
# `arn:aws:ecs:region:012345678910:service/my-service `.
|
@@ -4373,8 +4417,8 @@ module Aws::ECS
|
|
4373
4417
|
# The name of your service. Up to 255 letters (uppercase and
|
4374
4418
|
# lowercase), numbers, hyphens, and underscores are allowed. Service
|
4375
4419
|
# names must be unique within a cluster, but you can have similarly
|
4376
|
-
# named services in multiple clusters within a
|
4377
|
-
# multiple
|
4420
|
+
# named services in multiple clusters within a Region or across
|
4421
|
+
# multiple Regions.
|
4378
4422
|
# @return [String]
|
4379
4423
|
#
|
4380
4424
|
# @!attribute [rw] cluster_arn
|
@@ -4476,7 +4520,7 @@ module Aws::ECS
|
|
4476
4520
|
#
|
4477
4521
|
# @!attribute [rw] network_configuration
|
4478
4522
|
# The VPC subnet and security group configuration for tasks that
|
4479
|
-
# receive their own
|
4523
|
+
# receive their own elastic network interface by using the `awsvpc`
|
4480
4524
|
# networking mode.
|
4481
4525
|
# @return [Types::NetworkConfiguration]
|
4482
4526
|
#
|
@@ -4716,7 +4760,7 @@ module Aws::ECS
|
|
4716
4760
|
#
|
4717
4761
|
# @!attribute [rw] network_configuration
|
4718
4762
|
# The VPC subnet and security group configuration for tasks that
|
4719
|
-
# receive their own
|
4763
|
+
# receive their own elastic network interface by using the `awsvpc`
|
4720
4764
|
# networking mode.
|
4721
4765
|
# @return [Types::NetworkConfiguration]
|
4722
4766
|
#
|
@@ -5001,9 +5045,9 @@ module Aws::ECS
|
|
5001
5045
|
# @!attribute [rw] cpu
|
5002
5046
|
# The number of CPU units used by the task. It can be expressed as an
|
5003
5047
|
# integer using CPU units, for example `1024`, or as a string using
|
5004
|
-
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition
|
5005
|
-
# converted to an integer indicating the CPU units
|
5006
|
-
# definition is registered.
|
5048
|
+
# vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition.
|
5049
|
+
# String values are converted to an integer indicating the CPU units
|
5050
|
+
# when the task definition is registered.
|
5007
5051
|
#
|
5008
5052
|
# If using the EC2 launch type, this field is optional. Supported
|
5009
5053
|
# values are between `128` CPU units (`0.125` vCPUs) and `10240` CPU
|
@@ -5033,9 +5077,9 @@ module Aws::ECS
|
|
5033
5077
|
# @!attribute [rw] memory
|
5034
5078
|
# The amount of memory (in MiB) used by the task. It can be expressed
|
5035
5079
|
# as an integer using MiB, for example `1024`, or as a string using
|
5036
|
-
# GB, for example `1GB` or `1 GB`, in a task definition
|
5037
|
-
# converted to an integer indicating the MiB when the task
|
5038
|
-
# is registered.
|
5080
|
+
# GB, for example `1GB` or `1 GB`, in a task definition. String values
|
5081
|
+
# are converted to an integer indicating the MiB when the task
|
5082
|
+
# definition is registered.
|
5039
5083
|
#
|
5040
5084
|
# If using the EC2 launch type, this field is optional.
|
5041
5085
|
#
|
@@ -5115,8 +5159,8 @@ module Aws::ECS
|
|
5115
5159
|
# @return [Time]
|
5116
5160
|
#
|
5117
5161
|
# @!attribute [rw] stopping_at
|
5118
|
-
# The Unix time stamp for when the task
|
5119
|
-
#
|
5162
|
+
# The Unix time stamp for when the task stops (transitions from the
|
5163
|
+
# `RUNNING` state to `STOPPED`).
|
5120
5164
|
# @return [Time]
|
5121
5165
|
#
|
5122
5166
|
# @!attribute [rw] stopped_at
|
@@ -5143,7 +5187,7 @@ module Aws::ECS
|
|
5143
5187
|
# @return [String]
|
5144
5188
|
#
|
5145
5189
|
# @!attribute [rw] attachments
|
5146
|
-
# The
|
5190
|
+
# The elastic network adapter associated with the task if the task
|
5147
5191
|
# uses the `awsvpc` network mode.
|
5148
5192
|
# @return [Array<Types::Attachment>]
|
5149
5193
|
#
|
@@ -5519,7 +5563,7 @@ module Aws::ECS
|
|
5519
5563
|
# }
|
5520
5564
|
#
|
5521
5565
|
# @!attribute [rw] container_path
|
5522
|
-
# The absolute file path where the tmpfs volume
|
5566
|
+
# The absolute file path where the tmpfs volume is to be mounted.
|
5523
5567
|
# @return [String]
|
5524
5568
|
#
|
5525
5569
|
# @!attribute [rw] size
|
@@ -5742,7 +5786,7 @@ module Aws::ECS
|
|
5742
5786
|
# @return [Types::NetworkConfiguration]
|
5743
5787
|
#
|
5744
5788
|
# @!attribute [rw] platform_version
|
5745
|
-
# The platform version
|
5789
|
+
# The platform version that your service should run.
|
5746
5790
|
# @return [String]
|
5747
5791
|
#
|
5748
5792
|
# @!attribute [rw] force_new_deployment
|
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.
|
4
|
+
version: 1.16.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: 2018-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|