Skip to content

Commit

Permalink
feat(client-outposts): Adding default vCPU information to GetOutpostS…
Browse files Browse the repository at this point in the history
…upportedInstanceTypes and GetOutpostInstanceTypes responses
  • Loading branch information
awstools committed Jul 25, 2024
1 parent 961af9b commit 2e67698
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export interface GetOutpostInstanceTypesCommandOutput extends GetOutpostInstance
* // InstanceTypes: [ // InstanceTypeListDefinition
* // { // InstanceTypeItem
* // InstanceType: "STRING_VALUE",
* // VCPUs: Number("int"),
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface GetOutpostSupportedInstanceTypesCommandOutput
* // InstanceTypes: [ // InstanceTypeListDefinition
* // { // InstanceTypeItem
* // InstanceType: "STRING_VALUE",
* // VCPUs: Number("int"),
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
6 changes: 6 additions & 0 deletions clients/client-outposts/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,12 @@ export interface InstanceTypeItem {
* @public
*/
InstanceType?: string;

/**
* <p>The number of default VCPUs in an instance type.</p>
* @public
*/
VCPUs?: number;
}

/**
Expand Down
9 changes: 9 additions & 0 deletions codegen/sdk-codegen/aws-models/outposts.json
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,12 @@
"members": {
"InstanceType": {
"target": "com.amazonaws.outposts#InstanceType"
},
"VCPUs": {
"target": "com.amazonaws.outposts#VCPUCount",
"traits": {
"smithy.api#documentation": "<p>The number of default VCPUs in an instance type.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6019,6 +6025,9 @@
}
}
},
"com.amazonaws.outposts#VCPUCount": {
"type": "integer"
},
"com.amazonaws.outposts#ValidationException": {
"type": "structure",
"members": {
Expand Down

0 comments on commit 2e67698

Please sign in to comment.