From 2e67698220904d4887e68dec4f8e39cf1315bd8b Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 25 Jul 2024 19:38:56 +0000 Subject: [PATCH] feat(client-outposts): Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses --- .../src/commands/GetOutpostInstanceTypesCommand.ts | 1 + .../commands/GetOutpostSupportedInstanceTypesCommand.ts | 1 + clients/client-outposts/src/models/models_0.ts | 6 ++++++ codegen/sdk-codegen/aws-models/outposts.json | 9 +++++++++ 4 files changed, 17 insertions(+) diff --git a/clients/client-outposts/src/commands/GetOutpostInstanceTypesCommand.ts b/clients/client-outposts/src/commands/GetOutpostInstanceTypesCommand.ts index 210000a0eb9b..454bdad1b84e 100644 --- a/clients/client-outposts/src/commands/GetOutpostInstanceTypesCommand.ts +++ b/clients/client-outposts/src/commands/GetOutpostInstanceTypesCommand.ts @@ -46,6 +46,7 @@ export interface GetOutpostInstanceTypesCommandOutput extends GetOutpostInstance * // InstanceTypes: [ // InstanceTypeListDefinition * // { // InstanceTypeItem * // InstanceType: "STRING_VALUE", + * // VCPUs: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-outposts/src/commands/GetOutpostSupportedInstanceTypesCommand.ts b/clients/client-outposts/src/commands/GetOutpostSupportedInstanceTypesCommand.ts index 0e9b44f4eb13..77a00f65fc95 100644 --- a/clients/client-outposts/src/commands/GetOutpostSupportedInstanceTypesCommand.ts +++ b/clients/client-outposts/src/commands/GetOutpostSupportedInstanceTypesCommand.ts @@ -55,6 +55,7 @@ export interface GetOutpostSupportedInstanceTypesCommandOutput * // InstanceTypes: [ // InstanceTypeListDefinition * // { // InstanceTypeItem * // InstanceType: "STRING_VALUE", + * // VCPUs: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-outposts/src/models/models_0.ts b/clients/client-outposts/src/models/models_0.ts index ae4017067ab2..9edb0fb88825 100644 --- a/clients/client-outposts/src/models/models_0.ts +++ b/clients/client-outposts/src/models/models_0.ts @@ -1799,6 +1799,12 @@ export interface InstanceTypeItem { * @public */ InstanceType?: string; + + /** + *

The number of default VCPUs in an instance type.

+ * @public + */ + VCPUs?: number; } /** diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index b3a23b226bb4..ebe5a30b3d74 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -2140,6 +2140,12 @@ "members": { "InstanceType": { "target": "com.amazonaws.outposts#InstanceType" + }, + "VCPUs": { + "target": "com.amazonaws.outposts#VCPUCount", + "traits": { + "smithy.api#documentation": "

The number of default VCPUs in an instance type.

" + } } }, "traits": { @@ -6019,6 +6025,9 @@ } } }, + "com.amazonaws.outposts#VCPUCount": { + "type": "integer" + }, "com.amazonaws.outposts#ValidationException": { "type": "structure", "members": {