Skip to content

Commit 5d8aaf7

Browse files
author
awstools
committed
feat(client-auto-scaling): Add support for "apple" CpuManufacturer in ABIS
1 parent 0e347c5 commit 5d8aaf7

File tree

7 files changed

+64
-53
lines changed

7 files changed

+64
-53
lines changed

clients/client-auto-scaling/src/commands/CreateAutoScalingGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
7979
* Max: Number("int"),
8080
* },
8181
* CpuManufacturers: [ // CpuManufacturers
82-
* "intel" || "amd" || "amazon-web-services",
82+
* "intel" || "amd" || "amazon-web-services" || "apple",
8383
* ],
8484
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
8585
* Min: Number("double"),

clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
9292
* // Max: Number("int"),
9393
* // },
9494
* // CpuManufacturers: [ // CpuManufacturers
95-
* // "intel" || "amd" || "amazon-web-services",
95+
* // "intel" || "amd" || "amazon-web-services" || "apple",
9696
* // ],
9797
* // MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
9898
* // Min: Number("double"),

clients/client-auto-scaling/src/commands/DescribeInstanceRefreshesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
123123
* // Max: Number("int"),
124124
* // },
125125
* // CpuManufacturers: [ // CpuManufacturers
126-
* // "intel" || "amd" || "amazon-web-services",
126+
* // "intel" || "amd" || "amazon-web-services" || "apple",
127127
* // ],
128128
* // MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
129129
* // Min: Number("double"),

clients/client-auto-scaling/src/commands/StartInstanceRefreshCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
8888
* Max: Number("int"),
8989
* },
9090
* CpuManufacturers: [ // CpuManufacturers
91-
* "intel" || "amd" || "amazon-web-services",
91+
* "intel" || "amd" || "amazon-web-services" || "apple",
9292
* ],
9393
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
9494
* Min: Number("double"),

clients/client-auto-scaling/src/commands/UpdateAutoScalingGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {}
108108
* Max: Number("int"),
109109
* },
110110
* CpuManufacturers: [ // CpuManufacturers
111-
* "intel" || "amd" || "amazon-web-services",
111+
* "intel" || "amd" || "amazon-web-services" || "apple",
112112
* ],
113113
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
114114
* Min: Number("double"),

clients/client-auto-scaling/src/models/models_0.ts

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,7 @@ export type BurstablePerformance = (typeof BurstablePerformance)[keyof typeof Bu
13531353
export const CpuManufacturer = {
13541354
AMAZON_WEB_SERVICES: "amazon-web-services",
13551355
AMD: "amd",
1356+
APPLE: "apple",
13561357
INTEL: "intel",
13571358
} as const;
13581359

@@ -1450,7 +1451,7 @@ export interface MemoryMiBRequest {
14501451
* the minimum bandwidth. Amazon EC2 will identify instance types that support the specified
14511452
* minimum bandwidth, but the actual bandwidth of your instance might go below the
14521453
* specified minimum at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
1453-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1454+
* <i>Amazon EC2 User Guide</i>.</p>
14541455
* </note>
14551456
* @public
14561457
*/
@@ -1557,7 +1558,7 @@ export interface VCpuCountRequest {
15571558
* selection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For help determining
15581559
* which instance types match your attributes before you apply them to your Auto Scaling group, see
15591560
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a> in the
1560-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1561+
* <i>Amazon EC2 User Guide</i>.</p>
15611562
* @public
15621563
*/
15631564
export interface InstanceRequirements {
@@ -1586,6 +1587,10 @@ export interface InstanceRequirements {
15861587
* <p>For instance types with Amazon Web Services CPUs, specify
15871588
* <code>amazon-web-services</code>.</p>
15881589
* </li>
1590+
* <li>
1591+
* <p>For instance types with Apple CPUs, specify
1592+
* <code>apple</code>.</p>
1593+
* </li>
15891594
* </ul>
15901595
* <note>
15911596
* <p>Don't confuse the CPU hardware manufacturer with the CPU hardware architecture.
@@ -1630,7 +1635,7 @@ export interface InstanceRequirements {
16301635
* current generation includes EC2 instance types currently recommended for use.
16311636
* This typically includes the latest two to three generations in each instance
16321637
* family. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in
1633-
* the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1638+
* the <i>Amazon EC2 User Guide</i>.</p>
16341639
* </li>
16351640
* <li>
16361641
* <p>For previous generation instance types, specify <code>previous</code>.</p>
@@ -1726,7 +1731,7 @@ export interface InstanceRequirements {
17261731
/**
17271732
* <p>Indicates whether burstable performance instance types are included, excluded, or
17281733
* required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
1729-
* performance instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1734+
* performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
17301735
* <p>Default: <code>excluded</code>
17311736
* </p>
17321737
* @public
@@ -1752,7 +1757,7 @@ export interface InstanceRequirements {
17521757
/**
17531758
* <p>Indicates whether instance types with instance store volumes are included, excluded,
17541759
* or required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon EC2 instance store</a> in
1755-
* the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1760+
* the <i>Amazon EC2 User Guide</i>.</p>
17561761
* <p>Default: <code>included</code>
17571762
* </p>
17581763
* @public
@@ -1786,7 +1791,7 @@ export interface InstanceRequirements {
17861791
/**
17871792
* <p>The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
17881793
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS–optimized instances</a>
1789-
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1794+
* in the <i>Amazon EC2 User Guide</i>.</p>
17901795
* <p>Default: No minimum or maximum limits</p>
17911796
* @public
17921797
*/
@@ -1946,7 +1951,7 @@ export interface LaunchTemplateOverrides {
19461951
/**
19471952
* <p>The instance type, such as <code>m3.xlarge</code>. You must specify an instance type
19481953
* that is supported in your requested Region and Availability Zones. For more information,
1949-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1954+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
19501955
* <p>You can specify up to 40 instance types per Auto Scaling group.</p>
19511956
* @public
19521957
*/
@@ -2243,7 +2248,7 @@ export interface CreateAutoScalingGroupType {
22432248
/**
22442249
* <p>The name of the placement group into which to launch your instances. For more
22452250
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
2246-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2251+
* <i>Amazon EC2 User Guide</i>.</p>
22472252
* <note>
22482253
* <p>A <i>cluster</i> placement group is a logical grouping of instances
22492254
* within a single Availability Zone. You cannot specify multiple Availability Zones
@@ -2555,7 +2560,7 @@ export interface BlockDeviceMapping {
25552560
/**
25562561
* <p>The device name assigned to the volume (for example, <code>/dev/sdh</code> or
25572562
* <code>xvdh</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device naming on Linux
2558-
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2563+
* instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
25592564
* <note>
25602565
* <p>To define a block device mapping, set the device name and exactly one of the
25612566
* following properties: <code>Ebs</code>, <code>NoDevice</code>, or
@@ -2681,7 +2686,7 @@ export interface CreateLaunchConfigurationType {
26812686
/**
26822687
* <p>The ID of the Amazon Machine Image (AMI) that was assigned during registration. For
26832688
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
2684-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2689+
* <i>Amazon EC2 User Guide</i>.</p>
26852690
* <p>If you specify <code>InstanceId</code>, an <code>ImageId</code> is not
26862691
* required.</p>
26872692
* @public
@@ -2690,7 +2695,7 @@ export interface CreateLaunchConfigurationType {
26902695

26912696
/**
26922697
* <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Amazon EC2
2693-
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2698+
* instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
26942699
* @public
26952700
*/
26962701
KeyName?: string | undefined;
@@ -2741,7 +2746,7 @@ export interface CreateLaunchConfigurationType {
27412746
/**
27422747
* <p>Specifies the instance type of the EC2 instance. For information about available
27432748
* instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes">Available
2744-
* instance types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2749+
* instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
27452750
* <p>If you specify <code>InstanceId</code>, an <code>InstanceType</code> is not
27462751
* required.</p>
27472752
* @public
@@ -2753,7 +2758,7 @@ export interface CreateLaunchConfigurationType {
27532758
* <note>
27542759
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
27552760
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
2756-
* kernels</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2761+
* kernels</a> in the <i>Amazon EC2 User Guide</i>.</p>
27572762
* </note>
27582763
* @public
27592764
*/
@@ -2764,7 +2769,7 @@ export interface CreateLaunchConfigurationType {
27642769
* <note>
27652770
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
27662771
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
2767-
* kernels</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2772+
* kernels</a> in the <i>Amazon EC2 User Guide</i>.</p>
27682773
* </note>
27692774
* @public
27702775
*/
@@ -2774,7 +2779,7 @@ export interface CreateLaunchConfigurationType {
27742779
* <p>The block device mapping entries that define the block devices to attach to the
27752780
* instances at launch. By default, the block devices specified in the block device mapping
27762781
* for the AMI are used. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device
2777-
* mappings</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2782+
* mappings</a> in the <i>Amazon EC2 User Guide</i>.</p>
27782783
* @public
27792784
*/
27802785
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
@@ -2826,7 +2831,7 @@ export interface CreateLaunchConfigurationType {
28262831
* performance. This optimization is not available with all instance types. Additional fees
28272832
* are incurred when you enable EBS optimization for an instance type that is not
28282833
* EBS-optimized by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS-optimized instances</a>
2829-
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2834+
* in the <i>Amazon EC2 User Guide</i>.</p>
28302835
* <p>The default value is <code>false</code>.</p>
28312836
* @public
28322837
*/
@@ -4603,15 +4608,15 @@ export interface LaunchConfiguration {
46034608
/**
46044609
* <p>The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more
46054610
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
4606-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4611+
* <i>Amazon EC2 User Guide</i>.</p>
46074612
* @public
46084613
*/
46094614
ImageId: string | undefined;
46104615

46114616
/**
46124617
* <p>The name of the key pair.</p>
46134618
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Amazon EC2
4614-
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4619+
* instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
46154620
* @public
46164621
*/
46174622
KeyName?: string | undefined;
@@ -4639,8 +4644,8 @@ export interface LaunchConfiguration {
46394644

46404645
/**
46414646
* <p>The user data to make available to the launched EC2 instances. For more information,
4642-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> (Linux) and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html">Instance metadata and
4643-
* user data</a> (Windows). If you are using a command line tool, base64-encoding
4647+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> in the <i>Amazon EC2 User Guide</i>.
4648+
* If you are using a command line tool, base64-encoding
46444649
* is performed for you, and you can load the text from a file. Otherwise, you must provide
46454650
* base64-encoded text. User data is limited to 16 KB.</p>
46464651
* @public
@@ -4650,7 +4655,7 @@ export interface LaunchConfiguration {
46504655
/**
46514656
* <p>The instance type for the instances. For information about available instance types,
46524657
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes">Available
4653-
* instance types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4658+
* instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
46544659
* @public
46554660
*/
46564661
InstanceType: string | undefined;
@@ -4671,7 +4676,7 @@ export interface LaunchConfiguration {
46714676
* <p>The block device mapping entries that define the block devices to attach to the
46724677
* instances at launch. By default, the block devices specified in the block device mapping
46734678
* for the AMI are used. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device
4674-
* mappings</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4679+
* mappings</a> in the <i>Amazon EC2 User Guide</i>.</p>
46754680
* @public
46764681
*/
46774682
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
@@ -4713,7 +4718,7 @@ export interface LaunchConfiguration {
47134718
/**
47144719
* <p>Specifies whether the launch configuration is optimized for EBS I/O
47154720
* (<code>true</code>) or not (<code>false</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS-optimized instances</a> in the
4716-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4721+
* <i>Amazon EC2 User Guide</i>.</p>
47174722
* @public
47184723
*/
47194724
EbsOptimized?: boolean | undefined;
@@ -8498,7 +8503,7 @@ export interface UpdateAutoScalingGroupType {
84988503
/**
84998504
* <p>The name of an existing placement group into which to launch your instances. To remove the placement group setting, pass an empty string for <code>placement-group</code>. For more
85008505
* information about placement groups, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
8501-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
8506+
* <i>Amazon EC2 User Guide</i>.</p>
85028507
* <note>
85038508
* <p>A <i>cluster</i> placement group is a logical grouping of instances
85048509
* within a single Availability Zone. You cannot specify multiple Availability Zones

0 commit comments

Comments
 (0)