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

Lines changed: 10 additions & 0 deletions
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

Lines changed: 11 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 7 additions & 0 deletions
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

Lines changed: 7 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 4 additions & 0 deletions
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",

0 commit comments

Comments
 (0)