aws-sdk-ecs 1.205.0 → 1.206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -483,14 +483,11 @@ module Aws::ECS
483
483
 
484
484
  # @!group API Operations
485
485
 
486
- # Creates a new capacity provider. Capacity providers are associated
487
- # with an Amazon ECS cluster and are used in capacity provider
488
- # strategies to facilitate cluster auto scaling.
489
- #
490
- # Only capacity providers that use an Auto Scaling group can be created.
491
- # Amazon ECS tasks on Fargate use the `FARGATE` and `FARGATE_SPOT`
492
- # capacity providers. These providers are available to all accounts in
493
- # the Amazon Web Services Regions that Fargate supports.
486
+ # Creates a capacity provider. Capacity providers are associated with a
487
+ # cluster and are used in capacity provider strategies to facilitate
488
+ # cluster auto scaling. You can create capacity providers for Amazon ECS
489
+ # Managed Instances and EC2 instances. Fargate has the predefined
490
+ # `FARGATE` and `FARGATE_SPOT` capacity providers.
494
491
  #
495
492
  # @option params [required, String] :name
496
493
  # The name of the capacity provider. Up to 255 characters are allowed.
@@ -498,9 +495,20 @@ module Aws::ECS
498
495
  # underscores (\_), and hyphens (-). The name can't be prefixed with
499
496
  # "`aws`", "`ecs`", or "`fargate`".
500
497
  #
501
- # @option params [required, Types::AutoScalingGroupProvider] :auto_scaling_group_provider
498
+ # @option params [String] :cluster
499
+ # The name of the cluster to associate with the capacity provider. When
500
+ # you create a capacity provider with Amazon ECS Managed Instances, it
501
+ # becomes available only within the specified cluster.
502
+ #
503
+ # @option params [Types::AutoScalingGroupProvider] :auto_scaling_group_provider
502
504
  # The details of the Auto Scaling group for the capacity provider.
503
505
  #
506
+ # @option params [Types::CreateManagedInstancesProviderConfiguration] :managed_instances_provider
507
+ # The configuration for the Amazon ECS Managed Instances provider. This
508
+ # configuration specifies how Amazon ECS manages Amazon EC2 instances on
509
+ # your behalf, including the infrastructure role, instance launch
510
+ # template, and tag propagation settings.
511
+ #
504
512
  # @option params [Array<Types::Tag>] :tags
505
513
  # The metadata that you apply to the capacity provider to categorize and
506
514
  # organize them more conveniently. Each tag consists of a key and an
@@ -579,7 +587,8 @@ module Aws::ECS
579
587
  #
580
588
  # resp = client.create_capacity_provider({
581
589
  # name: "String", # required
582
- # auto_scaling_group_provider: { # required
590
+ # cluster: "String",
591
+ # auto_scaling_group_provider: {
583
592
  # auto_scaling_group_arn: "String", # required
584
593
  # managed_scaling: {
585
594
  # status: "ENABLED", # accepts ENABLED, DISABLED
@@ -591,6 +600,74 @@ module Aws::ECS
591
600
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
592
601
  # managed_draining: "ENABLED", # accepts ENABLED, DISABLED
593
602
  # },
603
+ # managed_instances_provider: {
604
+ # infrastructure_role_arn: "String", # required
605
+ # instance_launch_template: { # required
606
+ # ec2_instance_profile_arn: "String", # required
607
+ # network_configuration: { # required
608
+ # subnets: ["String"],
609
+ # security_groups: ["String"],
610
+ # },
611
+ # storage_configuration: {
612
+ # storage_size_gi_b: 1,
613
+ # },
614
+ # monitoring: "BASIC", # accepts BASIC, DETAILED
615
+ # instance_requirements: {
616
+ # v_cpu_count: { # required
617
+ # min: 1, # required
618
+ # max: 1,
619
+ # },
620
+ # memory_mi_b: { # required
621
+ # min: 1, # required
622
+ # max: 1,
623
+ # },
624
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
625
+ # memory_gi_b_per_v_cpu: {
626
+ # min: 1.0,
627
+ # max: 1.0,
628
+ # },
629
+ # excluded_instance_types: ["ExcludedInstanceType"],
630
+ # instance_generations: ["current"], # accepts current, previous
631
+ # spot_max_price_percentage_over_lowest_price: 1,
632
+ # on_demand_max_price_percentage_over_lowest_price: 1,
633
+ # bare_metal: "included", # accepts included, required, excluded
634
+ # burstable_performance: "included", # accepts included, required, excluded
635
+ # require_hibernate_support: false,
636
+ # network_interface_count: {
637
+ # min: 1,
638
+ # max: 1,
639
+ # },
640
+ # local_storage: "included", # accepts included, required, excluded
641
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
642
+ # total_local_storage_gb: {
643
+ # min: 1.0,
644
+ # max: 1.0,
645
+ # },
646
+ # baseline_ebs_bandwidth_mbps: {
647
+ # min: 1,
648
+ # max: 1,
649
+ # },
650
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
651
+ # accelerator_count: {
652
+ # min: 1,
653
+ # max: 1,
654
+ # },
655
+ # accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
656
+ # accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g
657
+ # accelerator_total_memory_mi_b: {
658
+ # min: 1,
659
+ # max: 1,
660
+ # },
661
+ # network_bandwidth_gbps: {
662
+ # min: 1.0,
663
+ # max: 1.0,
664
+ # },
665
+ # allowed_instance_types: ["AllowedInstanceType"],
666
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
667
+ # },
668
+ # },
669
+ # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
670
+ # },
594
671
  # tags: [
595
672
  # {
596
673
  # key: "TagKey",
@@ -603,7 +680,8 @@ module Aws::ECS
603
680
  #
604
681
  # resp.capacity_provider.capacity_provider_arn #=> String
605
682
  # resp.capacity_provider.name #=> String
606
- # resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
683
+ # resp.capacity_provider.cluster #=> String
684
+ # resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
607
685
  # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
608
686
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
609
687
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -612,11 +690,62 @@ module Aws::ECS
612
690
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
613
691
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
614
692
  # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
615
- # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
693
+ # resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
694
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
695
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
696
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
697
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
698
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
699
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
700
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
701
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
702
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
703
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
704
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
705
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
706
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
707
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
708
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
709
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
710
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
711
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
712
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
713
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
714
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
715
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
716
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
717
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
718
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
719
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
720
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
721
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
722
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
723
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
724
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
725
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
726
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
727
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
728
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
729
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
730
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
731
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
732
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
733
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
734
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
735
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
736
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
737
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
738
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
739
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
740
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
741
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
742
+ # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
743
+ # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
616
744
  # resp.capacity_provider.update_status_reason #=> String
617
745
  # resp.capacity_provider.tags #=> Array
618
746
  # resp.capacity_provider.tags[0].key #=> String
619
747
  # resp.capacity_provider.tags[0].value #=> String
748
+ # resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
620
749
  #
621
750
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider AWS API Documentation
622
751
  #
@@ -1093,19 +1222,6 @@ module Aws::ECS
1093
1222
  # Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
1094
1223
  # Developer Guide</i> </i>.
1095
1224
  #
1096
- # The default behavior of `AvailabilityZoneRebalancing` differs between
1097
- # create and update requests:
1098
- #
1099
- # * For create service requests, when no value is specified for
1100
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
1101
- # `ENABLED`.
1102
- #
1103
- # * For update service requests, when no value is specified for
1104
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
1105
- # service’s `AvailabilityZoneRebalancing` value. If the service never
1106
- # had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats
1107
- # this as `DISABLED`.
1108
- #
1109
1225
  #
1110
1226
  #
1111
1227
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
@@ -1115,13 +1231,13 @@ module Aws::ECS
1115
1231
  # your service. For more information, see [Service load balancing][1] in
1116
1232
  # the *Amazon Elastic Container Service Developer Guide*.
1117
1233
  #
1118
- # If the service uses the `ECS` deployment controller and using either
1119
- # an Application Load Balancer or Network Load Balancer, you must
1120
- # specify one or more target group ARNs to attach to the service. The
1121
- # service-linked role is required for services that use multiple target
1122
- # groups. For more information, see [Using service-linked roles for
1123
- # Amazon ECS][2] in the *Amazon Elastic Container Service Developer
1124
- # Guide*.
1234
+ # If the service uses the rolling update (`ECS`) deployment controller
1235
+ # and using either an Application Load Balancer or Network Load
1236
+ # Balancer, you must specify one or more target group ARNs to attach to
1237
+ # the service. The service-linked role is required for services that use
1238
+ # multiple target groups. For more information, see [Using
1239
+ # service-linked roles for Amazon ECS][2] in the *Amazon Elastic
1240
+ # Container Service Developer Guide*.
1125
1241
  #
1126
1242
  # If the service uses the `CODE_DEPLOY` deployment controller, the
1127
1243
  # service is required to use either an Application Load Balancer or
@@ -1301,13 +1417,20 @@ module Aws::ECS
1301
1417
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
1302
1418
  #
1303
1419
  # @option params [Integer] :health_check_grace_period_seconds
1304
- # The period of time, in seconds, that the Amazon Amazon ECS service
1305
- # scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and
1306
- # container health checks after a task has first started. If you do not
1307
- # specify a health check grace period value, the default value of 0 is
1308
- # used. If you do not use any of the health checks, then
1420
+ # The period of time, in seconds, that the Amazon ECS service scheduler
1421
+ # ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
1422
+ # health checks after a task has first started. If you don't specify a
1423
+ # health check grace period value, the default value of `0` is used. If
1424
+ # you don't use any of the health checks, then
1309
1425
  # `healthCheckGracePeriodSeconds` is unused.
1310
1426
  #
1427
+ # If your service's tasks take a while to start and respond to health
1428
+ # checks, you can specify a health check grace period of up to
1429
+ # 2,147,483,647 seconds (about 69 years). During that time, the Amazon
1430
+ # ECS service scheduler ignores health check status. This grace period
1431
+ # can prevent the service scheduler from marking tasks as unhealthy and
1432
+ # stopping them before they have time to come up.
1433
+ #
1311
1434
  # @option params [String] :scheduling_strategy
1312
1435
  # The scheduling strategy to use for the service. For more information,
1313
1436
  # see [Services][1].
@@ -1588,7 +1711,7 @@ module Aws::ECS
1588
1711
  # ],
1589
1712
  # desired_count: 1,
1590
1713
  # client_token: "String",
1591
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1714
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
1592
1715
  # capacity_provider_strategy: [
1593
1716
  # {
1594
1717
  # capacity_provider: "String", # required
@@ -1764,7 +1887,7 @@ module Aws::ECS
1764
1887
  # resp.service.desired_count #=> Integer
1765
1888
  # resp.service.running_count #=> Integer
1766
1889
  # resp.service.pending_count #=> Integer
1767
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1890
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
1768
1891
  # resp.service.capacity_provider_strategy #=> Array
1769
1892
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
1770
1893
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -1801,7 +1924,7 @@ module Aws::ECS
1801
1924
  # resp.service.task_sets[0].running_count #=> Integer
1802
1925
  # resp.service.task_sets[0].created_at #=> Time
1803
1926
  # resp.service.task_sets[0].updated_at #=> Time
1804
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1927
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
1805
1928
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
1806
1929
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
1807
1930
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -1849,7 +1972,7 @@ module Aws::ECS
1849
1972
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
1850
1973
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
1851
1974
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
1852
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1975
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
1853
1976
  # resp.service.deployments[0].platform_version #=> String
1854
1977
  # resp.service.deployments[0].platform_family #=> String
1855
1978
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -2188,7 +2311,7 @@ module Aws::ECS
2188
2311
  # container_port: 1,
2189
2312
  # },
2190
2313
  # ],
2191
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
2314
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
2192
2315
  # capacity_provider_strategy: [
2193
2316
  # {
2194
2317
  # capacity_provider: "String", # required
@@ -2225,7 +2348,7 @@ module Aws::ECS
2225
2348
  # resp.task_set.running_count #=> Integer
2226
2349
  # resp.task_set.created_at #=> Time
2227
2350
  # resp.task_set.updated_at #=> Time
2228
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2351
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
2229
2352
  # resp.task_set.capacity_provider_strategy #=> Array
2230
2353
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
2231
2354
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2460,6 +2583,11 @@ module Aws::ECS
2460
2583
  # The short name or full Amazon Resource Name (ARN) of the capacity
2461
2584
  # provider to delete.
2462
2585
  #
2586
+ # @option params [String] :cluster
2587
+ # The name of the cluster that contains the capacity provider to delete.
2588
+ # Managed instances capacity providers are cluster-scoped and can only
2589
+ # be deleted from their associated cluster.
2590
+ #
2463
2591
  # @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2464
2592
  #
2465
2593
  # * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -2499,13 +2627,15 @@ module Aws::ECS
2499
2627
  #
2500
2628
  # resp = client.delete_capacity_provider({
2501
2629
  # capacity_provider: "String", # required
2630
+ # cluster: "String",
2502
2631
  # })
2503
2632
  #
2504
2633
  # @example Response structure
2505
2634
  #
2506
2635
  # resp.capacity_provider.capacity_provider_arn #=> String
2507
2636
  # resp.capacity_provider.name #=> String
2508
- # resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
2637
+ # resp.capacity_provider.cluster #=> String
2638
+ # resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
2509
2639
  # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
2510
2640
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
2511
2641
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -2514,11 +2644,62 @@ module Aws::ECS
2514
2644
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
2515
2645
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
2516
2646
  # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
2517
- # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
2647
+ # resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
2648
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
2649
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
2650
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
2651
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
2652
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
2653
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
2654
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
2655
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
2656
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
2657
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
2658
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
2659
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
2660
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
2661
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
2662
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
2663
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
2664
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
2665
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
2666
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
2667
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
2668
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
2669
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
2670
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
2671
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
2672
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
2673
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
2674
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
2675
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
2676
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
2677
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
2678
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
2679
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
2680
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
2681
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
2682
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
2683
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
2684
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
2685
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
2686
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
2687
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
2688
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
2689
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
2690
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
2691
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
2692
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
2693
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
2694
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
2695
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
2696
+ # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
2697
+ # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
2518
2698
  # resp.capacity_provider.update_status_reason #=> String
2519
2699
  # resp.capacity_provider.tags #=> Array
2520
2700
  # resp.capacity_provider.tags[0].key #=> String
2521
2701
  # resp.capacity_provider.tags[0].value #=> String
2702
+ # resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
2522
2703
  #
2523
2704
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
2524
2705
  #
@@ -2725,7 +2906,7 @@ module Aws::ECS
2725
2906
  # resp.service.desired_count #=> Integer
2726
2907
  # resp.service.running_count #=> Integer
2727
2908
  # resp.service.pending_count #=> Integer
2728
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2909
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
2729
2910
  # resp.service.capacity_provider_strategy #=> Array
2730
2911
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
2731
2912
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -2762,7 +2943,7 @@ module Aws::ECS
2762
2943
  # resp.service.task_sets[0].running_count #=> Integer
2763
2944
  # resp.service.task_sets[0].created_at #=> Time
2764
2945
  # resp.service.task_sets[0].updated_at #=> Time
2765
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2946
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
2766
2947
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
2767
2948
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
2768
2949
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -2810,7 +2991,7 @@ module Aws::ECS
2810
2991
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
2811
2992
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
2812
2993
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
2813
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2994
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
2814
2995
  # resp.service.deployments[0].platform_version #=> String
2815
2996
  # resp.service.deployments[0].platform_family #=> String
2816
2997
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -3158,11 +3339,11 @@ module Aws::ECS
3158
3339
  # resp.task_definitions[0].placement_constraints[0].type #=> String, one of "memberOf"
3159
3340
  # resp.task_definitions[0].placement_constraints[0].expression #=> String
3160
3341
  # resp.task_definitions[0].compatibilities #=> Array
3161
- # resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3342
+ # resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
3162
3343
  # resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3163
3344
  # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3164
3345
  # resp.task_definitions[0].requires_compatibilities #=> Array
3165
- # resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3346
+ # resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
3166
3347
  # resp.task_definitions[0].cpu #=> String
3167
3348
  # resp.task_definitions[0].memory #=> String
3168
3349
  # resp.task_definitions[0].inference_accelerators #=> Array
@@ -3296,7 +3477,7 @@ module Aws::ECS
3296
3477
  # resp.task_set.running_count #=> Integer
3297
3478
  # resp.task_set.created_at #=> Time
3298
3479
  # resp.task_set.updated_at #=> Time
3299
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3480
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
3300
3481
  # resp.task_set.capacity_provider_strategy #=> Array
3301
3482
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
3302
3483
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -3710,11 +3891,11 @@ module Aws::ECS
3710
3891
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
3711
3892
  # resp.task_definition.placement_constraints[0].expression #=> String
3712
3893
  # resp.task_definition.compatibilities #=> Array
3713
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3894
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
3714
3895
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3715
3896
  # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
3716
3897
  # resp.task_definition.requires_compatibilities #=> Array
3717
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3898
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
3718
3899
  # resp.task_definition.cpu #=> String
3719
3900
  # resp.task_definition.memory #=> String
3720
3901
  # resp.task_definition.inference_accelerators #=> Array
@@ -3749,6 +3930,11 @@ module Aws::ECS
3749
3930
  # capacity providers. Up to `100` capacity providers can be described in
3750
3931
  # an action.
3751
3932
  #
3933
+ # @option params [String] :cluster
3934
+ # The name of the cluster to describe capacity providers for. When
3935
+ # specified, only capacity providers associated with this cluster are
3936
+ # returned, including Amazon ECS Managed Instances capacity providers.
3937
+ #
3752
3938
  # @option params [Array<String>] :include
3753
3939
  # Specifies whether or not you want to see the resource tags for the
3754
3940
  # capacity provider. If `TAGS` is specified, the tags are included in
@@ -3874,6 +4060,7 @@ module Aws::ECS
3874
4060
  #
3875
4061
  # resp = client.describe_capacity_providers({
3876
4062
  # capacity_providers: ["String"],
4063
+ # cluster: "String",
3877
4064
  # include: ["TAGS"], # accepts TAGS
3878
4065
  # max_results: 1,
3879
4066
  # next_token: "String",
@@ -3884,7 +4071,8 @@ module Aws::ECS
3884
4071
  # resp.capacity_providers #=> Array
3885
4072
  # resp.capacity_providers[0].capacity_provider_arn #=> String
3886
4073
  # resp.capacity_providers[0].name #=> String
3887
- # resp.capacity_providers[0].status #=> String, one of "ACTIVE", "INACTIVE"
4074
+ # resp.capacity_providers[0].cluster #=> String
4075
+ # resp.capacity_providers[0].status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
3888
4076
  # resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
3889
4077
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
3890
4078
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -3893,11 +4081,62 @@ module Aws::ECS
3893
4081
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
3894
4082
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
3895
4083
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
3896
- # resp.capacity_providers[0].update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
4084
+ # resp.capacity_providers[0].managed_instances_provider.infrastructure_role_arn #=> String
4085
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
4086
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
4087
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
4088
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
4089
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
4090
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
4091
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
4092
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
4093
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
4094
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
4095
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
4096
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
4097
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
4098
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
4099
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
4100
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
4101
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
4102
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
4103
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
4104
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
4105
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
4106
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
4107
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
4108
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
4109
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
4110
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
4111
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
4112
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
4113
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
4114
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
4115
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
4116
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
4117
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
4118
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
4119
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
4120
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
4121
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
4122
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
4123
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
4124
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
4125
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
4126
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
4127
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
4128
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
4129
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
4130
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
4131
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
4132
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
4133
+ # resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
4134
+ # resp.capacity_providers[0].update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
3897
4135
  # resp.capacity_providers[0].update_status_reason #=> String
3898
4136
  # resp.capacity_providers[0].tags #=> Array
3899
4137
  # resp.capacity_providers[0].tags[0].key #=> String
3900
4138
  # resp.capacity_providers[0].tags[0].value #=> String
4139
+ # resp.capacity_providers[0].type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
3901
4140
  # resp.failures #=> Array
3902
4141
  # resp.failures[0].arn #=> String
3903
4142
  # resp.failures[0].reason #=> String
@@ -4447,7 +4686,7 @@ module Aws::ECS
4447
4686
  # resp.service_revisions[0].capacity_provider_strategy[0].capacity_provider #=> String
4448
4687
  # resp.service_revisions[0].capacity_provider_strategy[0].weight #=> Integer
4449
4688
  # resp.service_revisions[0].capacity_provider_strategy[0].base #=> Integer
4450
- # resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4689
+ # resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
4451
4690
  # resp.service_revisions[0].platform_version #=> String
4452
4691
  # resp.service_revisions[0].platform_family #=> String
4453
4692
  # resp.service_revisions[0].load_balancers #=> Array
@@ -4647,7 +4886,7 @@ module Aws::ECS
4647
4886
  # resp.services[0].desired_count #=> Integer
4648
4887
  # resp.services[0].running_count #=> Integer
4649
4888
  # resp.services[0].pending_count #=> Integer
4650
- # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4889
+ # resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
4651
4890
  # resp.services[0].capacity_provider_strategy #=> Array
4652
4891
  # resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
4653
4892
  # resp.services[0].capacity_provider_strategy[0].weight #=> Integer
@@ -4684,7 +4923,7 @@ module Aws::ECS
4684
4923
  # resp.services[0].task_sets[0].running_count #=> Integer
4685
4924
  # resp.services[0].task_sets[0].created_at #=> Time
4686
4925
  # resp.services[0].task_sets[0].updated_at #=> Time
4687
- # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4926
+ # resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
4688
4927
  # resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
4689
4928
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
4690
4929
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -4732,7 +4971,7 @@ module Aws::ECS
4732
4971
  # resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
4733
4972
  # resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
4734
4973
  # resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
4735
- # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4974
+ # resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
4736
4975
  # resp.services[0].deployments[0].platform_version #=> String
4737
4976
  # resp.services[0].deployments[0].platform_family #=> String
4738
4977
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -5083,11 +5322,11 @@ module Aws::ECS
5083
5322
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
5084
5323
  # resp.task_definition.placement_constraints[0].expression #=> String
5085
5324
  # resp.task_definition.compatibilities #=> Array
5086
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
5325
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
5087
5326
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
5088
5327
  # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
5089
5328
  # resp.task_definition.requires_compatibilities #=> Array
5090
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
5329
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
5091
5330
  # resp.task_definition.cpu #=> String
5092
5331
  # resp.task_definition.memory #=> String
5093
5332
  # resp.task_definition.inference_accelerators #=> Array
@@ -5227,7 +5466,7 @@ module Aws::ECS
5227
5466
  # resp.task_sets[0].running_count #=> Integer
5228
5467
  # resp.task_sets[0].created_at #=> Time
5229
5468
  # resp.task_sets[0].updated_at #=> Time
5230
- # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
5469
+ # resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
5231
5470
  # resp.task_sets[0].capacity_provider_strategy #=> Array
5232
5471
  # resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
5233
5472
  # resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -5425,7 +5664,7 @@ module Aws::ECS
5425
5664
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
5426
5665
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
5427
5666
  # resp.tasks[0].last_status #=> String
5428
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
5667
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
5429
5668
  # resp.tasks[0].memory #=> String
5430
5669
  # resp.tasks[0].overrides.container_overrides #=> Array
5431
5670
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6321,7 +6560,7 @@ module Aws::ECS
6321
6560
  # cluster: "String",
6322
6561
  # next_token: "String",
6323
6562
  # max_results: 1,
6324
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6563
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
6325
6564
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
6326
6565
  # })
6327
6566
  #
@@ -6828,7 +7067,7 @@ module Aws::ECS
6828
7067
  # started_by: "String",
6829
7068
  # service_name: "String",
6830
7069
  # desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
6831
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
7070
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
6832
7071
  # })
6833
7072
  #
6834
7073
  # @example Response structure
@@ -7391,6 +7630,10 @@ module Aws::ECS
7391
7630
  # default capacity provider strategy for your cluster. However, you must
7392
7631
  # specify an empty array (`[]`) to bypass defining a default strategy.
7393
7632
  #
7633
+ # Amazon ECS Managed Instances doesn't support this, because when you
7634
+ # create a capacity provider with Amazon ECS Managed Instances, it
7635
+ # becomes available only within the specified cluster.
7636
+ #
7394
7637
  #
7395
7638
  #
7396
7639
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
@@ -8561,7 +8804,7 @@ module Aws::ECS
8561
8804
  # expression: "String",
8562
8805
  # },
8563
8806
  # ],
8564
- # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
8807
+ # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
8565
8808
  # cpu: "String",
8566
8809
  # memory: "String",
8567
8810
  # tags: [
@@ -8748,11 +8991,11 @@ module Aws::ECS
8748
8991
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
8749
8992
  # resp.task_definition.placement_constraints[0].expression #=> String
8750
8993
  # resp.task_definition.compatibilities #=> Array
8751
- # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8994
+ # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
8752
8995
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
8753
8996
  # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
8754
8997
  # resp.task_definition.requires_compatibilities #=> Array
8755
- # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8998
+ # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
8756
8999
  # resp.task_definition.cpu #=> String
8757
9000
  # resp.task_definition.memory #=> String
8758
9001
  # resp.task_definition.inference_accelerators #=> Array
@@ -9089,7 +9332,7 @@ module Aws::ECS
9089
9332
  # @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
9090
9333
  # The details of the volume that was `configuredAtLaunch`. You can
9091
9334
  # configure the size, volumeType, IOPS, throughput, snapshot and
9092
- # encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
9335
+ # encryption in in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
9093
9336
  # the volume must match the `name` from the task definition.
9094
9337
  #
9095
9338
  #
@@ -9154,7 +9397,7 @@ module Aws::ECS
9154
9397
  # enable_ecs_managed_tags: false,
9155
9398
  # enable_execute_command: false,
9156
9399
  # group: "String",
9157
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
9400
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
9158
9401
  # network_configuration: {
9159
9402
  # awsvpc_configuration: {
9160
9403
  # subnets: ["String"], # required
@@ -9326,7 +9569,7 @@ module Aws::ECS
9326
9569
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
9327
9570
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
9328
9571
  # resp.tasks[0].last_status #=> String
9329
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
9572
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
9330
9573
  # resp.tasks[0].memory #=> String
9331
9574
  # resp.tasks[0].overrides.container_overrides #=> Array
9332
9575
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -9759,7 +10002,7 @@ module Aws::ECS
9759
10002
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
9760
10003
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
9761
10004
  # resp.tasks[0].last_status #=> String
9762
- # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
10005
+ # resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
9763
10006
  # resp.tasks[0].memory #=> String
9764
10007
  # resp.tasks[0].overrides.container_overrides #=> Array
9765
10008
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -10064,7 +10307,7 @@ module Aws::ECS
10064
10307
  # resp.task.inference_accelerators[0].device_name #=> String
10065
10308
  # resp.task.inference_accelerators[0].device_type #=> String
10066
10309
  # resp.task.last_status #=> String
10067
- # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
10310
+ # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
10068
10311
  # resp.task.memory #=> String
10069
10312
  # resp.task.overrides.container_overrides #=> Array
10070
10313
  # resp.task.overrides.container_overrides[0].name #=> String
@@ -10480,13 +10723,27 @@ module Aws::ECS
10480
10723
 
10481
10724
  # Modifies the parameters for a capacity provider.
10482
10725
  #
10726
+ # These changes only apply to new Amazon ECS Managed Instances, or EC2
10727
+ # instances, not existing ones.
10728
+ #
10483
10729
  # @option params [required, String] :name
10484
10730
  # The name of the capacity provider to update.
10485
10731
  #
10486
- # @option params [required, Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
10732
+ # @option params [String] :cluster
10733
+ # The name of the cluster that contains the capacity provider to update.
10734
+ # Managed instances capacity providers are cluster-scoped and can only
10735
+ # be updated within their associated cluster.
10736
+ #
10737
+ # @option params [Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
10487
10738
  # An object that represent the parameters to update for the Auto Scaling
10488
10739
  # group capacity provider.
10489
10740
  #
10741
+ # @option params [Types::UpdateManagedInstancesProviderConfiguration] :managed_instances_provider
10742
+ # The updated configuration for the Amazon ECS Managed Instances
10743
+ # provider. You can modify the infrastructure role, instance launch
10744
+ # template, and tag propagation settings. Changes take effect for new
10745
+ # instances launched after the update.
10746
+ #
10490
10747
  # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10491
10748
  #
10492
10749
  # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -10535,7 +10792,8 @@ module Aws::ECS
10535
10792
  #
10536
10793
  # resp = client.update_capacity_provider({
10537
10794
  # name: "String", # required
10538
- # auto_scaling_group_provider: { # required
10795
+ # cluster: "String",
10796
+ # auto_scaling_group_provider: {
10539
10797
  # managed_scaling: {
10540
10798
  # status: "ENABLED", # accepts ENABLED, DISABLED
10541
10799
  # target_capacity: 1,
@@ -10546,13 +10804,82 @@ module Aws::ECS
10546
10804
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
10547
10805
  # managed_draining: "ENABLED", # accepts ENABLED, DISABLED
10548
10806
  # },
10807
+ # managed_instances_provider: {
10808
+ # infrastructure_role_arn: "String", # required
10809
+ # instance_launch_template: { # required
10810
+ # ec2_instance_profile_arn: "String",
10811
+ # network_configuration: {
10812
+ # subnets: ["String"],
10813
+ # security_groups: ["String"],
10814
+ # },
10815
+ # storage_configuration: {
10816
+ # storage_size_gi_b: 1,
10817
+ # },
10818
+ # monitoring: "BASIC", # accepts BASIC, DETAILED
10819
+ # instance_requirements: {
10820
+ # v_cpu_count: { # required
10821
+ # min: 1, # required
10822
+ # max: 1,
10823
+ # },
10824
+ # memory_mi_b: { # required
10825
+ # min: 1, # required
10826
+ # max: 1,
10827
+ # },
10828
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
10829
+ # memory_gi_b_per_v_cpu: {
10830
+ # min: 1.0,
10831
+ # max: 1.0,
10832
+ # },
10833
+ # excluded_instance_types: ["ExcludedInstanceType"],
10834
+ # instance_generations: ["current"], # accepts current, previous
10835
+ # spot_max_price_percentage_over_lowest_price: 1,
10836
+ # on_demand_max_price_percentage_over_lowest_price: 1,
10837
+ # bare_metal: "included", # accepts included, required, excluded
10838
+ # burstable_performance: "included", # accepts included, required, excluded
10839
+ # require_hibernate_support: false,
10840
+ # network_interface_count: {
10841
+ # min: 1,
10842
+ # max: 1,
10843
+ # },
10844
+ # local_storage: "included", # accepts included, required, excluded
10845
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
10846
+ # total_local_storage_gb: {
10847
+ # min: 1.0,
10848
+ # max: 1.0,
10849
+ # },
10850
+ # baseline_ebs_bandwidth_mbps: {
10851
+ # min: 1,
10852
+ # max: 1,
10853
+ # },
10854
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
10855
+ # accelerator_count: {
10856
+ # min: 1,
10857
+ # max: 1,
10858
+ # },
10859
+ # accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
10860
+ # accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g
10861
+ # accelerator_total_memory_mi_b: {
10862
+ # min: 1,
10863
+ # max: 1,
10864
+ # },
10865
+ # network_bandwidth_gbps: {
10866
+ # min: 1.0,
10867
+ # max: 1.0,
10868
+ # },
10869
+ # allowed_instance_types: ["AllowedInstanceType"],
10870
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
10871
+ # },
10872
+ # },
10873
+ # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
10874
+ # },
10549
10875
  # })
10550
10876
  #
10551
10877
  # @example Response structure
10552
10878
  #
10553
10879
  # resp.capacity_provider.capacity_provider_arn #=> String
10554
10880
  # resp.capacity_provider.name #=> String
10555
- # resp.capacity_provider.status #=> String, one of "ACTIVE", "INACTIVE"
10881
+ # resp.capacity_provider.cluster #=> String
10882
+ # resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
10556
10883
  # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
10557
10884
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
10558
10885
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -10561,11 +10888,62 @@ module Aws::ECS
10561
10888
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
10562
10889
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
10563
10890
  # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
10564
- # resp.capacity_provider.update_status #=> String, one of "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
10891
+ # resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
10892
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
10893
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
10894
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
10895
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
10896
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
10897
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
10898
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
10899
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
10900
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
10901
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
10902
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
10903
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
10904
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
10905
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
10906
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
10907
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
10908
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
10909
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
10910
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
10911
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
10912
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
10913
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
10914
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
10915
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
10916
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
10917
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
10918
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
10919
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
10920
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
10921
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
10922
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
10923
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
10924
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
10925
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
10926
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
10927
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
10928
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
10929
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
10930
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
10931
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
10932
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
10933
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
10934
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
10935
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
10936
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
10937
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
10938
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
10939
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
10940
+ # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
10941
+ # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
10565
10942
  # resp.capacity_provider.update_status_reason #=> String
10566
10943
  # resp.capacity_provider.tags #=> Array
10567
10944
  # resp.capacity_provider.tags[0].key #=> String
10568
10945
  # resp.capacity_provider.tags[0].value #=> String
10946
+ # resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
10569
10947
  #
10570
10948
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
10571
10949
  #
@@ -11711,19 +12089,6 @@ module Aws::ECS
11711
12089
  # Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
11712
12090
  # Developer Guide</i> </i>.
11713
12091
  #
11714
- # The default behavior of `AvailabilityZoneRebalancing` differs between
11715
- # create and update requests:
11716
- #
11717
- # * For create service requests, when no value is specified for
11718
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
11719
- # `ENABLED`.
11720
- #
11721
- # * For update service requests, when no value is specified for
11722
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
11723
- # service’s `AvailabilityZoneRebalancing` value. If the service never
11724
- # had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats
11725
- # this as `DISABLED`.
11726
- #
11727
12092
  # This parameter doesn't trigger a new service deployment.
11728
12093
  #
11729
12094
  #
@@ -12172,7 +12537,7 @@ module Aws::ECS
12172
12537
  # resp.service.desired_count #=> Integer
12173
12538
  # resp.service.running_count #=> Integer
12174
12539
  # resp.service.pending_count #=> Integer
12175
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
12540
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12176
12541
  # resp.service.capacity_provider_strategy #=> Array
12177
12542
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
12178
12543
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -12209,7 +12574,7 @@ module Aws::ECS
12209
12574
  # resp.service.task_sets[0].running_count #=> Integer
12210
12575
  # resp.service.task_sets[0].created_at #=> Time
12211
12576
  # resp.service.task_sets[0].updated_at #=> Time
12212
- # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
12577
+ # resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12213
12578
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
12214
12579
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
12215
12580
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -12257,7 +12622,7 @@ module Aws::ECS
12257
12622
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
12258
12623
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
12259
12624
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
12260
- # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
12625
+ # resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12261
12626
  # resp.service.deployments[0].platform_version #=> String
12262
12627
  # resp.service.deployments[0].platform_family #=> String
12263
12628
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -12451,7 +12816,7 @@ module Aws::ECS
12451
12816
  # resp.task_set.running_count #=> Integer
12452
12817
  # resp.task_set.created_at #=> Time
12453
12818
  # resp.task_set.updated_at #=> Time
12454
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
12819
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12455
12820
  # resp.task_set.capacity_provider_strategy #=> Array
12456
12821
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
12457
12822
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -12775,7 +13140,7 @@ module Aws::ECS
12775
13140
  # resp.task_set.running_count #=> Integer
12776
13141
  # resp.task_set.created_at #=> Time
12777
13142
  # resp.task_set.updated_at #=> Time
12778
- # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
13143
+ # resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12779
13144
  # resp.task_set.capacity_provider_strategy #=> Array
12780
13145
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
12781
13146
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -12837,7 +13202,7 @@ module Aws::ECS
12837
13202
  tracer: tracer
12838
13203
  )
12839
13204
  context[:gem_name] = 'aws-sdk-ecs'
12840
- context[:gem_version] = '1.205.0'
13205
+ context[:gem_version] = '1.206.0'
12841
13206
  Seahorse::Client::Request.new(handlers, context)
12842
13207
  end
12843
13208