Skip to content

Commit f300167

Browse files
author
awstools
committed
feat(client-ec2): Add Context to GetInstanceTypesFromInstanceRequirements API
1 parent feb659a commit f300167

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export interface GetInstanceTypesFromInstanceRequirementsCommandOutput
141141
* },
142142
* MaxResults: Number("int"),
143143
* NextToken: "STRING_VALUE",
144+
* Context: "STRING_VALUE",
144145
* };
145146
* const command = new GetInstanceTypesFromInstanceRequirementsCommand(input);
146147
* const response = await client.send(command);

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7931,10 +7931,10 @@ export interface EbsBlockDevice {
79317931

79327932
/**
79337933
* <p>The Availability Zone where the EBS volume will be created (for example,
7934-
* <code>us-east-1a</code>).</p>
7934+
* <code>us-east-1a</code>).</p>
79357935
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,
7936-
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
7937-
* the Region.</p>
7936+
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
7937+
* the Region.</p>
79387938
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
79397939
* @public
79407940
*/
@@ -8013,10 +8013,10 @@ export interface EbsBlockDevice {
80138013

80148014
/**
80158015
* <p>The ID of the Availability Zone where the EBS volume will be created (for example,
8016-
* <code>use1-az1</code>).</p>
8016+
* <code>use1-az1</code>).</p>
80178017
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,
8018-
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
8019-
* the Region.</p>
8018+
* but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within
8019+
* the Region.</p>
80208020
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
80218021
* @public
80228022
*/

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5206,6 +5206,12 @@ export interface GetInstanceTypesFromInstanceRequirementsRequest {
52065206
* @public
52075207
*/
52085208
NextToken?: string | undefined;
5209+
5210+
/**
5211+
* <p>Reserved.</p>
5212+
* @public
5213+
*/
5214+
Context?: string | undefined;
52095215
}
52105216

52115217
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45749,6 +45749,9 @@ const se_GetInstanceTypesFromInstanceRequirementsRequest = (
4574945749
if (input[_NT] != null) {
4575045750
entries[_NT] = input[_NT];
4575145751
}
45752+
if (input[_Con] != null) {
45753+
entries[_Con] = input[_Con];
45754+
}
4575245755
return entries;
4575345756
};
4575445757

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50020,7 +50020,7 @@
5002050020
"target": "com.amazonaws.ec2#String",
5002150021
"traits": {
5002250022
"aws.protocols#ec2QueryName": "AvailabilityZone",
50023-
"smithy.api#documentation": "<p>The Availability Zone where the EBS volume will be created (for example,\n <code>us-east-1a</code>).</p>\n <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,\n but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within\n the Region.</p>\n <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p>",
50023+
"smithy.api#documentation": "<p>The Availability Zone where the EBS volume will be created (for example,\n <code>us-east-1a</code>).</p>\n <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,\n but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within\n the Region.</p>\n <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p>",
5002450024
"smithy.api#xmlName": "availabilityZone"
5002550025
}
5002650026
},
@@ -50041,7 +50041,7 @@
5004150041
"AvailabilityZoneId": {
5004250042
"target": "com.amazonaws.ec2#String",
5004350043
"traits": {
50044-
"smithy.api#documentation": "<p>The ID of the Availability Zone where the EBS volume will be created (for example,\n <code>use1-az1</code>).</p>\n <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,\n but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within\n the Region.</p>\n <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p>"
50044+
"smithy.api#documentation": "<p>The ID of the Availability Zone where the EBS volume will be created (for example,\n <code>use1-az1</code>).</p>\n <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified,\n but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone within\n the Region.</p>\n <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p>"
5004550045
}
5004650046
}
5004750047
},
@@ -57532,6 +57532,12 @@
5753257532
"traits": {
5753357533
"smithy.api#documentation": "<p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>"
5753457534
}
57535+
},
57536+
"Context": {
57537+
"target": "com.amazonaws.ec2#String",
57538+
"traits": {
57539+
"smithy.api#documentation": "<p>Reserved.</p>"
57540+
}
5753557541
}
5753657542
},
5753757543
"traits": {

0 commit comments

Comments
 (0)