Skip to content

Commit 35fbeb8

Browse files
author
awstools
committed
feat(client-ec2): Releasing the new cpuManufacturer attribute within the DescribeInstanceTypes API response which notifies our customers with information on who the Manufacturer is for the processor attached to the instance, for example: Intel.
1 parent 6e117d1 commit 35fbeb8

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

clients/client-ec2/src/commands/DescribeInstanceTypesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType
8888
* // SupportedFeatures: [ // SupportedAdditionalProcessorFeatureList
8989
* // "amd-sev-snp",
9090
* // ],
91+
* // Manufacturer: "STRING_VALUE",
9192
* // },
9293
* // VCpuInfo: { // VCpuInfo
9394
* // DefaultVCpus: Number("int"),

clients/client-ec2/src/models/models_4.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4380,6 +4380,12 @@ export interface ProcessorInfo {
43804380
* AMD SEV-SNP</a>.</p>
43814381
*/
43824382
SupportedFeatures?: SupportedAdditionalProcessorFeature[];
4383+
4384+
/**
4385+
* @public
4386+
* <p>The manufacturer of the processor.</p>
4387+
*/
4388+
Manufacturer?: string;
43834389
}
43844390

43854391
/**

clients/client-ec2/src/protocols/Aws_ec2.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88785,6 +88785,9 @@ const de_ProcessorInfo = (output: any, context: __SerdeContext): ProcessorInfo =
8878588785
context
8878688786
);
8878788787
}
88788+
if (output["manufacturer"] !== undefined) {
88789+
contents.Manufacturer = __expectString(output["manufacturer"]);
88790+
}
8878888791
return contents;
8878988792
};
8879088793

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13652,6 +13652,9 @@
1365213652
}
1365313653
}
1365413654
},
13655+
"com.amazonaws.ec2#CpuManufacturerName": {
13656+
"type": "string"
13657+
},
1365513658
"com.amazonaws.ec2#CpuManufacturerSet": {
1365613659
"type": "list",
1365713660
"member": {
@@ -82757,6 +82760,14 @@
8275782760
"smithy.api#documentation": "<p>Indicates whether the instance type supports AMD SEV-SNP. If the request returns \n <code>amd-sev-snp</code>, AMD SEV-SNP is supported. Otherwise, it is not supported. \n For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html\">\n AMD SEV-SNP</a>.</p>",
8275882761
"smithy.api#xmlName": "supportedFeatures"
8275982762
}
82763+
},
82764+
"Manufacturer": {
82765+
"target": "com.amazonaws.ec2#CpuManufacturerName",
82766+
"traits": {
82767+
"aws.protocols#ec2QueryName": "Manufacturer",
82768+
"smithy.api#documentation": "<p>The manufacturer of the processor.</p>",
82769+
"smithy.api#xmlName": "manufacturer"
82770+
}
8276082771
}
8276182772
},
8276282773
"traits": {

0 commit comments

Comments
 (0)