aws-sdk-ecs 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4aa57677862518f3402381228a627d7abfe7dc6b
4
- data.tar.gz: 23798c1e3c91229cac4726f80a4bd3226ba24cd7
3
+ metadata.gz: d02b31d36414112ef2455a4f5dd4c78019854501
4
+ data.tar.gz: c57bf49c1aaa7f631ece4973f52cf82825f65c66
5
5
  SHA512:
6
- metadata.gz: 75257ae19fd6b31bed70e90d5e5cc59dafb8318391e1bfb81394904f3846f03ad65ff72ccc7fd3f301108589410168045b31f260167bd37a5cb2f37dac2c65c1
7
- data.tar.gz: 3d8479e390c490a8c970ed4428e66703c964f3f7e42a2bac949d719898e9f664142b6367a506b5fe2f459bc46824ac547f95352a18feb4d266b3762196f96714
6
+ metadata.gz: ee2261499eb15058db3d9943de435a45bb97cb0d0a24923334a1ec2d1992b21a27b37d35a487ea212381d7b1a4f1b9ffb450d0bbe714115400d741384467d04a
7
+ data.tar.gz: 365b6705918d693586b1886a383ef92b7b0581f27a6cc01ec7a2ecf37e39875774e21d7e209d370e72dfb71e281ed6b0469e93bd62e2c49999d2658782435023
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.12.0'
46
+ GEM_VERSION = '1.13.0'
47
47
 
48
48
  end
@@ -290,11 +290,12 @@ module Aws::ECS
290
290
  # different placement strategy) with the `placementStrategy`
291
291
  # parameter):
292
292
  #
293
- # * Sort the valid container instances by the fewest number of running
294
- # tasks for this service in the same Availability Zone as the
295
- # instance. For example, if zone A has one running service task and
296
- # zones B and C each have zero, valid container instances in either
297
- # zone B or C are considered optimal for placement.
293
+ # * Sort the valid container instances, giving priority to instances
294
+ # that have the fewest number of running tasks for this service in
295
+ # their respective Availability Zone. For example, if zone A has one
296
+ # running service task and zones B and C each have zero, valid
297
+ # container instances in either zone B or C are considered optimal
298
+ # for placement.
298
299
  #
299
300
  # * Place the new service task on a valid container instance in an
300
301
  # optimal Availability Zone (based on the previous steps), favoring
@@ -341,20 +342,35 @@ module Aws::ECS
341
342
  # on a container instance, the container instance and port combination
342
343
  # is registered as a target in the target group specified here.
343
344
  #
345
+ # Services with tasks that use the `awsvpc` network mode (for example,
346
+ # those with the Fargate launch type) only support Application Load
347
+ # Balancers and Network Load Balancers; Classic Load Balancers are not
348
+ # supported. Also, when you create any target groups for these services,
349
+ # you must choose `ip` as the target type, not `instance`, because tasks
350
+ # that use the `awsvpc` network mode are associated with an elastic
351
+ # network interface, not an Amazon EC2 instance.
352
+ #
344
353
  # @option params [Array<Types::ServiceRegistry>] :service_registries
345
354
  # The details of the service discovery registries you want to assign to
346
355
  # this service. For more information, see [Service Discovery][1].
347
356
  #
357
+ # <note markdown="1"> Service discovery is supported for Fargate tasks if using platform
358
+ # version v1.1.0 or later. For more information, see [AWS Fargate
359
+ # Platform Versions][2].
360
+ #
361
+ # </note>
362
+ #
348
363
  #
349
364
  #
350
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html
365
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
366
+ # [2]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
351
367
  #
352
368
  # @option params [required, Integer] :desired_count
353
369
  # The number of instantiations of the specified task definition to place
354
370
  # and keep running on your cluster.
355
371
  #
356
372
  # @option params [String] :client_token
357
- # Unique, case-sensitive identifier you provide to ensure the
373
+ # Unique, case-sensitive identifier that you provide to ensure the
358
374
  # idempotency of the request. Up to 32 ASCII characters are allowed.
359
375
  #
360
376
  # @option params [String] :launch_type
@@ -568,6 +584,8 @@ module Aws::ECS
568
584
  # {
569
585
  # registry_arn: "String",
570
586
  # port: 1,
587
+ # container_name: "String",
588
+ # container_port: 1,
571
589
  # },
572
590
  # ],
573
591
  # desired_count: 1, # required
@@ -614,6 +632,8 @@ module Aws::ECS
614
632
  # resp.service.service_registries #=> Array
615
633
  # resp.service.service_registries[0].registry_arn #=> String
616
634
  # resp.service.service_registries[0].port #=> Integer
635
+ # resp.service.service_registries[0].container_name #=> String
636
+ # resp.service.service_registries[0].container_port #=> Integer
617
637
  # resp.service.status #=> String
618
638
  # resp.service.desired_count #=> Integer
619
639
  # resp.service.running_count #=> Integer
@@ -843,6 +863,8 @@ module Aws::ECS
843
863
  # resp.service.service_registries #=> Array
844
864
  # resp.service.service_registries[0].registry_arn #=> String
845
865
  # resp.service.service_registries[0].port #=> Integer
866
+ # resp.service.service_registries[0].container_name #=> String
867
+ # resp.service.service_registries[0].container_port #=> Integer
846
868
  # resp.service.status #=> String
847
869
  # resp.service.desired_count #=> Integer
848
870
  # resp.service.running_count #=> Integer
@@ -1268,7 +1290,8 @@ module Aws::ECS
1268
1290
  # cluster, the default cluster is assumed.
1269
1291
  #
1270
1292
  # @option params [required, Array<String>] :container_instances
1271
- # A list of container instance IDs or full ARN entries.
1293
+ # A list of up to 100 container instance IDs or full Amazon Resource
1294
+ # Name (ARN) entries.
1272
1295
  #
1273
1296
  # @return [Types::DescribeContainerInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1274
1297
  #
@@ -1518,6 +1541,8 @@ module Aws::ECS
1518
1541
  # resp.services[0].service_registries #=> Array
1519
1542
  # resp.services[0].service_registries[0].registry_arn #=> String
1520
1543
  # resp.services[0].service_registries[0].port #=> Integer
1544
+ # resp.services[0].service_registries[0].container_name #=> String
1545
+ # resp.services[0].service_registries[0].container_port #=> Integer
1521
1546
  # resp.services[0].status #=> String
1522
1547
  # resp.services[0].desired_count #=> Integer
1523
1548
  # resp.services[0].running_count #=> Integer
@@ -4492,6 +4517,8 @@ module Aws::ECS
4492
4517
  # resp.service.service_registries #=> Array
4493
4518
  # resp.service.service_registries[0].registry_arn #=> String
4494
4519
  # resp.service.service_registries[0].port #=> Integer
4520
+ # resp.service.service_registries[0].container_name #=> String
4521
+ # resp.service.service_registries[0].container_port #=> Integer
4495
4522
  # resp.service.status #=> String
4496
4523
  # resp.service.desired_count #=> Integer
4497
4524
  # resp.service.running_count #=> Integer
@@ -4558,7 +4585,7 @@ module Aws::ECS
4558
4585
  params: params,
4559
4586
  config: config)
4560
4587
  context[:gem_name] = 'aws-sdk-ecs'
4561
- context[:gem_version] = '1.12.0'
4588
+ context[:gem_version] = '1.13.0'
4562
4589
  Seahorse::Client::Request.new(handlers, context)
4563
4590
  end
4564
4591
 
@@ -740,6 +740,8 @@ module Aws::ECS
740
740
 
741
741
  ServiceRegistry.add_member(:registry_arn, Shapes::ShapeRef.new(shape: String, location_name: "registryArn"))
742
742
  ServiceRegistry.add_member(:port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "port"))
743
+ ServiceRegistry.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
744
+ ServiceRegistry.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
743
745
  ServiceRegistry.struct_class = Types::ServiceRegistry
744
746
 
745
747
  Services.member = Shapes::ShapeRef.new(shape: Service)
@@ -769,6 +769,11 @@ module Aws::ECS
769
769
  # `Hostname` in the [Create a container][1] section of the [Docker
770
770
  # Remote API][2] and the `--hostname` option to [docker run][3].
771
771
  #
772
+ # <note markdown="1"> The `hostname` parameter is not supported if using the `awsvpc`
773
+ # networkMode.
774
+ #
775
+ # </note>
776
+ #
772
777
  #
773
778
  #
774
779
  # [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container
@@ -1106,13 +1111,13 @@ module Aws::ECS
1106
1111
  #
1107
1112
  # @!attribute [rw] remaining_resources
1108
1113
  # For CPU and memory resource types, this parameter describes the
1109
- # remaining CPU and memory on the that has not already been allocated
1110
- # to tasks (and is therefore available for new tasks). For port
1111
- # resource types, this parameter describes the ports that were
1112
- # reserved by the Amazon ECS container agent (at instance registration
1113
- # time) and any task containers that have reserved port mappings on
1114
- # the host (with the `host` or `bridge` network mode). Any port that
1115
- # is not specified here is available for new tasks.
1114
+ # remaining CPU and memory that has not already been allocated to
1115
+ # tasks and is therefore available for new tasks. For port resource
1116
+ # types, this parameter describes the ports that were reserved by the
1117
+ # Amazon ECS container agent (at instance registration time) and any
1118
+ # task containers that have reserved port mappings on the host (with
1119
+ # the `host` or `bridge` network mode). Any port that is not specified
1120
+ # here is available for new tasks.
1116
1121
  # @return [Array<Types::Resource>]
1117
1122
  #
1118
1123
  # @!attribute [rw] registered_resources
@@ -1369,6 +1374,8 @@ module Aws::ECS
1369
1374
  # {
1370
1375
  # registry_arn: "String",
1371
1376
  # port: 1,
1377
+ # container_name: "String",
1378
+ # container_port: 1,
1372
1379
  # },
1373
1380
  # ],
1374
1381
  # desired_count: 1, # required
@@ -1443,15 +1450,30 @@ module Aws::ECS
1443
1450
  # this service is placed on a container instance, the container
1444
1451
  # instance and port combination is registered as a target in the
1445
1452
  # target group specified here.
1453
+ #
1454
+ # Services with tasks that use the `awsvpc` network mode (for example,
1455
+ # those with the Fargate launch type) only support Application Load
1456
+ # Balancers and Network Load Balancers; Classic Load Balancers are not
1457
+ # supported. Also, when you create any target groups for these
1458
+ # services, you must choose `ip` as the target type, not `instance`,
1459
+ # because tasks that use the `awsvpc` network mode are associated with
1460
+ # an elastic network interface, not an Amazon EC2 instance.
1446
1461
  # @return [Array<Types::LoadBalancer>]
1447
1462
  #
1448
1463
  # @!attribute [rw] service_registries
1449
1464
  # The details of the service discovery registries you want to assign
1450
1465
  # to this service. For more information, see [Service Discovery][1].
1451
1466
  #
1467
+ # <note markdown="1"> Service discovery is supported for Fargate tasks if using platform
1468
+ # version v1.1.0 or later. For more information, see [AWS Fargate
1469
+ # Platform Versions][2].
1470
+ #
1471
+ # </note>
1472
+ #
1452
1473
  #
1453
1474
  #
1454
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html
1475
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
1476
+ # [2]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
1455
1477
  # @return [Array<Types::ServiceRegistry>]
1456
1478
  #
1457
1479
  # @!attribute [rw] desired_count
@@ -1460,7 +1482,7 @@ module Aws::ECS
1460
1482
  # @return [Integer]
1461
1483
  #
1462
1484
  # @!attribute [rw] client_token
1463
- # Unique, case-sensitive identifier you provide to ensure the
1485
+ # Unique, case-sensitive identifier that you provide to ensure the
1464
1486
  # idempotency of the request. Up to 32 ASCII characters are allowed.
1465
1487
  # @return [String]
1466
1488
  #
@@ -1970,7 +1992,8 @@ module Aws::ECS
1970
1992
  # @return [String]
1971
1993
  #
1972
1994
  # @!attribute [rw] container_instances
1973
- # A list of container instance IDs or full ARN entries.
1995
+ # A list of up to 100 container instance IDs or full Amazon Resource
1996
+ # Name (ARN) entries.
1974
1997
  # @return [Array<String>]
1975
1998
  #
1976
1999
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesRequest AWS API Documentation
@@ -2526,8 +2549,13 @@ module Aws::ECS
2526
2549
  # @return [Boolean]
2527
2550
  #
2528
2551
  # @!attribute [rw] shared_memory_size
2529
- # The value for the size of the `/dev/shm` volume. This parameter maps
2530
- # to the `--shm-size` option to [docker run][1].
2552
+ # The value for the size (in MiB) of the `/dev/shm` volume. This
2553
+ # parameter maps to the `--shm-size` option to [docker run][1].
2554
+ #
2555
+ # <note markdown="1"> If you are using tasks that use the Fargate launch type, the
2556
+ # `sharedMemorySize` parameter is not supported.
2557
+ #
2558
+ # </note>
2531
2559
  #
2532
2560
  #
2533
2561
  #
@@ -2535,8 +2563,14 @@ module Aws::ECS
2535
2563
  # @return [Integer]
2536
2564
  #
2537
2565
  # @!attribute [rw] tmpfs
2538
- # The container path, mount options, and size of the tmpfs mount. This
2539
- # parameter maps to the `--tmpfs` option to [docker run][1].
2566
+ # The container path, mount options, and size (in MiB) of the tmpfs
2567
+ # mount. This parameter maps to the `--tmpfs` option to [docker
2568
+ # run][1].
2569
+ #
2570
+ # <note markdown="1"> If you are using tasks that use the Fargate launch type, the `tmpfs`
2571
+ # parameter is not supported.
2572
+ #
2573
+ # </note>
2540
2574
  #
2541
2575
  #
2542
2576
  #
@@ -3178,6 +3212,14 @@ module Aws::ECS
3178
3212
 
3179
3213
  # Details on a load balancer that is used with a service.
3180
3214
  #
3215
+ # Services with tasks that use the `awsvpc` network mode (for example,
3216
+ # those with the Fargate launch type) only support Application Load
3217
+ # Balancers and Network Load Balancers; Classic Load Balancers are not
3218
+ # supported. Also, when you create any target groups for these services,
3219
+ # you must choose `ip` as the target type, not `instance`, because tasks
3220
+ # that use the `awsvpc` network mode are associated with an elastic
3221
+ # network interface, not an Amazon EC2 instance.
3222
+ #
3181
3223
  # @note When making an API call, you may pass LoadBalancer
3182
3224
  # data as a hash:
3183
3225
  #
@@ -3191,6 +3233,12 @@ module Aws::ECS
3191
3233
  # @!attribute [rw] target_group_arn
3192
3234
  # The full Amazon Resource Name (ARN) of the Elastic Load Balancing
3193
3235
  # target group associated with a service.
3236
+ #
3237
+ # If your service's task definition uses the `awsvpc` network mode
3238
+ # (which is required for the Fargate launch type), you must choose
3239
+ # `ip` as the target type, not `instance`, because tasks that use the
3240
+ # `awsvpc` network mode are associated with an elastic network
3241
+ # interface, not an Amazon EC2 instance.
3194
3242
  # @return [String]
3195
3243
  #
3196
3244
  # @!attribute [rw] load_balancer_name
@@ -4057,8 +4105,8 @@ module Aws::ECS
4057
4105
  # }
4058
4106
  #
4059
4107
  # @!attribute [rw] name
4060
- # The name of the resource, such as `cpu`, `memory`, `ports`, or a
4061
- # user-defined resource.
4108
+ # The name of the resource, such as `CPU`, `MEMORY`, `PORTS`,
4109
+ # `PORTS_UDP`, or a user-defined resource.
4062
4110
  # @return [String]
4063
4111
  #
4064
4112
  # @!attribute [rw] type
@@ -4295,6 +4343,14 @@ module Aws::ECS
4295
4343
  # the load balancer name, the container name (as it appears in a
4296
4344
  # container definition), and the container port to access from the
4297
4345
  # load balancer.
4346
+ #
4347
+ # Services with tasks that use the `awsvpc` network mode (for example,
4348
+ # those with the Fargate launch type) only support Application Load
4349
+ # Balancers and Network Load Balancers; Classic Load Balancers are not
4350
+ # supported. Also, when you create any target groups for these
4351
+ # services, you must choose `ip` as the target type, not `instance`,
4352
+ # because tasks that use the `awsvpc` network mode are associated with
4353
+ # an elastic network interface, not an Amazon EC2 instance.
4298
4354
  # @return [Array<Types::LoadBalancer>]
4299
4355
  #
4300
4356
  # @!attribute [rw] service_registries
@@ -4444,12 +4500,14 @@ module Aws::ECS
4444
4500
  # {
4445
4501
  # registry_arn: "String",
4446
4502
  # port: 1,
4503
+ # container_name: "String",
4504
+ # container_port: 1,
4447
4505
  # }
4448
4506
  #
4449
4507
  # @!attribute [rw] registry_arn
4450
- # The Amazon Resource Name (ARN) of the Service Registry. The
4451
- # currently supported service registry is Amazon Route 53 Auto Naming
4452
- # Service. For more information, see [Service][1].
4508
+ # The Amazon Resource Name (ARN) of the service registry. The
4509
+ # currently supported service registry is Amazon Route 53 Auto Naming.
4510
+ # For more information, see [Service][1].
4453
4511
  #
4454
4512
  #
4455
4513
  #
@@ -4457,15 +4515,41 @@ module Aws::ECS
4457
4515
  # @return [String]
4458
4516
  #
4459
4517
  # @!attribute [rw] port
4460
- # The port value used if your Service Discovery service specified an
4461
- # SRV record.
4518
+ # The port value used if your service discovery service specified an
4519
+ # SRV record. This field is required if both the `awsvpc` network mode
4520
+ # and SRV records are used.
4521
+ # @return [Integer]
4522
+ #
4523
+ # @!attribute [rw] container_name
4524
+ # The container name value, already specified in the task definition,
4525
+ # to be used for your service discovery service. If the task
4526
+ # definition that your service task specifies uses the `bridge` or
4527
+ # `host` network mode, you must specify a `containerName` and
4528
+ # `containerPort` combination from the task definition. If the task
4529
+ # definition that your service task specifies uses the `awsvpc`
4530
+ # network mode and a type SRV DNS record is used, you must specify
4531
+ # either a `containerName` and `containerPort` combination or a `port`
4532
+ # value, but not both.
4533
+ # @return [String]
4534
+ #
4535
+ # @!attribute [rw] container_port
4536
+ # The port value, already specified in the task definition, to be used
4537
+ # for your service discovery service. If the task definition your
4538
+ # service task specifies uses the `bridge` or `host` network mode, you
4539
+ # must specify a `containerName` and `containerPort` combination from
4540
+ # the task definition. If the task definition your service task
4541
+ # specifies uses the `awsvpc` network mode and a type SRV DNS record
4542
+ # is used, you must specify either a `containerName` and
4543
+ # `containerPort` combination or a `port` value, but not both.
4462
4544
  # @return [Integer]
4463
4545
  #
4464
4546
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRegistry AWS API Documentation
4465
4547
  #
4466
4548
  class ServiceRegistry < Struct.new(
4467
4549
  :registry_arn,
4468
- :port)
4550
+ :port,
4551
+ :container_name,
4552
+ :container_port)
4469
4553
  include Aws::Structure
4470
4554
  end
4471
4555
 
@@ -5368,7 +5452,7 @@ module Aws::ECS
5368
5452
  # @return [String]
5369
5453
  #
5370
5454
  # @!attribute [rw] size
5371
- # The size of the tmpfs volume.
5455
+ # The size (in MiB) of the tmpfs volume.
5372
5456
  # @return [Integer]
5373
5457
  #
5374
5458
  # @!attribute [rw] mount_options
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.12.0
4
+ version: 1.13.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-03-22 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.5.2.2
79
+ rubygems_version: 2.5.2.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: AWS SDK for Ruby - Amazon ECS