aws-sdk-ecs 1.205.0 → 1.207.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +452 -62
- data/lib/aws-sdk-ecs/client_api.rb +178 -2
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/types.rb +811 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +149 -9
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +159 -15
- metadata +1 -1
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -483,14 +483,11 @@ module Aws::ECS
|
|
483
483
|
|
484
484
|
# @!group API Operations
|
485
485
|
|
486
|
-
# Creates a
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
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 [
|
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
|
-
#
|
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.
|
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.
|
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
|
#
|
@@ -1301,13 +1430,16 @@ module Aws::ECS
|
|
1301
1430
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
|
1302
1431
|
#
|
1303
1432
|
# @option params [Integer] :health_check_grace_period_seconds
|
1304
|
-
# The period of time, in seconds, that the Amazon
|
1305
|
-
#
|
1306
|
-
#
|
1307
|
-
#
|
1308
|
-
#
|
1433
|
+
# The period of time, in seconds, that the Amazon ECS service scheduler
|
1434
|
+
# ignores unhealthy Elastic Load Balancing, VPC Lattice, and container
|
1435
|
+
# health checks after a task has first started. If you do not specify a
|
1436
|
+
# health check grace period value, the default value of 0 is used. If
|
1437
|
+
# you do not use any of the health checks, then
|
1309
1438
|
# `healthCheckGracePeriodSeconds` is unused.
|
1310
1439
|
#
|
1440
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
1441
|
+
# in the grace period might be stopped to reach the desired count.
|
1442
|
+
#
|
1311
1443
|
# @option params [String] :scheduling_strategy
|
1312
1444
|
# The scheduling strategy to use for the service. For more information,
|
1313
1445
|
# see [Services][1].
|
@@ -1588,7 +1720,7 @@ module Aws::ECS
|
|
1588
1720
|
# ],
|
1589
1721
|
# desired_count: 1,
|
1590
1722
|
# client_token: "String",
|
1591
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
1723
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
1592
1724
|
# capacity_provider_strategy: [
|
1593
1725
|
# {
|
1594
1726
|
# capacity_provider: "String", # required
|
@@ -1764,7 +1896,7 @@ module Aws::ECS
|
|
1764
1896
|
# resp.service.desired_count #=> Integer
|
1765
1897
|
# resp.service.running_count #=> Integer
|
1766
1898
|
# resp.service.pending_count #=> Integer
|
1767
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1899
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1768
1900
|
# resp.service.capacity_provider_strategy #=> Array
|
1769
1901
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
1770
1902
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -1801,7 +1933,7 @@ module Aws::ECS
|
|
1801
1933
|
# resp.service.task_sets[0].running_count #=> Integer
|
1802
1934
|
# resp.service.task_sets[0].created_at #=> Time
|
1803
1935
|
# resp.service.task_sets[0].updated_at #=> Time
|
1804
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1936
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1805
1937
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
1806
1938
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
1807
1939
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -1849,7 +1981,7 @@ module Aws::ECS
|
|
1849
1981
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
1850
1982
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
1851
1983
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
1852
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1984
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1853
1985
|
# resp.service.deployments[0].platform_version #=> String
|
1854
1986
|
# resp.service.deployments[0].platform_family #=> String
|
1855
1987
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -2188,7 +2320,7 @@ module Aws::ECS
|
|
2188
2320
|
# container_port: 1,
|
2189
2321
|
# },
|
2190
2322
|
# ],
|
2191
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
2323
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
2192
2324
|
# capacity_provider_strategy: [
|
2193
2325
|
# {
|
2194
2326
|
# capacity_provider: "String", # required
|
@@ -2225,7 +2357,7 @@ module Aws::ECS
|
|
2225
2357
|
# resp.task_set.running_count #=> Integer
|
2226
2358
|
# resp.task_set.created_at #=> Time
|
2227
2359
|
# resp.task_set.updated_at #=> Time
|
2228
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2360
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2229
2361
|
# resp.task_set.capacity_provider_strategy #=> Array
|
2230
2362
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
2231
2363
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -2460,6 +2592,11 @@ module Aws::ECS
|
|
2460
2592
|
# The short name or full Amazon Resource Name (ARN) of the capacity
|
2461
2593
|
# provider to delete.
|
2462
2594
|
#
|
2595
|
+
# @option params [String] :cluster
|
2596
|
+
# The name of the cluster that contains the capacity provider to delete.
|
2597
|
+
# Managed instances capacity providers are cluster-scoped and can only
|
2598
|
+
# be deleted from their associated cluster.
|
2599
|
+
#
|
2463
2600
|
# @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2464
2601
|
#
|
2465
2602
|
# * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
@@ -2499,13 +2636,15 @@ module Aws::ECS
|
|
2499
2636
|
#
|
2500
2637
|
# resp = client.delete_capacity_provider({
|
2501
2638
|
# capacity_provider: "String", # required
|
2639
|
+
# cluster: "String",
|
2502
2640
|
# })
|
2503
2641
|
#
|
2504
2642
|
# @example Response structure
|
2505
2643
|
#
|
2506
2644
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
2507
2645
|
# resp.capacity_provider.name #=> String
|
2508
|
-
# resp.capacity_provider.
|
2646
|
+
# resp.capacity_provider.cluster #=> String
|
2647
|
+
# resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
2509
2648
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
2510
2649
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
2511
2650
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -2514,11 +2653,62 @@ module Aws::ECS
|
|
2514
2653
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
2515
2654
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2516
2655
|
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
2517
|
-
# resp.capacity_provider.
|
2656
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
|
2657
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
2658
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
2659
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
2660
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
2661
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
2662
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
2663
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
2664
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
2665
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
2666
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
2667
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
2668
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
2669
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
2670
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
2671
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
2672
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
2673
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
2674
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
2675
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
2676
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
2677
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
2678
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
2679
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
2680
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
2681
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
2682
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
2683
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
2684
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
2685
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
2686
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
2687
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
2688
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
2689
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
2690
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
2691
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
2692
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
2693
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
2694
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
2695
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
2696
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
2697
|
+
# 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"
|
2698
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2699
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2700
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
2701
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
2702
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
2703
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
2704
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
2705
|
+
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
2706
|
+
# 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
2707
|
# resp.capacity_provider.update_status_reason #=> String
|
2519
2708
|
# resp.capacity_provider.tags #=> Array
|
2520
2709
|
# resp.capacity_provider.tags[0].key #=> String
|
2521
2710
|
# resp.capacity_provider.tags[0].value #=> String
|
2711
|
+
# resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
2522
2712
|
#
|
2523
2713
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
|
2524
2714
|
#
|
@@ -2725,7 +2915,7 @@ module Aws::ECS
|
|
2725
2915
|
# resp.service.desired_count #=> Integer
|
2726
2916
|
# resp.service.running_count #=> Integer
|
2727
2917
|
# resp.service.pending_count #=> Integer
|
2728
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2918
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2729
2919
|
# resp.service.capacity_provider_strategy #=> Array
|
2730
2920
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
2731
2921
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -2762,7 +2952,7 @@ module Aws::ECS
|
|
2762
2952
|
# resp.service.task_sets[0].running_count #=> Integer
|
2763
2953
|
# resp.service.task_sets[0].created_at #=> Time
|
2764
2954
|
# resp.service.task_sets[0].updated_at #=> Time
|
2765
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2955
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2766
2956
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
2767
2957
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
2768
2958
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -2810,7 +3000,7 @@ module Aws::ECS
|
|
2810
3000
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
2811
3001
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
2812
3002
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
2813
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3003
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2814
3004
|
# resp.service.deployments[0].platform_version #=> String
|
2815
3005
|
# resp.service.deployments[0].platform_family #=> String
|
2816
3006
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -3158,11 +3348,11 @@ module Aws::ECS
|
|
3158
3348
|
# resp.task_definitions[0].placement_constraints[0].type #=> String, one of "memberOf"
|
3159
3349
|
# resp.task_definitions[0].placement_constraints[0].expression #=> String
|
3160
3350
|
# resp.task_definitions[0].compatibilities #=> Array
|
3161
|
-
# resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3351
|
+
# resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3162
3352
|
# resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3163
3353
|
# 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
3354
|
# resp.task_definitions[0].requires_compatibilities #=> Array
|
3165
|
-
# resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3355
|
+
# resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3166
3356
|
# resp.task_definitions[0].cpu #=> String
|
3167
3357
|
# resp.task_definitions[0].memory #=> String
|
3168
3358
|
# resp.task_definitions[0].inference_accelerators #=> Array
|
@@ -3296,7 +3486,7 @@ module Aws::ECS
|
|
3296
3486
|
# resp.task_set.running_count #=> Integer
|
3297
3487
|
# resp.task_set.created_at #=> Time
|
3298
3488
|
# resp.task_set.updated_at #=> Time
|
3299
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3489
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3300
3490
|
# resp.task_set.capacity_provider_strategy #=> Array
|
3301
3491
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
3302
3492
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -3710,11 +3900,11 @@ module Aws::ECS
|
|
3710
3900
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
3711
3901
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
3712
3902
|
# resp.task_definition.compatibilities #=> Array
|
3713
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3903
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3714
3904
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3715
3905
|
# 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
3906
|
# resp.task_definition.requires_compatibilities #=> Array
|
3717
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3907
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3718
3908
|
# resp.task_definition.cpu #=> String
|
3719
3909
|
# resp.task_definition.memory #=> String
|
3720
3910
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -3749,6 +3939,11 @@ module Aws::ECS
|
|
3749
3939
|
# capacity providers. Up to `100` capacity providers can be described in
|
3750
3940
|
# an action.
|
3751
3941
|
#
|
3942
|
+
# @option params [String] :cluster
|
3943
|
+
# The name of the cluster to describe capacity providers for. When
|
3944
|
+
# specified, only capacity providers associated with this cluster are
|
3945
|
+
# returned, including Amazon ECS Managed Instances capacity providers.
|
3946
|
+
#
|
3752
3947
|
# @option params [Array<String>] :include
|
3753
3948
|
# Specifies whether or not you want to see the resource tags for the
|
3754
3949
|
# capacity provider. If `TAGS` is specified, the tags are included in
|
@@ -3874,6 +4069,7 @@ module Aws::ECS
|
|
3874
4069
|
#
|
3875
4070
|
# resp = client.describe_capacity_providers({
|
3876
4071
|
# capacity_providers: ["String"],
|
4072
|
+
# cluster: "String",
|
3877
4073
|
# include: ["TAGS"], # accepts TAGS
|
3878
4074
|
# max_results: 1,
|
3879
4075
|
# next_token: "String",
|
@@ -3884,7 +4080,8 @@ module Aws::ECS
|
|
3884
4080
|
# resp.capacity_providers #=> Array
|
3885
4081
|
# resp.capacity_providers[0].capacity_provider_arn #=> String
|
3886
4082
|
# resp.capacity_providers[0].name #=> String
|
3887
|
-
# resp.capacity_providers[0].
|
4083
|
+
# resp.capacity_providers[0].cluster #=> String
|
4084
|
+
# resp.capacity_providers[0].status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
3888
4085
|
# resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
3889
4086
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
3890
4087
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -3893,11 +4090,62 @@ module Aws::ECS
|
|
3893
4090
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
3894
4091
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
3895
4092
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
3896
|
-
# resp.capacity_providers[0].
|
4093
|
+
# resp.capacity_providers[0].managed_instances_provider.infrastructure_role_arn #=> String
|
4094
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
4095
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
4096
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
4097
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
4098
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
4099
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
4100
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
4101
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
4102
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
4103
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
4104
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
4105
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
4106
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
4107
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
4108
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
4109
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
4110
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
4111
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
4112
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
4113
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
4114
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
4115
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
4116
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
4117
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
4118
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
4119
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
4120
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
4121
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
4122
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
4123
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
4124
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
4125
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
4126
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
4127
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
4128
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
4129
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
4130
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
4131
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
4132
|
+
# 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"
|
4133
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
4134
|
+
# 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"
|
4135
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
4136
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
4137
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
4138
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
4139
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
4140
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
4141
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
4142
|
+
# resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
4143
|
+
# 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
4144
|
# resp.capacity_providers[0].update_status_reason #=> String
|
3898
4145
|
# resp.capacity_providers[0].tags #=> Array
|
3899
4146
|
# resp.capacity_providers[0].tags[0].key #=> String
|
3900
4147
|
# resp.capacity_providers[0].tags[0].value #=> String
|
4148
|
+
# resp.capacity_providers[0].type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
3901
4149
|
# resp.failures #=> Array
|
3902
4150
|
# resp.failures[0].arn #=> String
|
3903
4151
|
# resp.failures[0].reason #=> String
|
@@ -4447,7 +4695,7 @@ module Aws::ECS
|
|
4447
4695
|
# resp.service_revisions[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4448
4696
|
# resp.service_revisions[0].capacity_provider_strategy[0].weight #=> Integer
|
4449
4697
|
# resp.service_revisions[0].capacity_provider_strategy[0].base #=> Integer
|
4450
|
-
# resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4698
|
+
# resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4451
4699
|
# resp.service_revisions[0].platform_version #=> String
|
4452
4700
|
# resp.service_revisions[0].platform_family #=> String
|
4453
4701
|
# resp.service_revisions[0].load_balancers #=> Array
|
@@ -4647,7 +4895,7 @@ module Aws::ECS
|
|
4647
4895
|
# resp.services[0].desired_count #=> Integer
|
4648
4896
|
# resp.services[0].running_count #=> Integer
|
4649
4897
|
# resp.services[0].pending_count #=> Integer
|
4650
|
-
# resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4898
|
+
# resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4651
4899
|
# resp.services[0].capacity_provider_strategy #=> Array
|
4652
4900
|
# resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4653
4901
|
# resp.services[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -4684,7 +4932,7 @@ module Aws::ECS
|
|
4684
4932
|
# resp.services[0].task_sets[0].running_count #=> Integer
|
4685
4933
|
# resp.services[0].task_sets[0].created_at #=> Time
|
4686
4934
|
# resp.services[0].task_sets[0].updated_at #=> Time
|
4687
|
-
# resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4935
|
+
# resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4688
4936
|
# resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
|
4689
4937
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4690
4938
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -4732,7 +4980,7 @@ module Aws::ECS
|
|
4732
4980
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4733
4981
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
4734
4982
|
# 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"
|
4983
|
+
# resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4736
4984
|
# resp.services[0].deployments[0].platform_version #=> String
|
4737
4985
|
# resp.services[0].deployments[0].platform_family #=> String
|
4738
4986
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -5083,11 +5331,11 @@ module Aws::ECS
|
|
5083
5331
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
5084
5332
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
5085
5333
|
# resp.task_definition.compatibilities #=> Array
|
5086
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5334
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5087
5335
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
5088
5336
|
# 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
5337
|
# resp.task_definition.requires_compatibilities #=> Array
|
5090
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5338
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5091
5339
|
# resp.task_definition.cpu #=> String
|
5092
5340
|
# resp.task_definition.memory #=> String
|
5093
5341
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -5227,7 +5475,7 @@ module Aws::ECS
|
|
5227
5475
|
# resp.task_sets[0].running_count #=> Integer
|
5228
5476
|
# resp.task_sets[0].created_at #=> Time
|
5229
5477
|
# resp.task_sets[0].updated_at #=> Time
|
5230
|
-
# resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5478
|
+
# resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5231
5479
|
# resp.task_sets[0].capacity_provider_strategy #=> Array
|
5232
5480
|
# resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
5233
5481
|
# resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -5425,7 +5673,7 @@ module Aws::ECS
|
|
5425
5673
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
5426
5674
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
5427
5675
|
# resp.tasks[0].last_status #=> String
|
5428
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5676
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5429
5677
|
# resp.tasks[0].memory #=> String
|
5430
5678
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
5431
5679
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -6321,7 +6569,7 @@ module Aws::ECS
|
|
6321
6569
|
# cluster: "String",
|
6322
6570
|
# next_token: "String",
|
6323
6571
|
# max_results: 1,
|
6324
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6572
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
6325
6573
|
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
6326
6574
|
# })
|
6327
6575
|
#
|
@@ -6828,7 +7076,7 @@ module Aws::ECS
|
|
6828
7076
|
# started_by: "String",
|
6829
7077
|
# service_name: "String",
|
6830
7078
|
# desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
|
6831
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
7079
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
6832
7080
|
# })
|
6833
7081
|
#
|
6834
7082
|
# @example Response structure
|
@@ -7391,6 +7639,10 @@ module Aws::ECS
|
|
7391
7639
|
# default capacity provider strategy for your cluster. However, you must
|
7392
7640
|
# specify an empty array (`[]`) to bypass defining a default strategy.
|
7393
7641
|
#
|
7642
|
+
# Amazon ECS Managed Instances doesn't support this, because when you
|
7643
|
+
# create a capacity provider with Amazon ECS Managed Instances, it
|
7644
|
+
# becomes available only within the specified cluster.
|
7645
|
+
#
|
7394
7646
|
#
|
7395
7647
|
#
|
7396
7648
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
|
@@ -8561,7 +8813,7 @@ module Aws::ECS
|
|
8561
8813
|
# expression: "String",
|
8562
8814
|
# },
|
8563
8815
|
# ],
|
8564
|
-
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
|
8816
|
+
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
8565
8817
|
# cpu: "String",
|
8566
8818
|
# memory: "String",
|
8567
8819
|
# tags: [
|
@@ -8748,11 +9000,11 @@ module Aws::ECS
|
|
8748
9000
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
8749
9001
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
8750
9002
|
# resp.task_definition.compatibilities #=> Array
|
8751
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
9003
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
8752
9004
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
8753
9005
|
# 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
9006
|
# resp.task_definition.requires_compatibilities #=> Array
|
8755
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
9007
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
8756
9008
|
# resp.task_definition.cpu #=> String
|
8757
9009
|
# resp.task_definition.memory #=> String
|
8758
9010
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -9154,7 +9406,7 @@ module Aws::ECS
|
|
9154
9406
|
# enable_ecs_managed_tags: false,
|
9155
9407
|
# enable_execute_command: false,
|
9156
9408
|
# group: "String",
|
9157
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
9409
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
9158
9410
|
# network_configuration: {
|
9159
9411
|
# awsvpc_configuration: {
|
9160
9412
|
# subnets: ["String"], # required
|
@@ -9326,7 +9578,7 @@ module Aws::ECS
|
|
9326
9578
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
9327
9579
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
9328
9580
|
# resp.tasks[0].last_status #=> String
|
9329
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
9581
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
9330
9582
|
# resp.tasks[0].memory #=> String
|
9331
9583
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
9332
9584
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -9759,7 +10011,7 @@ module Aws::ECS
|
|
9759
10011
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
9760
10012
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
9761
10013
|
# resp.tasks[0].last_status #=> String
|
9762
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
10014
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
9763
10015
|
# resp.tasks[0].memory #=> String
|
9764
10016
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
9765
10017
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -10064,7 +10316,7 @@ module Aws::ECS
|
|
10064
10316
|
# resp.task.inference_accelerators[0].device_name #=> String
|
10065
10317
|
# resp.task.inference_accelerators[0].device_type #=> String
|
10066
10318
|
# resp.task.last_status #=> String
|
10067
|
-
# resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
10319
|
+
# resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
10068
10320
|
# resp.task.memory #=> String
|
10069
10321
|
# resp.task.overrides.container_overrides #=> Array
|
10070
10322
|
# resp.task.overrides.container_overrides[0].name #=> String
|
@@ -10480,13 +10732,27 @@ module Aws::ECS
|
|
10480
10732
|
|
10481
10733
|
# Modifies the parameters for a capacity provider.
|
10482
10734
|
#
|
10735
|
+
# These changes only apply to new Amazon ECS Managed Instances, or EC2
|
10736
|
+
# instances, not existing ones.
|
10737
|
+
#
|
10483
10738
|
# @option params [required, String] :name
|
10484
10739
|
# The name of the capacity provider to update.
|
10485
10740
|
#
|
10486
|
-
# @option params [
|
10741
|
+
# @option params [String] :cluster
|
10742
|
+
# The name of the cluster that contains the capacity provider to update.
|
10743
|
+
# Managed instances capacity providers are cluster-scoped and can only
|
10744
|
+
# be updated within their associated cluster.
|
10745
|
+
#
|
10746
|
+
# @option params [Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
|
10487
10747
|
# An object that represent the parameters to update for the Auto Scaling
|
10488
10748
|
# group capacity provider.
|
10489
10749
|
#
|
10750
|
+
# @option params [Types::UpdateManagedInstancesProviderConfiguration] :managed_instances_provider
|
10751
|
+
# The updated configuration for the Amazon ECS Managed Instances
|
10752
|
+
# provider. You can modify the infrastructure role, instance launch
|
10753
|
+
# template, and tag propagation settings. Changes take effect for new
|
10754
|
+
# instances launched after the update.
|
10755
|
+
#
|
10490
10756
|
# @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10491
10757
|
#
|
10492
10758
|
# * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
@@ -10535,7 +10801,8 @@ module Aws::ECS
|
|
10535
10801
|
#
|
10536
10802
|
# resp = client.update_capacity_provider({
|
10537
10803
|
# name: "String", # required
|
10538
|
-
#
|
10804
|
+
# cluster: "String",
|
10805
|
+
# auto_scaling_group_provider: {
|
10539
10806
|
# managed_scaling: {
|
10540
10807
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
10541
10808
|
# target_capacity: 1,
|
@@ -10546,13 +10813,82 @@ module Aws::ECS
|
|
10546
10813
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
10547
10814
|
# managed_draining: "ENABLED", # accepts ENABLED, DISABLED
|
10548
10815
|
# },
|
10816
|
+
# managed_instances_provider: {
|
10817
|
+
# infrastructure_role_arn: "String", # required
|
10818
|
+
# instance_launch_template: { # required
|
10819
|
+
# ec2_instance_profile_arn: "String",
|
10820
|
+
# network_configuration: {
|
10821
|
+
# subnets: ["String"],
|
10822
|
+
# security_groups: ["String"],
|
10823
|
+
# },
|
10824
|
+
# storage_configuration: {
|
10825
|
+
# storage_size_gi_b: 1,
|
10826
|
+
# },
|
10827
|
+
# monitoring: "BASIC", # accepts BASIC, DETAILED
|
10828
|
+
# instance_requirements: {
|
10829
|
+
# v_cpu_count: { # required
|
10830
|
+
# min: 1, # required
|
10831
|
+
# max: 1,
|
10832
|
+
# },
|
10833
|
+
# memory_mi_b: { # required
|
10834
|
+
# min: 1, # required
|
10835
|
+
# max: 1,
|
10836
|
+
# },
|
10837
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
10838
|
+
# memory_gi_b_per_v_cpu: {
|
10839
|
+
# min: 1.0,
|
10840
|
+
# max: 1.0,
|
10841
|
+
# },
|
10842
|
+
# excluded_instance_types: ["ExcludedInstanceType"],
|
10843
|
+
# instance_generations: ["current"], # accepts current, previous
|
10844
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
10845
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
10846
|
+
# bare_metal: "included", # accepts included, required, excluded
|
10847
|
+
# burstable_performance: "included", # accepts included, required, excluded
|
10848
|
+
# require_hibernate_support: false,
|
10849
|
+
# network_interface_count: {
|
10850
|
+
# min: 1,
|
10851
|
+
# max: 1,
|
10852
|
+
# },
|
10853
|
+
# local_storage: "included", # accepts included, required, excluded
|
10854
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
10855
|
+
# total_local_storage_gb: {
|
10856
|
+
# min: 1.0,
|
10857
|
+
# max: 1.0,
|
10858
|
+
# },
|
10859
|
+
# baseline_ebs_bandwidth_mbps: {
|
10860
|
+
# min: 1,
|
10861
|
+
# max: 1,
|
10862
|
+
# },
|
10863
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
10864
|
+
# accelerator_count: {
|
10865
|
+
# min: 1,
|
10866
|
+
# max: 1,
|
10867
|
+
# },
|
10868
|
+
# accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
|
10869
|
+
# accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g
|
10870
|
+
# accelerator_total_memory_mi_b: {
|
10871
|
+
# min: 1,
|
10872
|
+
# max: 1,
|
10873
|
+
# },
|
10874
|
+
# network_bandwidth_gbps: {
|
10875
|
+
# min: 1.0,
|
10876
|
+
# max: 1.0,
|
10877
|
+
# },
|
10878
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
10879
|
+
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
10880
|
+
# },
|
10881
|
+
# },
|
10882
|
+
# propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
|
10883
|
+
# },
|
10549
10884
|
# })
|
10550
10885
|
#
|
10551
10886
|
# @example Response structure
|
10552
10887
|
#
|
10553
10888
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
10554
10889
|
# resp.capacity_provider.name #=> String
|
10555
|
-
# resp.capacity_provider.
|
10890
|
+
# resp.capacity_provider.cluster #=> String
|
10891
|
+
# resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
10556
10892
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
10557
10893
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
10558
10894
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -10561,11 +10897,62 @@ module Aws::ECS
|
|
10561
10897
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
10562
10898
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
10563
10899
|
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
10564
|
-
# resp.capacity_provider.
|
10900
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
|
10901
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
10902
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
10903
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
10904
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
10905
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
10906
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
10907
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
10908
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
10909
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
10910
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
10911
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
10912
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
10913
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
10914
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
10915
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
10916
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
10917
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
10918
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
10919
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
10920
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
10921
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
10922
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
10923
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
10924
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
10925
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
10926
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
10927
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
10928
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
10929
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
10930
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
10931
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
10932
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
10933
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
10934
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
10935
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
10936
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
10937
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
10938
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
10939
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
10940
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
10941
|
+
# 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"
|
10942
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
10943
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
10944
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
10945
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
10946
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
10947
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
10948
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
10949
|
+
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
10950
|
+
# 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
10951
|
# resp.capacity_provider.update_status_reason #=> String
|
10566
10952
|
# resp.capacity_provider.tags #=> Array
|
10567
10953
|
# resp.capacity_provider.tags[0].key #=> String
|
10568
10954
|
# resp.capacity_provider.tags[0].value #=> String
|
10955
|
+
# resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
10569
10956
|
#
|
10570
10957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
|
10571
10958
|
#
|
@@ -11795,6 +12182,9 @@ module Aws::ECS
|
|
11795
12182
|
# can prevent the service scheduler from marking tasks as unhealthy and
|
11796
12183
|
# stopping them before they have time to come up.
|
11797
12184
|
#
|
12185
|
+
# If your service has more running tasks than desired, unhealthy tasks
|
12186
|
+
# in the grace period might be stopped to reach the desired count.
|
12187
|
+
#
|
11798
12188
|
# This parameter doesn't trigger a new service deployment.
|
11799
12189
|
#
|
11800
12190
|
# @option params [Types::DeploymentController] :deployment_controller
|
@@ -12172,7 +12562,7 @@ module Aws::ECS
|
|
12172
12562
|
# resp.service.desired_count #=> Integer
|
12173
12563
|
# resp.service.running_count #=> Integer
|
12174
12564
|
# resp.service.pending_count #=> Integer
|
12175
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12565
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12176
12566
|
# resp.service.capacity_provider_strategy #=> Array
|
12177
12567
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
12178
12568
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12209,7 +12599,7 @@ module Aws::ECS
|
|
12209
12599
|
# resp.service.task_sets[0].running_count #=> Integer
|
12210
12600
|
# resp.service.task_sets[0].created_at #=> Time
|
12211
12601
|
# resp.service.task_sets[0].updated_at #=> Time
|
12212
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12602
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12213
12603
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
12214
12604
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
12215
12605
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -12257,7 +12647,7 @@ module Aws::ECS
|
|
12257
12647
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
12258
12648
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
12259
12649
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
12260
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12650
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12261
12651
|
# resp.service.deployments[0].platform_version #=> String
|
12262
12652
|
# resp.service.deployments[0].platform_family #=> String
|
12263
12653
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -12451,7 +12841,7 @@ module Aws::ECS
|
|
12451
12841
|
# resp.task_set.running_count #=> Integer
|
12452
12842
|
# resp.task_set.created_at #=> Time
|
12453
12843
|
# resp.task_set.updated_at #=> Time
|
12454
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12844
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12455
12845
|
# resp.task_set.capacity_provider_strategy #=> Array
|
12456
12846
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
12457
12847
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12775,7 +13165,7 @@ module Aws::ECS
|
|
12775
13165
|
# resp.task_set.running_count #=> Integer
|
12776
13166
|
# resp.task_set.created_at #=> Time
|
12777
13167
|
# resp.task_set.updated_at #=> Time
|
12778
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
13168
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12779
13169
|
# resp.task_set.capacity_provider_strategy #=> Array
|
12780
13170
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
12781
13171
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12837,7 +13227,7 @@ module Aws::ECS
|
|
12837
13227
|
tracer: tracer
|
12838
13228
|
)
|
12839
13229
|
context[:gem_name] = 'aws-sdk-ecs'
|
12840
|
-
context[:gem_version] = '1.
|
13230
|
+
context[:gem_version] = '1.207.0'
|
12841
13231
|
Seahorse::Client::Request.new(handlers, context)
|
12842
13232
|
end
|
12843
13233
|
|