aws-sdk-ecs 1.47.0 → 1.48.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: 48a6cd8ba7edb734c752e4692c0a030f420fee7e
4
- data.tar.gz: a444fc5646e5151c26e3963f778dc847c7fa8522
3
+ metadata.gz: 178c7bec0b43407a6c6578029ac52a19dd63d357
4
+ data.tar.gz: 8ba2bbddbcd1e56eb2607175c04a4ecdb4cab00e
5
5
  SHA512:
6
- metadata.gz: ca0c093df41d9121244b33a5f018c7460508c9f658c2b6bfb73c40a3f96f4f26cb8273860fee9805bcad857bde4ce3a5818814cbae7632974b9e5b9c5f3b1b0e
7
- data.tar.gz: f54fafd3eb97426105a2883e5013372d3a0a98ce74f3f5f0285954754ba9271a90522ac360a5552abda808876a9731d8ea572a6a035615918ac5f3fad0eccbd4
6
+ metadata.gz: 51bbc970053156d5cf4ddde58dfbd33311284714cd222e322ba029d9d1a8d4a6b34376e71eaff64670ff582ed3ef3523a6100312891d67cb39965598d4fc3719
7
+ data.tar.gz: 3c72b0d95a64e8e6d2feff321ab4f396b4a845f3d9daaa393f364d51ddc029e9f08ba01d4192ede6c944eb4df8ea334e9f2608493278feb07026d8555f96b492
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.47.0'
46
+ GEM_VERSION = '1.48.0'
47
47
 
48
48
  end
@@ -1935,7 +1935,7 @@ module Aws::ECS
1935
1935
  # resp.task_definition.container_definitions[0].ulimits[0].name #=> String, one of "core", "cpu", "data", "fsize", "locks", "memlock", "msgqueue", "nice", "nofile", "nproc", "rss", "rtprio", "rttime", "sigpending", "stack"
1936
1936
  # resp.task_definition.container_definitions[0].ulimits[0].soft_limit #=> Integer
1937
1937
  # resp.task_definition.container_definitions[0].ulimits[0].hard_limit #=> Integer
1938
- # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
1938
+ # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
1939
1939
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
1940
1940
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
1941
1941
  # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
@@ -1953,6 +1953,9 @@ module Aws::ECS
1953
1953
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
1954
1954
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
1955
1955
  # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
1956
+ # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
1957
+ # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
1958
+ # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
1956
1959
  # resp.task_definition.family #=> String
1957
1960
  # resp.task_definition.task_role_arn #=> String
1958
1961
  # resp.task_definition.execution_role_arn #=> String
@@ -2653,7 +2656,7 @@ module Aws::ECS
2653
2656
  # resp.task_definition.container_definitions[0].ulimits[0].name #=> String, one of "core", "cpu", "data", "fsize", "locks", "memlock", "msgqueue", "nice", "nofile", "nproc", "rss", "rtprio", "rttime", "sigpending", "stack"
2654
2657
  # resp.task_definition.container_definitions[0].ulimits[0].soft_limit #=> Integer
2655
2658
  # resp.task_definition.container_definitions[0].ulimits[0].hard_limit #=> Integer
2656
- # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
2659
+ # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
2657
2660
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
2658
2661
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
2659
2662
  # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
@@ -2671,6 +2674,9 @@ module Aws::ECS
2671
2674
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
2672
2675
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
2673
2676
  # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
2677
+ # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
2678
+ # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
2679
+ # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
2674
2680
  # resp.task_definition.family #=> String
2675
2681
  # resp.task_definition.task_role_arn #=> String
2676
2682
  # resp.task_definition.execution_role_arn #=> String
@@ -2933,6 +2939,9 @@ module Aws::ECS
2933
2939
  # resp.tasks[0].containers[0].memory_reservation #=> String
2934
2940
  # resp.tasks[0].containers[0].gpu_ids #=> Array
2935
2941
  # resp.tasks[0].containers[0].gpu_ids[0] #=> String
2942
+ # resp.tasks[0].containers[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
2943
+ # resp.tasks[0].containers[0].firelens_configuration.options #=> Hash
2944
+ # resp.tasks[0].containers[0].firelens_configuration.options["String"] #=> String
2936
2945
  # resp.tasks[0].started_by #=> String
2937
2946
  # resp.tasks[0].version #=> Integer
2938
2947
  # resp.tasks[0].stopped_reason #=> String
@@ -4821,7 +4830,7 @@ module Aws::ECS
4821
4830
  # },
4822
4831
  # ],
4823
4832
  # log_configuration: {
4824
- # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
4833
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
4825
4834
  # options: {
4826
4835
  # "String" => "String",
4827
4836
  # },
@@ -4851,6 +4860,12 @@ module Aws::ECS
4851
4860
  # type: "GPU", # required, accepts GPU
4852
4861
  # },
4853
4862
  # ],
4863
+ # firelens_configuration: {
4864
+ # type: "fluentd", # required, accepts fluentd, fluentbit
4865
+ # options: {
4866
+ # "String" => "String",
4867
+ # },
4868
+ # },
4854
4869
  # },
4855
4870
  # ],
4856
4871
  # volumes: [
@@ -4981,7 +4996,7 @@ module Aws::ECS
4981
4996
  # resp.task_definition.container_definitions[0].ulimits[0].name #=> String, one of "core", "cpu", "data", "fsize", "locks", "memlock", "msgqueue", "nice", "nofile", "nproc", "rss", "rtprio", "rttime", "sigpending", "stack"
4982
4997
  # resp.task_definition.container_definitions[0].ulimits[0].soft_limit #=> Integer
4983
4998
  # resp.task_definition.container_definitions[0].ulimits[0].hard_limit #=> Integer
4984
- # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
4999
+ # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
4985
5000
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
4986
5001
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
4987
5002
  # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
@@ -4999,6 +5014,9 @@ module Aws::ECS
4999
5014
  # resp.task_definition.container_definitions[0].resource_requirements #=> Array
5000
5015
  # resp.task_definition.container_definitions[0].resource_requirements[0].value #=> String
5001
5016
  # resp.task_definition.container_definitions[0].resource_requirements[0].type #=> String, one of "GPU"
5017
+ # resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
5018
+ # resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
5019
+ # resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
5002
5020
  # resp.task_definition.family #=> String
5003
5021
  # resp.task_definition.task_role_arn #=> String
5004
5022
  # resp.task_definition.execution_role_arn #=> String
@@ -5377,6 +5395,9 @@ module Aws::ECS
5377
5395
  # resp.tasks[0].containers[0].memory_reservation #=> String
5378
5396
  # resp.tasks[0].containers[0].gpu_ids #=> Array
5379
5397
  # resp.tasks[0].containers[0].gpu_ids[0] #=> String
5398
+ # resp.tasks[0].containers[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
5399
+ # resp.tasks[0].containers[0].firelens_configuration.options #=> Hash
5400
+ # resp.tasks[0].containers[0].firelens_configuration.options["String"] #=> String
5380
5401
  # resp.tasks[0].started_by #=> String
5381
5402
  # resp.tasks[0].version #=> Integer
5382
5403
  # resp.tasks[0].stopped_reason #=> String
@@ -5628,6 +5649,9 @@ module Aws::ECS
5628
5649
  # resp.tasks[0].containers[0].memory_reservation #=> String
5629
5650
  # resp.tasks[0].containers[0].gpu_ids #=> Array
5630
5651
  # resp.tasks[0].containers[0].gpu_ids[0] #=> String
5652
+ # resp.tasks[0].containers[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
5653
+ # resp.tasks[0].containers[0].firelens_configuration.options #=> Hash
5654
+ # resp.tasks[0].containers[0].firelens_configuration.options["String"] #=> String
5631
5655
  # resp.tasks[0].started_by #=> String
5632
5656
  # resp.tasks[0].version #=> Integer
5633
5657
  # resp.tasks[0].stopped_reason #=> String
@@ -5764,6 +5788,9 @@ module Aws::ECS
5764
5788
  # resp.task.containers[0].memory_reservation #=> String
5765
5789
  # resp.task.containers[0].gpu_ids #=> Array
5766
5790
  # resp.task.containers[0].gpu_ids[0] #=> String
5791
+ # resp.task.containers[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
5792
+ # resp.task.containers[0].firelens_configuration.options #=> Hash
5793
+ # resp.task.containers[0].firelens_configuration.options["String"] #=> String
5767
5794
  # resp.task.started_by #=> String
5768
5795
  # resp.task.version #=> Integer
5769
5796
  # resp.task.stopped_reason #=> String
@@ -6124,6 +6151,61 @@ module Aws::ECS
6124
6151
  req.send_request(options)
6125
6152
  end
6126
6153
 
6154
+ # Modifies the settings to use for a cluster.
6155
+ #
6156
+ # @option params [required, String] :cluster
6157
+ # The name of the cluster to modify the settings for.
6158
+ #
6159
+ # @option params [required, Array<Types::ClusterSetting>] :settings
6160
+ # The setting to use by default for a cluster. This parameter is used to
6161
+ # enable CloudWatch Container Insights for a cluster. If this value is
6162
+ # specified, it will override the `containerInsights` value set with
6163
+ # PutAccountSetting or PutAccountSettingDefault.
6164
+ #
6165
+ # @return [Types::UpdateClusterSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6166
+ #
6167
+ # * {Types::UpdateClusterSettingsResponse#cluster #cluster} => Types::Cluster
6168
+ #
6169
+ # @example Request syntax with placeholder values
6170
+ #
6171
+ # resp = client.update_cluster_settings({
6172
+ # cluster: "String", # required
6173
+ # settings: [ # required
6174
+ # {
6175
+ # name: "containerInsights", # accepts containerInsights
6176
+ # value: "String",
6177
+ # },
6178
+ # ],
6179
+ # })
6180
+ #
6181
+ # @example Response structure
6182
+ #
6183
+ # resp.cluster.cluster_arn #=> String
6184
+ # resp.cluster.cluster_name #=> String
6185
+ # resp.cluster.status #=> String
6186
+ # resp.cluster.registered_container_instances_count #=> Integer
6187
+ # resp.cluster.running_tasks_count #=> Integer
6188
+ # resp.cluster.pending_tasks_count #=> Integer
6189
+ # resp.cluster.active_services_count #=> Integer
6190
+ # resp.cluster.statistics #=> Array
6191
+ # resp.cluster.statistics[0].name #=> String
6192
+ # resp.cluster.statistics[0].value #=> String
6193
+ # resp.cluster.tags #=> Array
6194
+ # resp.cluster.tags[0].key #=> String
6195
+ # resp.cluster.tags[0].value #=> String
6196
+ # resp.cluster.settings #=> Array
6197
+ # resp.cluster.settings[0].name #=> String, one of "containerInsights"
6198
+ # resp.cluster.settings[0].value #=> String
6199
+ #
6200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings AWS API Documentation
6201
+ #
6202
+ # @overload update_cluster_settings(params = {})
6203
+ # @param [Hash] params ({})
6204
+ def update_cluster_settings(params = {}, options = {})
6205
+ req = build_request(:update_cluster_settings, params)
6206
+ req.send_request(options)
6207
+ end
6208
+
6127
6209
  # Updates the Amazon ECS container agent on a specified container
6128
6210
  # instance. Updating the Amazon ECS container agent does not interrupt
6129
6211
  # running tasks or services on the container instance. The process for
@@ -6894,7 +6976,7 @@ module Aws::ECS
6894
6976
  params: params,
6895
6977
  config: config)
6896
6978
  context[:gem_name] = 'aws-sdk-ecs'
6897
- context[:gem_version] = '1.47.0'
6979
+ context[:gem_version] = '1.48.0'
6898
6980
  Seahorse::Client::Request.new(handlers, context)
6899
6981
  end
6900
6982
 
@@ -108,6 +108,9 @@ module Aws::ECS
108
108
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
109
109
  Failure = Shapes::StructureShape.new(name: 'Failure')
110
110
  Failures = Shapes::ListShape.new(name: 'Failures')
111
+ FirelensConfiguration = Shapes::StructureShape.new(name: 'FirelensConfiguration')
112
+ FirelensConfigurationOptionsMap = Shapes::MapShape.new(name: 'FirelensConfigurationOptionsMap')
113
+ FirelensConfigurationType = Shapes::StringShape.new(name: 'FirelensConfigurationType')
111
114
  GpuIds = Shapes::ListShape.new(name: 'GpuIds')
112
115
  HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
113
116
  HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
@@ -267,6 +270,8 @@ module Aws::ECS
267
270
  UnsupportedFeatureException = Shapes::StructureShape.new(name: 'UnsupportedFeatureException')
268
271
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
269
272
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
273
+ UpdateClusterSettingsRequest = Shapes::StructureShape.new(name: 'UpdateClusterSettingsRequest')
274
+ UpdateClusterSettingsResponse = Shapes::StructureShape.new(name: 'UpdateClusterSettingsResponse')
270
275
  UpdateContainerAgentRequest = Shapes::StructureShape.new(name: 'UpdateContainerAgentRequest')
271
276
  UpdateContainerAgentResponse = Shapes::StructureShape.new(name: 'UpdateContainerAgentResponse')
272
277
  UpdateContainerInstancesStateRequest = Shapes::StructureShape.new(name: 'UpdateContainerInstancesStateRequest')
@@ -354,6 +359,7 @@ module Aws::ECS
354
359
  Container.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
355
360
  Container.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: String, location_name: "memoryReservation"))
356
361
  Container.add_member(:gpu_ids, Shapes::ShapeRef.new(shape: GpuIds, location_name: "gpuIds"))
362
+ Container.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
357
363
  Container.struct_class = Types::Container
358
364
 
359
365
  ContainerDefinition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -393,6 +399,7 @@ module Aws::ECS
393
399
  ContainerDefinition.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheck, location_name: "healthCheck"))
394
400
  ContainerDefinition.add_member(:system_controls, Shapes::ShapeRef.new(shape: SystemControls, location_name: "systemControls"))
395
401
  ContainerDefinition.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
402
+ ContainerDefinition.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
396
403
  ContainerDefinition.struct_class = Types::ContainerDefinition
397
404
 
398
405
  ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
@@ -657,6 +664,13 @@ module Aws::ECS
657
664
 
658
665
  Failures.member = Shapes::ShapeRef.new(shape: Failure)
659
666
 
667
+ FirelensConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: FirelensConfigurationType, required: true, location_name: "type"))
668
+ FirelensConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: FirelensConfigurationOptionsMap, location_name: "options"))
669
+ FirelensConfiguration.struct_class = Types::FirelensConfiguration
670
+
671
+ FirelensConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
672
+ FirelensConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
673
+
660
674
  GpuIds.member = Shapes::ShapeRef.new(shape: String)
661
675
 
662
676
  HealthCheck.add_member(:command, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "command"))
@@ -1225,6 +1239,13 @@ module Aws::ECS
1225
1239
 
1226
1240
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1227
1241
 
1242
+ UpdateClusterSettingsRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
1243
+ UpdateClusterSettingsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, required: true, location_name: "settings"))
1244
+ UpdateClusterSettingsRequest.struct_class = Types::UpdateClusterSettingsRequest
1245
+
1246
+ UpdateClusterSettingsResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
1247
+ UpdateClusterSettingsResponse.struct_class = Types::UpdateClusterSettingsResponse
1248
+
1228
1249
  UpdateContainerAgentRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
1229
1250
  UpdateContainerAgentRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerInstance"))
1230
1251
  UpdateContainerAgentRequest.struct_class = Types::UpdateContainerAgentRequest
@@ -1824,6 +1845,18 @@ module Aws::ECS
1824
1845
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1825
1846
  end)
1826
1847
 
1848
+ api.add_operation(:update_cluster_settings, Seahorse::Model::Operation.new.tap do |o|
1849
+ o.name = "UpdateClusterSettings"
1850
+ o.http_method = "POST"
1851
+ o.http_request_uri = "/"
1852
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterSettingsRequest)
1853
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterSettingsResponse)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1858
+ end)
1859
+
1827
1860
  api.add_operation(:update_container_agent, Seahorse::Model::Operation.new.tap do |o|
1828
1861
  o.name = "UpdateContainerAgent"
1829
1862
  o.http_method = "POST"
@@ -391,6 +391,10 @@ module Aws::ECS
391
391
  # The IDs of each GPU assigned to the container.
392
392
  # @return [Array<String>]
393
393
  #
394
+ # @!attribute [rw] firelens_configuration
395
+ # The FireLens configuration for the container.
396
+ # @return [Types::FirelensConfiguration]
397
+ #
394
398
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container AWS API Documentation
395
399
  #
396
400
  class Container < Struct.new(
@@ -407,7 +411,8 @@ module Aws::ECS
407
411
  :cpu,
408
412
  :memory,
409
413
  :memory_reservation,
410
- :gpu_ids)
414
+ :gpu_ids,
415
+ :firelens_configuration)
411
416
  include Aws::Structure
412
417
  end
413
418
 
@@ -522,7 +527,7 @@ module Aws::ECS
522
527
  # },
523
528
  # ],
524
529
  # log_configuration: {
525
- # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
530
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
526
531
  # options: {
527
532
  # "String" => "String",
528
533
  # },
@@ -552,6 +557,12 @@ module Aws::ECS
552
557
  # type: "GPU", # required, accepts GPU
553
558
  # },
554
559
  # ],
560
+ # firelens_configuration: {
561
+ # type: "fluentd", # required, accepts fluentd, fluentbit
562
+ # options: {
563
+ # "String" => "String",
564
+ # },
565
+ # },
555
566
  # }
556
567
  #
557
568
  # @!attribute [rw] name
@@ -1384,6 +1395,11 @@ module Aws::ECS
1384
1395
  # supported resource is a GPU.
1385
1396
  # @return [Array<Types::ResourceRequirement>]
1386
1397
  #
1398
+ # @!attribute [rw] firelens_configuration
1399
+ # The FireLens configuration for the container. This is used to
1400
+ # specify and configure a log router for container logs.
1401
+ # @return [Types::FirelensConfiguration]
1402
+ #
1387
1403
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition AWS API Documentation
1388
1404
  #
1389
1405
  class ContainerDefinition < Struct.new(
@@ -1423,7 +1439,8 @@ module Aws::ECS
1423
1439
  :log_configuration,
1424
1440
  :health_check,
1425
1441
  :system_controls,
1426
- :resource_requirements)
1442
+ :resource_requirements,
1443
+ :firelens_configuration)
1427
1444
  include Aws::Structure
1428
1445
  end
1429
1446
 
@@ -3505,6 +3522,40 @@ module Aws::ECS
3505
3522
  include Aws::Structure
3506
3523
  end
3507
3524
 
3525
+ # The FireLens configuration for the container. This is used to specify
3526
+ # and configure a log router for container logs.
3527
+ #
3528
+ # @note When making an API call, you may pass FirelensConfiguration
3529
+ # data as a hash:
3530
+ #
3531
+ # {
3532
+ # type: "fluentd", # required, accepts fluentd, fluentbit
3533
+ # options: {
3534
+ # "String" => "String",
3535
+ # },
3536
+ # }
3537
+ #
3538
+ # @!attribute [rw] type
3539
+ # The log router to use. The valid values are `fluentd` or
3540
+ # `fluentbit`.
3541
+ # @return [String]
3542
+ #
3543
+ # @!attribute [rw] options
3544
+ # The options to use when configuring the log router. This field is
3545
+ # optional and can be used to add additional metadata, such as the
3546
+ # task, task definition, cluster, and container instance details to
3547
+ # the log event. If specified, the syntax to use is
3548
+ # `"options":\{"enable-ecs-log-metadata":"true|false"\}`.
3549
+ # @return [Hash<String,String>]
3550
+ #
3551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/FirelensConfiguration AWS API Documentation
3552
+ #
3553
+ class FirelensConfiguration < Struct.new(
3554
+ :type,
3555
+ :options)
3556
+ include Aws::Structure
3557
+ end
3558
+
3508
3559
  # An object representing a container health check. Health check
3509
3560
  # parameters that are specified in a container definition override any
3510
3561
  # Docker health checks that exist in the container image (such as those
@@ -4760,7 +4811,7 @@ module Aws::ECS
4760
4811
  # data as a hash:
4761
4812
  #
4762
4813
  # {
4763
- # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
4814
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
4764
4815
  # options: {
4765
4816
  # "String" => "String",
4766
4817
  # },
@@ -5667,7 +5718,7 @@ module Aws::ECS
5667
5718
  # },
5668
5719
  # ],
5669
5720
  # log_configuration: {
5670
- # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
5721
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
5671
5722
  # options: {
5672
5723
  # "String" => "String",
5673
5724
  # },
@@ -5697,6 +5748,12 @@ module Aws::ECS
5697
5748
  # type: "GPU", # required, accepts GPU
5698
5749
  # },
5699
5750
  # ],
5751
+ # firelens_configuration: {
5752
+ # type: "fluentd", # required, accepts fluentd, fluentbit
5753
+ # options: {
5754
+ # "String" => "String",
5755
+ # },
5756
+ # },
5700
5757
  # },
5701
5758
  # ],
5702
5759
  # volumes: [
@@ -8523,6 +8580,53 @@ module Aws::ECS
8523
8580
  #
8524
8581
  class UntagResourceResponse < Aws::EmptyStructure; end
8525
8582
 
8583
+ # @note When making an API call, you may pass UpdateClusterSettingsRequest
8584
+ # data as a hash:
8585
+ #
8586
+ # {
8587
+ # cluster: "String", # required
8588
+ # settings: [ # required
8589
+ # {
8590
+ # name: "containerInsights", # accepts containerInsights
8591
+ # value: "String",
8592
+ # },
8593
+ # ],
8594
+ # }
8595
+ #
8596
+ # @!attribute [rw] cluster
8597
+ # The name of the cluster to modify the settings for.
8598
+ # @return [String]
8599
+ #
8600
+ # @!attribute [rw] settings
8601
+ # The setting to use by default for a cluster. This parameter is used
8602
+ # to enable CloudWatch Container Insights for a cluster. If this value
8603
+ # is specified, it will override the `containerInsights` value set
8604
+ # with PutAccountSetting or PutAccountSettingDefault.
8605
+ # @return [Array<Types::ClusterSetting>]
8606
+ #
8607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsRequest AWS API Documentation
8608
+ #
8609
+ class UpdateClusterSettingsRequest < Struct.new(
8610
+ :cluster,
8611
+ :settings)
8612
+ include Aws::Structure
8613
+ end
8614
+
8615
+ # @!attribute [rw] cluster
8616
+ # A regional grouping of one or more container instances on which you
8617
+ # can run task requests. Each account receives a default cluster the
8618
+ # first time you use the Amazon ECS service, but you may also create
8619
+ # other clusters. Clusters may contain more than one instance type
8620
+ # simultaneously.
8621
+ # @return [Types::Cluster]
8622
+ #
8623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsResponse AWS API Documentation
8624
+ #
8625
+ class UpdateClusterSettingsResponse < Struct.new(
8626
+ :cluster)
8627
+ include Aws::Structure
8628
+ end
8629
+
8526
8630
  # @note When making an API call, you may pass UpdateContainerAgentRequest
8527
8631
  # data as a hash:
8528
8632
  #
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.47.0
4
+ version: 1.48.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-29 00:00:00.000000000 Z
11
+ date: 2019-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core