aws-sdk 2.1012.0 → 2.1016.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.
- package/CHANGELOG.md +27 -1
- package/README.md +1 -1
- package/apis/auditmanager-2017-07-25.min.json +168 -12
- package/apis/auditmanager-2017-07-25.paginators.json +5 -0
- package/apis/autoscaling-2011-01-01.min.json +240 -94
- package/apis/chime-2018-05-01.min.json +4 -2
- package/apis/chime-sdk-identity-2021-04-20.min.json +362 -13
- package/apis/chime-sdk-identity-2021-04-20.paginators.json +5 -0
- package/apis/chime-sdk-messaging-2021-05-15.min.json +180 -29
- package/apis/ec2-2016-11-15.min.json +1331 -800
- package/apis/ec2-2016-11-15.paginators.json +12 -0
- package/apis/emr-containers-2020-10-01.min.json +18 -6
- package/apis/quicksight-2018-04-01.min.json +27 -21
- package/apis/rds-2014-10-31.min.json +412 -317
- package/apis/route53resolver-2018-04-01.min.json +85 -13
- package/apis/route53resolver-2018-04-01.paginators.json +6 -0
- package/apis/sagemaker-2017-07-24.min.json +924 -792
- package/apis/textract-2018-06-27.min.json +107 -43
- package/clients/auditmanager.d.ts +486 -305
- package/clients/autoscaling.d.ts +217 -15
- package/clients/chime.d.ts +8 -0
- package/clients/chimesdkidentity.d.ts +314 -2
- package/clients/chimesdkmessaging.d.ts +146 -15
- package/clients/connect.d.ts +11 -11
- package/clients/ec2.d.ts +548 -4
- package/clients/eks.d.ts +1 -1
- package/clients/emrcontainers.d.ts +18 -3
- package/clients/finspace.js +0 -1
- package/clients/finspacedata.js +0 -1
- package/clients/lexmodelsv2.js +0 -1
- package/clients/lookoutmetrics.js +0 -1
- package/clients/quicksight.d.ts +12 -2
- package/clients/rds.d.ts +361 -200
- package/clients/route53resolver.d.ts +94 -0
- package/clients/sagemaker.d.ts +152 -8
- package/clients/textract.d.ts +98 -6
- package/dist/aws-sdk-core-react-native.js +57 -22
- package/dist/aws-sdk-react-native.js +299 -340
- package/dist/aws-sdk.js +2134 -1234
- package/dist/aws-sdk.min.js +87 -87
- package/lib/core.js +1 -1
- package/lib/protocol/rest_json.js +6 -12
- package/lib/region_config.js +44 -1
- package/lib/region_config_data.json +81 -0
- package/lib/request.js +4 -6
- package/lib/service.js +1 -1
- package/package.json +2 -2
- package/scripts/region-checker/allowlist.js +4 -0
- package/lib/services/finspace.js +0 -23
- package/lib/services/finspacedata.js +0 -23
- package/lib/services/lexmodelsv2.js +0 -23
- package/lib/services/lookoutmetrics.js +0 -22
package/clients/autoscaling.d.ts
CHANGED
|
@@ -473,6 +473,32 @@ declare class AutoScaling extends Service {
|
|
|
473
473
|
updateAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
474
474
|
}
|
|
475
475
|
declare namespace AutoScaling {
|
|
476
|
+
export interface AcceleratorCountRequest {
|
|
477
|
+
/**
|
|
478
|
+
* The minimum value.
|
|
479
|
+
*/
|
|
480
|
+
Min?: NullablePositiveInteger;
|
|
481
|
+
/**
|
|
482
|
+
* The maximum value.
|
|
483
|
+
*/
|
|
484
|
+
Max?: NullablePositiveInteger;
|
|
485
|
+
}
|
|
486
|
+
export type AcceleratorManufacturer = "nvidia"|"amd"|"amazon-web-services"|"xilinx"|string;
|
|
487
|
+
export type AcceleratorManufacturers = AcceleratorManufacturer[];
|
|
488
|
+
export type AcceleratorName = "a100"|"v100"|"k80"|"t4"|"m60"|"radeon-pro-v520"|"vu9p"|string;
|
|
489
|
+
export type AcceleratorNames = AcceleratorName[];
|
|
490
|
+
export interface AcceleratorTotalMemoryMiBRequest {
|
|
491
|
+
/**
|
|
492
|
+
* The memory minimum in MiB.
|
|
493
|
+
*/
|
|
494
|
+
Min?: NullablePositiveInteger;
|
|
495
|
+
/**
|
|
496
|
+
* The memory maximum in MiB.
|
|
497
|
+
*/
|
|
498
|
+
Max?: NullablePositiveInteger;
|
|
499
|
+
}
|
|
500
|
+
export type AcceleratorType = "gpu"|"fpga"|"inference"|string;
|
|
501
|
+
export type AcceleratorTypes = AcceleratorType[];
|
|
476
502
|
export type Activities = Activity[];
|
|
477
503
|
export interface ActivitiesType {
|
|
478
504
|
/**
|
|
@@ -720,6 +746,10 @@ declare namespace AutoScaling {
|
|
|
720
746
|
* Reserved.
|
|
721
747
|
*/
|
|
722
748
|
Context?: Context;
|
|
749
|
+
/**
|
|
750
|
+
* The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib
|
|
751
|
+
*/
|
|
752
|
+
DesiredCapacityType?: XmlStringMaxLen255;
|
|
723
753
|
}
|
|
724
754
|
export type AutoScalingGroupDesiredCapacity = number;
|
|
725
755
|
export type AutoScalingGroupMaxSize = number;
|
|
@@ -811,6 +841,17 @@ declare namespace AutoScaling {
|
|
|
811
841
|
}
|
|
812
842
|
export type AutoScalingNotificationTypes = XmlStringMaxLen255[];
|
|
813
843
|
export type AvailabilityZones = XmlStringMaxLen255[];
|
|
844
|
+
export type BareMetal = "included"|"excluded"|"required"|string;
|
|
845
|
+
export interface BaselineEbsBandwidthMbpsRequest {
|
|
846
|
+
/**
|
|
847
|
+
* The minimum value in Mbps.
|
|
848
|
+
*/
|
|
849
|
+
Min?: NullablePositiveInteger;
|
|
850
|
+
/**
|
|
851
|
+
* The maximum value in Mbps.
|
|
852
|
+
*/
|
|
853
|
+
Max?: NullablePositiveInteger;
|
|
854
|
+
}
|
|
814
855
|
export interface BatchDeleteScheduledActionAnswer {
|
|
815
856
|
/**
|
|
816
857
|
* The names of the scheduled actions that could not be deleted, including an error message.
|
|
@@ -868,6 +909,7 @@ declare namespace AutoScaling {
|
|
|
868
909
|
NoDevice?: NoDevice;
|
|
869
910
|
}
|
|
870
911
|
export type BlockDeviceMappings = BlockDeviceMapping[];
|
|
912
|
+
export type BurstablePerformance = "included"|"excluded"|"required"|string;
|
|
871
913
|
export interface CancelInstanceRefreshAnswer {
|
|
872
914
|
/**
|
|
873
915
|
* The instance refresh ID.
|
|
@@ -920,6 +962,8 @@ declare namespace AutoScaling {
|
|
|
920
962
|
}
|
|
921
963
|
export type Context = string;
|
|
922
964
|
export type Cooldown = number;
|
|
965
|
+
export type CpuManufacturer = "intel"|"amd"|"amazon-web-services"|string;
|
|
966
|
+
export type CpuManufacturers = CpuManufacturer[];
|
|
923
967
|
export interface CreateAutoScalingGroupType {
|
|
924
968
|
/**
|
|
925
969
|
* The name of the Auto Scaling group. This name must be unique per Region per account.
|
|
@@ -934,7 +978,7 @@ declare namespace AutoScaling {
|
|
|
934
978
|
*/
|
|
935
979
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
936
980
|
/**
|
|
937
|
-
* An embedded object that specifies a mixed instances policy.
|
|
981
|
+
* An embedded object that specifies a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
|
|
938
982
|
*/
|
|
939
983
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
940
984
|
/**
|
|
@@ -1017,6 +1061,10 @@ declare namespace AutoScaling {
|
|
|
1017
1061
|
* Reserved.
|
|
1018
1062
|
*/
|
|
1019
1063
|
Context?: Context;
|
|
1064
|
+
/**
|
|
1065
|
+
* The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib
|
|
1066
|
+
*/
|
|
1067
|
+
DesiredCapacityType?: XmlStringMaxLen255;
|
|
1020
1068
|
}
|
|
1021
1069
|
export interface CreateLaunchConfigurationType {
|
|
1022
1070
|
/**
|
|
@@ -1624,6 +1672,8 @@ declare namespace AutoScaling {
|
|
|
1624
1672
|
ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
|
|
1625
1673
|
}
|
|
1626
1674
|
export type EstimatedInstanceWarmup = number;
|
|
1675
|
+
export type ExcludedInstance = string;
|
|
1676
|
+
export type ExcludedInstanceTypes = ExcludedInstance[];
|
|
1627
1677
|
export interface ExecutePolicyType {
|
|
1628
1678
|
/**
|
|
1629
1679
|
* The name of the Auto Scaling group.
|
|
@@ -1679,11 +1729,11 @@ declare namespace AutoScaling {
|
|
|
1679
1729
|
export type FailedScheduledUpdateGroupActionRequests = FailedScheduledUpdateGroupActionRequest[];
|
|
1680
1730
|
export interface Filter {
|
|
1681
1731
|
/**
|
|
1682
|
-
* The name of the filter. The valid values for Name depend on
|
|
1732
|
+
* The name of the filter. The valid values for Name depend on which API operation you're using with the filter (DescribeAutoScalingGroups or DescribeTags). DescribeAutoScalingGroups Valid values for Name include the following: tag-key - Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys. tag-value - Accepts tag values. The results only include information about the Auto Scaling groups associated with these tag values. tag:<key> - Accepts the key/value combination of the tag. Use the tag key in the filter name and the tag value as the filter value. The results only include information about the Auto Scaling groups associated with the specified key/value combination. DescribeTags Valid values for Name include the following: auto-scaling-group - Accepts the names of Auto Scaling groups. The results only include information about the tags associated with these Auto Scaling groups. key - Accepts tag keys. The results only include information about the tags associated with these tag keys. value - Accepts tag values. The results only include information about the tags associated with these tag values. propagate-at-launch - Accepts a Boolean value, which specifies whether tags propagate to instances at launch. The results only include information about the tags associated with the specified Boolean value.
|
|
1683
1733
|
*/
|
|
1684
1734
|
Name?: XmlString;
|
|
1685
1735
|
/**
|
|
1686
|
-
* One or more filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. For example, specify "tag:environment" for the filter name and "production,development" for the filter values to find Auto Scaling groups with the tag "environment=production" or "environment=development".
|
|
1736
|
+
* One or more filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. For example, specify "tag:environment" for the filter name and "production,development" for the filter values to find Auto Scaling groups with the tag "environment=production" or "environment=development".
|
|
1687
1737
|
*/
|
|
1688
1738
|
Values?: Values;
|
|
1689
1739
|
}
|
|
@@ -1764,6 +1814,8 @@ declare namespace AutoScaling {
|
|
|
1764
1814
|
*/
|
|
1765
1815
|
WeightedCapacity?: XmlStringMaxLen32;
|
|
1766
1816
|
}
|
|
1817
|
+
export type InstanceGeneration = "current"|"previous"|string;
|
|
1818
|
+
export type InstanceGenerations = InstanceGeneration[];
|
|
1767
1819
|
export type InstanceIds = XmlStringMaxLen19[];
|
|
1768
1820
|
export type InstanceMetadataEndpointState = "disabled"|"enabled"|string;
|
|
1769
1821
|
export type InstanceMetadataHttpPutResponseHopLimit = number;
|
|
@@ -1865,30 +1917,116 @@ declare namespace AutoScaling {
|
|
|
1865
1917
|
InstancesToUpdate?: InstancesToUpdate;
|
|
1866
1918
|
}
|
|
1867
1919
|
export type InstanceRefreshes = InstanceRefresh[];
|
|
1920
|
+
export interface InstanceRequirements {
|
|
1921
|
+
/**
|
|
1922
|
+
* The minimum and maximum number of vCPUs for an instance type.
|
|
1923
|
+
*/
|
|
1924
|
+
VCpuCount: VCpuCountRequest;
|
|
1925
|
+
/**
|
|
1926
|
+
* The minimum and maximum instance memory size for an instance type, in MiB.
|
|
1927
|
+
*/
|
|
1928
|
+
MemoryMiB: MemoryMiBRequest;
|
|
1929
|
+
/**
|
|
1930
|
+
* Lists which specific CPU manufacturers to include. For instance types with Intel CPUs, specify intel. For instance types with AMD CPUs, specify amd. For instance types with Amazon Web Services CPUs, specify amazon-web-services. Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
1931
|
+
*/
|
|
1932
|
+
CpuManufacturers?: CpuManufacturers;
|
|
1933
|
+
/**
|
|
1934
|
+
* The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum
|
|
1935
|
+
*/
|
|
1936
|
+
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
1937
|
+
/**
|
|
1938
|
+
* Lists which instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Default: No excluded instance types
|
|
1939
|
+
*/
|
|
1940
|
+
ExcludedInstanceTypes?: ExcludedInstanceTypes;
|
|
1941
|
+
/**
|
|
1942
|
+
* Indicates whether current or previous generation instance types are included. For current generation instance types, specify current. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. For previous generation instance types, specify previous. Default: Any current or previous generation
|
|
1943
|
+
*/
|
|
1944
|
+
InstanceGenerations?: InstanceGenerations;
|
|
1945
|
+
/**
|
|
1946
|
+
* The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default: 100
|
|
1947
|
+
*/
|
|
1948
|
+
SpotMaxPricePercentageOverLowestPrice?: NullablePositiveInteger;
|
|
1949
|
+
/**
|
|
1950
|
+
* The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default: 20
|
|
1951
|
+
*/
|
|
1952
|
+
OnDemandMaxPricePercentageOverLowestPrice?: NullablePositiveInteger;
|
|
1953
|
+
/**
|
|
1954
|
+
* Indicates whether bare metal instance types are included, excluded, or required. Default: excluded
|
|
1955
|
+
*/
|
|
1956
|
+
BareMetal?: BareMetal;
|
|
1957
|
+
/**
|
|
1958
|
+
* Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances. Default: excluded
|
|
1959
|
+
*/
|
|
1960
|
+
BurstablePerformance?: BurstablePerformance;
|
|
1961
|
+
/**
|
|
1962
|
+
* Indicates whether instance types must provide On-Demand Instance hibernation support. Default: false
|
|
1963
|
+
*/
|
|
1964
|
+
RequireHibernateSupport?: NullableBoolean;
|
|
1965
|
+
/**
|
|
1966
|
+
* The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum
|
|
1967
|
+
*/
|
|
1968
|
+
NetworkInterfaceCount?: NetworkInterfaceCountRequest;
|
|
1969
|
+
/**
|
|
1970
|
+
* Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances. Default: included
|
|
1971
|
+
*/
|
|
1972
|
+
LocalStorage?: LocalStorage;
|
|
1973
|
+
/**
|
|
1974
|
+
* Indicates the type of local storage that is required. For instance types with hard disk drive (HDD) storage, specify hdd. For instance types with solid state drive (SSD) storage, specify sdd. Default: Any local storage type
|
|
1975
|
+
*/
|
|
1976
|
+
LocalStorageTypes?: LocalStorageTypes;
|
|
1977
|
+
/**
|
|
1978
|
+
* The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum
|
|
1979
|
+
*/
|
|
1980
|
+
TotalLocalStorageGB?: TotalLocalStorageGBRequest;
|
|
1981
|
+
/**
|
|
1982
|
+
* The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum
|
|
1983
|
+
*/
|
|
1984
|
+
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
1985
|
+
/**
|
|
1986
|
+
* Lists the accelerator types that must be on an instance type. For instance types with GPU accelerators, specify gpu. For instance types with FPGA accelerators, specify fpga. For instance types with inference accelerators, specify inference. Default: Any accelerator type
|
|
1987
|
+
*/
|
|
1988
|
+
AcceleratorTypes?: AcceleratorTypes;
|
|
1989
|
+
/**
|
|
1990
|
+
* The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set Max to 0. Default: No minimum or maximum
|
|
1991
|
+
*/
|
|
1992
|
+
AcceleratorCount?: AcceleratorCountRequest;
|
|
1993
|
+
/**
|
|
1994
|
+
* Indicates whether instance types must have accelerators by specific manufacturers. For instance types with NVIDIA devices, specify nvidia. For instance types with AMD devices, specify amd. For instance types with Amazon Web Services devices, specify amazon-web-services. For instance types with Xilinx devices, specify xilinx. Default: Any manufacturer
|
|
1995
|
+
*/
|
|
1996
|
+
AcceleratorManufacturers?: AcceleratorManufacturers;
|
|
1997
|
+
/**
|
|
1998
|
+
* Lists the accelerators that must be on an instance type. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA V100 GPUs, specify v100. For instance types with NVIDIA K80 GPUs, specify k80. For instance types with NVIDIA T4 GPUs, specify t4. For instance types with NVIDIA M60 GPUs, specify m60. For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520. For instance types with Xilinx VU9P FPGAs, specify vu9p. Default: Any accelerator
|
|
1999
|
+
*/
|
|
2000
|
+
AcceleratorNames?: AcceleratorNames;
|
|
2001
|
+
/**
|
|
2002
|
+
* The minimum and maximum total memory size for the accelerators on an instance type, in MiB. Default: No minimum or maximum
|
|
2003
|
+
*/
|
|
2004
|
+
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
2005
|
+
}
|
|
1868
2006
|
export type Instances = Instance[];
|
|
1869
2007
|
export interface InstancesDistribution {
|
|
1870
2008
|
/**
|
|
1871
|
-
*
|
|
2009
|
+
* The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify lowest-price, Amazon EC2 Auto Scaling uses price to determine the order, launching the lowest price first. If you specify prioritized, Amazon EC2 Auto Scaling uses the priority that you assigned to each launch template override, launching the highest priority first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. Default: lowest-price for Auto Scaling groups that specify InstanceRequirements in the overrides and prioritized for Auto Scaling groups that don't.
|
|
1872
2010
|
*/
|
|
1873
2011
|
OnDemandAllocationStrategy?: XmlString;
|
|
1874
2012
|
/**
|
|
1875
|
-
* The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is
|
|
2013
|
+
* The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. If you specify weights for the instance types in the overrides, the base capacity is measured in the same unit of measurement as the instance types. If you specify InstanceRequirements in the overrides, the base capacity is measured in the same unit of measurement as your group's desired capacity. Default: 0
|
|
1876
2014
|
*/
|
|
1877
2015
|
OnDemandBaseCapacity?: OnDemandBaseCapacity;
|
|
1878
2016
|
/**
|
|
1879
|
-
* Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances).
|
|
2017
|
+
* Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. Default: 100
|
|
1880
2018
|
*/
|
|
1881
2019
|
OnDemandPercentageAboveBaseCapacity?: OnDemandPercentageAboveBaseCapacity;
|
|
1882
2020
|
/**
|
|
1883
|
-
* Indicates how to allocate instances across Spot Instance pools. If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify.
|
|
2021
|
+
* Indicates how to allocate instances across Spot Instance pools. If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. If the allocation strategy is capacity-optimized (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. Alternatively, you can use capacity-optimized-prioritized and set the order of instance types in the list of launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best-effort basis but optimizes for capacity first. Default: lowest-price
|
|
1884
2022
|
*/
|
|
1885
2023
|
SpotAllocationStrategy?: XmlString;
|
|
1886
2024
|
/**
|
|
1887
|
-
* The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the Spot allocation strategy is lowest-price. Value must be in the range of 1
|
|
2025
|
+
* The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the Spot allocation strategy is lowest-price. Value must be in the range of 1–20. Default: 2
|
|
1888
2026
|
*/
|
|
1889
2027
|
SpotInstancePools?: SpotInstancePools;
|
|
1890
2028
|
/**
|
|
1891
|
-
* The maximum price per unit hour that you are willing to pay for a Spot Instance. If you
|
|
2029
|
+
* The maximum price per unit hour that you are willing to pay for a Spot Instance. If you keep the value at its default (unspecified), Amazon EC2 Auto Scaling uses the On-Demand price as the maximum Spot price. To remove a value that you previously set, include the property but specify an empty string ("") for the value.
|
|
1892
2030
|
*/
|
|
1893
2031
|
SpotMaxPrice?: MixedInstanceSpotPrice;
|
|
1894
2032
|
}
|
|
@@ -2014,7 +2152,7 @@ declare namespace AutoScaling {
|
|
|
2014
2152
|
*/
|
|
2015
2153
|
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
2016
2154
|
/**
|
|
2017
|
-
* Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.
|
|
2155
|
+
* Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance. The overrides can include either one or more instance types or a set of instance requirements, but not both.
|
|
2018
2156
|
*/
|
|
2019
2157
|
Overrides?: Overrides;
|
|
2020
2158
|
}
|
|
@@ -2025,13 +2163,17 @@ declare namespace AutoScaling {
|
|
|
2025
2163
|
*/
|
|
2026
2164
|
InstanceType?: XmlStringMaxLen255;
|
|
2027
2165
|
/**
|
|
2028
|
-
* The number of capacity units provided by the
|
|
2166
|
+
* The number of capacity units provided by the instance type specified in InstanceType in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.
|
|
2029
2167
|
*/
|
|
2030
2168
|
WeightedCapacity?: XmlStringMaxLen32;
|
|
2031
2169
|
/**
|
|
2032
|
-
* Provides the launch template to be used when launching the instance type. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.
|
|
2170
|
+
* Provides the launch template to be used when launching the instance type specified in InstanceType. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.
|
|
2033
2171
|
*/
|
|
2034
2172
|
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
2173
|
+
/**
|
|
2174
|
+
* The instance requirements. When you specify instance requirements, Amazon EC2 Auto Scaling finds instance types that satisfy your requirements, and then uses your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of specific instance types.
|
|
2175
|
+
*/
|
|
2176
|
+
InstanceRequirements?: InstanceRequirements;
|
|
2035
2177
|
}
|
|
2036
2178
|
export interface LaunchTemplateSpecification {
|
|
2037
2179
|
/**
|
|
@@ -2160,11 +2302,34 @@ declare namespace AutoScaling {
|
|
|
2160
2302
|
MetricSpecification: PredictiveScalingMetricSpecification;
|
|
2161
2303
|
}
|
|
2162
2304
|
export type LoadForecasts = LoadForecast[];
|
|
2305
|
+
export type LocalStorage = "included"|"excluded"|"required"|string;
|
|
2306
|
+
export type LocalStorageType = "hdd"|"ssd"|string;
|
|
2307
|
+
export type LocalStorageTypes = LocalStorageType[];
|
|
2163
2308
|
export type MaxGroupPreparedCapacity = number;
|
|
2164
2309
|
export type MaxInstanceLifetime = number;
|
|
2165
2310
|
export type MaxNumberOfAutoScalingGroups = number;
|
|
2166
2311
|
export type MaxNumberOfLaunchConfigurations = number;
|
|
2167
2312
|
export type MaxRecords = number;
|
|
2313
|
+
export interface MemoryGiBPerVCpuRequest {
|
|
2314
|
+
/**
|
|
2315
|
+
* The memory minimum in GiB.
|
|
2316
|
+
*/
|
|
2317
|
+
Min?: NullablePositiveDouble;
|
|
2318
|
+
/**
|
|
2319
|
+
* The memory maximum in GiB.
|
|
2320
|
+
*/
|
|
2321
|
+
Max?: NullablePositiveDouble;
|
|
2322
|
+
}
|
|
2323
|
+
export interface MemoryMiBRequest {
|
|
2324
|
+
/**
|
|
2325
|
+
* The memory minimum in MiB.
|
|
2326
|
+
*/
|
|
2327
|
+
Min: NullablePositiveInteger;
|
|
2328
|
+
/**
|
|
2329
|
+
* The memory maximum in MiB.
|
|
2330
|
+
*/
|
|
2331
|
+
Max?: NullablePositiveInteger;
|
|
2332
|
+
}
|
|
2168
2333
|
export interface MetricCollectionType {
|
|
2169
2334
|
/**
|
|
2170
2335
|
* One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances GroupInServiceCapacity GroupPendingCapacity GroupStandbyCapacity GroupTerminatingCapacity GroupTotalCapacity WarmPoolDesiredCapacity WarmPoolWarmedCapacity WarmPoolPendingCapacity WarmPoolTerminatingCapacity WarmPoolTotalCapacity GroupAndWarmPoolDesiredCapacity GroupAndWarmPoolTotalCapacity
|
|
@@ -2204,15 +2369,25 @@ declare namespace AutoScaling {
|
|
|
2204
2369
|
export type MixedInstanceSpotPrice = string;
|
|
2205
2370
|
export interface MixedInstancesPolicy {
|
|
2206
2371
|
/**
|
|
2207
|
-
* Specifies the launch template to use and the instance types (overrides) that are used to
|
|
2372
|
+
* Specifies the launch template to use and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. Required when creating a mixed instances policy.
|
|
2208
2373
|
*/
|
|
2209
2374
|
LaunchTemplate?: LaunchTemplate;
|
|
2210
2375
|
/**
|
|
2211
|
-
* Specifies the instances distribution.
|
|
2376
|
+
* Specifies the instances distribution.
|
|
2212
2377
|
*/
|
|
2213
2378
|
InstancesDistribution?: InstancesDistribution;
|
|
2214
2379
|
}
|
|
2215
2380
|
export type MonitoringEnabled = boolean;
|
|
2381
|
+
export interface NetworkInterfaceCountRequest {
|
|
2382
|
+
/**
|
|
2383
|
+
* The minimum number of network interfaces.
|
|
2384
|
+
*/
|
|
2385
|
+
Min?: NullablePositiveInteger;
|
|
2386
|
+
/**
|
|
2387
|
+
* The maximum number of network interfaces.
|
|
2388
|
+
*/
|
|
2389
|
+
Max?: NullablePositiveInteger;
|
|
2390
|
+
}
|
|
2216
2391
|
export type NoDevice = boolean;
|
|
2217
2392
|
export type NonZeroIntPercent = number;
|
|
2218
2393
|
export interface NotificationConfiguration {
|
|
@@ -2231,6 +2406,9 @@ declare namespace AutoScaling {
|
|
|
2231
2406
|
}
|
|
2232
2407
|
export type NotificationConfigurations = NotificationConfiguration[];
|
|
2233
2408
|
export type NotificationTargetResourceName = string;
|
|
2409
|
+
export type NullableBoolean = boolean;
|
|
2410
|
+
export type NullablePositiveDouble = number;
|
|
2411
|
+
export type NullablePositiveInteger = number;
|
|
2234
2412
|
export type NumberOfAutoScalingGroups = number;
|
|
2235
2413
|
export type NumberOfLaunchConfigurations = number;
|
|
2236
2414
|
export type OnDemandBaseCapacity = number;
|
|
@@ -2942,6 +3120,16 @@ declare namespace AutoScaling {
|
|
|
2942
3120
|
}
|
|
2943
3121
|
export type TerminationPolicies = XmlStringMaxLen1600[];
|
|
2944
3122
|
export type TimestampType = Date;
|
|
3123
|
+
export interface TotalLocalStorageGBRequest {
|
|
3124
|
+
/**
|
|
3125
|
+
* The storage minimum in GB.
|
|
3126
|
+
*/
|
|
3127
|
+
Min?: NullablePositiveDouble;
|
|
3128
|
+
/**
|
|
3129
|
+
* The storage maximum in GB.
|
|
3130
|
+
*/
|
|
3131
|
+
Max?: NullablePositiveDouble;
|
|
3132
|
+
}
|
|
2945
3133
|
export interface UpdateAutoScalingGroupType {
|
|
2946
3134
|
/**
|
|
2947
3135
|
* The name of the Auto Scaling group.
|
|
@@ -2956,7 +3144,7 @@ declare namespace AutoScaling {
|
|
|
2956
3144
|
*/
|
|
2957
3145
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
2958
3146
|
/**
|
|
2959
|
-
* An embedded object that specifies a mixed instances policy.
|
|
3147
|
+
* An embedded object that specifies a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
|
|
2960
3148
|
*/
|
|
2961
3149
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
2962
3150
|
/**
|
|
@@ -3019,6 +3207,20 @@ declare namespace AutoScaling {
|
|
|
3019
3207
|
* Reserved.
|
|
3020
3208
|
*/
|
|
3021
3209
|
Context?: Context;
|
|
3210
|
+
/**
|
|
3211
|
+
* The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib
|
|
3212
|
+
*/
|
|
3213
|
+
DesiredCapacityType?: XmlStringMaxLen255;
|
|
3214
|
+
}
|
|
3215
|
+
export interface VCpuCountRequest {
|
|
3216
|
+
/**
|
|
3217
|
+
* The minimum number of vCPUs.
|
|
3218
|
+
*/
|
|
3219
|
+
Min: NullablePositiveInteger;
|
|
3220
|
+
/**
|
|
3221
|
+
* The maximum number of vCPUs.
|
|
3222
|
+
*/
|
|
3223
|
+
Max?: NullablePositiveInteger;
|
|
3022
3224
|
}
|
|
3023
3225
|
export type Values = XmlString[];
|
|
3024
3226
|
export interface WarmPoolConfiguration {
|
package/clients/chime.d.ts
CHANGED
|
@@ -6581,6 +6581,10 @@ declare namespace Chime {
|
|
|
6581
6581
|
* The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
|
|
6582
6582
|
*/
|
|
6583
6583
|
UpdatedTimestamp?: Iso8601Timestamp;
|
|
6584
|
+
/**
|
|
6585
|
+
* The ARN of the specified Amazon Chime Voice Connector.
|
|
6586
|
+
*/
|
|
6587
|
+
VoiceConnectorArn?: NonEmptyString;
|
|
6584
6588
|
}
|
|
6585
6589
|
export type VoiceConnectorAwsRegion = "us-east-1"|"us-west-2"|string;
|
|
6586
6590
|
export interface VoiceConnectorGroup {
|
|
@@ -6604,6 +6608,10 @@ declare namespace Chime {
|
|
|
6604
6608
|
* The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format.
|
|
6605
6609
|
*/
|
|
6606
6610
|
UpdatedTimestamp?: Iso8601Timestamp;
|
|
6611
|
+
/**
|
|
6612
|
+
* The ARN of the specified Amazon Chime Voice Connector group.
|
|
6613
|
+
*/
|
|
6614
|
+
VoiceConnectorGroupArn?: NonEmptyString;
|
|
6607
6615
|
}
|
|
6608
6616
|
export type VoiceConnectorGroupList = VoiceConnectorGroup[];
|
|
6609
6617
|
export type VoiceConnectorGroupName = string;
|