aws-sdk-ecs 1.11.0 → 1.12.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: c61cf12eb3aa35df1d00ecf3a555171267f7c451
4
- data.tar.gz: b7a8ee768ccf965aba4e56047864658f4d33f9a6
3
+ metadata.gz: 4aa57677862518f3402381228a627d7abfe7dc6b
4
+ data.tar.gz: 23798c1e3c91229cac4726f80a4bd3226ba24cd7
5
5
  SHA512:
6
- metadata.gz: d4b1752cdeaf9c3d38321ee86ce7c09ed1d3d9878f346ba5922634d2eb191a10d7da2b41acf9512d94ce4948d819a8c6164e2981752443f08a1577792c045281
7
- data.tar.gz: 6452c6bfed21572b18db2d6d3d63703007dc03ed59984bf11248b55432b3f38a8126fda17ee6437d706ba563fec241bfaf55229438df78f99410dcec5ebe8c0b
6
+ metadata.gz: 75257ae19fd6b31bed70e90d5e5cc59dafb8318391e1bfb81394904f3846f03ad65ff72ccc7fd3f301108589410168045b31f260167bd37a5cb2f37dac2c65c1
7
+ data.tar.gz: 3d8479e390c490a8c970ed4428e66703c964f3f7e42a2bac949d719898e9f664142b6367a506b5fe2f459bc46824ac547f95352a18feb4d266b3762196f96714
data/lib/aws-sdk-ecs.rb CHANGED
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.11.0'
46
+ GEM_VERSION = '1.12.0'
47
47
 
48
48
  end
@@ -341,6 +341,14 @@ module Aws::ECS
341
341
  # on a container instance, the container instance and port combination
342
342
  # is registered as a target in the target group specified here.
343
343
  #
344
+ # @option params [Array<Types::ServiceRegistry>] :service_registries
345
+ # The details of the service discovery registries you want to assign to
346
+ # this service. For more information, see [Service Discovery][1].
347
+ #
348
+ #
349
+ #
350
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html
351
+ #
344
352
  # @option params [required, Integer] :desired_count
345
353
  # The number of instantiations of the specified task definition to place
346
354
  # and keep running on your cluster.
@@ -556,6 +564,12 @@ module Aws::ECS
556
564
  # container_port: 1,
557
565
  # },
558
566
  # ],
567
+ # service_registries: [
568
+ # {
569
+ # registry_arn: "String",
570
+ # port: 1,
571
+ # },
572
+ # ],
559
573
  # desired_count: 1, # required
560
574
  # client_token: "String",
561
575
  # launch_type: "EC2", # accepts EC2, FARGATE
@@ -597,6 +611,9 @@ module Aws::ECS
597
611
  # resp.service.load_balancers[0].load_balancer_name #=> String
598
612
  # resp.service.load_balancers[0].container_name #=> String
599
613
  # resp.service.load_balancers[0].container_port #=> Integer
614
+ # resp.service.service_registries #=> Array
615
+ # resp.service.service_registries[0].registry_arn #=> String
616
+ # resp.service.service_registries[0].port #=> Integer
600
617
  # resp.service.status #=> String
601
618
  # resp.service.desired_count #=> Integer
602
619
  # resp.service.running_count #=> Integer
@@ -823,6 +840,9 @@ module Aws::ECS
823
840
  # resp.service.load_balancers[0].load_balancer_name #=> String
824
841
  # resp.service.load_balancers[0].container_name #=> String
825
842
  # resp.service.load_balancers[0].container_port #=> Integer
843
+ # resp.service.service_registries #=> Array
844
+ # resp.service.service_registries[0].registry_arn #=> String
845
+ # resp.service.service_registries[0].port #=> Integer
826
846
  # resp.service.status #=> String
827
847
  # resp.service.desired_count #=> Integer
828
848
  # resp.service.running_count #=> Integer
@@ -1495,6 +1515,9 @@ module Aws::ECS
1495
1515
  # resp.services[0].load_balancers[0].load_balancer_name #=> String
1496
1516
  # resp.services[0].load_balancers[0].container_name #=> String
1497
1517
  # resp.services[0].load_balancers[0].container_port #=> Integer
1518
+ # resp.services[0].service_registries #=> Array
1519
+ # resp.services[0].service_registries[0].registry_arn #=> String
1520
+ # resp.services[0].service_registries[0].port #=> Integer
1498
1521
  # resp.services[0].status #=> String
1499
1522
  # resp.services[0].desired_count #=> Integer
1500
1523
  # resp.services[0].running_count #=> Integer
@@ -4466,6 +4489,9 @@ module Aws::ECS
4466
4489
  # resp.service.load_balancers[0].load_balancer_name #=> String
4467
4490
  # resp.service.load_balancers[0].container_name #=> String
4468
4491
  # resp.service.load_balancers[0].container_port #=> Integer
4492
+ # resp.service.service_registries #=> Array
4493
+ # resp.service.service_registries[0].registry_arn #=> String
4494
+ # resp.service.service_registries[0].port #=> Integer
4469
4495
  # resp.service.status #=> String
4470
4496
  # resp.service.desired_count #=> Integer
4471
4497
  # resp.service.running_count #=> Integer
@@ -4532,7 +4558,7 @@ module Aws::ECS
4532
4558
  params: params,
4533
4559
  config: config)
4534
4560
  context[:gem_name] = 'aws-sdk-ecs'
4535
- context[:gem_version] = '1.11.0'
4561
+ context[:gem_version] = '1.12.0'
4536
4562
  Seahorse::Client::Request.new(handlers, context)
4537
4563
  end
4538
4564
 
@@ -157,6 +157,8 @@ module Aws::ECS
157
157
  ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
158
158
  ServiceNotActiveException = Shapes::StructureShape.new(name: 'ServiceNotActiveException')
159
159
  ServiceNotFoundException = Shapes::StructureShape.new(name: 'ServiceNotFoundException')
160
+ ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
161
+ ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
160
162
  Services = Shapes::ListShape.new(name: 'Services')
161
163
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
162
164
  StartTaskRequest = Shapes::StructureShape.new(name: 'StartTaskRequest')
@@ -339,6 +341,7 @@ module Aws::ECS
339
341
  CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
340
342
  CreateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
341
343
  CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
344
+ CreateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
342
345
  CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, required: true, location_name: "desiredCount"))
343
346
  CreateServiceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
344
347
  CreateServiceRequest.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
@@ -707,6 +710,7 @@ module Aws::ECS
707
710
  Service.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
708
711
  Service.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
709
712
  Service.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
713
+ Service.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
710
714
  Service.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
711
715
  Service.add_member(:desired_count, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredCount"))
712
716
  Service.add_member(:running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningCount"))
@@ -732,6 +736,12 @@ module Aws::ECS
732
736
 
733
737
  ServiceEvents.member = Shapes::ShapeRef.new(shape: ServiceEvent)
734
738
 
739
+ ServiceRegistries.member = Shapes::ShapeRef.new(shape: ServiceRegistry)
740
+
741
+ ServiceRegistry.add_member(:registry_arn, Shapes::ShapeRef.new(shape: String, location_name: "registryArn"))
742
+ ServiceRegistry.add_member(:port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "port"))
743
+ ServiceRegistry.struct_class = Types::ServiceRegistry
744
+
735
745
  Services.member = Shapes::ShapeRef.new(shape: Service)
736
746
 
737
747
  StartTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
@@ -1365,6 +1365,12 @@ module Aws::ECS
1365
1365
  # container_port: 1,
1366
1366
  # },
1367
1367
  # ],
1368
+ # service_registries: [
1369
+ # {
1370
+ # registry_arn: "String",
1371
+ # port: 1,
1372
+ # },
1373
+ # ],
1368
1374
  # desired_count: 1, # required
1369
1375
  # client_token: "String",
1370
1376
  # launch_type: "EC2", # accepts EC2, FARGATE
@@ -1439,6 +1445,15 @@ module Aws::ECS
1439
1445
  # target group specified here.
1440
1446
  # @return [Array<Types::LoadBalancer>]
1441
1447
  #
1448
+ # @!attribute [rw] service_registries
1449
+ # The details of the service discovery registries you want to assign
1450
+ # to this service. For more information, see [Service Discovery][1].
1451
+ #
1452
+ #
1453
+ #
1454
+ # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html
1455
+ # @return [Array<Types::ServiceRegistry>]
1456
+ #
1442
1457
  # @!attribute [rw] desired_count
1443
1458
  # The number of instantiations of the specified task definition to
1444
1459
  # place and keep running on your cluster.
@@ -1539,6 +1554,7 @@ module Aws::ECS
1539
1554
  :service_name,
1540
1555
  :task_definition,
1541
1556
  :load_balancers,
1557
+ :service_registries,
1542
1558
  :desired_count,
1543
1559
  :client_token,
1544
1560
  :launch_type,
@@ -4281,6 +4297,9 @@ module Aws::ECS
4281
4297
  # load balancer.
4282
4298
  # @return [Array<Types::LoadBalancer>]
4283
4299
  #
4300
+ # @!attribute [rw] service_registries
4301
+ # @return [Array<Types::ServiceRegistry>]
4302
+ #
4284
4303
  # @!attribute [rw] status
4285
4304
  # The status of the service. The valid values are `ACTIVE`,
4286
4305
  # `DRAINING`, or `INACTIVE`.
@@ -4374,6 +4393,7 @@ module Aws::ECS
4374
4393
  :service_name,
4375
4394
  :cluster_arn,
4376
4395
  :load_balancers,
4396
+ :service_registries,
4377
4397
  :status,
4378
4398
  :desired_count,
4379
4399
  :running_count,
@@ -4416,6 +4436,39 @@ module Aws::ECS
4416
4436
  include Aws::Structure
4417
4437
  end
4418
4438
 
4439
+ # Details of the service registry.
4440
+ #
4441
+ # @note When making an API call, you may pass ServiceRegistry
4442
+ # data as a hash:
4443
+ #
4444
+ # {
4445
+ # registry_arn: "String",
4446
+ # port: 1,
4447
+ # }
4448
+ #
4449
+ # @!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].
4453
+ #
4454
+ #
4455
+ #
4456
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html
4457
+ # @return [String]
4458
+ #
4459
+ # @!attribute [rw] port
4460
+ # The port value used if your Service Discovery service specified an
4461
+ # SRV record.
4462
+ # @return [Integer]
4463
+ #
4464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRegistry AWS API Documentation
4465
+ #
4466
+ class ServiceRegistry < Struct.new(
4467
+ :registry_arn,
4468
+ :port)
4469
+ include Aws::Structure
4470
+ end
4471
+
4419
4472
  # @note When making an API call, you may pass StartTaskRequest
4420
4473
  # data as a hash:
4421
4474
  #
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.11.0
4
+ version: 1.12.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-20 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core