aws-sdk-ecs 1.67.0 → 1.72.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: 30dba1faf9ae3ba545add5ee948641f9eb73620ca1493d9c167b846f7952c6b0
4
- data.tar.gz: 22b0b5d99059f31af3bb39d02bc091bb0a61c009b992ee92c7526a9f382f805d
3
+ metadata.gz: 0c76b86dd5a8de56d22b04dc78e36c493b0d6da99e70f1f9164ab6c0ab121f71
4
+ data.tar.gz: d6ed2538d1c7db997ff9aa4a2507377f245f03f68a47aebcc0b37c36f1a51679
5
5
  SHA512:
6
- metadata.gz: d09459ef665f9143b90cde25626563efe82262ccaec6f824dbb860f3ded4f91ceecbde61ea21429a213b32c5f015a8abb981dceadfc30d1f88a19e515e663da3
7
- data.tar.gz: cb8bcdaabbfbbbc6b160c599a00fb69079e7d6074f568617b2b587967549902b56316534348b0fc21584d6a1e47e2c16c85f5ef9d1c2e26ff0ead3371320afe8
6
+ metadata.gz: 3829f88cfba80e49027022a5d76124a87b63b6666859befda49489fa1ca3ca4c313a7df0ce6d10b9a72552c2b012db6e3d5a6b0accd137676a3c7df27f5665dc
7
+ data.tar.gz: 6a5d5ff6cdc2c4e15a4aea4cce5efaedfa7a44eaf596eff983b3244ddd6e2ae63838dbccdc98725bf9204969d6270ff3c89c85773d9c16c87033501b2e631f26
@@ -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
 
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-ecs/customizations'
45
46
  #
46
47
  # See {Errors} for more information.
47
48
  #
48
- # @service
49
+ # @!group service
49
50
  module Aws::ECS
50
51
 
51
- GEM_VERSION = '1.67.0'
52
+ GEM_VERSION = '1.72.0'
52
53
 
53
54
  end
@@ -85,13 +85,28 @@ module Aws::ECS
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::ECS
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -385,6 +400,7 @@ module Aws::ECS
385
400
  # target_capacity: 1,
386
401
  # minimum_scaling_step_size: 1,
387
402
  # maximum_scaling_step_size: 1,
403
+ # instance_warmup_period: 1,
388
404
  # },
389
405
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
390
406
  # },
@@ -406,8 +422,9 @@ module Aws::ECS
406
422
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
407
423
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
408
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
409
426
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
410
- # 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"
411
428
  # resp.capacity_provider.update_status_reason #=> String
412
429
  # resp.capacity_provider.tags #=> Array
413
430
  # resp.capacity_provider.tags[0].key #=> String
@@ -760,8 +777,8 @@ module Aws::ECS
760
777
  # task definition to run in your service. If a `revision` is not
761
778
  # specified, the latest `ACTIVE` revision is used.
762
779
  #
763
- # A task definition must be specified if the service is using the `ECS`
764
- # deployment controller.
780
+ # A task definition must be specified if the service is using either the
781
+ # `ECS` or `CODE_DEPLOY` deployment controllers.
765
782
  #
766
783
  # @option params [Array<Types::LoadBalancer>] :load_balancers
767
784
  # A load balancer object representing the load balancers to use with
@@ -770,11 +787,11 @@ module Aws::ECS
770
787
  #
771
788
  # If the service is using the rolling update (`ECS`) deployment
772
789
  # controller and using either an Application Load Balancer or Network
773
- # Load Balancer, you can specify multiple target groups to attach to the
774
- # service. The service-linked role is required for services that make
775
- # use of multiple target groups. For more information, see [Using
776
- # Service-Linked Roles for Amazon ECS][2] in the *Amazon Elastic
777
- # 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*.
778
795
  #
779
796
  # If the service is using the `CODE_DEPLOY` deployment controller, the
780
797
  # service is required to use either an Application Load Balancer or
@@ -797,15 +814,17 @@ module Aws::ECS
797
814
  # For Application Load Balancers and Network Load Balancers, this object
798
815
  # must contain the load balancer target group ARN, the container name
799
816
  # (as it appears in a container definition), and the container port to
800
- # access from the load balancer. When a task from this service is placed
801
- # on a container instance, the container instance and port combination
802
- # 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.
803
821
  #
804
822
  # For Classic Load Balancers, this object must contain the load balancer
805
823
  # name, the container name (as it appears in a container definition),
806
- # and the container port to access from the load balancer. When a task
807
- # from this service is placed on a container instance, the container
808
- # 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.
809
828
  #
810
829
  # Services with tasks that use the `awsvpc` network mode (for example,
811
830
  # those with the Fargate launch type) only support Application Load
@@ -1209,6 +1228,10 @@ module Aws::ECS
1209
1228
  # platform_version: "String",
1210
1229
  # role: "String",
1211
1230
  # deployment_configuration: {
1231
+ # deployment_circuit_breaker: {
1232
+ # enable: false, # required
1233
+ # rollback: false, # required
1234
+ # },
1212
1235
  # maximum_percent: 1,
1213
1236
  # minimum_healthy_percent: 1,
1214
1237
  # },
@@ -1272,6 +1295,8 @@ module Aws::ECS
1272
1295
  # resp.service.capacity_provider_strategy[0].base #=> Integer
1273
1296
  # resp.service.platform_version #=> String
1274
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
1275
1300
  # resp.service.deployment_configuration.maximum_percent #=> Integer
1276
1301
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
1277
1302
  # resp.service.task_sets #=> Array
@@ -1323,6 +1348,7 @@ module Aws::ECS
1323
1348
  # resp.service.deployments[0].desired_count #=> Integer
1324
1349
  # resp.service.deployments[0].pending_count #=> Integer
1325
1350
  # resp.service.deployments[0].running_count #=> Integer
1351
+ # resp.service.deployments[0].failed_tasks #=> Integer
1326
1352
  # resp.service.deployments[0].created_at #=> Time
1327
1353
  # resp.service.deployments[0].updated_at #=> Time
1328
1354
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -1336,6 +1362,8 @@ module Aws::ECS
1336
1362
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
1337
1363
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
1338
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
1339
1367
  # resp.service.role_arn #=> String
1340
1368
  # resp.service.events #=> Array
1341
1369
  # resp.service.events[0].id #=> String
@@ -1785,8 +1813,9 @@ module Aws::ECS
1785
1813
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
1786
1814
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
1787
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
1788
1817
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
1789
- # 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"
1790
1819
  # resp.capacity_provider.update_status_reason #=> String
1791
1820
  # resp.capacity_provider.tags #=> Array
1792
1821
  # resp.capacity_provider.tags[0].key #=> String
@@ -1978,6 +2007,8 @@ module Aws::ECS
1978
2007
  # resp.service.capacity_provider_strategy[0].base #=> Integer
1979
2008
  # resp.service.platform_version #=> String
1980
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
1981
2012
  # resp.service.deployment_configuration.maximum_percent #=> Integer
1982
2013
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
1983
2014
  # resp.service.task_sets #=> Array
@@ -2029,6 +2060,7 @@ module Aws::ECS
2029
2060
  # resp.service.deployments[0].desired_count #=> Integer
2030
2061
  # resp.service.deployments[0].pending_count #=> Integer
2031
2062
  # resp.service.deployments[0].running_count #=> Integer
2063
+ # resp.service.deployments[0].failed_tasks #=> Integer
2032
2064
  # resp.service.deployments[0].created_at #=> Time
2033
2065
  # resp.service.deployments[0].updated_at #=> Time
2034
2066
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -2042,6 +2074,8 @@ module Aws::ECS
2042
2074
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
2043
2075
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
2044
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
2045
2079
  # resp.service.role_arn #=> String
2046
2080
  # resp.service.events #=> Array
2047
2081
  # resp.service.events[0].id #=> String
@@ -2462,6 +2496,10 @@ module Aws::ECS
2462
2496
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
2463
2497
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
2464
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
2465
2503
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
2466
2504
  # resp.task_definition.requires_attributes #=> Array
2467
2505
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -2560,8 +2598,9 @@ module Aws::ECS
2560
2598
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
2561
2599
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
2562
2600
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
2601
+ # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
2563
2602
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
2564
- # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED"
2603
+ # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
2565
2604
  # resp.capacity_providers[0].update_status_reason #=> String
2566
2605
  # resp.capacity_providers[0].tags #=> Array
2567
2606
  # resp.capacity_providers[0].tags[0].key #=> String
@@ -3000,6 +3039,8 @@ module Aws::ECS
3000
3039
  # resp.services[0].capacity_provider_strategy[0].base #=> Integer
3001
3040
  # resp.services[0].platform_version #=> String
3002
3041
  # resp.services[0].task_definition #=> String
3042
+ # resp.services[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
3043
+ # resp.services[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
3003
3044
  # resp.services[0].deployment_configuration.maximum_percent #=> Integer
3004
3045
  # resp.services[0].deployment_configuration.minimum_healthy_percent #=> Integer
3005
3046
  # resp.services[0].task_sets #=> Array
@@ -3051,6 +3092,7 @@ module Aws::ECS
3051
3092
  # resp.services[0].deployments[0].desired_count #=> Integer
3052
3093
  # resp.services[0].deployments[0].pending_count #=> Integer
3053
3094
  # resp.services[0].deployments[0].running_count #=> Integer
3095
+ # resp.services[0].deployments[0].failed_tasks #=> Integer
3054
3096
  # resp.services[0].deployments[0].created_at #=> Time
3055
3097
  # resp.services[0].deployments[0].updated_at #=> Time
3056
3098
  # resp.services[0].deployments[0].capacity_provider_strategy #=> Array
@@ -3064,6 +3106,8 @@ module Aws::ECS
3064
3106
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
3065
3107
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
3066
3108
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
3109
+ # resp.services[0].deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
3110
+ # resp.services[0].deployments[0].rollout_state_reason #=> String
3067
3111
  # resp.services[0].role_arn #=> String
3068
3112
  # resp.services[0].events #=> Array
3069
3113
  # resp.services[0].events[0].id #=> String
@@ -3330,6 +3374,10 @@ module Aws::ECS
3330
3374
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
3331
3375
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
3332
3376
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
3377
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
3378
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
3379
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
3380
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
3333
3381
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
3334
3382
  # resp.task_definition.requires_attributes #=> Array
3335
3383
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -5229,16 +5277,17 @@ module Aws::ECS
5229
5277
  #
5230
5278
  # @option params [String] :network_mode
5231
5279
  # The Docker networking mode to use for the containers in the task. The
5232
- # valid values are `none`, `bridge`, `awsvpc`, and `host`. The default
5233
- # Docker network mode is `bridge`. If you are using the Fargate launch
5234
- # type, the `awsvpc` network mode is required. If you are using the EC2
5235
- # launch type, any network mode can be used. If the network mode is set
5236
- # to `none`, you cannot specify port mappings in your container
5237
- # definitions, and the tasks containers do not have external
5238
- # connectivity. The `host` and `awsvpc` network modes offer the highest
5239
- # networking performance for containers because they use the EC2 network
5240
- # stack instead of the virtualized network stack provided by the
5241
- # `bridge` mode.
5280
+ # valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network
5281
+ # mode is specified, the default is `bridge`.
5282
+ #
5283
+ # For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
5284
+ # required. For Amazon ECS tasks on Amazon EC2 instances, any network
5285
+ # mode can be used. If the network mode is set to `none`, you cannot
5286
+ # specify port mappings in your container definitions, and the tasks
5287
+ # containers do not have external connectivity. The `host` and `awsvpc`
5288
+ # network modes offer the highest networking performance for containers
5289
+ # because they use the EC2 network stack instead of the virtualized
5290
+ # network stack provided by the `bridge` mode.
5242
5291
  #
5243
5292
  # With the `host` and `awsvpc` network modes, exposed container ports
5244
5293
  # are mapped directly to the corresponding host port (for the `host`
@@ -5246,6 +5295,10 @@ module Aws::ECS
5246
5295
  # `awsvpc` network mode), so you cannot take advantage of dynamic host
5247
5296
  # port mappings.
5248
5297
  #
5298
+ # When using the `host` network mode, you should not run containers
5299
+ # using the root user (UID 0). It is considered best practice to use a
5300
+ # non-root user.
5301
+ #
5249
5302
  # If the network mode is `awsvpc`, the task is allocated an elastic
5250
5303
  # network interface, and you must specify a NetworkConfiguration value
5251
5304
  # when you create a service or run a task with the task definition. For
@@ -5290,8 +5343,10 @@ module Aws::ECS
5290
5343
  # constraints in the task definition and those specified at runtime).
5291
5344
  #
5292
5345
  # @option params [Array<String>] :requires_compatibilities
5293
- # The launch type required by the task. If no value is specified, it
5294
- # defaults to `EC2`.
5346
+ # The task launch type that Amazon ECS should validate the task
5347
+ # definition against. This ensures that the task definition parameters
5348
+ # are compatible with the specified launch type. If no value is
5349
+ # specified, it defaults to `EC2`.
5295
5350
  #
5296
5351
  # @option params [String] :cpu
5297
5352
  # The number of CPU units used by the task. It can be expressed as an
@@ -5466,11 +5521,7 @@ module Aws::ECS
5466
5521
  # your container instances are launched from the Amazon ECS-optimized
5467
5522
  # AMI version `20190301` or later, then they contain the required
5468
5523
  # versions of the container agent and `ecs-init`. For more information,
5469
- # see [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic
5470
- # Container Service Developer Guide*.
5471
- #
5472
- # For tasks using the Fargate launch type, the task or service requires
5473
- # platform version 1.3.0 or later.
5524
+ # see [Amazon ECS-optimized Linux AMI][1]
5474
5525
  #
5475
5526
  #
5476
5527
  #
@@ -5726,6 +5777,14 @@ module Aws::ECS
5726
5777
  # iam: "ENABLED", # accepts ENABLED, DISABLED
5727
5778
  # },
5728
5779
  # },
5780
+ # fsx_windows_file_server_volume_configuration: {
5781
+ # file_system_id: "String", # required
5782
+ # root_directory: "String", # required
5783
+ # authorization_config: { # required
5784
+ # credentials_parameter: "String", # required
5785
+ # domain: "String", # required
5786
+ # },
5787
+ # },
5729
5788
  # },
5730
5789
  # ],
5731
5790
  # placement_constraints: [
@@ -5888,6 +5947,10 @@ module Aws::ECS
5888
5947
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
5889
5948
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
5890
5949
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
5950
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
5951
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
5952
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
5953
+ # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
5891
5954
  # resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE"
5892
5955
  # resp.task_definition.requires_attributes #=> Array
5893
5956
  # resp.task_definition.requires_attributes[0].name #=> String
@@ -7139,6 +7202,62 @@ module Aws::ECS
7139
7202
  req.send_request(options)
7140
7203
  end
7141
7204
 
7205
+ # Modifies the parameters for a capacity provider.
7206
+ #
7207
+ # @option params [required, String] :name
7208
+ # An object representing the parameters to update for the Auto Scaling
7209
+ # group capacity provider.
7210
+ #
7211
+ # @option params [required, Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
7212
+ # The name of the capacity provider to update.
7213
+ #
7214
+ # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7215
+ #
7216
+ # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
7217
+ #
7218
+ # @example Request syntax with placeholder values
7219
+ #
7220
+ # resp = client.update_capacity_provider({
7221
+ # name: "String", # required
7222
+ # auto_scaling_group_provider: { # required
7223
+ # managed_scaling: {
7224
+ # status: "ENABLED", # accepts ENABLED, DISABLED
7225
+ # target_capacity: 1,
7226
+ # minimum_scaling_step_size: 1,
7227
+ # maximum_scaling_step_size: 1,
7228
+ # instance_warmup_period: 1,
7229
+ # },
7230
+ # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
7231
+ # },
7232
+ # })
7233
+ #
7234
+ # @example Response structure
7235
+ #
7236
+ # resp.capacity_provider.capacity_provider_arn #=> String
7237
+ # resp.capacity_provider.name #=> String
7238
+ # resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
7239
+ # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
7240
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
7241
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
7242
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.minimum_scaling_step_size #=> Integer
7243
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.maximum_scaling_step_size #=> Integer
7244
+ # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
7245
+ # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
7246
+ # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
7247
+ # resp.capacity_provider.update_status_reason #=> String
7248
+ # resp.capacity_provider.tags #=> Array
7249
+ # resp.capacity_provider.tags[0].key #=> String
7250
+ # resp.capacity_provider.tags[0].value #=> String
7251
+ #
7252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
7253
+ #
7254
+ # @overload update_capacity_provider(params = {})
7255
+ # @param [Hash] params ({})
7256
+ def update_capacity_provider(params = {}, options = {})
7257
+ req = build_request(:update_capacity_provider, params)
7258
+ req.send_request(options)
7259
+ end
7260
+
7142
7261
  # Modifies the settings to use for a cluster.
7143
7262
  #
7144
7263
  # @option params [required, String] :cluster
@@ -7725,6 +7844,10 @@ module Aws::ECS
7725
7844
  # },
7726
7845
  # ],
7727
7846
  # deployment_configuration: {
7847
+ # deployment_circuit_breaker: {
7848
+ # enable: false, # required
7849
+ # rollback: false, # required
7850
+ # },
7728
7851
  # maximum_percent: 1,
7729
7852
  # minimum_healthy_percent: 1,
7730
7853
  # },
@@ -7778,6 +7901,8 @@ module Aws::ECS
7778
7901
  # resp.service.capacity_provider_strategy[0].base #=> Integer
7779
7902
  # resp.service.platform_version #=> String
7780
7903
  # resp.service.task_definition #=> String
7904
+ # resp.service.deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
7905
+ # resp.service.deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
7781
7906
  # resp.service.deployment_configuration.maximum_percent #=> Integer
7782
7907
  # resp.service.deployment_configuration.minimum_healthy_percent #=> Integer
7783
7908
  # resp.service.task_sets #=> Array
@@ -7829,6 +7954,7 @@ module Aws::ECS
7829
7954
  # resp.service.deployments[0].desired_count #=> Integer
7830
7955
  # resp.service.deployments[0].pending_count #=> Integer
7831
7956
  # resp.service.deployments[0].running_count #=> Integer
7957
+ # resp.service.deployments[0].failed_tasks #=> Integer
7832
7958
  # resp.service.deployments[0].created_at #=> Time
7833
7959
  # resp.service.deployments[0].updated_at #=> Time
7834
7960
  # resp.service.deployments[0].capacity_provider_strategy #=> Array
@@ -7842,6 +7968,8 @@ module Aws::ECS
7842
7968
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups #=> Array
7843
7969
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
7844
7970
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
7971
+ # resp.service.deployments[0].rollout_state #=> String, one of "COMPLETED", "FAILED", "IN_PROGRESS"
7972
+ # resp.service.deployments[0].rollout_state_reason #=> String
7845
7973
  # resp.service.role_arn #=> String
7846
7974
  # resp.service.events #=> Array
7847
7975
  # resp.service.events[0].id #=> String
@@ -8073,7 +8201,7 @@ module Aws::ECS
8073
8201
  params: params,
8074
8202
  config: config)
8075
8203
  context[:gem_name] = 'aws-sdk-ecs'
8076
- context[:gem_version] = '1.67.0'
8204
+ context[:gem_version] = '1.72.0'
8077
8205
  Seahorse::Client::Request.new(handlers, context)
8078
8206
  end
8079
8207