@aws-sdk/client-ec2 3.348.0 → 3.352.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/EC2.js +6 -0
- package/dist-cjs/commands/CreateInstanceConnectEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteInstanceConnectEndpointCommand.js +46 -0
- package/dist-cjs/commands/DescribeInstanceConnectEndpointsCommand.js +46 -0
- package/dist-cjs/commands/DescribeVerifiedAccessTrustProvidersCommand.js +2 -2
- package/dist-cjs/commands/ImportImageCommand.js +2 -1
- package/dist-cjs/commands/ImportInstanceCommand.js +3 -3
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/models/models_1.js +10 -10
- package/dist-cjs/models/models_2.js +10 -2
- package/dist-cjs/models/models_3.js +2 -26
- package/dist-cjs/models/models_4.js +26 -13
- package/dist-cjs/models/models_5.js +12 -41
- package/dist-cjs/models/models_6.js +41 -7
- package/dist-cjs/models/models_7.js +5 -0
- package/dist-cjs/pagination/DescribeInstanceConnectEndpointsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_ec2.js +341 -23
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/CreateInstanceConnectEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteInstanceConnectEndpointCommand.js +42 -0
- package/dist-es/commands/DescribeInstanceConnectEndpointsCommand.js +42 -0
- package/dist-es/commands/DescribeVerifiedAccessTrustProvidersCommand.js +1 -1
- package/dist-es/commands/ImportImageCommand.js +2 -1
- package/dist-es/commands/ImportInstanceCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_1.js +8 -8
- package/dist-es/models/models_2.js +8 -0
- package/dist-es/models/models_3.js +0 -24
- package/dist-es/models/models_4.js +24 -11
- package/dist-es/models/models_5.js +10 -33
- package/dist-es/models/models_6.js +33 -6
- package/dist-es/models/models_7.js +4 -1
- package/dist-es/pagination/DescribeInstanceConnectEndpointsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +312 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +6 -10
- package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +2 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +1 -11
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +120 -0
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -3
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +99 -0
- package/dist-types/commands/DeleteQueuedReservedInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +9 -0
- package/dist-types/commands/DescribeAddressesCommand.d.ts +0 -5
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +114 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +5 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateAddressCommand.d.ts +0 -6
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportImageCommand.d.ts +3 -2
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +4 -4
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +2 -8
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +3 -3
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/commands/SearchLocalGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +18 -24
- package/dist-types/models/models_1.d.ts +151 -91
- package/dist-types/models/models_2.d.ts +115 -102
- package/dist-types/models/models_3.d.ts +186 -160
- package/dist-types/models/models_4.d.ts +154 -150
- package/dist-types/models/models_5.d.ts +148 -250
- package/dist-types/models/models_6.d.ts +239 -288
- package/dist-types/models/models_7.d.ts +299 -2
- package/dist-types/pagination/DescribeInstanceConnectEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +51 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateInstanceConnectEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteQueuedReservedInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ImportImageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchLocalGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +39 -26
- package/dist-types/ts3.4/models/models_2.d.ts +34 -28
- package/dist-types/ts3.4/models/models_3.d.ts +40 -47
- package/dist-types/ts3.4/models/models_4.d.ts +47 -48
- package/dist-types/ts3.4/models/models_5.d.ts +49 -83
- package/dist-types/ts3.4/models/models_6.d.ts +85 -62
- package/dist-types/ts3.4/models/models_7.d.ts +55 -1
- package/dist-types/ts3.4/pagination/DescribeInstanceConnectEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +6 -6
package/dist-es/EC2.js
CHANGED
|
@@ -69,6 +69,7 @@ import { CreateFleetCommand } from "./commands/CreateFleetCommand";
|
|
|
69
69
|
import { CreateFlowLogsCommand, } from "./commands/CreateFlowLogsCommand";
|
|
70
70
|
import { CreateFpgaImageCommand, } from "./commands/CreateFpgaImageCommand";
|
|
71
71
|
import { CreateImageCommand } from "./commands/CreateImageCommand";
|
|
72
|
+
import { CreateInstanceConnectEndpointCommand, } from "./commands/CreateInstanceConnectEndpointCommand";
|
|
72
73
|
import { CreateInstanceEventWindowCommand, } from "./commands/CreateInstanceEventWindowCommand";
|
|
73
74
|
import { CreateInstanceExportTaskCommand, } from "./commands/CreateInstanceExportTaskCommand";
|
|
74
75
|
import { CreateInternetGatewayCommand, } from "./commands/CreateInternetGatewayCommand";
|
|
@@ -145,6 +146,7 @@ import { DeleteEgressOnlyInternetGatewayCommand, } from "./commands/DeleteEgress
|
|
|
145
146
|
import { DeleteFleetsCommand, } from "./commands/DeleteFleetsCommand";
|
|
146
147
|
import { DeleteFlowLogsCommand, } from "./commands/DeleteFlowLogsCommand";
|
|
147
148
|
import { DeleteFpgaImageCommand, } from "./commands/DeleteFpgaImageCommand";
|
|
149
|
+
import { DeleteInstanceConnectEndpointCommand, } from "./commands/DeleteInstanceConnectEndpointCommand";
|
|
148
150
|
import { DeleteInstanceEventWindowCommand, } from "./commands/DeleteInstanceEventWindowCommand";
|
|
149
151
|
import { DeleteInternetGatewayCommand, } from "./commands/DeleteInternetGatewayCommand";
|
|
150
152
|
import { DeleteIpamCommand } from "./commands/DeleteIpamCommand";
|
|
@@ -259,6 +261,7 @@ import { DescribeImagesCommand, } from "./commands/DescribeImagesCommand";
|
|
|
259
261
|
import { DescribeImportImageTasksCommand, } from "./commands/DescribeImportImageTasksCommand";
|
|
260
262
|
import { DescribeImportSnapshotTasksCommand, } from "./commands/DescribeImportSnapshotTasksCommand";
|
|
261
263
|
import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
|
|
264
|
+
import { DescribeInstanceConnectEndpointsCommand, } from "./commands/DescribeInstanceConnectEndpointsCommand";
|
|
262
265
|
import { DescribeInstanceCreditSpecificationsCommand, } from "./commands/DescribeInstanceCreditSpecificationsCommand";
|
|
263
266
|
import { DescribeInstanceEventNotificationAttributesCommand, } from "./commands/DescribeInstanceEventNotificationAttributesCommand";
|
|
264
267
|
import { DescribeInstanceEventWindowsCommand, } from "./commands/DescribeInstanceEventWindowsCommand";
|
|
@@ -662,6 +665,7 @@ const commands = {
|
|
|
662
665
|
CreateFlowLogsCommand,
|
|
663
666
|
CreateFpgaImageCommand,
|
|
664
667
|
CreateImageCommand,
|
|
668
|
+
CreateInstanceConnectEndpointCommand,
|
|
665
669
|
CreateInstanceEventWindowCommand,
|
|
666
670
|
CreateInstanceExportTaskCommand,
|
|
667
671
|
CreateInternetGatewayCommand,
|
|
@@ -738,6 +742,7 @@ const commands = {
|
|
|
738
742
|
DeleteFleetsCommand,
|
|
739
743
|
DeleteFlowLogsCommand,
|
|
740
744
|
DeleteFpgaImageCommand,
|
|
745
|
+
DeleteInstanceConnectEndpointCommand,
|
|
741
746
|
DeleteInstanceEventWindowCommand,
|
|
742
747
|
DeleteInternetGatewayCommand,
|
|
743
748
|
DeleteIpamCommand,
|
|
@@ -852,6 +857,7 @@ const commands = {
|
|
|
852
857
|
DescribeImportImageTasksCommand,
|
|
853
858
|
DescribeImportSnapshotTasksCommand,
|
|
854
859
|
DescribeInstanceAttributeCommand,
|
|
860
|
+
DescribeInstanceConnectEndpointsCommand,
|
|
855
861
|
DescribeInstanceCreditSpecificationsCommand,
|
|
856
862
|
DescribeInstanceEventNotificationAttributesCommand,
|
|
857
863
|
DescribeInstanceEventWindowsCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateInstanceConnectEndpointCommand, se_CreateInstanceConnectEndpointCommand } from "../protocols/Aws_ec2";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateInstanceConnectEndpointCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateInstanceConnectEndpointCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "CreateInstanceConnectEndpointCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateInstanceConnectEndpointCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateInstanceConnectEndpointCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteInstanceConnectEndpointCommand, se_DeleteInstanceConnectEndpointCommand } from "../protocols/Aws_ec2";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteInstanceConnectEndpointCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteInstanceConnectEndpointCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DeleteInstanceConnectEndpointCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteInstanceConnectEndpointCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteInstanceConnectEndpointCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeInstanceConnectEndpointsCommand, se_DescribeInstanceConnectEndpointsCommand, } from "../protocols/Aws_ec2";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeInstanceConnectEndpointsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstanceConnectEndpointsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DescribeInstanceConnectEndpointsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeInstanceConnectEndpointsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeInstanceConnectEndpointsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
5
|
import { de_DescribeVerifiedAccessTrustProvidersCommand, se_DescribeVerifiedAccessTrustProvidersCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeVerifiedAccessTrustProvidersCommand extends $Command {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ImportImageRequestFilterSensitiveLog
|
|
4
|
+
import { ImportImageRequestFilterSensitiveLog } from "../models/models_5";
|
|
5
|
+
import { ImportImageResultFilterSensitiveLog } from "../models/models_6";
|
|
5
6
|
import { de_ImportImageCommand, se_ImportImageCommand } from "../protocols/Aws_ec2";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class ImportImageCommand extends $Command {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ImportInstanceRequestFilterSensitiveLog, ImportInstanceResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ImportInstanceRequestFilterSensitiveLog, ImportInstanceResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { de_ImportInstanceCommand, se_ImportInstanceCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ImportInstanceCommand extends $Command {
|
|
@@ -68,6 +68,7 @@ export * from "./CreateFleetCommand";
|
|
|
68
68
|
export * from "./CreateFlowLogsCommand";
|
|
69
69
|
export * from "./CreateFpgaImageCommand";
|
|
70
70
|
export * from "./CreateImageCommand";
|
|
71
|
+
export * from "./CreateInstanceConnectEndpointCommand";
|
|
71
72
|
export * from "./CreateInstanceEventWindowCommand";
|
|
72
73
|
export * from "./CreateInstanceExportTaskCommand";
|
|
73
74
|
export * from "./CreateInternetGatewayCommand";
|
|
@@ -144,6 +145,7 @@ export * from "./DeleteEgressOnlyInternetGatewayCommand";
|
|
|
144
145
|
export * from "./DeleteFleetsCommand";
|
|
145
146
|
export * from "./DeleteFlowLogsCommand";
|
|
146
147
|
export * from "./DeleteFpgaImageCommand";
|
|
148
|
+
export * from "./DeleteInstanceConnectEndpointCommand";
|
|
147
149
|
export * from "./DeleteInstanceEventWindowCommand";
|
|
148
150
|
export * from "./DeleteInternetGatewayCommand";
|
|
149
151
|
export * from "./DeleteIpamCommand";
|
|
@@ -258,6 +260,7 @@ export * from "./DescribeImagesCommand";
|
|
|
258
260
|
export * from "./DescribeImportImageTasksCommand";
|
|
259
261
|
export * from "./DescribeImportSnapshotTasksCommand";
|
|
260
262
|
export * from "./DescribeInstanceAttributeCommand";
|
|
263
|
+
export * from "./DescribeInstanceConnectEndpointsCommand";
|
|
261
264
|
export * from "./DescribeInstanceCreditSpecificationsCommand";
|
|
262
265
|
export * from "./DescribeInstanceEventNotificationAttributesCommand";
|
|
263
266
|
export * from "./DescribeInstanceEventWindowsCommand";
|
|
@@ -42,6 +42,7 @@ export const ResourceType = {
|
|
|
42
42
|
import_image_task: "import-image-task",
|
|
43
43
|
import_snapshot_task: "import-snapshot-task",
|
|
44
44
|
instance: "instance",
|
|
45
|
+
instance_connect_endpoint: "instance-connect-endpoint",
|
|
45
46
|
instance_event_window: "instance-event-window",
|
|
46
47
|
internet_gateway: "internet-gateway",
|
|
47
48
|
ipam: "ipam",
|
|
@@ -150,6 +150,14 @@ export const VolumeType = {
|
|
|
150
150
|
st1: "st1",
|
|
151
151
|
standard: "standard",
|
|
152
152
|
};
|
|
153
|
+
export const Ec2InstanceConnectEndpointState = {
|
|
154
|
+
create_complete: "create-complete",
|
|
155
|
+
create_failed: "create-failed",
|
|
156
|
+
create_in_progress: "create-in-progress",
|
|
157
|
+
delete_complete: "delete-complete",
|
|
158
|
+
delete_failed: "delete-failed",
|
|
159
|
+
delete_in_progress: "delete-in-progress",
|
|
160
|
+
};
|
|
153
161
|
export const ContainerFormat = {
|
|
154
162
|
ova: "ova",
|
|
155
163
|
};
|
|
@@ -392,14 +400,6 @@ export const PlacementGroupState = {
|
|
|
392
400
|
deleting: "deleting",
|
|
393
401
|
pending: "pending",
|
|
394
402
|
};
|
|
395
|
-
export const ReplaceRootVolumeTaskState = {
|
|
396
|
-
failed: "failed",
|
|
397
|
-
failed_detached: "failed-detached",
|
|
398
|
-
failing: "failing",
|
|
399
|
-
in_progress: "in-progress",
|
|
400
|
-
pending: "pending",
|
|
401
|
-
succeeded: "succeeded",
|
|
402
|
-
};
|
|
403
403
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
404
404
|
...obj,
|
|
405
405
|
...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const ReplaceRootVolumeTaskState = {
|
|
4
|
+
failed: "failed",
|
|
5
|
+
failed_detached: "failed-detached",
|
|
6
|
+
failing: "failing",
|
|
7
|
+
in_progress: "in-progress",
|
|
8
|
+
pending: "pending",
|
|
9
|
+
succeeded: "succeeded",
|
|
10
|
+
};
|
|
3
11
|
export const RouteOrigin = {
|
|
4
12
|
CreateRoute: "CreateRoute",
|
|
5
13
|
CreateRouteTable: "CreateRouteTable",
|
|
@@ -211,30 +211,6 @@ export const InstanceLifecycleType = {
|
|
|
211
211
|
scheduled: "scheduled",
|
|
212
212
|
spot: "spot",
|
|
213
213
|
};
|
|
214
|
-
export const InstanceAutoRecoveryState = {
|
|
215
|
-
default: "default",
|
|
216
|
-
disabled: "disabled",
|
|
217
|
-
};
|
|
218
|
-
export const InstanceMetadataEndpointState = {
|
|
219
|
-
disabled: "disabled",
|
|
220
|
-
enabled: "enabled",
|
|
221
|
-
};
|
|
222
|
-
export const InstanceMetadataProtocolState = {
|
|
223
|
-
disabled: "disabled",
|
|
224
|
-
enabled: "enabled",
|
|
225
|
-
};
|
|
226
|
-
export const HttpTokensState = {
|
|
227
|
-
optional: "optional",
|
|
228
|
-
required: "required",
|
|
229
|
-
};
|
|
230
|
-
export const InstanceMetadataTagsState = {
|
|
231
|
-
disabled: "disabled",
|
|
232
|
-
enabled: "enabled",
|
|
233
|
-
};
|
|
234
|
-
export const InstanceMetadataOptionsState = {
|
|
235
|
-
applied: "applied",
|
|
236
|
-
pending: "pending",
|
|
237
|
-
};
|
|
238
214
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
239
215
|
...obj,
|
|
240
216
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const InstanceAutoRecoveryState = {
|
|
4
|
+
default: "default",
|
|
5
|
+
disabled: "disabled",
|
|
6
|
+
};
|
|
7
|
+
export const InstanceMetadataEndpointState = {
|
|
8
|
+
disabled: "disabled",
|
|
9
|
+
enabled: "enabled",
|
|
10
|
+
};
|
|
11
|
+
export const InstanceMetadataProtocolState = {
|
|
12
|
+
disabled: "disabled",
|
|
13
|
+
enabled: "enabled",
|
|
14
|
+
};
|
|
15
|
+
export const HttpTokensState = {
|
|
16
|
+
optional: "optional",
|
|
17
|
+
required: "required",
|
|
18
|
+
};
|
|
19
|
+
export const InstanceMetadataTagsState = {
|
|
20
|
+
disabled: "disabled",
|
|
21
|
+
enabled: "enabled",
|
|
22
|
+
};
|
|
23
|
+
export const InstanceMetadataOptionsState = {
|
|
24
|
+
applied: "applied",
|
|
25
|
+
pending: "pending",
|
|
26
|
+
};
|
|
4
27
|
export const MonitoringState = {
|
|
5
28
|
disabled: "disabled",
|
|
6
29
|
disabling: "disabling",
|
|
@@ -203,10 +226,6 @@ export const VerifiedAccessLogDeliveryStatusCode = {
|
|
|
203
226
|
FAILED: "failed",
|
|
204
227
|
SUCCESS: "success",
|
|
205
228
|
};
|
|
206
|
-
export const VolumeAttributeName = {
|
|
207
|
-
autoEnableIO: "autoEnableIO",
|
|
208
|
-
productCodes: "productCodes",
|
|
209
|
-
};
|
|
210
229
|
export const DescribeLaunchTemplateVersionsResultFilterSensitiveLog = (obj) => ({
|
|
211
230
|
...obj,
|
|
212
231
|
...(obj.LaunchTemplateVersions && {
|
|
@@ -248,9 +267,3 @@ export const DescribeSpotInstanceRequestsResultFilterSensitiveLog = (obj) => ({
|
|
|
248
267
|
SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
|
|
249
268
|
}),
|
|
250
269
|
});
|
|
251
|
-
export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
...(obj.VerifiedAccessTrustProviders && {
|
|
254
|
-
VerifiedAccessTrustProviders: obj.VerifiedAccessTrustProviders.map((item) => VerifiedAccessTrustProviderFilterSensitiveLog(item)),
|
|
255
|
-
}),
|
|
256
|
-
});
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
|
|
4
|
-
|
|
4
|
+
export const VolumeAttributeName = {
|
|
5
|
+
autoEnableIO: "autoEnableIO",
|
|
6
|
+
productCodes: "productCodes",
|
|
7
|
+
};
|
|
5
8
|
export const VolumeModificationState = {
|
|
6
9
|
completed: "completed",
|
|
7
10
|
failed: "failed",
|
|
@@ -79,6 +82,12 @@ export const IpamManagementState = {
|
|
|
79
82
|
managed: "managed",
|
|
80
83
|
unmanaged: "unmanaged",
|
|
81
84
|
};
|
|
85
|
+
export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
|
|
86
|
+
...obj,
|
|
87
|
+
...(obj.VerifiedAccessTrustProviders && {
|
|
88
|
+
VerifiedAccessTrustProviders: obj.VerifiedAccessTrustProviders.map((item) => VerifiedAccessTrustProviderFilterSensitiveLog(item)),
|
|
89
|
+
}),
|
|
90
|
+
});
|
|
82
91
|
export const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
83
92
|
...obj,
|
|
84
93
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -105,35 +114,3 @@ export const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
|
105
114
|
DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item)),
|
|
106
115
|
}),
|
|
107
116
|
});
|
|
108
|
-
export const ImportImageResultFilterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
...(obj.SnapshotDetails && {
|
|
111
|
-
SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)),
|
|
112
|
-
}),
|
|
113
|
-
});
|
|
114
|
-
export const DiskImageDetailFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
|
|
117
|
-
});
|
|
118
|
-
export const DiskImageFilterSensitiveLog = (obj) => ({
|
|
119
|
-
...obj,
|
|
120
|
-
...(obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }),
|
|
121
|
-
});
|
|
122
|
-
export const UserDataFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
export const ImportInstanceLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
128
|
-
});
|
|
129
|
-
export const ImportInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
...(obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) }),
|
|
132
|
-
...(obj.LaunchSpecification && {
|
|
133
|
-
LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
|
|
134
|
-
}),
|
|
135
|
-
});
|
|
136
|
-
export const ImportInstanceResultFilterSensitiveLog = (obj) => ({
|
|
137
|
-
...obj,
|
|
138
|
-
...(obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) }),
|
|
139
|
-
});
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
-
import { ConversionTaskFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_3";
|
|
3
|
+
import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_3";
|
|
4
4
|
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_4";
|
|
5
|
-
import { DiskImageDetailFilterSensitiveLog, } from "./models_5";
|
|
6
5
|
export const ModifyAvailabilityZoneOptInStatus = {
|
|
7
6
|
not_opted_in: "not-opted-in",
|
|
8
7
|
opted_in: "opted-in",
|
|
@@ -64,10 +63,38 @@ export const ResetFpgaImageAttributeName = {
|
|
|
64
63
|
export const ResetImageAttributeName = {
|
|
65
64
|
launchPermission: "launchPermission",
|
|
66
65
|
};
|
|
67
|
-
export const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
export const ImportImageResultFilterSensitiveLog = (obj) => ({
|
|
67
|
+
...obj,
|
|
68
|
+
...(obj.SnapshotDetails && {
|
|
69
|
+
SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)),
|
|
70
|
+
}),
|
|
71
|
+
});
|
|
72
|
+
export const DiskImageDetailFilterSensitiveLog = (obj) => ({
|
|
73
|
+
...obj,
|
|
74
|
+
...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
|
|
75
|
+
});
|
|
76
|
+
export const DiskImageFilterSensitiveLog = (obj) => ({
|
|
77
|
+
...obj,
|
|
78
|
+
...(obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }),
|
|
79
|
+
});
|
|
80
|
+
export const UserDataFilterSensitiveLog = (obj) => ({
|
|
81
|
+
...obj,
|
|
82
|
+
});
|
|
83
|
+
export const ImportInstanceLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
84
|
+
...obj,
|
|
85
|
+
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
86
|
+
});
|
|
87
|
+
export const ImportInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
88
|
+
...obj,
|
|
89
|
+
...(obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) }),
|
|
90
|
+
...(obj.LaunchSpecification && {
|
|
91
|
+
LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
|
|
92
|
+
}),
|
|
93
|
+
});
|
|
94
|
+
export const ImportInstanceResultFilterSensitiveLog = (obj) => ({
|
|
95
|
+
...obj,
|
|
96
|
+
...(obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) }),
|
|
97
|
+
});
|
|
71
98
|
export const SnapshotDiskContainerFilterSensitiveLog = (obj) => ({
|
|
72
99
|
...obj,
|
|
73
100
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DescribeInstanceConnectEndpointsCommand, } from "../commands/DescribeInstanceConnectEndpointsCommand";
|
|
2
|
+
import { EC2Client } from "../EC2Client";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeInstanceConnectEndpointsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeInstanceConnectEndpoints(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof EC2Client) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected EC2 | EC2Client");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -28,6 +28,7 @@ export * from "./DescribeIamInstanceProfileAssociationsPaginator";
|
|
|
28
28
|
export * from "./DescribeImagesPaginator";
|
|
29
29
|
export * from "./DescribeImportImageTasksPaginator";
|
|
30
30
|
export * from "./DescribeImportSnapshotTasksPaginator";
|
|
31
|
+
export * from "./DescribeInstanceConnectEndpointsPaginator";
|
|
31
32
|
export * from "./DescribeInstanceCreditSpecificationsPaginator";
|
|
32
33
|
export * from "./DescribeInstanceEventWindowsPaginator";
|
|
33
34
|
export * from "./DescribeInstanceStatusPaginator";
|