aws-sdk-ecs 1.204.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 when no value is specified for
1100
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to 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
@@ -1617,6 +1740,8 @@ module Aws::ECS
1617
1740
  # hook_target_arn: "String",
1618
1741
  # role_arn: "IAMRoleArn",
1619
1742
  # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
1743
+ # hook_details: {
1744
+ # },
1620
1745
  # },
1621
1746
  # ],
1622
1747
  # },
@@ -1762,7 +1887,7 @@ module Aws::ECS
1762
1887
  # resp.service.desired_count #=> Integer
1763
1888
  # resp.service.running_count #=> Integer
1764
1889
  # resp.service.pending_count #=> Integer
1765
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
1890
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
1766
1891
  # resp.service.capacity_provider_strategy #=> Array
1767
1892
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
1768
1893
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -1799,7 +1924,7 @@ module Aws::ECS
1799
1924
  # resp.service.task_sets[0].running_count #=> Integer
1800
1925
  # resp.service.task_sets[0].created_at #=> Time
1801
1926
  # resp.service.task_sets[0].updated_at #=> Time
1802
- # 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"
1803
1928
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
1804
1929
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
1805
1930
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -1847,7 +1972,7 @@ module Aws::ECS
1847
1972
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
1848
1973
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
1849
1974
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
1850
- # 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"
1851
1976
  # resp.service.deployments[0].platform_version #=> String
1852
1977
  # resp.service.deployments[0].platform_family #=> String
1853
1978
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -2186,7 +2311,7 @@ module Aws::ECS
2186
2311
  # container_port: 1,
2187
2312
  # },
2188
2313
  # ],
2189
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
2314
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
2190
2315
  # capacity_provider_strategy: [
2191
2316
  # {
2192
2317
  # capacity_provider: "String", # required
@@ -2223,7 +2348,7 @@ module Aws::ECS
2223
2348
  # resp.task_set.running_count #=> Integer
2224
2349
  # resp.task_set.created_at #=> Time
2225
2350
  # resp.task_set.updated_at #=> Time
2226
- # 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"
2227
2352
  # resp.task_set.capacity_provider_strategy #=> Array
2228
2353
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
2229
2354
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -2458,6 +2583,11 @@ module Aws::ECS
2458
2583
  # The short name or full Amazon Resource Name (ARN) of the capacity
2459
2584
  # provider to delete.
2460
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
+ #
2461
2591
  # @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2462
2592
  #
2463
2593
  # * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -2497,13 +2627,15 @@ module Aws::ECS
2497
2627
  #
2498
2628
  # resp = client.delete_capacity_provider({
2499
2629
  # capacity_provider: "String", # required
2630
+ # cluster: "String",
2500
2631
  # })
2501
2632
  #
2502
2633
  # @example Response structure
2503
2634
  #
2504
2635
  # resp.capacity_provider.capacity_provider_arn #=> String
2505
2636
  # resp.capacity_provider.name #=> String
2506
- # 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"
2507
2639
  # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
2508
2640
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
2509
2641
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -2512,11 +2644,62 @@ module Aws::ECS
2512
2644
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
2513
2645
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
2514
2646
  # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
2515
- # 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"
2516
2698
  # resp.capacity_provider.update_status_reason #=> String
2517
2699
  # resp.capacity_provider.tags #=> Array
2518
2700
  # resp.capacity_provider.tags[0].key #=> String
2519
2701
  # resp.capacity_provider.tags[0].value #=> String
2702
+ # resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
2520
2703
  #
2521
2704
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
2522
2705
  #
@@ -2723,7 +2906,7 @@ module Aws::ECS
2723
2906
  # resp.service.desired_count #=> Integer
2724
2907
  # resp.service.running_count #=> Integer
2725
2908
  # resp.service.pending_count #=> Integer
2726
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
2909
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
2727
2910
  # resp.service.capacity_provider_strategy #=> Array
2728
2911
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
2729
2912
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -2760,7 +2943,7 @@ module Aws::ECS
2760
2943
  # resp.service.task_sets[0].running_count #=> Integer
2761
2944
  # resp.service.task_sets[0].created_at #=> Time
2762
2945
  # resp.service.task_sets[0].updated_at #=> Time
2763
- # 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"
2764
2947
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
2765
2948
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
2766
2949
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -2808,7 +2991,7 @@ module Aws::ECS
2808
2991
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
2809
2992
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
2810
2993
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
2811
- # 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"
2812
2995
  # resp.service.deployments[0].platform_version #=> String
2813
2996
  # resp.service.deployments[0].platform_family #=> String
2814
2997
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -3156,11 +3339,11 @@ module Aws::ECS
3156
3339
  # resp.task_definitions[0].placement_constraints[0].type #=> String, one of "memberOf"
3157
3340
  # resp.task_definitions[0].placement_constraints[0].expression #=> String
3158
3341
  # resp.task_definitions[0].compatibilities #=> Array
3159
- # 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"
3160
3343
  # resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3161
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"
3162
3345
  # resp.task_definitions[0].requires_compatibilities #=> Array
3163
- # 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"
3164
3347
  # resp.task_definitions[0].cpu #=> String
3165
3348
  # resp.task_definitions[0].memory #=> String
3166
3349
  # resp.task_definitions[0].inference_accelerators #=> Array
@@ -3294,7 +3477,7 @@ module Aws::ECS
3294
3477
  # resp.task_set.running_count #=> Integer
3295
3478
  # resp.task_set.created_at #=> Time
3296
3479
  # resp.task_set.updated_at #=> Time
3297
- # 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"
3298
3481
  # resp.task_set.capacity_provider_strategy #=> Array
3299
3482
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
3300
3483
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -3708,11 +3891,11 @@ module Aws::ECS
3708
3891
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
3709
3892
  # resp.task_definition.placement_constraints[0].expression #=> String
3710
3893
  # resp.task_definition.compatibilities #=> Array
3711
- # 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"
3712
3895
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3713
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"
3714
3897
  # resp.task_definition.requires_compatibilities #=> Array
3715
- # 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"
3716
3899
  # resp.task_definition.cpu #=> String
3717
3900
  # resp.task_definition.memory #=> String
3718
3901
  # resp.task_definition.inference_accelerators #=> Array
@@ -3747,6 +3930,11 @@ module Aws::ECS
3747
3930
  # capacity providers. Up to `100` capacity providers can be described in
3748
3931
  # an action.
3749
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
+ #
3750
3938
  # @option params [Array<String>] :include
3751
3939
  # Specifies whether or not you want to see the resource tags for the
3752
3940
  # capacity provider. If `TAGS` is specified, the tags are included in
@@ -3872,6 +4060,7 @@ module Aws::ECS
3872
4060
  #
3873
4061
  # resp = client.describe_capacity_providers({
3874
4062
  # capacity_providers: ["String"],
4063
+ # cluster: "String",
3875
4064
  # include: ["TAGS"], # accepts TAGS
3876
4065
  # max_results: 1,
3877
4066
  # next_token: "String",
@@ -3882,7 +4071,8 @@ module Aws::ECS
3882
4071
  # resp.capacity_providers #=> Array
3883
4072
  # resp.capacity_providers[0].capacity_provider_arn #=> String
3884
4073
  # resp.capacity_providers[0].name #=> String
3885
- # 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"
3886
4076
  # resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
3887
4077
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
3888
4078
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -3891,11 +4081,62 @@ module Aws::ECS
3891
4081
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
3892
4082
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
3893
4083
  # resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
3894
- # 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"
3895
4135
  # resp.capacity_providers[0].update_status_reason #=> String
3896
4136
  # resp.capacity_providers[0].tags #=> Array
3897
4137
  # resp.capacity_providers[0].tags[0].key #=> String
3898
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"
3899
4140
  # resp.failures #=> Array
3900
4141
  # resp.failures[0].arn #=> String
3901
4142
  # resp.failures[0].reason #=> String
@@ -4445,7 +4686,7 @@ module Aws::ECS
4445
4686
  # resp.service_revisions[0].capacity_provider_strategy[0].capacity_provider #=> String
4446
4687
  # resp.service_revisions[0].capacity_provider_strategy[0].weight #=> Integer
4447
4688
  # resp.service_revisions[0].capacity_provider_strategy[0].base #=> Integer
4448
- # 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"
4449
4690
  # resp.service_revisions[0].platform_version #=> String
4450
4691
  # resp.service_revisions[0].platform_family #=> String
4451
4692
  # resp.service_revisions[0].load_balancers #=> Array
@@ -4645,7 +4886,7 @@ module Aws::ECS
4645
4886
  # resp.services[0].desired_count #=> Integer
4646
4887
  # resp.services[0].running_count #=> Integer
4647
4888
  # resp.services[0].pending_count #=> Integer
4648
- # 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"
4649
4890
  # resp.services[0].capacity_provider_strategy #=> Array
4650
4891
  # resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
4651
4892
  # resp.services[0].capacity_provider_strategy[0].weight #=> Integer
@@ -4682,7 +4923,7 @@ module Aws::ECS
4682
4923
  # resp.services[0].task_sets[0].running_count #=> Integer
4683
4924
  # resp.services[0].task_sets[0].created_at #=> Time
4684
4925
  # resp.services[0].task_sets[0].updated_at #=> Time
4685
- # 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"
4686
4927
  # resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
4687
4928
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
4688
4929
  # resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -4730,7 +4971,7 @@ module Aws::ECS
4730
4971
  # resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
4731
4972
  # resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
4732
4973
  # resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
4733
- # 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"
4734
4975
  # resp.services[0].deployments[0].platform_version #=> String
4735
4976
  # resp.services[0].deployments[0].platform_family #=> String
4736
4977
  # resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -5081,11 +5322,11 @@ module Aws::ECS
5081
5322
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
5082
5323
  # resp.task_definition.placement_constraints[0].expression #=> String
5083
5324
  # resp.task_definition.compatibilities #=> Array
5084
- # 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"
5085
5326
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
5086
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"
5087
5328
  # resp.task_definition.requires_compatibilities #=> Array
5088
- # 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"
5089
5330
  # resp.task_definition.cpu #=> String
5090
5331
  # resp.task_definition.memory #=> String
5091
5332
  # resp.task_definition.inference_accelerators #=> Array
@@ -5225,7 +5466,7 @@ module Aws::ECS
5225
5466
  # resp.task_sets[0].running_count #=> Integer
5226
5467
  # resp.task_sets[0].created_at #=> Time
5227
5468
  # resp.task_sets[0].updated_at #=> Time
5228
- # 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"
5229
5470
  # resp.task_sets[0].capacity_provider_strategy #=> Array
5230
5471
  # resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
5231
5472
  # resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -5423,7 +5664,7 @@ module Aws::ECS
5423
5664
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
5424
5665
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
5425
5666
  # resp.tasks[0].last_status #=> String
5426
- # 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"
5427
5668
  # resp.tasks[0].memory #=> String
5428
5669
  # resp.tasks[0].overrides.container_overrides #=> Array
5429
5670
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -6319,7 +6560,7 @@ module Aws::ECS
6319
6560
  # cluster: "String",
6320
6561
  # next_token: "String",
6321
6562
  # max_results: 1,
6322
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
6563
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
6323
6564
  # scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
6324
6565
  # })
6325
6566
  #
@@ -6826,7 +7067,7 @@ module Aws::ECS
6826
7067
  # started_by: "String",
6827
7068
  # service_name: "String",
6828
7069
  # desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
6829
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
7070
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
6830
7071
  # })
6831
7072
  #
6832
7073
  # @example Response structure
@@ -7389,6 +7630,10 @@ module Aws::ECS
7389
7630
  # default capacity provider strategy for your cluster. However, you must
7390
7631
  # specify an empty array (`[]`) to bypass defining a default strategy.
7391
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
+ #
7392
7637
  #
7393
7638
  #
7394
7639
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
@@ -8559,7 +8804,7 @@ module Aws::ECS
8559
8804
  # expression: "String",
8560
8805
  # },
8561
8806
  # ],
8562
- # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
8807
+ # requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
8563
8808
  # cpu: "String",
8564
8809
  # memory: "String",
8565
8810
  # tags: [
@@ -8746,11 +8991,11 @@ module Aws::ECS
8746
8991
  # resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
8747
8992
  # resp.task_definition.placement_constraints[0].expression #=> String
8748
8993
  # resp.task_definition.compatibilities #=> Array
8749
- # 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"
8750
8995
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
8751
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"
8752
8997
  # resp.task_definition.requires_compatibilities #=> Array
8753
- # 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"
8754
8999
  # resp.task_definition.cpu #=> String
8755
9000
  # resp.task_definition.memory #=> String
8756
9001
  # resp.task_definition.inference_accelerators #=> Array
@@ -9152,7 +9397,7 @@ module Aws::ECS
9152
9397
  # enable_ecs_managed_tags: false,
9153
9398
  # enable_execute_command: false,
9154
9399
  # group: "String",
9155
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
9400
+ # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
9156
9401
  # network_configuration: {
9157
9402
  # awsvpc_configuration: {
9158
9403
  # subnets: ["String"], # required
@@ -9324,7 +9569,7 @@ module Aws::ECS
9324
9569
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
9325
9570
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
9326
9571
  # resp.tasks[0].last_status #=> String
9327
- # 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"
9328
9573
  # resp.tasks[0].memory #=> String
9329
9574
  # resp.tasks[0].overrides.container_overrides #=> Array
9330
9575
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -9757,7 +10002,7 @@ module Aws::ECS
9757
10002
  # resp.tasks[0].inference_accelerators[0].device_name #=> String
9758
10003
  # resp.tasks[0].inference_accelerators[0].device_type #=> String
9759
10004
  # resp.tasks[0].last_status #=> String
9760
- # 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"
9761
10006
  # resp.tasks[0].memory #=> String
9762
10007
  # resp.tasks[0].overrides.container_overrides #=> Array
9763
10008
  # resp.tasks[0].overrides.container_overrides[0].name #=> String
@@ -10062,7 +10307,7 @@ module Aws::ECS
10062
10307
  # resp.task.inference_accelerators[0].device_name #=> String
10063
10308
  # resp.task.inference_accelerators[0].device_type #=> String
10064
10309
  # resp.task.last_status #=> String
10065
- # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
10310
+ # resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
10066
10311
  # resp.task.memory #=> String
10067
10312
  # resp.task.overrides.container_overrides #=> Array
10068
10313
  # resp.task.overrides.container_overrides[0].name #=> String
@@ -10478,13 +10723,27 @@ module Aws::ECS
10478
10723
 
10479
10724
  # Modifies the parameters for a capacity provider.
10480
10725
  #
10726
+ # These changes only apply to new Amazon ECS Managed Instances, or EC2
10727
+ # instances, not existing ones.
10728
+ #
10481
10729
  # @option params [required, String] :name
10482
10730
  # The name of the capacity provider to update.
10483
10731
  #
10484
- # @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
10485
10738
  # An object that represent the parameters to update for the Auto Scaling
10486
10739
  # group capacity provider.
10487
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
+ #
10488
10747
  # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10489
10748
  #
10490
10749
  # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -10533,7 +10792,8 @@ module Aws::ECS
10533
10792
  #
10534
10793
  # resp = client.update_capacity_provider({
10535
10794
  # name: "String", # required
10536
- # auto_scaling_group_provider: { # required
10795
+ # cluster: "String",
10796
+ # auto_scaling_group_provider: {
10537
10797
  # managed_scaling: {
10538
10798
  # status: "ENABLED", # accepts ENABLED, DISABLED
10539
10799
  # target_capacity: 1,
@@ -10544,13 +10804,82 @@ module Aws::ECS
10544
10804
  # managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
10545
10805
  # managed_draining: "ENABLED", # accepts ENABLED, DISABLED
10546
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
+ # },
10547
10875
  # })
10548
10876
  #
10549
10877
  # @example Response structure
10550
10878
  #
10551
10879
  # resp.capacity_provider.capacity_provider_arn #=> String
10552
10880
  # resp.capacity_provider.name #=> String
10553
- # 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"
10554
10883
  # resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
10555
10884
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
10556
10885
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
@@ -10559,11 +10888,62 @@ module Aws::ECS
10559
10888
  # resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
10560
10889
  # resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
10561
10890
  # resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
10562
- # 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"
10563
10942
  # resp.capacity_provider.update_status_reason #=> String
10564
10943
  # resp.capacity_provider.tags #=> Array
10565
10944
  # resp.capacity_provider.tags[0].key #=> String
10566
10945
  # resp.capacity_provider.tags[0].value #=> String
10946
+ # resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
10567
10947
  #
10568
10948
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
10569
10949
  #
@@ -11709,19 +12089,6 @@ module Aws::ECS
11709
12089
  # Availability Zones][1] in the <i> <i>Amazon Elastic Container Service
11710
12090
  # Developer Guide</i> </i>.
11711
12091
  #
11712
- # The default behavior of `AvailabilityZoneRebalancing` differs between
11713
- # create and update requests:
11714
- #
11715
- # * For create service requests, when when no value is specified for
11716
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to to
11717
- # `ENABLED`.
11718
- #
11719
- # * For update service requests, when no value is specified for
11720
- # `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing
11721
- # service’s `AvailabilityZoneRebalancing` value. If the service never
11722
- # had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats
11723
- # this as `DISABLED`.
11724
- #
11725
12092
  # This parameter doesn't trigger a new service deployment.
11726
12093
  #
11727
12094
  #
@@ -12005,6 +12372,8 @@ module Aws::ECS
12005
12372
  # hook_target_arn: "String",
12006
12373
  # role_arn: "IAMRoleArn",
12007
12374
  # lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
12375
+ # hook_details: {
12376
+ # },
12008
12377
  # },
12009
12378
  # ],
12010
12379
  # },
@@ -12168,7 +12537,7 @@ module Aws::ECS
12168
12537
  # resp.service.desired_count #=> Integer
12169
12538
  # resp.service.running_count #=> Integer
12170
12539
  # resp.service.pending_count #=> Integer
12171
- # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
12540
+ # resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
12172
12541
  # resp.service.capacity_provider_strategy #=> Array
12173
12542
  # resp.service.capacity_provider_strategy[0].capacity_provider #=> String
12174
12543
  # resp.service.capacity_provider_strategy[0].weight #=> Integer
@@ -12205,7 +12574,7 @@ module Aws::ECS
12205
12574
  # resp.service.task_sets[0].running_count #=> Integer
12206
12575
  # resp.service.task_sets[0].created_at #=> Time
12207
12576
  # resp.service.task_sets[0].updated_at #=> Time
12208
- # 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"
12209
12578
  # resp.service.task_sets[0].capacity_provider_strategy #=> Array
12210
12579
  # resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
12211
12580
  # resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
@@ -12253,7 +12622,7 @@ module Aws::ECS
12253
12622
  # resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
12254
12623
  # resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
12255
12624
  # resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
12256
- # 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"
12257
12626
  # resp.service.deployments[0].platform_version #=> String
12258
12627
  # resp.service.deployments[0].platform_family #=> String
12259
12628
  # resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
@@ -12447,7 +12816,7 @@ module Aws::ECS
12447
12816
  # resp.task_set.running_count #=> Integer
12448
12817
  # resp.task_set.created_at #=> Time
12449
12818
  # resp.task_set.updated_at #=> Time
12450
- # 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"
12451
12820
  # resp.task_set.capacity_provider_strategy #=> Array
12452
12821
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
12453
12822
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -12771,7 +13140,7 @@ module Aws::ECS
12771
13140
  # resp.task_set.running_count #=> Integer
12772
13141
  # resp.task_set.created_at #=> Time
12773
13142
  # resp.task_set.updated_at #=> Time
12774
- # 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"
12775
13144
  # resp.task_set.capacity_provider_strategy #=> Array
12776
13145
  # resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
12777
13146
  # resp.task_set.capacity_provider_strategy[0].weight #=> Integer
@@ -12833,7 +13202,7 @@ module Aws::ECS
12833
13202
  tracer: tracer
12834
13203
  )
12835
13204
  context[:gem_name] = 'aws-sdk-ecs'
12836
- context[:gem_version] = '1.204.0'
13205
+ context[:gem_version] = '1.206.0'
12837
13206
  Seahorse::Client::Request.new(handlers, context)
12838
13207
  end
12839
13208