aws-sdk-ecs 1.49.0 → 1.50.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
  SHA1:
3
- metadata.gz: 50bb622de93d1c947baaed12525b79c4212c3982
4
- data.tar.gz: a80d82923f9285a314ccd0a6ba9007b795666f5d
3
+ metadata.gz: 164fffe0a60ed194a7bc171672d52e920529e50b
4
+ data.tar.gz: 88aba6f6b35f154b950dd118c30b1d68b4329831
5
5
  SHA512:
6
- metadata.gz: 36d22667565a0257827ae29d6a1daa445441a21a0557fbb6a4e9c6e6d21dae4cb21595280b2b57d20bb180ada1f5e11289631e465302c6d510fe240605a6cc90
7
- data.tar.gz: 50c2d0b0b7559bea3d992d66d938ff71ff8f9a900bf10b94a99d083b9c88e8a8e885e6e5c54ff4a1ead1192e4fe329306b76de2bfce4720ad538599d9a745972
6
+ metadata.gz: 656270298f89bfdcf110ae8c3688edc5a67be35babfc4b082434ce2f764aaec523263d9b97b998a9111873bb0cbf53f49b27c11cf6272ffba041dfa8e43427b7
7
+ data.tar.gz: 5ef7767ffd31b5776e62a4b7d7831a18174f7a7e12d304013c6b708fcfe77371265cad8a2951cab3baf67cd92baacc047c6604d54622da284e141a5c3ff230a3
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.49.0'
46
+ GEM_VERSION = '1.50.0'
47
47
 
48
48
  end
@@ -542,7 +542,10 @@ module Aws::ECS
542
542
  # If the service is using the rolling update (`ECS`) deployment
543
543
  # controller and using either an Application Load Balancer or Network
544
544
  # Load Balancer, you can specify multiple target groups to attach to the
545
- # service.
545
+ # service. The service-linked role is required for services that make
546
+ # use of multiple target groups. For more information, see [Using
547
+ # Service-Linked Roles for Amazon ECS][2] in the *Amazon Elastic
548
+ # Container Service Developer Guide*.
546
549
  #
547
550
  # If the service is using the `CODE_DEPLOY` deployment controller, the
548
551
  # service is required to use either an Application Load Balancer or
@@ -586,6 +589,7 @@ module Aws::ECS
586
589
  #
587
590
  #
588
591
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
592
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
589
593
  #
590
594
  # @option params [Array<Types::ServiceRegistry>] :service_registries
591
595
  # The details of the service discovery registries to assign to this
@@ -646,10 +650,12 @@ module Aws::ECS
646
650
  # If your account has already created the Amazon ECS service-linked
647
651
  # role, that role is used by default for your service unless you specify
648
652
  # a role here. The service-linked role is required if your task
649
- # definition uses the `awsvpc` network mode, in which case you should
650
- # not specify a role here. For more information, see [Using
651
- # Service-Linked Roles for Amazon ECS][1] in the *Amazon Elastic
652
- # Container Service Developer Guide*.
653
+ # definition uses the `awsvpc` network mode or if the service is
654
+ # configured to use service discovery, an external deployment
655
+ # controller, or multiple target groups in which case you should not
656
+ # specify a role here. For more information, see [Using Service-Linked
657
+ # Roles for Amazon ECS][1] in the *Amazon Elastic Container Service
658
+ # Developer Guide*.
653
659
  #
654
660
  # If your specified role has a path other than `/`, then you must either
655
661
  # specify the full role ARN (this is recommended) or prefix the role
@@ -2927,6 +2933,8 @@ module Aws::ECS
2927
2933
  # resp.tasks[0].containers[0].container_arn #=> String
2928
2934
  # resp.tasks[0].containers[0].task_arn #=> String
2929
2935
  # resp.tasks[0].containers[0].name #=> String
2936
+ # resp.tasks[0].containers[0].image #=> String
2937
+ # resp.tasks[0].containers[0].image_digest #=> String
2930
2938
  # resp.tasks[0].containers[0].runtime_id #=> String
2931
2939
  # resp.tasks[0].containers[0].last_status #=> String
2932
2940
  # resp.tasks[0].containers[0].exit_code #=> Integer
@@ -5405,6 +5413,8 @@ module Aws::ECS
5405
5413
  # resp.tasks[0].containers[0].container_arn #=> String
5406
5414
  # resp.tasks[0].containers[0].task_arn #=> String
5407
5415
  # resp.tasks[0].containers[0].name #=> String
5416
+ # resp.tasks[0].containers[0].image #=> String
5417
+ # resp.tasks[0].containers[0].image_digest #=> String
5408
5418
  # resp.tasks[0].containers[0].runtime_id #=> String
5409
5419
  # resp.tasks[0].containers[0].last_status #=> String
5410
5420
  # resp.tasks[0].containers[0].exit_code #=> Integer
@@ -5671,6 +5681,8 @@ module Aws::ECS
5671
5681
  # resp.tasks[0].containers[0].container_arn #=> String
5672
5682
  # resp.tasks[0].containers[0].task_arn #=> String
5673
5683
  # resp.tasks[0].containers[0].name #=> String
5684
+ # resp.tasks[0].containers[0].image #=> String
5685
+ # resp.tasks[0].containers[0].image_digest #=> String
5674
5686
  # resp.tasks[0].containers[0].runtime_id #=> String
5675
5687
  # resp.tasks[0].containers[0].last_status #=> String
5676
5688
  # resp.tasks[0].containers[0].exit_code #=> Integer
@@ -5816,6 +5828,8 @@ module Aws::ECS
5816
5828
  # resp.task.containers[0].container_arn #=> String
5817
5829
  # resp.task.containers[0].task_arn #=> String
5818
5830
  # resp.task.containers[0].name #=> String
5831
+ # resp.task.containers[0].image #=> String
5832
+ # resp.task.containers[0].image_digest #=> String
5819
5833
  # resp.task.containers[0].runtime_id #=> String
5820
5834
  # resp.task.containers[0].last_status #=> String
5821
5835
  # resp.task.containers[0].exit_code #=> Integer
@@ -6039,6 +6053,7 @@ module Aws::ECS
6039
6053
  # containers: [
6040
6054
  # {
6041
6055
  # container_name: "String",
6056
+ # image_digest: "String",
6042
6057
  # runtime_id: "String",
6043
6058
  # exit_code: 1,
6044
6059
  # network_bindings: [
@@ -7026,7 +7041,7 @@ module Aws::ECS
7026
7041
  params: params,
7027
7042
  config: config)
7028
7043
  context[:gem_name] = 'aws-sdk-ecs'
7029
- context[:gem_version] = '1.49.0'
7044
+ context[:gem_version] = '1.50.0'
7030
7045
  Seahorse::Client::Request.new(handlers, context)
7031
7046
  end
7032
7047
 
@@ -352,6 +352,8 @@ module Aws::ECS
352
352
  Container.add_member(:container_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerArn"))
353
353
  Container.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
354
354
  Container.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
355
+ Container.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
356
+ Container.add_member(:image_digest, Shapes::ShapeRef.new(shape: String, location_name: "imageDigest"))
355
357
  Container.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
356
358
  Container.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
357
359
  Container.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
@@ -448,6 +450,7 @@ module Aws::ECS
448
450
  ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
449
451
 
450
452
  ContainerStateChange.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
453
+ ContainerStateChange.add_member(:image_digest, Shapes::ShapeRef.new(shape: String, location_name: "imageDigest"))
451
454
  ContainerStateChange.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
452
455
  ContainerStateChange.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
453
456
  ContainerStateChange.add_member(:network_bindings, Shapes::ShapeRef.new(shape: NetworkBindings, location_name: "networkBindings"))
@@ -1836,6 +1839,7 @@ module Aws::ECS
1836
1839
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1837
1840
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1838
1841
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1839
1843
  end)
1840
1844
 
1841
1845
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -342,6 +342,19 @@ module Aws::ECS
342
342
  # The name of the container.
343
343
  # @return [String]
344
344
  #
345
+ # @!attribute [rw] image
346
+ # The image used for the container.
347
+ # @return [String]
348
+ #
349
+ # @!attribute [rw] image_digest
350
+ # The container image manifest digest.
351
+ #
352
+ # <note markdown="1"> The `imageDigest` is only returned if the container is using an
353
+ # image hosted in Amazon ECR, otherwise it is omitted.
354
+ #
355
+ # </note>
356
+ # @return [String]
357
+ #
345
358
  # @!attribute [rw] runtime_id
346
359
  # The ID of the Docker container.
347
360
  # @return [String]
@@ -401,6 +414,8 @@ module Aws::ECS
401
414
  :container_arn,
402
415
  :task_arn,
403
416
  :name,
417
+ :image,
418
+ :image_digest,
404
419
  :runtime_id,
405
420
  :last_status,
406
421
  :exit_code,
@@ -1397,7 +1412,13 @@ module Aws::ECS
1397
1412
  #
1398
1413
  # @!attribute [rw] firelens_configuration
1399
1414
  # The FireLens configuration for the container. This is used to
1400
- # specify and configure a log router for container logs.
1415
+ # specify and configure a log router for container logs. For more
1416
+ # information, see [Custom Log Routing][1] in the *Amazon Elastic
1417
+ # Container Service Developer Guide*.
1418
+ #
1419
+ #
1420
+ #
1421
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
1401
1422
  # @return [Types::FirelensConfiguration]
1402
1423
  #
1403
1424
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition AWS API Documentation
@@ -1783,6 +1804,7 @@ module Aws::ECS
1783
1804
  #
1784
1805
  # {
1785
1806
  # container_name: "String",
1807
+ # image_digest: "String",
1786
1808
  # runtime_id: "String",
1787
1809
  # exit_code: 1,
1788
1810
  # network_bindings: [
@@ -1801,6 +1823,10 @@ module Aws::ECS
1801
1823
  # The name of the container.
1802
1824
  # @return [String]
1803
1825
  #
1826
+ # @!attribute [rw] image_digest
1827
+ # The container image SHA 256 digest.
1828
+ # @return [String]
1829
+ #
1804
1830
  # @!attribute [rw] runtime_id
1805
1831
  # The ID of the Docker container.
1806
1832
  # @return [String]
@@ -1826,6 +1852,7 @@ module Aws::ECS
1826
1852
  #
1827
1853
  class ContainerStateChange < Struct.new(
1828
1854
  :container_name,
1855
+ :image_digest,
1829
1856
  :runtime_id,
1830
1857
  :exit_code,
1831
1858
  :network_bindings,
@@ -2013,7 +2040,10 @@ module Aws::ECS
2013
2040
  # If the service is using the rolling update (`ECS`) deployment
2014
2041
  # controller and using either an Application Load Balancer or Network
2015
2042
  # Load Balancer, you can specify multiple target groups to attach to
2016
- # the service.
2043
+ # the service. The service-linked role is required for services that
2044
+ # make use of multiple target groups. For more information, see [Using
2045
+ # Service-Linked Roles for Amazon ECS][2] in the *Amazon Elastic
2046
+ # Container Service Developer Guide*.
2017
2047
  #
2018
2048
  # If the service is using the `CODE_DEPLOY` deployment controller, the
2019
2049
  # service is required to use either an Application Load Balancer or
@@ -2059,6 +2089,7 @@ module Aws::ECS
2059
2089
  #
2060
2090
  #
2061
2091
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
2092
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
2062
2093
  # @return [Array<Types::LoadBalancer>]
2063
2094
  #
2064
2095
  # @!attribute [rw] service_registries
@@ -2126,10 +2157,12 @@ module Aws::ECS
2126
2157
  # If your account has already created the Amazon ECS service-linked
2127
2158
  # role, that role is used by default for your service unless you
2128
2159
  # specify a role here. The service-linked role is required if your
2129
- # task definition uses the `awsvpc` network mode, in which case you
2130
- # should not specify a role here. For more information, see [Using
2131
- # Service-Linked Roles for Amazon ECS][1] in the *Amazon Elastic
2132
- # Container Service Developer Guide*.
2160
+ # task definition uses the `awsvpc` network mode or if the service is
2161
+ # configured to use service discovery, an external deployment
2162
+ # controller, or multiple target groups in which case you should not
2163
+ # specify a role here. For more information, see [Using Service-Linked
2164
+ # Roles for Amazon ECS][1] in the *Amazon Elastic Container Service
2165
+ # Developer Guide*.
2133
2166
  #
2134
2167
  # If your specified role has a path other than `/`, then you must
2135
2168
  # either specify the full role ARN (this is recommended) or prefix the
@@ -3527,7 +3560,13 @@ module Aws::ECS
3527
3560
  end
3528
3561
 
3529
3562
  # The FireLens configuration for the container. This is used to specify
3530
- # and configure a log router for container logs.
3563
+ # and configure a log router for container logs. For more information,
3564
+ # see [Custom Log Routing][1] in the *Amazon Elastic Container Service
3565
+ # Developer Guide*.
3566
+ #
3567
+ #
3568
+ #
3569
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
3531
3570
  #
3532
3571
  # @note When making an API call, you may pass FirelensConfiguration
3533
3572
  # data as a hash:
@@ -4903,19 +4942,23 @@ module Aws::ECS
4903
4942
  # can communicate with by default.
4904
4943
  #
4905
4944
  # For tasks using the Fargate launch type, the supported log drivers
4906
- # are `awslogs` and `splunk`.
4945
+ # are `awslogs`, `splunk`, and `awsfirelens`.
4907
4946
  #
4908
4947
  # For tasks using the EC2 launch type, the supported log drivers are
4909
- # `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `logentries`,
4910
- # `syslog`, and `splunk`.
4948
+ # `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `syslog`,
4949
+ # `splunk`, and `awsfirelens`.
4911
4950
  #
4912
4951
  # For more information about using the `awslogs` log driver, see
4913
4952
  # [Using the awslogs Log Driver][1] in the *Amazon Elastic Container
4914
4953
  # Service Developer Guide*.
4915
4954
  #
4955
+ # For more information about using the `awsfirelens` log driver, see
4956
+ # [Custom Log Routing][2] in the *Amazon Elastic Container Service
4957
+ # Developer Guide*.
4958
+ #
4916
4959
  # <note markdown="1"> If you have a custom driver that is not listed above that you would
4917
4960
  # like to work with the Amazon ECS container agent, you can fork the
4918
- # Amazon ECS container agent project that is [available on GitHub][2]
4961
+ # Amazon ECS container agent project that is [available on GitHub][3]
4919
4962
  # and customize it to work with that driver. We encourage you to
4920
4963
  # submit pull requests for changes that you would like to have
4921
4964
  # included. However, Amazon Web Services does not currently support
@@ -4932,7 +4975,8 @@ module Aws::ECS
4932
4975
  #
4933
4976
  #
4934
4977
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html
4935
- # [2]: https://github.com/aws/amazon-ecs-agent
4978
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
4979
+ # [3]: https://github.com/aws/amazon-ecs-agent
4936
4980
  # @return [String]
4937
4981
  #
4938
4982
  # @!attribute [rw] options
@@ -7439,6 +7483,7 @@ module Aws::ECS
7439
7483
  # containers: [
7440
7484
  # {
7441
7485
  # container_name: "String",
7486
+ # image_digest: "String",
7442
7487
  # runtime_id: "String",
7443
7488
  # exit_code: 1,
7444
7489
  # network_bindings: [
@@ -7813,7 +7858,7 @@ module Aws::ECS
7813
7858
  # change that triggers a CloudWatch event, the version counter is
7814
7859
  # incremented. If you are replicating your Amazon ECS task state with
7815
7860
  # CloudWatch Events, you can compare the version of a task reported by
7816
- # the Amazon ECS API actionss with the version reported in CloudWatch
7861
+ # the Amazon ECS API actions with the version reported in CloudWatch
7817
7862
  # Events for the task (inside the `detail` object) to verify that the
7818
7863
  # version in your event stream is current.
7819
7864
  # @return [Integer]
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.49.0
4
+ version: 1.50.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: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2019-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core