Skip to content

Commit

Permalink
feat(client-ec2): Releasing the new cpuManufacturer attribute within …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
awstools committed Dec 6, 2023
1 parent 6e117d1 commit 35fbeb8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType
* // SupportedFeatures: [ // SupportedAdditionalProcessorFeatureList
* // "amd-sev-snp",
* // ],
* // Manufacturer: "STRING_VALUE",
* // },
* // VCpuInfo: { // VCpuInfo
* // DefaultVCpus: Number("int"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ec2/src/models/models_4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4380,6 +4380,12 @@ export interface ProcessorInfo {
* AMD SEV-SNP</a>.</p>
*/
SupportedFeatures?: SupportedAdditionalProcessorFeature[];

/**
* @public
* <p>The manufacturer of the processor.</p>
*/
Manufacturer?: string;
}

/**
Expand Down
3 changes: 3 additions & 0 deletions clients/client-ec2/src/protocols/Aws_ec2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88785,6 +88785,9 @@ const de_ProcessorInfo = (output: any, context: __SerdeContext): ProcessorInfo =
context
);
}
if (output["manufacturer"] !== undefined) {
contents.Manufacturer = __expectString(output["manufacturer"]);
}
return contents;
};

Expand Down
11 changes: 11 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13652,6 +13652,9 @@
}
}
},
"com.amazonaws.ec2#CpuManufacturerName": {
"type": "string"
},
"com.amazonaws.ec2#CpuManufacturerSet": {
"type": "list",
"member": {
Expand Down Expand Up @@ -82757,6 +82760,14 @@
"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>",
"smithy.api#xmlName": "supportedFeatures"
}
},
"Manufacturer": {
"target": "com.amazonaws.ec2#CpuManufacturerName",
"traits": {
"aws.protocols#ec2QueryName": "Manufacturer",
"smithy.api#documentation": "<p>The manufacturer of the processor.</p>",
"smithy.api#xmlName": "manufacturer"
}
}
},
"traits": {
Expand Down

0 comments on commit 35fbeb8

Please sign in to comment.