Skip to content

Commit be4dacb

Browse files
author
awstools
committed
feat(client-ec2): Adding request and response elements for managed resources.
1 parent d7c1515 commit be4dacb

32 files changed

+810
-343
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,12 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
301301
* AutoRecovery: "default" || "disabled",
302302
* },
303303
* DisableApiStop: true || false,
304+
* Operator: { // OperatorRequest
305+
* Principal: "STRING_VALUE",
306+
* },
307+
* },
308+
* Operator: {
309+
* Principal: "STRING_VALUE",
304310
* },
305311
* TagSpecifications: [ // TagSpecificationList
306312
* { // TagSpecification
@@ -330,6 +336,10 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
330336
* // Value: "STRING_VALUE",
331337
* // },
332338
* // ],
339+
* // Operator: { // OperatorResponse
340+
* // Managed: true || false,
341+
* // Principal: "STRING_VALUE",
342+
* // },
333343
* // },
334344
* // Warning: { // ValidationWarning
335345
* // Errors: [ // ErrorSet

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

+11
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
304304
* AutoRecovery: "default" || "disabled",
305305
* },
306306
* DisableApiStop: true || false,
307+
* Operator: { // OperatorRequest
308+
* Principal: "STRING_VALUE",
309+
* },
307310
* },
308311
* ResolveAlias: true || false,
309312
* };
@@ -568,6 +571,14 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
568571
* // AutoRecovery: "default" || "disabled",
569572
* // },
570573
* // DisableApiStop: true || false,
574+
* // Operator: { // OperatorResponse
575+
* // Managed: true || false,
576+
* // Principal: "STRING_VALUE",
577+
* // },
578+
* // },
579+
* // Operator: {
580+
* // Managed: true || false,
581+
* // Principal: "STRING_VALUE",
571582
* // },
572583
* // },
573584
* // Warning: { // ValidationWarning

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateNetworkInsightsAccessScopeRequest, CreateNetworkInsightsAccessScopeResult } from "../models/models_1";
9+
import { CreateNetworkInsightsAccessScopeRequest } from "../models/models_1";
10+
import { CreateNetworkInsightsAccessScopeResult } from "../models/models_2";
1011
import {
1112
de_CreateNetworkInsightsAccessScopeCommand,
1213
se_CreateNetworkInsightsAccessScopeCommand,

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

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
7171
* UdpStreamTimeout: Number("int"),
7272
* UdpTimeout: Number("int"),
7373
* },
74+
* Operator: { // OperatorRequest
75+
* Principal: "STRING_VALUE",
76+
* },
7477
* SubnetId: "STRING_VALUE", // required
7578
* Description: "STRING_VALUE",
7679
* PrivateIpAddress: "STRING_VALUE",
@@ -189,6 +192,10 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
189192
* // DenyAllIgwTraffic: true || false,
190193
* // Ipv6Native: true || false,
191194
* // Ipv6Address: "STRING_VALUE",
195+
* // Operator: { // OperatorResponse
196+
* // Managed: true || false,
197+
* // Principal: "STRING_VALUE",
198+
* // },
192199
* // },
193200
* // ClientToken: "STRING_VALUE",
194201
* // };

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

+7
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
6868
* MultiAttachEnabled: true || false,
6969
* Throughput: Number("int"),
7070
* ClientToken: "STRING_VALUE",
71+
* Operator: { // OperatorRequest
72+
* Principal: "STRING_VALUE",
73+
* },
7174
* DryRun: true || false,
7275
* };
7376
* const command = new CreateVolumeCommand(input);
@@ -86,6 +89,10 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
8689
* // MultiAttachEnabled: true || false,
8790
* // Throughput: Number("int"),
8891
* // SseType: "sse-ebs" || "sse-kms" || "none",
92+
* // Operator: { // OperatorResponse
93+
* // Managed: true || false,
94+
* // Principal: "STRING_VALUE",
95+
* // },
8996
* // VolumeId: "STRING_VALUE",
9097
* // Size: Number("int"),
9198
* // SnapshotId: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteKeyPairRequest, DeleteKeyPairResult } from "../models/models_2";
9+
import { DeleteKeyPairRequest, DeleteKeyPairResult } from "../models/models_3";
1010
import { de_DeleteKeyPairCommand, se_DeleteKeyPairCommand } from "../protocols/Aws_ec2";
1111

1212
/**

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

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ export interface DeleteLaunchTemplateCommandOutput extends DeleteLaunchTemplateR
5757
* // Value: "STRING_VALUE",
5858
* // },
5959
* // ],
60+
* // Operator: { // OperatorResponse
61+
* // Managed: true || false,
62+
* // Principal: "STRING_VALUE",
63+
* // },
6064
* // },
6165
* // };
6266
*

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_3";
9+
import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_4";
1010
import { de_DescribeIdentityIdFormatCommand, se_DescribeIdentityIdFormatCommand } from "../protocols/Aws_ec2";
1111

1212
/**

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

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ export interface DescribeInstanceAttributeCommandOutput extends InstanceAttribut
6060
* // VolumeId: "STRING_VALUE",
6161
* // AssociatedResource: "STRING_VALUE",
6262
* // VolumeOwnerId: "STRING_VALUE",
63+
* // Operator: { // OperatorResponse
64+
* // Managed: true || false,
65+
* // Principal: "STRING_VALUE",
66+
* // },
6367
* // },
6468
* // },
6569
* // ],

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

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ export interface DescribeInstanceImageMetadataCommandOutput
102102
* // DeprecationTime: "STRING_VALUE",
103103
* // IsPublic: true || false,
104104
* // },
105+
* // Operator: { // OperatorResponse
106+
* // Managed: true || false,
107+
* // Principal: "STRING_VALUE",
108+
* // },
105109
* // },
106110
* // ],
107111
* // NextToken: "STRING_VALUE",

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

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ export interface DescribeInstanceStatusCommandOutput extends DescribeInstanceSta
9292
* // { // InstanceStatus
9393
* // AvailabilityZone: "STRING_VALUE",
9494
* // OutpostArn: "STRING_VALUE",
95+
* // Operator: { // OperatorResponse
96+
* // Managed: true || false,
97+
* // Principal: "STRING_VALUE",
98+
* // },
9599
* // Events: [ // InstanceStatusEventList
96100
* // { // InstanceStatusEvent
97101
* // InstanceEventId: "STRING_VALUE",

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

+9
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
103103
* // VolumeId: "STRING_VALUE",
104104
* // AssociatedResource: "STRING_VALUE",
105105
* // VolumeOwnerId: "STRING_VALUE",
106+
* // Operator: { // OperatorResponse
107+
* // Managed: true || false,
108+
* // Principal: "STRING_VALUE",
109+
* // },
106110
* // },
107111
* // },
108112
* // ],
@@ -206,6 +210,10 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
206210
* // UdpStreamTimeout: Number("int"),
207211
* // UdpTimeout: Number("int"),
208212
* // },
213+
* // Operator: {
214+
* // Managed: true || false,
215+
* // Principal: "STRING_VALUE",
216+
* // },
209217
* // },
210218
* // ],
211219
* // OutpostArn: "STRING_VALUE",
@@ -273,6 +281,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
273281
* // AutoRecovery: "disabled" || "default",
274282
* // },
275283
* // CurrentInstanceBootMode: "legacy-bios" || "uefi",
284+
* // Operator: "<OperatorResponse>",
276285
* // InstanceId: "STRING_VALUE",
277286
* // ImageId: "STRING_VALUE",
278287
* // State: { // InstanceState

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

+8
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,14 @@ export interface DescribeLaunchTemplateVersionsCommandOutput
330330
* // AutoRecovery: "default" || "disabled",
331331
* // },
332332
* // DisableApiStop: true || false,
333+
* // Operator: { // OperatorResponse
334+
* // Managed: true || false,
335+
* // Principal: "STRING_VALUE",
336+
* // },
337+
* // },
338+
* // Operator: {
339+
* // Managed: true || false,
340+
* // Principal: "STRING_VALUE",
333341
* // },
334342
* // },
335343
* // ],

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

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export interface DescribeLaunchTemplatesCommandOutput extends DescribeLaunchTemp
7171
* // Value: "STRING_VALUE",
7272
* // },
7373
* // ],
74+
* // Operator: { // OperatorResponse
75+
* // Managed: true || false,
76+
* // Principal: "STRING_VALUE",
77+
* // },
7478
* // },
7579
* // ],
7680
* // NextToken: "STRING_VALUE",

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

+4
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ export interface DescribeNetworkInterfacesCommandOutput extends DescribeNetworkI
156156
* // DenyAllIgwTraffic: true || false,
157157
* // Ipv6Native: true || false,
158158
* // Ipv6Address: "STRING_VALUE",
159+
* // Operator: { // OperatorResponse
160+
* // Managed: true || false,
161+
* // Principal: "STRING_VALUE",
162+
* // },
159163
* // },
160164
* // ],
161165
* // NextToken: "STRING_VALUE",

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DescribeSnapshotTierStatusRequest, DescribeSnapshotTierStatusResult } from "../models/models_4";
9+
import { DescribeSnapshotTierStatusRequest } from "../models/models_4";
10+
import { DescribeSnapshotTierStatusResult } from "../models/models_5";
1011
import { de_DescribeSnapshotTierStatusCommand, se_DescribeSnapshotTierStatusCommand } from "../protocols/Aws_ec2";
1112

1213
/**

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DescribeSpotDatafeedSubscriptionRequest } from "../models/models_4";
10-
import { DescribeSpotDatafeedSubscriptionResult } from "../models/models_5";
9+
import { DescribeSpotDatafeedSubscriptionRequest, DescribeSpotDatafeedSubscriptionResult } from "../models/models_5";
1110
import {
1211
de_DescribeSpotDatafeedSubscriptionCommand,
1312
se_DescribeSpotDatafeedSubscriptionCommand,

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

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResult, __M
8282
* // MultiAttachEnabled: true || false,
8383
* // Throughput: Number("int"),
8484
* // SseType: "sse-ebs" || "sse-kms" || "none",
85+
* // Operator: { // OperatorResponse
86+
* // Managed: true || false,
87+
* // Principal: "STRING_VALUE",
88+
* // },
8589
* // VolumeId: "STRING_VALUE",
8690
* // Size: Number("int"),
8791
* // SnapshotId: "STRING_VALUE",

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_5";
9+
import { GetCoipPoolUsageRequest } from "../models/models_5";
10+
import { GetCoipPoolUsageResult } from "../models/models_6";
1011
import { de_GetCoipPoolUsageCommand, se_GetCoipPoolUsageCommand } from "../protocols/Aws_ec2";
1112

1213
/**

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { GetConsoleOutputRequest } from "../models/models_5";
10-
import { GetConsoleOutputResult } from "../models/models_6";
9+
import { GetConsoleOutputRequest, GetConsoleOutputResult } from "../models/models_6";
1110
import { de_GetConsoleOutputCommand, se_GetConsoleOutputCommand } from "../protocols/Aws_ec2";
1211

1312
/**

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

+4
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
302302
* // AutoRecovery: "default" || "disabled",
303303
* // },
304304
* // DisableApiStop: true || false,
305+
* // Operator: { // OperatorResponse
306+
* // Managed: true || false,
307+
* // Principal: "STRING_VALUE",
308+
* // },
305309
* // },
306310
* // };
307311
*

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

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ export interface ModifyLaunchTemplateCommandOutput extends ModifyLaunchTemplateR
6060
* // Value: "STRING_VALUE",
6161
* // },
6262
* // ],
63+
* // Operator: { // OperatorResponse
64+
* // Managed: true || false,
65+
* // Principal: "STRING_VALUE",
66+
* // },
6367
* // },
6468
* // };
6569
*

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

+12
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
221221
* },
222222
* DisableApiStop: true || false,
223223
* EnablePrimaryIpv6: true || false,
224+
* Operator: { // OperatorRequest
225+
* Principal: "STRING_VALUE",
226+
* },
224227
* DryRun: true || false,
225228
* DisableApiTermination: true || false,
226229
* InstanceInitiatedShutdownBehavior: "stop" || "terminate",
@@ -313,6 +316,10 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
313316
* // VolumeId: "STRING_VALUE",
314317
* // AssociatedResource: "STRING_VALUE",
315318
* // VolumeOwnerId: "STRING_VALUE",
319+
* // Operator: { // OperatorResponse
320+
* // Managed: true || false,
321+
* // Principal: "STRING_VALUE",
322+
* // },
316323
* // },
317324
* // },
318325
* // ],
@@ -416,6 +423,10 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
416423
* // UdpStreamTimeout: Number("int"),
417424
* // UdpTimeout: Number("int"),
418425
* // },
426+
* // Operator: {
427+
* // Managed: true || false,
428+
* // Principal: "STRING_VALUE",
429+
* // },
419430
* // },
420431
* // ],
421432
* // OutpostArn: "STRING_VALUE",
@@ -483,6 +494,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
483494
* // AutoRecovery: "disabled" || "default",
484495
* // },
485496
* // CurrentInstanceBootMode: "legacy-bios" || "uefi",
497+
* // Operator: "<OperatorResponse>",
486498
* // InstanceId: "STRING_VALUE",
487499
* // ImageId: "STRING_VALUE",
488500
* // State: { // InstanceState

0 commit comments

Comments
 (0)