aws-sdk-ecs 1.68.0 → 1.73.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
  SHA256:
3
- metadata.gz: a2a507e8e518cc74de7255038b68e75c9d4e3f25af0a137d8f4253d753cf2774
4
- data.tar.gz: cd83f0ffb0f74ae7c50fafddcdac275adf0880a037678a63ef9e01d4f594b914
3
+ metadata.gz: 2ce4b9d63f0a3ac35e9f450b75484c1e1f62fd928c2c5f7340d93ad250b0d0da
4
+ data.tar.gz: 18db2fbf028023275c5df462c931e75a749d8acdce2a2d319d065eb5f5b34f8d
5
5
  SHA512:
6
- metadata.gz: ca32aad6abcef906791c52e046e49d86a981682c3d64c6c728dcfefc8eedd10cb9360212ebbeae836aa71bf649f180b05e988f23c50aedc15ddaf84c0397cb45
7
- data.tar.gz: 92c68a40a23f03d4cdb6a0e387f82e20e2545165adf2a7945f1bda19893cdca5b41ad418112e80f04fdd794f9b5bb739b75fa0cf775a083cf4537f478c2a2ee8
6
+ metadata.gz: 3f9203fdb773ad226029efb9dabead360d5d1051349b1c15b1029fafadf93b79548ef705eebdb25b2a9f482f195e0714ec281f14e6ab6c40986e5e5fc4719859
7
+ data.tar.gz: 52c1e07507a78a3d39648c2ba757614a7051c52557b578947fd9205f6e128aa5ae6f136654b05ac0f666c7f2bf98e07cbf59543ad5ceb1d60a10b1cb2d53c789
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-ecs/customizations'
48
49
  # @!group service
49
50
  module Aws::ECS
50
51
 
51
- GEM_VERSION = '1.68.0'
52
+ GEM_VERSION = '1.73.0'
52
53
 
53
54
  end
@@ -400,6 +400,7 @@ module Aws::ECS
400
400
  # target_capacity: 1,
401
401
  # minimum_scaling_step_size: 1,
402
402
  # maximum_scaling_step_size: 1,
403
+ # instance_warmup_period: 1,
403
404
  # },
404
405
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
405
406
  # },
@@ -421,8 +422,9 @@ module Aws::ECS
421
422
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
422
423
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
423
424
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
425
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
424
426
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
425
- # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
427
+ # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
426
428
  # resp.capacity_provider.update_status_reason #=> String
427
429
  # resp.capacity_provider.tags #=> Array
428
430
  # resp.capacity_provider.tags[0].key #=> String
@@ -775,8 +777,8 @@ module Aws::ECS
775
777
  # task definition to run in your service. If a `revision` is not
776
778
  # specified, the latest `ACTIVE` revision is used.
777
779
  #
778
- # A task definition must be specified if the service is using the `ECS`
779
- # deployment controller.
780
+ # A task definition must be specified if the service is using either the
781
+ # `ECS` or `CODE_DEPLOY` deployment controllers.
780
782
  #
781
783
  # @option params [Array<Types::LoadBalancer>] :load_balancers
782
784
  # A load balancer object representing the load balancers to use with
@@ -785,11 +787,11 @@ module Aws::ECS
785
787
  #
786
788
  # If the service is using the rolling update (`ECS`) deployment
787
789
  # controller and using either an Application Load Balancer or Network
788
- # Load Balancer, you can specify multiple target groups to attach to the
789
- # service. The service-linked role is required for services that make
790
- # use of multiple target groups. For more information, see [Using
791
- # Service-Linked Roles for Amazon ECS][2] in the *Amazon Elastic
792
- # Container Service Developer Guide*.
790
+ # Load Balancer, you must specify one or more target group ARNs to
791
+ # attach to the service. The service-linked role is required for
792
+ # services that make use of multiple target groups. For more
793
+ # information, see [Using Service-Linked Roles for Amazon ECS][2] in the
794
+ # *Amazon Elastic Container Service Developer Guide*.
793
795
  #
794
796
  # If the service is using the `CODE_DEPLOY` deployment controller, the
795
797
  # service is required to use either an Application Load Balancer or
@@ -812,15 +814,17 @@ module Aws::ECS
812
814
  # For Application Load Balancers and Network Load Balancers, this object
813
815
  # must contain the load balancer target group ARN, the container name
814
816
  # (as it appears in a container definition), and the container port to
815
- # access from the load balancer. When a task from this service is placed
816
- # on a container instance, the container instance and port combination
817
- # is registered as a target in the target group specified here.
817
+ # access from the load balancer. The load balancer name parameter must
818
+ # be omitted. When a task from this service is placed on a container
819
+ # instance, the container instance and port combination is registered as
820
+ # a target in the target group specified here.
818
821
  #
819
822
  # For Classic Load Balancers, this object must contain the load balancer
820
823
  # name, the container name (as it appears in a container definition),
821
- # and the container port to access from the load balancer. When a task
822
- # from this service is placed on a container instance, the container
823
- # instance is registered with the load balancer specified here.
824
+ # and the container port to access from the load balancer. The target
825
+ # group ARN parameter must be omitted. When a task from this service is
826
+ # placed on a container instance, the container instance is registered
827
+ # with the load balancer specified here.
824
828
  #
825
829
  # Services with tasks that use the `awsvpc` network mode (for example,
826
830
  # those with the Fargate launch type) only support Application Load
@@ -1224,6 +1228,10 @@ module Aws::ECS
1224
1228
  # platform_version: "String",
1225
1229
  # role: "String",
1226
1230
  # deployment_configuration: {
1231
+ # deployment_circuit_breaker: {
1232
+ # enable: false, # required
1233
+ # rollback: false, # required
1234
+ # },
1227
1235
  # maximum_percent: 1,
1228
1236
  # minimum_healthy_percent: 1,
1229
1237
  # },
@@ -1287,6 +1295,8 @@ module Aws::ECS
1287
1295
  # resp.service.capacity_provider_strategy[0].base #=> Integer
1288
1296
  # resp.service.platform_version #=> String
1289
1297
  # resp.service.task_definition #=> String
1298
+ # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
1299
+ # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
1290
1300
  # resp.service.deployment_configuration.maximum_percent #=> Integer
1291
1301
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
1292
1302
  # resp.service.task_sets #=> Array
@@ -1338,6 +1348,7 @@ module Aws::ECS
1338
1348
  # resp.service.deployments[0].desired_count #=> Integer
1339
1349
  # resp.service.deployments[0].pending_count #=> Integer
1340
1350
  # resp.service.deployments[0].running_count #=> Integer
1351
+ # resp.service.deployments[0].failed_tasks #=> Integer
1341
1352
  # resp.service.deployments[0].created_at #=> Time
1342
1353
  # resp.service.deployments[0].updated_at #=> Time
1343
1354
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -1351,6 +1362,8 @@ module Aws::ECS
1351
1362
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
1352
1363
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
1353
1364
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1365
+ # resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
1366
+ # resp.service.deployments[0].rollout_state_reason #=> String
1354
1367
  # resp.service.role_arn #=> String
1355
1368
  # resp.service.events #=> Array
1356
1369
  # resp.service.events[0].id #=> String
@@ -1800,8 +1813,9 @@ module Aws::ECS
1800
1813
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
1801
1814
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
1802
1815
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
1816
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
1803
1817
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
1804
- # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
1818
+ # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
1805
1819
  # resp.capacity_provider.update_status_reason #=> String
1806
1820
  # resp.capacity_provider.tags #=> Array
1807
1821
  # resp.capacity_provider.tags[0].key #=> String
@@ -1993,6 +2007,8 @@ module Aws::ECS
1993
2007
  # resp.service.capacity_provider_strategy[0].base #=> Integer
1994
2008
  # resp.service.platform_version #=> String
1995
2009
  # resp.service.task_definition #=> String
2010
+ # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
2011
+ # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
1996
2012
  # resp.service.deployment_configuration.maximum_percent #=> Integer
1997
2013
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
1998
2014
  # resp.service.task_sets #=> Array
@@ -2044,6 +2060,7 @@ module Aws::ECS
2044
2060
  # resp.service.deployments[0].desired_count #=> Integer
2045
2061
  # resp.service.deployments[0].pending_count #=> Integer
2046
2062
  # resp.service.deployments[0].running_count #=> Integer
2063
+ # resp.service.deployments[0].failed_tasks #=> Integer
2047
2064
  # resp.service.deployments[0].created_at #=> Time
2048
2065
  # resp.service.deployments[0].updated_at #=> Time
2049
2066
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -2057,6 +2074,8 @@ module Aws::ECS
2057
2074
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
2058
2075
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
2059
2076
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
2077
+ # resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
2078
+ # resp.service.deployments[0].rollout_state_reason #=> String
2060
2079
  # resp.service.role_arn #=> String
2061
2080
  # resp.service.events #=> Array
2062
2081
  # resp.service.events[0].id #=> String
@@ -2477,6 +2496,10 @@ module Aws::ECS
2477
2496
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
2478
2497
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
2479
2498
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
2499
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
2500
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
2501
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
2502
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
2480
2503
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
2481
2504
  # resp.task_definition.requires_attributes #=> Array
2482
2505
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -2502,6 +2525,9 @@ module Aws::ECS
2502
2525
  # resp.task_definition.proxy_configuration.properties #=> Array
2503
2526
  # resp.task_definition.proxy_configuration.properties[0].name #=> String
2504
2527
  # resp.task_definition.proxy_configuration.properties[0].value #=> String
2528
+ # resp.task_definition.registered_at #=> Time
2529
+ # resp.task_definition.deregistered_at #=> Time
2530
+ # resp.task_definition.registered_by #=> String
2505
2531
  #
2506
2532
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
2507
2533
  #
@@ -2575,8 +2601,9 @@ module Aws::ECS
2575
2601
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
2576
2602
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
2577
2603
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
2604
+ # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
2578
2605
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
2579
- # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
2606
+ # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
2580
2607
  # resp.capacity_providers[0].update_status_reason #=> String
2581
2608
  # resp.capacity_providers[0].tags #=> Array
2582
2609
  # resp.capacity_providers[0].tags[0].key #=> String
@@ -3015,6 +3042,8 @@ module Aws::ECS
3015
3042
  # resp.services[0].capacity_provider_strategy[0].base #=> Integer
3016
3043
  # resp.services[0].platform_version #=> String
3017
3044
  # resp.services[0].task_definition #=> String
3045
+ # resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
3046
+ # resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
3018
3047
  # resp.services[0].deployment_configuration.maximum_percent #=> Integer
3019
3048
  # resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
3020
3049
  # resp.services[0].task_sets #=> Array
@@ -3066,6 +3095,7 @@ module Aws::ECS
3066
3095
  # resp.services[0].deployments[0].desired_count #=> Integer
3067
3096
  # resp.services[0].deployments[0].pending_count #=> Integer
3068
3097
  # resp.services[0].deployments[0].running_count #=> Integer
3098
+ # resp.services[0].deployments[0].failed_tasks #=> Integer
3069
3099
  # resp.services[0].deployments[0].created_at #=> Time
3070
3100
  # resp.services[0].deployments[0].updated_at #=> Time
3071
3101
  # resp.services[0].deployments[0].capacity_provider_strategy #=> Array
@@ -3079,6 +3109,8 @@ module Aws::ECS
3079
3109
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
3080
3110
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
3081
3111
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
3112
+ # resp.services[0].deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
3113
+ # resp.services[0].deployments[0].rollout_state_reason #=> String
3082
3114
  # resp.services[0].role_arn #=> String
3083
3115
  # resp.services[0].events #=> Array
3084
3116
  # resp.services[0].events[0].id #=> String
@@ -3345,6 +3377,10 @@ module Aws::ECS
3345
3377
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
3346
3378
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
3347
3379
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
3380
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
3381
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
3382
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
3383
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
3348
3384
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
3349
3385
  # resp.task_definition.requires_attributes #=> Array
3350
3386
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -3370,6 +3406,9 @@ module Aws::ECS
3370
3406
  # resp.task_definition.proxy_configuration.properties #=> Array
3371
3407
  # resp.task_definition.proxy_configuration.properties[0].name #=> String
3372
3408
  # resp.task_definition.proxy_configuration.properties[0].value #=> String
3409
+ # resp.task_definition.registered_at #=> Time
3410
+ # resp.task_definition.deregistered_at #=> Time
3411
+ # resp.task_definition.registered_by #=> String
3373
3412
  # resp.tags #=> Array
3374
3413
  # resp.tags[0].key #=> String
3375
3414
  # resp.tags[0].value #=> String
@@ -5244,16 +5283,17 @@ module Aws::ECS
5244
5283
  #
5245
5284
  # @option params [String] :network_mode
5246
5285
  # The Docker networking mode to use for the containers in the task. The
5247
- # valid values are `none`, `bridge`, `awsvpc`, and `host`. The default
5248
- # Docker network mode is `bridge`. If you are using the Fargate launch
5249
- # type, the `awsvpc` network mode is required. If you are using the EC2
5250
- # launch type, any network mode can be used. If the network mode is set
5251
- # to `none`, you cannot specify port mappings in your container
5252
- # definitions, and the tasks containers do not have external
5253
- # connectivity. The `host` and `awsvpc` network modes offer the highest
5254
- # networking performance for containers because they use the EC2 network
5255
- # stack instead of the virtualized network stack provided by the
5256
- # `bridge` mode.
5286
+ # valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network
5287
+ # mode is specified, the default is `bridge`.
5288
+ #
5289
+ # For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
5290
+ # required. For Amazon ECS tasks on Amazon EC2 instances, any network
5291
+ # mode can be used. If the network mode is set to `none`, you cannot
5292
+ # specify port mappings in your container definitions, and the tasks
5293
+ # containers do not have external connectivity. The `host` and `awsvpc`
5294
+ # network modes offer the highest networking performance for containers
5295
+ # because they use the EC2 network stack instead of the virtualized
5296
+ # network stack provided by the `bridge` mode.
5257
5297
  #
5258
5298
  # With the `host` and `awsvpc` network modes, exposed container ports
5259
5299
  # are mapped directly to the corresponding host port (for the `host`
@@ -5261,6 +5301,10 @@ module Aws::ECS
5261
5301
  # `awsvpc` network mode), so you cannot take advantage of dynamic host
5262
5302
  # port mappings.
5263
5303
  #
5304
+ # When using the `host` network mode, you should not run containers
5305
+ # using the root user (UID 0). It is considered best practice to use a
5306
+ # non-root user.
5307
+ #
5264
5308
  # If the network mode is `awsvpc`, the task is allocated an elastic
5265
5309
  # network interface, and you must specify a NetworkConfiguration value
5266
5310
  # when you create a service or run a task with the task definition. For
@@ -5305,8 +5349,10 @@ module Aws::ECS
5305
5349
  # constraints in the task definition and those specified at runtime).
5306
5350
  #
5307
5351
  # @option params [Array<String>] :requires_compatibilities
5308
- # The launch type required by the task. If no value is specified, it
5309
- # defaults to `EC2`.
5352
+ # The task launch type that Amazon ECS should validate the task
5353
+ # definition against. This ensures that the task definition parameters
5354
+ # are compatible with the specified launch type. If no value is
5355
+ # specified, it defaults to `EC2`.
5310
5356
  #
5311
5357
  # @option params [String] :cpu
5312
5358
  # The number of CPU units used by the task. It can be expressed as an
@@ -5481,11 +5527,7 @@ module Aws::ECS
5481
5527
  # your container instances are launched from the Amazon ECS-optimized
5482
5528
  # AMI version `20190301` or later, then they contain the required
5483
5529
  # versions of the container agent and `ecs-init`. For more information,
5484
- # see [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic
5485
- # Container Service Developer Guide*.
5486
- #
5487
- # For tasks using the Fargate launch type, the task or service requires
5488
- # platform version 1.3.0 or later.
5530
+ # see [Amazon ECS-optimized Linux AMI][1]
5489
5531
  #
5490
5532
  #
5491
5533
  #
@@ -5741,6 +5783,14 @@ module Aws::ECS
5741
5783
  # iam: "ENABLED", # accepts ENABLED, DISABLED
5742
5784
  # },
5743
5785
  # },
5786
+ # fsx_windows_file_server_volume_configuration: {
5787
+ # file_system_id: "String", # required
5788
+ # root_directory: "String", # required
5789
+ # authorization_config: { # required
5790
+ # credentials_parameter: "String", # required
5791
+ # domain: "String", # required
5792
+ # },
5793
+ # },
5744
5794
  # },
5745
5795
  # ],
5746
5796
  # placement_constraints: [
@@ -5903,6 +5953,10 @@ module Aws::ECS
5903
5953
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
5904
5954
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
5905
5955
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
5956
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
5957
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
5958
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
5959
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
5906
5960
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
5907
5961
  # resp.task_definition.requires_attributes #=> Array
5908
5962
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -5928,6 +5982,9 @@ module Aws::ECS
5928
5982
  # resp.task_definition.proxy_configuration.properties #=> Array
5929
5983
  # resp.task_definition.proxy_configuration.properties[0].name #=> String
5930
5984
  # resp.task_definition.proxy_configuration.properties[0].value #=> String
5985
+ # resp.task_definition.registered_at #=> Time
5986
+ # resp.task_definition.deregistered_at #=> Time
5987
+ # resp.task_definition.registered_by #=> String
5931
5988
  # resp.tags #=> Array
5932
5989
  # resp.tags[0].key #=> String
5933
5990
  # resp.tags[0].value #=> String
@@ -7154,6 +7211,62 @@ module Aws::ECS
7154
7211
  req.send_request(options)
7155
7212
  end
7156
7213
 
7214
+ # Modifies the parameters for a capacity provider.
7215
+ #
7216
+ # @option params [required, String] :name
7217
+ # The name of the capacity provider to update.
7218
+ #
7219
+ # @option params [required, Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
7220
+ # An object representing the parameters to update for the Auto Scaling
7221
+ # group capacity provider.
7222
+ #
7223
+ # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7224
+ #
7225
+ # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
7226
+ #
7227
+ # @example Request syntax with placeholder values
7228
+ #
7229
+ # resp = client.update_capacity_provider({
7230
+ # name: "String", # required
7231
+ # auto_scaling_group_provider: { # required
7232
+ # managed_scaling: {
7233
+ # status: "ENABLED", # accepts ENABLED, DISABLED
7234
+ # target_capacity: 1,
7235
+ # minimum_scaling_step_size: 1,
7236
+ # maximum_scaling_step_size: 1,
7237
+ # instance_warmup_period: 1,
7238
+ # },
7239
+ # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
7240
+ # },
7241
+ # })
7242
+ #
7243
+ # @example Response structure
7244
+ #
7245
+ # resp.capacity_provider.capacity_provider_arn #=> String
7246
+ # resp.capacity_provider.name #=> String
7247
+ # resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
7248
+ # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
7249
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
7250
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
7251
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
7252
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
7253
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
7254
+ # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
7255
+ # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
7256
+ # resp.capacity_provider.update_status_reason #=> String
7257
+ # resp.capacity_provider.tags #=> Array
7258
+ # resp.capacity_provider.tags[0].key #=> String
7259
+ # resp.capacity_provider.tags[0].value #=> String
7260
+ #
7261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
7262
+ #
7263
+ # @overload update_capacity_provider(params = {})
7264
+ # @param [Hash] params ({})
7265
+ def update_capacity_provider(params = {}, options = {})
7266
+ req = build_request(:update_capacity_provider, params)
7267
+ req.send_request(options)
7268
+ end
7269
+
7157
7270
  # Modifies the settings to use for a cluster.
7158
7271
  #
7159
7272
  # @option params [required, String] :cluster
@@ -7740,6 +7853,10 @@ module Aws::ECS
7740
7853
  # },
7741
7854
  # ],
7742
7855
  # deployment_configuration: {
7856
+ # deployment_circuit_breaker: {
7857
+ # enable: false, # required
7858
+ # rollback: false, # required
7859
+ # },
7743
7860
  # maximum_percent: 1,
7744
7861
  # minimum_healthy_percent: 1,
7745
7862
  # },
@@ -7793,6 +7910,8 @@ module Aws::ECS
7793
7910
  # resp.service.capacity_provider_strategy[0].base #=> Integer
7794
7911
  # resp.service.platform_version #=> String
7795
7912
  # resp.service.task_definition #=> String
7913
+ # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
7914
+ # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
7796
7915
  # resp.service.deployment_configuration.maximum_percent #=> Integer
7797
7916
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
7798
7917
  # resp.service.task_sets #=> Array
@@ -7844,6 +7963,7 @@ module Aws::ECS
7844
7963
  # resp.service.deployments[0].desired_count #=> Integer
7845
7964
  # resp.service.deployments[0].pending_count #=> Integer
7846
7965
  # resp.service.deployments[0].running_count #=> Integer
7966
+ # resp.service.deployments[0].failed_tasks #=> Integer
7847
7967
  # resp.service.deployments[0].created_at #=> Time
7848
7968
  # resp.service.deployments[0].updated_at #=> Time
7849
7969
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -7857,6 +7977,8 @@ module Aws::ECS
7857
7977
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
7858
7978
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
7859
7979
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
7980
+ # resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
7981
+ # resp.service.deployments[0].rollout_state_reason #=> String
7860
7982
  # resp.service.role_arn #=> String
7861
7983
  # resp.service.events #=> Array
7862
7984
  # resp.service.events[0].id #=> String
@@ -8088,7 +8210,7 @@ module Aws::ECS
8088
8210
  params: params,
8089
8211
  config: config)
8090
8212
  context[:gem_name] = 'aws-sdk-ecs'
8091
- context[:gem_version] = '1.68.0'
8213
+ context[:gem_version] = '1.73.0'
8092
8214
  Seahorse::Client::Request.new(handlers, context)
8093
8215
  end
8094
8216
 
@@ -25,6 +25,7 @@ module Aws::ECS
25
25
  AttributeLimitExceededException = Shapes::StructureShape.new(name: 'AttributeLimitExceededException')
26
26
  Attributes = Shapes::ListShape.new(name: 'Attributes')
27
27
  AutoScalingGroupProvider = Shapes::StructureShape.new(name: 'AutoScalingGroupProvider')
28
+ AutoScalingGroupProviderUpdate = Shapes::StructureShape.new(name: 'AutoScalingGroupProviderUpdate')
28
29
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
29
30
  BlockedException = Shapes::StructureShape.new(name: 'BlockedException')
30
31
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -92,9 +93,11 @@ module Aws::ECS
92
93
  DeleteTaskSetRequest = Shapes::StructureShape.new(name: 'DeleteTaskSetRequest')
93
94
  DeleteTaskSetResponse = Shapes::StructureShape.new(name: 'DeleteTaskSetResponse')
94
95
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
96
+ DeploymentCircuitBreaker = Shapes::StructureShape.new(name: 'DeploymentCircuitBreaker')
95
97
  DeploymentConfiguration = Shapes::StructureShape.new(name: 'DeploymentConfiguration')
96
98
  DeploymentController = Shapes::StructureShape.new(name: 'DeploymentController')
97
99
  DeploymentControllerType = Shapes::StringShape.new(name: 'DeploymentControllerType')
100
+ DeploymentRolloutState = Shapes::StringShape.new(name: 'DeploymentRolloutState')
98
101
  Deployments = Shapes::ListShape.new(name: 'Deployments')
99
102
  DeregisterContainerInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceRequest')
100
103
  DeregisterContainerInstanceResponse = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceResponse')
@@ -132,6 +135,8 @@ module Aws::ECS
132
135
  EnvironmentFileType = Shapes::StringShape.new(name: 'EnvironmentFileType')
133
136
  EnvironmentFiles = Shapes::ListShape.new(name: 'EnvironmentFiles')
134
137
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
138
+ FSxWindowsFileServerAuthorizationConfig = Shapes::StructureShape.new(name: 'FSxWindowsFileServerAuthorizationConfig')
139
+ FSxWindowsFileServerVolumeConfiguration = Shapes::StructureShape.new(name: 'FSxWindowsFileServerVolumeConfiguration')
135
140
  Failure = Shapes::StructureShape.new(name: 'Failure')
136
141
  Failures = Shapes::ListShape.new(name: 'Failures')
137
142
  FirelensConfiguration = Shapes::StructureShape.new(name: 'FirelensConfiguration')
@@ -180,6 +185,7 @@ module Aws::ECS
180
185
  LogDriver = Shapes::StringShape.new(name: 'LogDriver')
181
186
  Long = Shapes::IntegerShape.new(name: 'Long')
182
187
  ManagedScaling = Shapes::StructureShape.new(name: 'ManagedScaling')
188
+ ManagedScalingInstanceWarmupPeriod = Shapes::IntegerShape.new(name: 'ManagedScalingInstanceWarmupPeriod')
183
189
  ManagedScalingStatus = Shapes::StringShape.new(name: 'ManagedScalingStatus')
184
190
  ManagedScalingStepSize = Shapes::IntegerShape.new(name: 'ManagedScalingStepSize')
185
191
  ManagedScalingTargetCapacity = Shapes::IntegerShape.new(name: 'ManagedScalingTargetCapacity')
@@ -311,6 +317,8 @@ module Aws::ECS
311
317
  UnsupportedFeatureException = Shapes::StructureShape.new(name: 'UnsupportedFeatureException')
312
318
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
313
319
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
320
+ UpdateCapacityProviderRequest = Shapes::StructureShape.new(name: 'UpdateCapacityProviderRequest')
321
+ UpdateCapacityProviderResponse = Shapes::StructureShape.new(name: 'UpdateCapacityProviderResponse')
314
322
  UpdateClusterSettingsRequest = Shapes::StructureShape.new(name: 'UpdateClusterSettingsRequest')
315
323
  UpdateClusterSettingsResponse = Shapes::StructureShape.new(name: 'UpdateClusterSettingsResponse')
316
324
  UpdateContainerAgentRequest = Shapes::StructureShape.new(name: 'UpdateContainerAgentRequest')
@@ -363,6 +371,10 @@ module Aws::ECS
363
371
  AutoScalingGroupProvider.add_member(:managed_termination_protection, Shapes::ShapeRef.new(shape: ManagedTerminationProtection, location_name: "managedTerminationProtection"))
364
372
  AutoScalingGroupProvider.struct_class = Types::AutoScalingGroupProvider
365
373
 
374
+ AutoScalingGroupProviderUpdate.add_member(:managed_scaling, Shapes::ShapeRef.new(shape: ManagedScaling, location_name: "managedScaling"))
375
+ AutoScalingGroupProviderUpdate.add_member(:managed_termination_protection, Shapes::ShapeRef.new(shape: ManagedTerminationProtection, location_name: "managedTerminationProtection"))
376
+ AutoScalingGroupProviderUpdate.struct_class = Types::AutoScalingGroupProviderUpdate
377
+
366
378
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnets"))
367
379
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroups"))
368
380
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "assignPublicIp"))
@@ -655,14 +667,22 @@ module Aws::ECS
655
667
  Deployment.add_member(:desired_count, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredCount"))
656
668
  Deployment.add_member(:pending_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingCount"))
657
669
  Deployment.add_member(:running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningCount"))
670
+ Deployment.add_member(:failed_tasks, Shapes::ShapeRef.new(shape: Integer, location_name: "failedTasks"))
658
671
  Deployment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
659
672
  Deployment.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
660
673
  Deployment.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
661
674
  Deployment.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
662
675
  Deployment.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
663
676
  Deployment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
677
+ Deployment.add_member(:rollout_state, Shapes::ShapeRef.new(shape: DeploymentRolloutState, location_name: "rolloutState"))
678
+ Deployment.add_member(:rollout_state_reason, Shapes::ShapeRef.new(shape: String, location_name: "rolloutStateReason"))
664
679
  Deployment.struct_class = Types::Deployment
665
680
 
681
+ DeploymentCircuitBreaker.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
682
+ DeploymentCircuitBreaker.add_member(:rollback, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "rollback"))
683
+ DeploymentCircuitBreaker.struct_class = Types::DeploymentCircuitBreaker
684
+
685
+ DeploymentConfiguration.add_member(:deployment_circuit_breaker, Shapes::ShapeRef.new(shape: DeploymentCircuitBreaker, location_name: "deploymentCircuitBreaker"))
666
686
  DeploymentConfiguration.add_member(:maximum_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maximumPercent"))
667
687
  DeploymentConfiguration.add_member(:minimum_healthy_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "minimumHealthyPercent"))
668
688
  DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
@@ -796,6 +816,15 @@ module Aws::ECS
796
816
 
797
817
  EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
798
818
 
819
+ FSxWindowsFileServerAuthorizationConfig.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
820
+ FSxWindowsFileServerAuthorizationConfig.add_member(:domain, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domain"))
821
+ FSxWindowsFileServerAuthorizationConfig.struct_class = Types::FSxWindowsFileServerAuthorizationConfig
822
+
823
+ FSxWindowsFileServerVolumeConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemId"))
824
+ FSxWindowsFileServerVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, required: true, location_name: "rootDirectory"))
825
+ FSxWindowsFileServerVolumeConfiguration.add_member(:authorization_config, Shapes::ShapeRef.new(shape: FSxWindowsFileServerAuthorizationConfig, required: true, location_name: "authorizationConfig"))
826
+ FSxWindowsFileServerVolumeConfiguration.struct_class = Types::FSxWindowsFileServerVolumeConfiguration
827
+
799
828
  Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
800
829
  Failure.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
801
830
  Failure.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "detail"))
@@ -977,6 +1006,7 @@ module Aws::ECS
977
1006
  ManagedScaling.add_member(:target_capacity, Shapes::ShapeRef.new(shape: ManagedScalingTargetCapacity, location_name: "targetCapacity"))
978
1007
  ManagedScaling.add_member(:minimum_scaling_step_size, Shapes::ShapeRef.new(shape: ManagedScalingStepSize, location_name: "minimumScalingStepSize"))
979
1008
  ManagedScaling.add_member(:maximum_scaling_step_size, Shapes::ShapeRef.new(shape: ManagedScalingStepSize, location_name: "maximumScalingStepSize"))
1009
+ ManagedScaling.add_member(:instance_warmup_period, Shapes::ShapeRef.new(shape: ManagedScalingInstanceWarmupPeriod, location_name: "instanceWarmupPeriod"))
980
1010
  ManagedScaling.struct_class = Types::ManagedScaling
981
1011
 
982
1012
  MissingVersionException.struct_class = Types::MissingVersionException
@@ -1372,6 +1402,9 @@ module Aws::ECS
1372
1402
  TaskDefinition.add_member(:pid_mode, Shapes::ShapeRef.new(shape: PidMode, location_name: "pidMode"))
1373
1403
  TaskDefinition.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
1374
1404
  TaskDefinition.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
1405
+ TaskDefinition.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "registeredAt"))
1406
+ TaskDefinition.add_member(:deregistered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deregisteredAt"))
1407
+ TaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
1375
1408
  TaskDefinition.struct_class = Types::TaskDefinition
1376
1409
 
1377
1410
  TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
@@ -1447,6 +1480,13 @@ module Aws::ECS
1447
1480
 
1448
1481
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1449
1482
 
1483
+ UpdateCapacityProviderRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
1484
+ UpdateCapacityProviderRequest.add_member(:auto_scaling_group_provider, Shapes::ShapeRef.new(shape: AutoScalingGroupProviderUpdate, required: true, location_name: "autoScalingGroupProvider"))
1485
+ UpdateCapacityProviderRequest.struct_class = Types::UpdateCapacityProviderRequest
1486
+
1487
+ UpdateCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, location_name: "capacityProvider"))
1488
+ UpdateCapacityProviderResponse.struct_class = Types::UpdateCapacityProviderResponse
1489
+
1450
1490
  UpdateClusterSettingsRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
1451
1491
  UpdateClusterSettingsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, required: true, location_name: "settings"))
1452
1492
  UpdateClusterSettingsRequest.struct_class = Types::UpdateClusterSettingsRequest
@@ -1515,6 +1555,7 @@ module Aws::ECS
1515
1555
  Volume.add_member(:host, Shapes::ShapeRef.new(shape: HostVolumeProperties, location_name: "host"))
1516
1556
  Volume.add_member(:docker_volume_configuration, Shapes::ShapeRef.new(shape: DockerVolumeConfiguration, location_name: "dockerVolumeConfiguration"))
1517
1557
  Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
1558
+ Volume.add_member(:fsx_windows_file_server_volume_configuration, Shapes::ShapeRef.new(shape: FSxWindowsFileServerVolumeConfiguration, location_name: "fsxWindowsFileServerVolumeConfiguration"))
1518
1559
  Volume.struct_class = Types::Volume
1519
1560
 
1520
1561
  VolumeFrom.add_member(:source_container, Shapes::ShapeRef.new(shape: String, location_name: "sourceContainer"))
@@ -2122,6 +2163,17 @@ module Aws::ECS
2122
2163
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2123
2164
  end)
2124
2165
 
2166
+ api.add_operation(:update_capacity_provider, Seahorse::Model::Operation.new.tap do |o|
2167
+ o.name = "UpdateCapacityProvider"
2168
+ o.http_method = "POST"
2169
+ o.http_request_uri = "/"
2170
+ o.input = Shapes::ShapeRef.new(shape: UpdateCapacityProviderRequest)
2171
+ o.output = Shapes::ShapeRef.new(shape: UpdateCapacityProviderResponse)
2172
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2173
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2174
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2175
+ end)
2176
+
2125
2177
  api.add_operation(:update_cluster_settings, Seahorse::Model::Operation.new.tap do |o|
2126
2178
  o.name = "UpdateClusterSettings"
2127
2179
  o.http_method = "POST"