aws-sdk-ecs 1.55.0 → 1.56.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: 3ca3a0c50f0c0e1a013a23c0fcd073b9a34ba825
4
- data.tar.gz: 6a044345fc35e27e065ada5e2887a96cb405f743
3
+ metadata.gz: 5038f04dbfc45007750d7053fae6ad7f6c670036
4
+ data.tar.gz: 6a1a71b427cc3aafa7fc64b57c170c22f5ade26b
5
5
  SHA512:
6
- metadata.gz: '009a3605ba2d762cefa81ff5d5750695d5ed39287c748582b765f1b538fd0c16973a78c718275529f2ce9c8a76928fd57522edf8f93423f14f5668664b0ec82c'
7
- data.tar.gz: 65d4673090b51a53ecec9eb9252bbf0a4e01a720d57e6c1721aa6f3821a122ff2764c2f46de42a2f7e9dfdb0e977853b8ee1b40b5d46d4dbc5f13d937485b913
6
+ metadata.gz: 2e21e2fb46f01ca0f5664595664edb7547fa71bd145d7dc5415b65e9deb5fa07951ca7c5374ef8b3957bf61b45e56cdc4dd751f422d474a51e95ca2d90e88b20
7
+ data.tar.gz: a3ddf994a71ce9e6bf1ba12d872e023a07042feb9541231eac9819cb5b99655fa78b0b5fdaf1338a87554cc19e2cacae6408bc578a9d00c7cbf0d1f3afd09bc5
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.55.0'
46
+ GEM_VERSION = '1.56.0'
47
47
 
48
48
  end
@@ -1629,10 +1629,16 @@ module Aws::ECS
1629
1629
  req.send_request(options)
1630
1630
  end
1631
1631
 
1632
- # Deletes the specified cluster. You must deregister all container
1633
- # instances from this cluster before you may delete it. You can list the
1634
- # container instances in a cluster with ListContainerInstances and
1635
- # deregister them with DeregisterContainerInstance.
1632
+ # Deletes the specified cluster. The cluster will transition to the
1633
+ # `INACTIVE` state. Clusters with an `INACTIVE` status may remain
1634
+ # discoverable in your account for a period of time. However, this
1635
+ # behavior is subject to change in the future, so you should not rely on
1636
+ # `INACTIVE` clusters persisting.
1637
+ #
1638
+ # You must deregister all container instances from this cluster before
1639
+ # you may delete it. You can list the container instances in a cluster
1640
+ # with ListContainerInstances and deregister them with
1641
+ # DeregisterContainerInstance.
1636
1642
  #
1637
1643
  # @option params [required, String] :cluster
1638
1644
  # The short name or full Amazon Resource Name (ARN) of the cluster to
@@ -2269,6 +2275,8 @@ module Aws::ECS
2269
2275
  # resp.task_definition.volumes[0].docker_volume_configuration.driver_opts["String"] #=> String
2270
2276
  # resp.task_definition.volumes[0].docker_volume_configuration.labels #=> Hash
2271
2277
  # resp.task_definition.volumes[0].docker_volume_configuration.labels["String"] #=> String
2278
+ # resp.task_definition.volumes[0].efs_volume_configuration.file_system_id #=> String
2279
+ # resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
2272
2280
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
2273
2281
  # resp.task_definition.requires_attributes #=> Array
2274
2282
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -3117,6 +3125,8 @@ module Aws::ECS
3117
3125
  # resp.task_definition.volumes[0].docker_volume_configuration.driver_opts["String"] #=> String
3118
3126
  # resp.task_definition.volumes[0].docker_volume_configuration.labels #=> Hash
3119
3127
  # resp.task_definition.volumes[0].docker_volume_configuration.labels["String"] #=> String
3128
+ # resp.task_definition.volumes[0].efs_volume_configuration.file_system_id #=> String
3129
+ # resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
3120
3130
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
3121
3131
  # resp.task_definition.requires_attributes #=> Array
3122
3132
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -5455,6 +5465,10 @@ module Aws::ECS
5455
5465
  # "String" => "String",
5456
5466
  # },
5457
5467
  # },
5468
+ # efs_volume_configuration: {
5469
+ # file_system_id: "String", # required
5470
+ # root_directory: "String",
5471
+ # },
5458
5472
  # },
5459
5473
  # ],
5460
5474
  # placement_constraints: [
@@ -5608,6 +5622,8 @@ module Aws::ECS
5608
5622
  # resp.task_definition.volumes[0].docker_volume_configuration.driver_opts["String"] #=> String
5609
5623
  # resp.task_definition.volumes[0].docker_volume_configuration.labels #=> Hash
5610
5624
  # resp.task_definition.volumes[0].docker_volume_configuration.labels["String"] #=> String
5625
+ # resp.task_definition.volumes[0].efs_volume_configuration.file_system_id #=> String
5626
+ # resp.task_definition.volumes[0].efs_volume_configuration.root_directory #=> String
5611
5627
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
5612
5628
  # resp.task_definition.requires_attributes #=> Array
5613
5629
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -7701,7 +7717,7 @@ module Aws::ECS
7701
7717
  params: params,
7702
7718
  config: config)
7703
7719
  context[:gem_name] = 'aws-sdk-ecs'
7704
- context[:gem_version] = '1.55.0'
7720
+ context[:gem_version] = '1.56.0'
7705
7721
  Seahorse::Client::Request.new(handlers, context)
7706
7722
  end
7707
7723
 
@@ -119,6 +119,7 @@ module Aws::ECS
119
119
  DockerLabelsMap = Shapes::MapShape.new(name: 'DockerLabelsMap')
120
120
  DockerVolumeConfiguration = Shapes::StructureShape.new(name: 'DockerVolumeConfiguration')
121
121
  Double = Shapes::FloatShape.new(name: 'Double')
122
+ EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
122
123
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
123
124
  Failure = Shapes::StructureShape.new(name: 'Failure')
124
125
  Failures = Shapes::ListShape.new(name: 'Failures')
@@ -737,6 +738,10 @@ module Aws::ECS
737
738
  DockerVolumeConfiguration.add_member(:labels, Shapes::ShapeRef.new(shape: StringMap, location_name: "labels"))
738
739
  DockerVolumeConfiguration.struct_class = Types::DockerVolumeConfiguration
739
740
 
741
+ EFSVolumeConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemId"))
742
+ EFSVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, location_name: "rootDirectory"))
743
+ EFSVolumeConfiguration.struct_class = Types::EFSVolumeConfiguration
744
+
740
745
  EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
741
746
 
742
747
  Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
@@ -1424,6 +1429,7 @@ module Aws::ECS
1424
1429
  Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1425
1430
  Volume.add_member(:host, Shapes::ShapeRef.new(shape: HostVolumeProperties, location_name: "host"))
1426
1431
  Volume.add_member(:docker_volume_configuration, Shapes::ShapeRef.new(shape: DockerVolumeConfiguration, location_name: "dockerVolumeConfiguration"))
1432
+ Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
1427
1433
  Volume.struct_class = Types::Volume
1428
1434
 
1429
1435
  VolumeFrom.add_member(:source_container, Shapes::ShapeRef.new(shape: String, location_name: "sourceContainer"))
@@ -1705,6 +1711,12 @@ module Aws::ECS
1705
1711
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1706
1712
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1707
1713
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1714
+ o[:pager] = Aws::Pager.new(
1715
+ limit_key: "max_results",
1716
+ tokens: {
1717
+ "next_token" => "next_token"
1718
+ }
1719
+ )
1708
1720
  end)
1709
1721
 
1710
1722
  api.add_operation(:list_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -149,6 +149,9 @@ module Aws::ECS
149
149
  # Scaling group capacity provider. This determines whether the Auto
150
150
  # Scaling group has managed termination protection.
151
151
  #
152
+ # When using managed termination protection, managed scaling must also
153
+ # be used otherwise managed termination protection will not work.
154
+ #
152
155
  # When managed termination protection is enabled, Amazon ECS prevents
153
156
  # the Amazon EC2 instances in an Auto Scaling group that contain tasks
154
157
  # from being terminated during a scale-in action. The Auto Scaling
@@ -361,10 +364,35 @@ module Aws::ECS
361
364
  # @return [String]
362
365
  #
363
366
  # @!attribute [rw] status
364
- # The status of the cluster. The valid values are `ACTIVE` or
365
- # `INACTIVE`. `ACTIVE` indicates that you can register container
366
- # instances with the cluster and the associated instances can accept
367
- # tasks.
367
+ # The status of the cluster. The following are the possible states
368
+ # that will be returned.
369
+ #
370
+ # ACTIVE
371
+ #
372
+ # : The cluster is ready to accept tasks and if applicable you can
373
+ # register container instances with the cluster.
374
+ #
375
+ # PROVISIONING
376
+ #
377
+ # : The cluster has capacity providers associated with it and the
378
+ # resources needed for the capacity provider are being created.
379
+ #
380
+ # DEPROVISIONING
381
+ #
382
+ # : The cluster has capacity providers associated with it and the
383
+ # resources needed for the capacity provider are being deleted.
384
+ #
385
+ # FAILED
386
+ #
387
+ # : The cluster has capacity providers associated with it and the
388
+ # resources needed for the capacity provider have failed to create.
389
+ #
390
+ # INACTIVE
391
+ #
392
+ # : The cluster has been deleted. Clusters with an `INACTIVE` status
393
+ # may remain discoverable in your account for a period of time.
394
+ # However, this behavior is subject to change in the future, so you
395
+ # should not rely on `INACTIVE` clusters persisting.
368
396
  # @return [String]
369
397
  #
370
398
  # @!attribute [rw] registered_container_instances_count
@@ -855,17 +883,6 @@ module Aws::ECS
855
883
  #
856
884
  # </note>
857
885
  #
858
- # For example, if you run a single-container task on a single-core
859
- # instance type with 512 CPU units specified for that container, and
860
- # that is the only task running on the container instance, that
861
- # container could use the full 1,024 CPU unit share at any given time.
862
- # However, if you launched another copy of the same task on that
863
- # container instance, each task would be guaranteed a minimum of 512
864
- # CPU units when needed, and each container could float to higher CPU
865
- # usage if the other container was not using it, but if both tasks
866
- # were 100% active all of the time, they would be limited to 512 CPU
867
- # units.
868
- #
869
886
  # Linux containers share unallocated CPU units with other containers
870
887
  # on the container instance with the same ratio as their allocated
871
888
  # amount. For example, if you run a single-container task on a
@@ -1682,8 +1699,8 @@ module Aws::ECS
1682
1699
  # see [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic
1683
1700
  # Container Service Developer Guide*.
1684
1701
  #
1685
- # <note markdown="1"> If you are using tasks that use the Fargate launch type, container
1686
- # dependency parameters are not supported.
1702
+ # <note markdown="1"> For tasks using the Fargate launch type, this parameter requires that
1703
+ # the task or service uses platform version 1.3.0 or later.
1687
1704
  #
1688
1705
  # </note>
1689
1706
  #
@@ -4073,6 +4090,45 @@ module Aws::ECS
4073
4090
  include Aws::Structure
4074
4091
  end
4075
4092
 
4093
+ # This parameter is specified when you are using an Amazon Elastic File
4094
+ # System (Amazon EFS) file storage. Amazon EFS file systems are only
4095
+ # supported when you are using the EC2 launch type.
4096
+ #
4097
+ # `EFSVolumeConfiguration` remains in preview and is a Beta Service as
4098
+ # defined by and subject to the Beta Service Participation Service Terms
4099
+ # located at [https://aws.amazon.com/service-terms][1] ("Beta Terms").
4100
+ # These Beta Terms apply to your participation in this preview of
4101
+ # `EFSVolumeConfiguration`.
4102
+ #
4103
+ #
4104
+ #
4105
+ # [1]: https://aws.amazon.com/service-terms
4106
+ #
4107
+ # @note When making an API call, you may pass EFSVolumeConfiguration
4108
+ # data as a hash:
4109
+ #
4110
+ # {
4111
+ # file_system_id: "String", # required
4112
+ # root_directory: "String",
4113
+ # }
4114
+ #
4115
+ # @!attribute [rw] file_system_id
4116
+ # The Amazon EFS file system ID to use.
4117
+ # @return [String]
4118
+ #
4119
+ # @!attribute [rw] root_directory
4120
+ # The directory within the Amazon EFS file system to mount as the root
4121
+ # directory inside the host.
4122
+ # @return [String]
4123
+ #
4124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/EFSVolumeConfiguration AWS API Documentation
4125
+ #
4126
+ class EFSVolumeConfiguration < Struct.new(
4127
+ :file_system_id,
4128
+ :root_directory)
4129
+ include Aws::Structure
4130
+ end
4131
+
4076
4132
  # A failed resource.
4077
4133
  #
4078
4134
  # @!attribute [rw] arn
@@ -6626,6 +6682,10 @@ module Aws::ECS
6626
6682
  # "String" => "String",
6627
6683
  # },
6628
6684
  # },
6685
+ # efs_volume_configuration: {
6686
+ # file_system_id: "String", # required
6687
+ # root_directory: "String",
6688
+ # },
6629
6689
  # },
6630
6690
  # ],
6631
6691
  # placement_constraints: [
@@ -10035,6 +10095,10 @@ module Aws::ECS
10035
10095
  # "String" => "String",
10036
10096
  # },
10037
10097
  # },
10098
+ # efs_volume_configuration: {
10099
+ # file_system_id: "String", # required
10100
+ # root_directory: "String",
10101
+ # },
10038
10102
  # }
10039
10103
  #
10040
10104
  # @!attribute [rw] name
@@ -10064,15 +10128,32 @@ module Aws::ECS
10064
10128
  # This parameter is specified when you are using Docker volumes.
10065
10129
  # Docker volumes are only supported when you are using the EC2 launch
10066
10130
  # type. Windows containers only support the use of the `local` driver.
10067
- # To use bind mounts, specify a `host` instead.
10131
+ # To use bind mounts, specify the `host` parameter instead.
10068
10132
  # @return [Types::DockerVolumeConfiguration]
10069
10133
  #
10134
+ # @!attribute [rw] efs_volume_configuration
10135
+ # This parameter is specified when you are using an Amazon Elastic
10136
+ # File System (Amazon EFS) file storage. Amazon EFS file systems are
10137
+ # only supported when you are using the EC2 launch type.
10138
+ #
10139
+ # `EFSVolumeConfiguration` remains in preview and is a Beta Service as
10140
+ # defined by and subject to the Beta Service Participation Service
10141
+ # Terms located at [https://aws.amazon.com/service-terms][1] ("Beta
10142
+ # Terms"). These Beta Terms apply to your participation in this
10143
+ # preview of `EFSVolumeConfiguration`.
10144
+ #
10145
+ #
10146
+ #
10147
+ # [1]: https://aws.amazon.com/service-terms
10148
+ # @return [Types::EFSVolumeConfiguration]
10149
+ #
10070
10150
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume AWS API Documentation
10071
10151
  #
10072
10152
  class Volume < Struct.new(
10073
10153
  :name,
10074
10154
  :host,
10075
- :docker_volume_configuration)
10155
+ :docker_volume_configuration,
10156
+ :efs_volume_configuration)
10076
10157
  include Aws::Structure
10077
10158
  end
10078
10159
 
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.55.0
4
+ version: 1.56.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-12-17 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core