aws-sdk-ecs 1.48.0 → 1.49.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: 178c7bec0b43407a6c6578029ac52a19dd63d357
4
- data.tar.gz: 8ba2bbddbcd1e56eb2607175c04a4ecdb4cab00e
3
+ metadata.gz: 50bb622de93d1c947baaed12525b79c4212c3982
4
+ data.tar.gz: a80d82923f9285a314ccd0a6ba9007b795666f5d
5
5
  SHA512:
6
- metadata.gz: 51bbc970053156d5cf4ddde58dfbd33311284714cd222e322ba029d9d1a8d4a6b34376e71eaff64670ff582ed3ef3523a6100312891d67cb39965598d4fc3719
7
- data.tar.gz: 3c72b0d95a64e8e6d2feff321ab4f396b4a845f3d9daaa393f364d51ddc029e9f08ba01d4192ede6c944eb4df8ea334e9f2608493278feb07026d8555f96b492
6
+ metadata.gz: 36d22667565a0257827ae29d6a1daa445441a21a0557fbb6a4e9c6e6d21dae4cb21595280b2b57d20bb180ada1f5e11289631e465302c6d510fe240605a6cc90
7
+ data.tar.gz: 50c2d0b0b7559bea3d992d66d938ff71ff8f9a900bf10b94a99d083b9c88e8a8e885e6e5c54ff4a1ead1192e4fe329306b76de2bfce4720ad538599d9a745972
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.48.0'
46
+ GEM_VERSION = '1.49.0'
47
47
 
48
48
  end
@@ -606,6 +606,10 @@ module Aws::ECS
606
606
  # The number of instantiations of the specified task definition to place
607
607
  # and keep running on your cluster.
608
608
  #
609
+ # This is required if `schedulingStrategy` is `REPLICA` or is not
610
+ # specified. If `schedulingStrategy` is `DAEMON` then this is not
611
+ # required.
612
+ #
609
613
  # @option params [String] :client_token
610
614
  # Unique, case-sensitive identifier that you provide to ensure the
611
615
  # idempotency of the request. Up to 32 ASCII characters are allowed.
@@ -1952,7 +1956,7 @@ module Aws::ECS
1952
1956
  # resp.task_definition.container_definitions[0].system_controls[0].value #=> String
1953
1957
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
1954
1958
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
1955
- # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
1959
+ # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
1956
1960
  # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
1957
1961
  # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
1958
1962
  # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
@@ -2673,7 +2677,7 @@ module Aws::ECS
2673
2677
  # resp.task_definition.container_definitions[0].system_controls[0].value #=> String
2674
2678
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
2675
2679
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
2676
- # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
2680
+ # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
2677
2681
  # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
2678
2682
  # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
2679
2683
  # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
@@ -2909,7 +2913,10 @@ module Aws::ECS
2909
2913
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
2910
2914
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
2911
2915
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
2912
- # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU"
2916
+ # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
2917
+ # resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
2918
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
2919
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_type #=> String
2913
2920
  # resp.tasks[0].overrides.task_role_arn #=> String
2914
2921
  # resp.tasks[0].overrides.execution_role_arn #=> String
2915
2922
  # resp.tasks[0].last_status #=> String
@@ -2969,6 +2976,9 @@ module Aws::ECS
2969
2976
  # resp.tasks[0].tags #=> Array
2970
2977
  # resp.tasks[0].tags[0].key #=> String
2971
2978
  # resp.tasks[0].tags[0].value #=> String
2979
+ # resp.tasks[0].inference_accelerators #=> Array
2980
+ # resp.tasks[0].inference_accelerators[0].device_name #=> String
2981
+ # resp.tasks[0].inference_accelerators[0].device_type #=> String
2972
2982
  # resp.failures #=> Array
2973
2983
  # resp.failures[0].arn #=> String
2974
2984
  # resp.failures[0].reason #=> String
@@ -4655,6 +4665,10 @@ module Aws::ECS
4655
4665
  #
4656
4666
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
4657
4667
  #
4668
+ # @option params [Array<Types::InferenceAccelerator>] :inference_accelerators
4669
+ # The Elastic Inference accelerators to use for the containers in the
4670
+ # task.
4671
+ #
4658
4672
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4659
4673
  #
4660
4674
  # * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
@@ -4857,7 +4871,7 @@ module Aws::ECS
4857
4871
  # resource_requirements: [
4858
4872
  # {
4859
4873
  # value: "String", # required
4860
- # type: "GPU", # required, accepts GPU
4874
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
4861
4875
  # },
4862
4876
  # ],
4863
4877
  # firelens_configuration: {
@@ -4914,6 +4928,12 @@ module Aws::ECS
4914
4928
  # },
4915
4929
  # ],
4916
4930
  # },
4931
+ # inference_accelerators: [
4932
+ # {
4933
+ # device_name: "String", # required
4934
+ # device_type: "String", # required
4935
+ # },
4936
+ # ],
4917
4937
  # })
4918
4938
  #
4919
4939
  # @example Response structure
@@ -5013,7 +5033,7 @@ module Aws::ECS
5013
5033
  # resp.task_definition.container_definitions[0].system_controls[0].value #=> String
5014
5034
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
5015
5035
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
5016
- # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
5036
+ # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
5017
5037
  # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
5018
5038
  # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
5019
5039
  # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
@@ -5304,11 +5324,17 @@ module Aws::ECS
5304
5324
  # resource_requirements: [
5305
5325
  # {
5306
5326
  # value: "String", # required
5307
- # type: "GPU", # required, accepts GPU
5327
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
5308
5328
  # },
5309
5329
  # ],
5310
5330
  # },
5311
5331
  # ],
5332
+ # inference_accelerator_overrides: [
5333
+ # {
5334
+ # device_name: "String",
5335
+ # device_type: "String",
5336
+ # },
5337
+ # ],
5312
5338
  # task_role_arn: "String",
5313
5339
  # execution_role_arn: "String",
5314
5340
  # },
@@ -5365,7 +5391,10 @@ module Aws::ECS
5365
5391
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
5366
5392
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
5367
5393
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
5368
- # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU"
5394
+ # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
5395
+ # resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
5396
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
5397
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_type #=> String
5369
5398
  # resp.tasks[0].overrides.task_role_arn #=> String
5370
5399
  # resp.tasks[0].overrides.execution_role_arn #=> String
5371
5400
  # resp.tasks[0].last_status #=> String
@@ -5425,6 +5454,9 @@ module Aws::ECS
5425
5454
  # resp.tasks[0].tags #=> Array
5426
5455
  # resp.tasks[0].tags[0].key #=> String
5427
5456
  # resp.tasks[0].tags[0].value #=> String
5457
+ # resp.tasks[0].inference_accelerators #=> Array
5458
+ # resp.tasks[0].inference_accelerators[0].device_name #=> String
5459
+ # resp.tasks[0].inference_accelerators[0].device_type #=> String
5428
5460
  # resp.failures #=> Array
5429
5461
  # resp.failures[0].arn #=> String
5430
5462
  # resp.failures[0].reason #=> String
@@ -5572,11 +5604,17 @@ module Aws::ECS
5572
5604
  # resource_requirements: [
5573
5605
  # {
5574
5606
  # value: "String", # required
5575
- # type: "GPU", # required, accepts GPU
5607
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
5576
5608
  # },
5577
5609
  # ],
5578
5610
  # },
5579
5611
  # ],
5612
+ # inference_accelerator_overrides: [
5613
+ # {
5614
+ # device_name: "String",
5615
+ # device_type: "String",
5616
+ # },
5617
+ # ],
5580
5618
  # task_role_arn: "String",
5581
5619
  # execution_role_arn: "String",
5582
5620
  # },
@@ -5619,7 +5657,10 @@ module Aws::ECS
5619
5657
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
5620
5658
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements #=> Array
5621
5659
  # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].value #=> String
5622
- # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU"
5660
+ # resp.tasks[0].overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
5661
+ # resp.tasks[0].overrides.inference_accelerator_overrides #=> Array
5662
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_name #=> String
5663
+ # resp.tasks[0].overrides.inference_accelerator_overrides[0].device_type #=> String
5623
5664
  # resp.tasks[0].overrides.task_role_arn #=> String
5624
5665
  # resp.tasks[0].overrides.execution_role_arn #=> String
5625
5666
  # resp.tasks[0].last_status #=> String
@@ -5679,6 +5720,9 @@ module Aws::ECS
5679
5720
  # resp.tasks[0].tags #=> Array
5680
5721
  # resp.tasks[0].tags[0].key #=> String
5681
5722
  # resp.tasks[0].tags[0].value #=> String
5723
+ # resp.tasks[0].inference_accelerators #=> Array
5724
+ # resp.tasks[0].inference_accelerators[0].device_name #=> String
5725
+ # resp.tasks[0].inference_accelerators[0].device_type #=> String
5682
5726
  # resp.failures #=> Array
5683
5727
  # resp.failures[0].arn #=> String
5684
5728
  # resp.failures[0].reason #=> String
@@ -5758,7 +5802,10 @@ module Aws::ECS
5758
5802
  # resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
5759
5803
  # resp.task.overrides.container_overrides[0].resource_requirements #=> Array
5760
5804
  # resp.task.overrides.container_overrides[0].resource_requirements[0].value #=> String
5761
- # resp.task.overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU"
5805
+ # resp.task.overrides.container_overrides[0].resource_requirements[0].type #=> String, one of "GPU", "InferenceAccelerator"
5806
+ # resp.task.overrides.inference_accelerator_overrides #=> Array
5807
+ # resp.task.overrides.inference_accelerator_overrides[0].device_name #=> String
5808
+ # resp.task.overrides.inference_accelerator_overrides[0].device_type #=> String
5762
5809
  # resp.task.overrides.task_role_arn #=> String
5763
5810
  # resp.task.overrides.execution_role_arn #=> String
5764
5811
  # resp.task.last_status #=> String
@@ -5818,6 +5865,9 @@ module Aws::ECS
5818
5865
  # resp.task.tags #=> Array
5819
5866
  # resp.task.tags[0].key #=> String
5820
5867
  # resp.task.tags[0].value #=> String
5868
+ # resp.task.inference_accelerators #=> Array
5869
+ # resp.task.inference_accelerators[0].device_name #=> String
5870
+ # resp.task.inference_accelerators[0].device_type #=> String
5821
5871
  #
5822
5872
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask AWS API Documentation
5823
5873
  #
@@ -6624,11 +6674,11 @@ module Aws::ECS
6624
6674
  # after a task has first started. This is only valid if your service is
6625
6675
  # configured to use a load balancer. If your service's tasks take a
6626
6676
  # while to start and respond to Elastic Load Balancing health checks,
6627
- # you can specify a health check grace period of up to 1,800 seconds.
6628
- # During that time, the ECS service scheduler ignores the Elastic Load
6629
- # Balancing health check status. This grace period can prevent the ECS
6630
- # service scheduler from marking tasks as unhealthy and stopping them
6631
- # before they have time to come up.
6677
+ # you can specify a health check grace period of up to 2,147,483,647
6678
+ # seconds. During that time, the ECS service scheduler ignores the
6679
+ # Elastic Load Balancing health check status. This grace period can
6680
+ # prevent the ECS service scheduler from marking tasks as unhealthy and
6681
+ # stopping them before they have time to come up.
6632
6682
  #
6633
6683
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6634
6684
  #
@@ -6976,7 +7026,7 @@ module Aws::ECS
6976
7026
  params: params,
6977
7027
  config: config)
6978
7028
  context[:gem_name] = 'aws-sdk-ecs'
6979
- context[:gem_version] = '1.48.0'
7029
+ context[:gem_version] = '1.49.0'
6980
7030
  Seahorse::Client::Request.new(handlers, context)
6981
7031
  end
6982
7032
 
@@ -117,6 +117,10 @@ module Aws::ECS
117
117
  HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
118
118
  HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
119
119
  HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
120
+ InferenceAccelerator = Shapes::StructureShape.new(name: 'InferenceAccelerator')
121
+ InferenceAcceleratorOverride = Shapes::StructureShape.new(name: 'InferenceAcceleratorOverride')
122
+ InferenceAcceleratorOverrides = Shapes::ListShape.new(name: 'InferenceAcceleratorOverrides')
123
+ InferenceAccelerators = Shapes::ListShape.new(name: 'InferenceAccelerators')
120
124
  Integer = Shapes::IntegerShape.new(name: 'Integer')
121
125
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
122
126
  IpcMode = Shapes::StringShape.new(name: 'IpcMode')
@@ -689,6 +693,18 @@ module Aws::ECS
689
693
  HostVolumeProperties.add_member(:source_path, Shapes::ShapeRef.new(shape: String, location_name: "sourcePath"))
690
694
  HostVolumeProperties.struct_class = Types::HostVolumeProperties
691
695
 
696
+ InferenceAccelerator.add_member(:device_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceName"))
697
+ InferenceAccelerator.add_member(:device_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceType"))
698
+ InferenceAccelerator.struct_class = Types::InferenceAccelerator
699
+
700
+ InferenceAcceleratorOverride.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
701
+ InferenceAcceleratorOverride.add_member(:device_type, Shapes::ShapeRef.new(shape: String, location_name: "deviceType"))
702
+ InferenceAcceleratorOverride.struct_class = Types::InferenceAcceleratorOverride
703
+
704
+ InferenceAcceleratorOverrides.member = Shapes::ShapeRef.new(shape: InferenceAcceleratorOverride)
705
+
706
+ InferenceAccelerators.member = Shapes::ShapeRef.new(shape: InferenceAccelerator)
707
+
692
708
  KernelCapabilities.add_member(:add, Shapes::ShapeRef.new(shape: StringList, location_name: "add"))
693
709
  KernelCapabilities.add_member(:drop, Shapes::ShapeRef.new(shape: StringList, location_name: "drop"))
694
710
  KernelCapabilities.struct_class = Types::KernelCapabilities
@@ -925,6 +941,7 @@ module Aws::ECS
925
941
  RegisterTaskDefinitionRequest.add_member(:pid_mode, Shapes::ShapeRef.new(shape: PidMode, location_name: "pidMode"))
926
942
  RegisterTaskDefinitionRequest.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
927
943
  RegisterTaskDefinitionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
944
+ RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
928
945
  RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
929
946
 
930
947
  RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
@@ -1155,6 +1172,7 @@ module Aws::ECS
1155
1172
  Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
1156
1173
  Task.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
1157
1174
  Task.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1175
+ Task.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
1158
1176
  Task.struct_class = Types::Task
1159
1177
 
1160
1178
  TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
@@ -1188,6 +1206,7 @@ module Aws::ECS
1188
1206
  TaskFieldList.member = Shapes::ShapeRef.new(shape: TaskField)
1189
1207
 
1190
1208
  TaskOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
1209
+ TaskOverride.add_member(:inference_accelerator_overrides, Shapes::ShapeRef.new(shape: InferenceAcceleratorOverrides, location_name: "inferenceAcceleratorOverrides"))
1191
1210
  TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
1192
1211
  TaskOverride.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
1193
1212
  TaskOverride.struct_class = Types::TaskOverride
@@ -554,7 +554,7 @@ module Aws::ECS
554
554
  # resource_requirements: [
555
555
  # {
556
556
  # value: "String", # required
557
- # type: "GPU", # required, accepts GPU
557
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
558
558
  # },
559
559
  # ],
560
560
  # firelens_configuration: {
@@ -706,13 +706,12 @@ module Aws::ECS
706
706
  # a container][1] section of the [Docker Remote API][2] and the
707
707
  # `--memory` option to [docker run][3].
708
708
  #
709
- # If your containers are part of a task using the Fargate launch type,
710
- # this field is optional.
709
+ # If using the Fargate launch type, this parameter is optional.
711
710
  #
712
- # For containers that are part of a task using the EC2 launch type,
713
- # you must specify a non-zero integer for one or both of `memory` or
714
- # `memoryReservation` in container definitions. If you specify both,
715
- # `memory` must be greater than `memoryReservation`. If you specify
711
+ # If using the EC2 launch type, you must specify either a task-level
712
+ # memory value or a container-level memory value. If you specify both
713
+ # a container-level `memory` and `memoryReservation` value, `memory`
714
+ # must be greater than `memoryReservation`. If you specify
716
715
  # `memoryReservation`, then that value is subtracted from the
717
716
  # available memory resources for the container instance on which the
718
717
  # container is placed. Otherwise, the value of `memory` is used.
@@ -739,9 +738,10 @@ module Aws::ECS
739
738
  # container][1] section of the [Docker Remote API][2] and the
740
739
  # `--memory-reservation` option to [docker run][3].
741
740
  #
742
- # You must specify a non-zero integer for one or both of `memory` or
743
- # `memoryReservation` in container definitions. If you specify both,
744
- # `memory` must be greater than `memoryReservation`. If you specify
741
+ # If a task-level memory value is not specified, you must specify a
742
+ # non-zero integer for one or both of `memory` or `memoryReservation`
743
+ # in a container definition. If you specify both, `memory` must be
744
+ # greater than `memoryReservation`. If you specify
745
745
  # `memoryReservation`, then that value is subtracted from the
746
746
  # available memory resources for the container instance on which the
747
747
  # container is placed. Otherwise, the value of `memory` is used.
@@ -1714,7 +1714,7 @@ module Aws::ECS
1714
1714
  # resource_requirements: [
1715
1715
  # {
1716
1716
  # value: "String", # required
1717
- # type: "GPU", # required, accepts GPU
1717
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
1718
1718
  # },
1719
1719
  # ],
1720
1720
  # }
@@ -2080,6 +2080,10 @@ module Aws::ECS
2080
2080
  # @!attribute [rw] desired_count
2081
2081
  # The number of instantiations of the specified task definition to
2082
2082
  # place and keep running on your cluster.
2083
+ #
2084
+ # This is required if `schedulingStrategy` is `REPLICA` or is not
2085
+ # specified. If `schedulingStrategy` is `DAEMON` then this is not
2086
+ # required.
2083
2087
  # @return [Integer]
2084
2088
  #
2085
2089
  # @!attribute [rw] client_token
@@ -3709,6 +3713,76 @@ module Aws::ECS
3709
3713
  include Aws::Structure
3710
3714
  end
3711
3715
 
3716
+ # Details on a Elastic Inference accelerator. For more information, see
3717
+ # [Working with Amazon Elastic Inference on Amazon ECS][1] in the
3718
+ # *Amazon Elastic Container Service Developer Guide*.
3719
+ #
3720
+ #
3721
+ #
3722
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html
3723
+ #
3724
+ # @note When making an API call, you may pass InferenceAccelerator
3725
+ # data as a hash:
3726
+ #
3727
+ # {
3728
+ # device_name: "String", # required
3729
+ # device_type: "String", # required
3730
+ # }
3731
+ #
3732
+ # @!attribute [rw] device_name
3733
+ # The Elastic Inference accelerator device name. The `deviceName` must
3734
+ # also be referenced in a container definition as a
3735
+ # ResourceRequirement.
3736
+ # @return [String]
3737
+ #
3738
+ # @!attribute [rw] device_type
3739
+ # The Elastic Inference accelerator type to use.
3740
+ # @return [String]
3741
+ #
3742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InferenceAccelerator AWS API Documentation
3743
+ #
3744
+ class InferenceAccelerator < Struct.new(
3745
+ :device_name,
3746
+ :device_type)
3747
+ include Aws::Structure
3748
+ end
3749
+
3750
+ # Details on an Elastic Inference accelerator task override. This
3751
+ # parameter is used to override the Elastic Inference accelerator
3752
+ # specified in the task definition. For more information, see [Working
3753
+ # with Amazon Elastic Inference on Amazon ECS][1] in the *Amazon Elastic
3754
+ # Container Service Developer Guide*.
3755
+ #
3756
+ #
3757
+ #
3758
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html
3759
+ #
3760
+ # @note When making an API call, you may pass InferenceAcceleratorOverride
3761
+ # data as a hash:
3762
+ #
3763
+ # {
3764
+ # device_name: "String",
3765
+ # device_type: "String",
3766
+ # }
3767
+ #
3768
+ # @!attribute [rw] device_name
3769
+ # The Elastic Inference accelerator device name to override for the
3770
+ # task. This parameter must match a `deviceName` specified in the task
3771
+ # definition.
3772
+ # @return [String]
3773
+ #
3774
+ # @!attribute [rw] device_type
3775
+ # The Elastic Inference accelerator type to use.
3776
+ # @return [String]
3777
+ #
3778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InferenceAcceleratorOverride AWS API Documentation
3779
+ #
3780
+ class InferenceAcceleratorOverride < Struct.new(
3781
+ :device_name,
3782
+ :device_type)
3783
+ include Aws::Structure
3784
+ end
3785
+
3712
3786
  # The Linux capabilities for the container that are added to or dropped
3713
3787
  # from the default configuration provided by Docker. For more
3714
3788
  # information on the default capabilities and the non-default available
@@ -4833,7 +4907,7 @@ module Aws::ECS
4833
4907
  #
4834
4908
  # For tasks using the EC2 launch type, the supported log drivers are
4835
4909
  # `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `logentries`,
4836
- # `syslog`, `splunk`, and `syslog`.
4910
+ # `syslog`, and `splunk`.
4837
4911
  #
4838
4912
  # For more information about using the `awslogs` log driver, see
4839
4913
  # [Using the awslogs Log Driver][1] in the *Amazon Elastic Container
@@ -5019,6 +5093,11 @@ module Aws::ECS
5019
5093
  # information, see [Task Placement Constraints][1] in the *Amazon
5020
5094
  # Elastic Container Service Developer Guide*.
5021
5095
  #
5096
+ # <note markdown="1"> If you are using the Fargate launch type, task placement constraints
5097
+ # are not supported.
5098
+ #
5099
+ # </note>
5100
+ #
5022
5101
  #
5023
5102
  #
5024
5103
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
@@ -5035,8 +5114,7 @@ module Aws::ECS
5035
5114
  # The type of constraint. Use `distinctInstance` to ensure that each
5036
5115
  # task in a particular group is running on a different container
5037
5116
  # instance. Use `memberOf` to restrict the selection to a group of
5038
- # valid candidates. The value `distinctInstance` is not supported in
5039
- # task definitions.
5117
+ # valid candidates.
5040
5118
  # @return [String]
5041
5119
  #
5042
5120
  # @!attribute [rw] expression
@@ -5745,7 +5823,7 @@ module Aws::ECS
5745
5823
  # resource_requirements: [
5746
5824
  # {
5747
5825
  # value: "String", # required
5748
- # type: "GPU", # required, accepts GPU
5826
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
5749
5827
  # },
5750
5828
  # ],
5751
5829
  # firelens_configuration: {
@@ -5802,6 +5880,12 @@ module Aws::ECS
5802
5880
  # },
5803
5881
  # ],
5804
5882
  # },
5883
+ # inference_accelerators: [
5884
+ # {
5885
+ # device_name: "String", # required
5886
+ # device_type: "String", # required
5887
+ # },
5888
+ # ],
5805
5889
  # }
5806
5890
  #
5807
5891
  # @!attribute [rw] family
@@ -6091,6 +6175,11 @@ module Aws::ECS
6091
6175
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
6092
6176
  # @return [Types::ProxyConfiguration]
6093
6177
  #
6178
+ # @!attribute [rw] inference_accelerators
6179
+ # The Elastic Inference accelerators to use for the containers in the
6180
+ # task.
6181
+ # @return [Array<Types::InferenceAccelerator>]
6182
+ #
6094
6183
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
6095
6184
  #
6096
6185
  class RegisterTaskDefinitionRequest < Struct.new(
@@ -6107,7 +6196,8 @@ module Aws::ECS
6107
6196
  :tags,
6108
6197
  :pid_mode,
6109
6198
  :ipc_mode,
6110
- :proxy_configuration)
6199
+ :proxy_configuration,
6200
+ :inference_accelerators)
6111
6201
  include Aws::Structure
6112
6202
  end
6113
6203
 
@@ -6212,33 +6302,42 @@ module Aws::ECS
6212
6302
  include Aws::Structure
6213
6303
  end
6214
6304
 
6215
- # The type and amount of a resource to assign to a container. The only
6216
- # supported resource is a GPU. For more information, see [Working with
6217
- # GPUs on Amazon ECS][1] in the *Amazon Elastic Container Service
6218
- # Developer Guide*
6305
+ # The type and amount of a resource to assign to a container. The
6306
+ # supported resource types are GPUs and Elastic Inference accelerators.
6307
+ # For more information, see [Working with GPUs on Amazon ECS][1] or
6308
+ # [Working with Amazon Elastic Inference on Amazon ECS][2] in the
6309
+ # *Amazon Elastic Container Service Developer Guide*
6219
6310
  #
6220
6311
  #
6221
6312
  #
6222
6313
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
6314
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html
6223
6315
  #
6224
6316
  # @note When making an API call, you may pass ResourceRequirement
6225
6317
  # data as a hash:
6226
6318
  #
6227
6319
  # {
6228
6320
  # value: "String", # required
6229
- # type: "GPU", # required, accepts GPU
6321
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
6230
6322
  # }
6231
6323
  #
6232
6324
  # @!attribute [rw] value
6233
- # The number of physical `GPUs` the Amazon ECS container agent will
6234
- # reserve for the container. The number of GPUs reserved for all
6235
- # containers in a task should not exceed the number of available GPUs
6236
- # on the container instance the task is launched on.
6325
+ # The value for the specified resource type.
6326
+ #
6327
+ # If the `GPU` type is used, the value is the number of physical
6328
+ # `GPUs` the Amazon ECS container agent will reserve for the
6329
+ # container. The number of GPUs reserved for all containers in a task
6330
+ # should not exceed the number of available GPUs on the container
6331
+ # instance the task is launched on.
6332
+ #
6333
+ # If the `InferenceAccelerator` type is used, the `value` should match
6334
+ # the `deviceName` for an InferenceAccelerator specified in a task
6335
+ # definition.
6237
6336
  # @return [String]
6238
6337
  #
6239
6338
  # @!attribute [rw] type
6240
- # The type of resource to assign to a container. The only supported
6241
- # value is `GPU`.
6339
+ # The type of resource to assign to a container. The supported values
6340
+ # are `GPU` or `InferenceAccelerator`.
6242
6341
  # @return [String]
6243
6342
  #
6244
6343
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ResourceRequirement AWS API Documentation
@@ -6272,11 +6371,17 @@ module Aws::ECS
6272
6371
  # resource_requirements: [
6273
6372
  # {
6274
6373
  # value: "String", # required
6275
- # type: "GPU", # required, accepts GPU
6374
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
6276
6375
  # },
6277
6376
  # ],
6278
6377
  # },
6279
6378
  # ],
6379
+ # inference_accelerator_overrides: [
6380
+ # {
6381
+ # device_name: "String",
6382
+ # device_type: "String",
6383
+ # },
6384
+ # ],
6280
6385
  # task_role_arn: "String",
6281
6386
  # execution_role_arn: "String",
6282
6387
  # },
@@ -6983,11 +7088,17 @@ module Aws::ECS
6983
7088
  # resource_requirements: [
6984
7089
  # {
6985
7090
  # value: "String", # required
6986
- # type: "GPU", # required, accepts GPU
7091
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
6987
7092
  # },
6988
7093
  # ],
6989
7094
  # },
6990
7095
  # ],
7096
+ # inference_accelerator_overrides: [
7097
+ # {
7098
+ # device_name: "String",
7099
+ # device_type: "String",
7100
+ # },
7101
+ # ],
6991
7102
  # task_role_arn: "String",
6992
7103
  # execution_role_arn: "String",
6993
7104
  # },
@@ -7838,6 +7949,10 @@ module Aws::ECS
7838
7949
  # per resource limit.
7839
7950
  # @return [Array<Types::Tag>]
7840
7951
  #
7952
+ # @!attribute [rw] inference_accelerators
7953
+ # The Elastic Inference accelerator associated with the task.
7954
+ # @return [Array<Types::InferenceAccelerator>]
7955
+ #
7841
7956
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task AWS API Documentation
7842
7957
  #
7843
7958
  class Task < Struct.new(
@@ -7869,7 +7984,8 @@ module Aws::ECS
7869
7984
  :platform_version,
7870
7985
  :attachments,
7871
7986
  :health_status,
7872
- :tags)
7987
+ :tags,
7988
+ :inference_accelerators)
7873
7989
  include Aws::Structure
7874
7990
  end
7875
7991
 
@@ -8058,10 +8174,14 @@ module Aws::ECS
8058
8174
  # @return [String]
8059
8175
  #
8060
8176
  # @!attribute [rw] memory
8061
- # The amount (in MiB) of memory used by the task. If using the EC2
8062
- # launch type, this field is optional and any value can be used. If
8063
- # using the Fargate launch type, this field is required and you must
8064
- # use one of the following values, which determines your range of
8177
+ # The amount (in MiB) of memory used by the task.
8178
+ #
8179
+ # If using the EC2 launch type, this field is optional and any value
8180
+ # can be used. If a task-level memory value is specified then the
8181
+ # container-level memory value is optional.
8182
+ #
8183
+ # If using the Fargate launch type, this field is required and you
8184
+ # must use one of the following values, which determines your range of
8065
8185
  # valid values for the `cpu` parameter:
8066
8186
  #
8067
8187
  # * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values:
@@ -8189,13 +8309,13 @@ module Aws::ECS
8189
8309
  end
8190
8310
 
8191
8311
  # An object representing a constraint on task placement in the task
8192
- # definition.
8312
+ # definition. For more information, see [Task Placement Constraints][1]
8313
+ # in the *Amazon Elastic Container Service Developer Guide*.
8193
8314
  #
8194
- # If you are using the Fargate launch type, task placement constraints
8315
+ # <note markdown="1"> If you are using the Fargate launch type, task placement constraints
8195
8316
  # are not supported.
8196
8317
  #
8197
- # For more information, see [Task Placement Constraints][1] in the
8198
- # *Amazon Elastic Container Service Developer Guide*.
8318
+ # </note>
8199
8319
  #
8200
8320
  #
8201
8321
  #
@@ -8210,10 +8330,8 @@ module Aws::ECS
8210
8330
  # }
8211
8331
  #
8212
8332
  # @!attribute [rw] type
8213
- # The type of constraint. The `DistinctInstance` constraint ensures
8214
- # that each task in a particular group is running on a different
8215
- # container instance. The `MemberOf` constraint restricts selection to
8216
- # be from a group of valid candidates.
8333
+ # The type of constraint. The `MemberOf` constraint restricts
8334
+ # selection to be from a group of valid candidates.
8217
8335
  # @return [String]
8218
8336
  #
8219
8337
  # @!attribute [rw] expression
@@ -8256,11 +8374,17 @@ module Aws::ECS
8256
8374
  # resource_requirements: [
8257
8375
  # {
8258
8376
  # value: "String", # required
8259
- # type: "GPU", # required, accepts GPU
8377
+ # type: "GPU", # required, accepts GPU, InferenceAccelerator
8260
8378
  # },
8261
8379
  # ],
8262
8380
  # },
8263
8381
  # ],
8382
+ # inference_accelerator_overrides: [
8383
+ # {
8384
+ # device_name: "String",
8385
+ # device_type: "String",
8386
+ # },
8387
+ # ],
8264
8388
  # task_role_arn: "String",
8265
8389
  # execution_role_arn: "String",
8266
8390
  # }
@@ -8269,6 +8393,10 @@ module Aws::ECS
8269
8393
  # One or more container overrides sent to a task.
8270
8394
  # @return [Array<Types::ContainerOverride>]
8271
8395
  #
8396
+ # @!attribute [rw] inference_accelerator_overrides
8397
+ # The Elastic Inference accelerator override for the task.
8398
+ # @return [Array<Types::InferenceAcceleratorOverride>]
8399
+ #
8272
8400
  # @!attribute [rw] task_role_arn
8273
8401
  # The Amazon Resource Name (ARN) of the IAM role that containers in
8274
8402
  # this task can assume. All containers in this task are granted the
@@ -8284,6 +8412,7 @@ module Aws::ECS
8284
8412
  #
8285
8413
  class TaskOverride < Struct.new(
8286
8414
  :container_overrides,
8415
+ :inference_accelerator_overrides,
8287
8416
  :task_role_arn,
8288
8417
  :execution_role_arn)
8289
8418
  include Aws::Structure
@@ -8871,10 +9000,11 @@ module Aws::ECS
8871
9000
  # your service is configured to use a load balancer. If your
8872
9001
  # service's tasks take a while to start and respond to Elastic Load
8873
9002
  # Balancing health checks, you can specify a health check grace period
8874
- # of up to 1,800 seconds. During that time, the ECS service scheduler
8875
- # ignores the Elastic Load Balancing health check status. This grace
8876
- # period can prevent the ECS service scheduler from marking tasks as
8877
- # unhealthy and stopping them before they have time to come up.
9003
+ # of up to 2,147,483,647 seconds. During that time, the ECS service
9004
+ # scheduler ignores the Elastic Load Balancing health check status.
9005
+ # This grace period can prevent the ECS service scheduler from marking
9006
+ # tasks as unhealthy and stopping them before they have time to come
9007
+ # up.
8878
9008
  # @return [Integer]
8879
9009
  #
8880
9010
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
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.48.0
4
+ version: 1.49.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-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core