Skip to content

Commit

Permalink
feat(client-ec2): Adding request and response elements for managed re…
Browse files Browse the repository at this point in the history
…sources.
  • Loading branch information
awstools committed Nov 18, 2024
1 parent d7c1515 commit be4dacb
Show file tree
Hide file tree
Showing 32 changed files with 810 additions and 343 deletions.
10 changes: 10 additions & 0 deletions clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
* AutoRecovery: "default" || "disabled",
* },
* DisableApiStop: true || false,
* Operator: { // OperatorRequest
* Principal: "STRING_VALUE",
* },
* },
* Operator: {
* Principal: "STRING_VALUE",
* },
* TagSpecifications: [ // TagSpecificationList
* { // TagSpecification
Expand Down Expand Up @@ -330,6 +336,10 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
* // Value: "STRING_VALUE",
* // },
* // ],
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // Warning: { // ValidationWarning
* // Errors: [ // ErrorSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
* AutoRecovery: "default" || "disabled",
* },
* DisableApiStop: true || false,
* Operator: { // OperatorRequest
* Principal: "STRING_VALUE",
* },
* },
* ResolveAlias: true || false,
* };
Expand Down Expand Up @@ -568,6 +571,14 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
* // AutoRecovery: "default" || "disabled",
* // },
* // DisableApiStop: true || false,
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // Operator: {
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // Warning: { // ValidationWarning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateNetworkInsightsAccessScopeRequest, CreateNetworkInsightsAccessScopeResult } from "../models/models_1";
import { CreateNetworkInsightsAccessScopeRequest } from "../models/models_1";
import { CreateNetworkInsightsAccessScopeResult } from "../models/models_2";
import {
de_CreateNetworkInsightsAccessScopeCommand,
se_CreateNetworkInsightsAccessScopeCommand,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
* UdpStreamTimeout: Number("int"),
* UdpTimeout: Number("int"),
* },
* Operator: { // OperatorRequest
* Principal: "STRING_VALUE",
* },
* SubnetId: "STRING_VALUE", // required
* Description: "STRING_VALUE",
* PrivateIpAddress: "STRING_VALUE",
Expand Down Expand Up @@ -189,6 +192,10 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
* // DenyAllIgwTraffic: true || false,
* // Ipv6Native: true || false,
* // Ipv6Address: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ClientToken: "STRING_VALUE",
* // };
Expand Down
7 changes: 7 additions & 0 deletions clients/client-ec2/src/commands/CreateVolumeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
* MultiAttachEnabled: true || false,
* Throughput: Number("int"),
* ClientToken: "STRING_VALUE",
* Operator: { // OperatorRequest
* Principal: "STRING_VALUE",
* },
* DryRun: true || false,
* };
* const command = new CreateVolumeCommand(input);
Expand All @@ -86,6 +89,10 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
* // MultiAttachEnabled: true || false,
* // Throughput: Number("int"),
* // SseType: "sse-ebs" || "sse-kms" || "none",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // VolumeId: "STRING_VALUE",
* // Size: Number("int"),
* // SnapshotId: "STRING_VALUE",
Expand Down
2 changes: 1 addition & 1 deletion clients/client-ec2/src/commands/DeleteKeyPairCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeleteKeyPairRequest, DeleteKeyPairResult } from "../models/models_2";
import { DeleteKeyPairRequest, DeleteKeyPairResult } from "../models/models_3";
import { de_DeleteKeyPairCommand, se_DeleteKeyPairCommand } from "../protocols/Aws_ec2";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ export interface DeleteLaunchTemplateCommandOutput extends DeleteLaunchTemplateR
* // Value: "STRING_VALUE",
* // },
* // ],
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_3";
import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_4";
import { de_DescribeIdentityIdFormatCommand, se_DescribeIdentityIdFormatCommand } from "../protocols/Aws_ec2";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export interface DescribeInstanceAttributeCommandOutput extends InstanceAttribut
* // VolumeId: "STRING_VALUE",
* // AssociatedResource: "STRING_VALUE",
* // VolumeOwnerId: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export interface DescribeInstanceImageMetadataCommandOutput
* // DeprecationTime: "STRING_VALUE",
* // IsPublic: true || false,
* // },
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ export interface DescribeInstanceStatusCommandOutput extends DescribeInstanceSta
* // { // InstanceStatus
* // AvailabilityZone: "STRING_VALUE",
* // OutpostArn: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // Events: [ // InstanceStatusEventList
* // { // InstanceStatusEvent
* // InstanceEventId: "STRING_VALUE",
Expand Down
9 changes: 9 additions & 0 deletions clients/client-ec2/src/commands/DescribeInstancesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
* // VolumeId: "STRING_VALUE",
* // AssociatedResource: "STRING_VALUE",
* // VolumeOwnerId: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // },
* // ],
Expand Down Expand Up @@ -206,6 +210,10 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
* // UdpStreamTimeout: Number("int"),
* // UdpTimeout: Number("int"),
* // },
* // Operator: {
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
* // OutpostArn: "STRING_VALUE",
Expand Down Expand Up @@ -273,6 +281,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
* // AutoRecovery: "disabled" || "default",
* // },
* // CurrentInstanceBootMode: "legacy-bios" || "uefi",
* // Operator: "<OperatorResponse>",
* // InstanceId: "STRING_VALUE",
* // ImageId: "STRING_VALUE",
* // State: { // InstanceState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ export interface DescribeLaunchTemplateVersionsCommandOutput
* // AutoRecovery: "default" || "disabled",
* // },
* // DisableApiStop: true || false,
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // Operator: {
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ export interface DescribeLaunchTemplatesCommandOutput extends DescribeLaunchTemp
* // Value: "STRING_VALUE",
* // },
* // ],
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export interface DescribeNetworkInterfacesCommandOutput extends DescribeNetworkI
* // DenyAllIgwTraffic: true || false,
* // Ipv6Native: true || false,
* // Ipv6Address: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeSnapshotTierStatusRequest, DescribeSnapshotTierStatusResult } from "../models/models_4";
import { DescribeSnapshotTierStatusRequest } from "../models/models_4";
import { DescribeSnapshotTierStatusResult } from "../models/models_5";
import { de_DescribeSnapshotTierStatusCommand, se_DescribeSnapshotTierStatusCommand } from "../protocols/Aws_ec2";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeSpotDatafeedSubscriptionRequest } from "../models/models_4";
import { DescribeSpotDatafeedSubscriptionResult } from "../models/models_5";
import { DescribeSpotDatafeedSubscriptionRequest, DescribeSpotDatafeedSubscriptionResult } from "../models/models_5";
import {
de_DescribeSpotDatafeedSubscriptionCommand,
se_DescribeSpotDatafeedSubscriptionCommand,
Expand Down
4 changes: 4 additions & 0 deletions clients/client-ec2/src/commands/DescribeVolumesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResult, __M
* // MultiAttachEnabled: true || false,
* // Throughput: Number("int"),
* // SseType: "sse-ebs" || "sse-kms" || "none",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // VolumeId: "STRING_VALUE",
* // Size: Number("int"),
* // SnapshotId: "STRING_VALUE",
Expand Down
3 changes: 2 additions & 1 deletion clients/client-ec2/src/commands/GetCoipPoolUsageCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_5";
import { GetCoipPoolUsageRequest } from "../models/models_5";
import { GetCoipPoolUsageResult } from "../models/models_6";
import { de_GetCoipPoolUsageCommand, se_GetCoipPoolUsageCommand } from "../protocols/Aws_ec2";

/**
Expand Down
3 changes: 1 addition & 2 deletions clients/client-ec2/src/commands/GetConsoleOutputCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetConsoleOutputRequest } from "../models/models_5";
import { GetConsoleOutputResult } from "../models/models_6";
import { GetConsoleOutputRequest, GetConsoleOutputResult } from "../models/models_6";
import { de_GetConsoleOutputCommand, se_GetConsoleOutputCommand } from "../protocols/Aws_ec2";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,10 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
* // AutoRecovery: "default" || "disabled",
* // },
* // DisableApiStop: true || false,
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export interface ModifyLaunchTemplateCommandOutput extends ModifyLaunchTemplateR
* // Value: "STRING_VALUE",
* // },
* // ],
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
12 changes: 12 additions & 0 deletions clients/client-ec2/src/commands/RunInstancesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
* },
* DisableApiStop: true || false,
* EnablePrimaryIpv6: true || false,
* Operator: { // OperatorRequest
* Principal: "STRING_VALUE",
* },
* DryRun: true || false,
* DisableApiTermination: true || false,
* InstanceInitiatedShutdownBehavior: "stop" || "terminate",
Expand Down Expand Up @@ -313,6 +316,10 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
* // VolumeId: "STRING_VALUE",
* // AssociatedResource: "STRING_VALUE",
* // VolumeOwnerId: "STRING_VALUE",
* // Operator: { // OperatorResponse
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // },
* // ],
Expand Down Expand Up @@ -416,6 +423,10 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
* // UdpStreamTimeout: Number("int"),
* // UdpTimeout: Number("int"),
* // },
* // Operator: {
* // Managed: true || false,
* // Principal: "STRING_VALUE",
* // },
* // },
* // ],
* // OutpostArn: "STRING_VALUE",
Expand Down Expand Up @@ -483,6 +494,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
* // AutoRecovery: "disabled" || "default",
* // },
* // CurrentInstanceBootMode: "legacy-bios" || "uefi",
* // Operator: "<OperatorResponse>",
* // InstanceId: "STRING_VALUE",
* // ImageId: "STRING_VALUE",
* // State: { // InstanceState
Expand Down
Loading

0 comments on commit be4dacb

Please sign in to comment.