@aws-sdk/client-ec2 3.216.0 → 3.219.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/dist-cjs/EC2.js +75 -0
- package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +1 -2
- package/dist-cjs/commands/CreateSubnetCommand.js +3 -3
- package/dist-cjs/commands/DeregisterInstanceEventNotificationAttributesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +46 -0
- package/dist-cjs/commands/DescribeIpamScopesCommand.js +3 -3
- package/dist-cjs/commands/DescribeIpamsCommand.js +2 -1
- package/dist-cjs/commands/DescribeIpv6PoolsCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyPairsCommand.js +3 -3
- package/dist-cjs/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/DisassociateIamInstanceProfileCommand.js +2 -1
- package/dist-cjs/commands/DisassociateInstanceEventWindowCommand.js +3 -3
- package/dist-cjs/commands/DisassociateRouteTableCommand.js +2 -2
- package/dist-cjs/commands/DisassociateSubnetCidrBlockCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayMulticastDomainCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayPolicyTableCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
- package/dist-cjs/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +46 -0
- package/dist-cjs/commands/GetAwsNetworkPerformanceDataCommand.js +46 -0
- package/dist-cjs/commands/ModifyTransitGatewayCommand.js +2 -1
- package/dist-cjs/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +3 -3
- package/dist-cjs/commands/ModifyTransitGatewayVpcAttachmentCommand.js +3 -3
- package/dist-cjs/commands/ModifyVolumeAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyVolumeCommand.js +3 -3
- package/dist-cjs/commands/ModifyVpcAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyVpcEndpointCommand.js +3 -3
- package/dist-cjs/commands/ModifyVpcEndpointConnectionNotificationCommand.js +3 -3
- package/dist-cjs/commands/ModifyVpcEndpointServiceConfigurationCommand.js +3 -3
- package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +3 -3
- package/dist-cjs/commands/ModifyVpcEndpointServicePermissionsCommand.js +3 -3
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +13 -14
- package/dist-cjs/models/models_1.js +23 -23
- package/dist-cjs/models/models_2.js +23 -22
- package/dist-cjs/models/models_3.js +51 -46
- package/dist-cjs/models/models_4.js +54 -54
- package/dist-cjs/models/models_5.js +90 -90
- package/dist-cjs/models/models_6.js +88 -4
- package/dist-cjs/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +36 -0
- package/dist-cjs/pagination/GetAwsNetworkPerformanceDataPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_ec2.js +617 -18
- package/dist-es/EC2.js +75 -0
- package/dist-es/commands/CreateSubnetCidrReservationCommand.js +1 -2
- package/dist-es/commands/CreateSubnetCommand.js +1 -1
- package/dist-es/commands/DeregisterInstanceEventNotificationAttributesCommand.js +1 -1
- package/dist-es/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +42 -0
- package/dist-es/commands/DescribeIpamScopesCommand.js +1 -1
- package/dist-es/commands/DescribeIpamsCommand.js +2 -1
- package/dist-es/commands/DescribeIpv6PoolsCommand.js +1 -1
- package/dist-es/commands/DescribeKeyPairsCommand.js +1 -1
- package/dist-es/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
- package/dist-es/commands/DisassociateIamInstanceProfileCommand.js +2 -1
- package/dist-es/commands/DisassociateInstanceEventWindowCommand.js +1 -1
- package/dist-es/commands/DisassociateRouteTableCommand.js +1 -1
- package/dist-es/commands/DisassociateSubnetCidrBlockCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayMulticastDomainCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayPolicyTableCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
- package/dist-es/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
- package/dist-es/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +42 -0
- package/dist-es/commands/GetAwsNetworkPerformanceDataCommand.js +42 -0
- package/dist-es/commands/ModifyTransitGatewayCommand.js +2 -1
- package/dist-es/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +1 -1
- package/dist-es/commands/ModifyTransitGatewayVpcAttachmentCommand.js +1 -1
- package/dist-es/commands/ModifyVolumeAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyVolumeCommand.js +1 -1
- package/dist-es/commands/ModifyVpcAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyVpcEndpointCommand.js +1 -1
- package/dist-es/commands/ModifyVpcEndpointConnectionNotificationCommand.js +1 -1
- package/dist-es/commands/ModifyVpcEndpointServiceConfigurationCommand.js +1 -1
- package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +1 -1
- package/dist-es/commands/ModifyVpcEndpointServicePermissionsCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +6 -8
- package/dist-es/models/models_1.js +14 -14
- package/dist-es/models/models_2.js +14 -12
- package/dist-es/models/models_3.js +38 -30
- package/dist-es/models/models_4.js +36 -36
- package/dist-es/models/models_5.js +63 -63
- package/dist-es/models/models_6.js +63 -0
- package/dist-es/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +32 -0
- package/dist-es/pagination/GetAwsNetworkPerformanceDataPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_ec2.js +588 -0
- package/dist-types/EC2.d.ts +36 -3
- package/dist-types/EC2Client.d.ts +7 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +37 -0
- package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -2
- package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +20 -0
- package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +37 -0
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +2 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +47 -32
- package/dist-types/models/models_1.d.ts +135 -175
- package/dist-types/models/models_2.d.ts +124 -64
- package/dist-types/models/models_3.d.ts +191 -292
- package/dist-types/models/models_4.d.ts +373 -221
- package/dist-types/models/models_5.d.ts +396 -526
- package/dist-types/models/models_6.d.ts +539 -12
- package/dist-types/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_ec2.d.ts +15 -0
- package/dist-types/ts3.4/EC2.d.ts +109 -0
- package/dist-types/ts3.4/EC2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DisassociateIamInstanceProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -12
- package/dist-types/ts3.4/models/models_1.d.ts +28 -37
- package/dist-types/ts3.4/models/models_2.d.ts +36 -28
- package/dist-types/ts3.4/models/models_3.d.ts +67 -84
- package/dist-types/ts3.4/models/models_4.d.ts +103 -90
- package/dist-types/ts3.4/models/models_5.d.ts +165 -190
- package/dist-types/ts3.4/models/models_6.d.ts +195 -6
- package/dist-types/ts3.4/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
- package/package.json +3 -3
package/dist-es/EC2.js
CHANGED
|
@@ -205,6 +205,7 @@ import { DescribeAddressesCommand, } from "./commands/DescribeAddressesCommand";
|
|
|
205
205
|
import { DescribeAddressTransfersCommand, } from "./commands/DescribeAddressTransfersCommand";
|
|
206
206
|
import { DescribeAggregateIdFormatCommand, } from "./commands/DescribeAggregateIdFormatCommand";
|
|
207
207
|
import { DescribeAvailabilityZonesCommand, } from "./commands/DescribeAvailabilityZonesCommand";
|
|
208
|
+
import { DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, } from "./commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
|
|
208
209
|
import { DescribeBundleTasksCommand, } from "./commands/DescribeBundleTasksCommand";
|
|
209
210
|
import { DescribeByoipCidrsCommand, } from "./commands/DescribeByoipCidrsCommand";
|
|
210
211
|
import { DescribeCapacityReservationFleetsCommand, } from "./commands/DescribeCapacityReservationFleetsCommand";
|
|
@@ -341,6 +342,7 @@ import { DetachNetworkInterfaceCommand, } from "./commands/DetachNetworkInterfac
|
|
|
341
342
|
import { DetachVolumeCommand, } from "./commands/DetachVolumeCommand";
|
|
342
343
|
import { DetachVpnGatewayCommand, } from "./commands/DetachVpnGatewayCommand";
|
|
343
344
|
import { DisableAddressTransferCommand, } from "./commands/DisableAddressTransferCommand";
|
|
345
|
+
import { DisableAwsNetworkPerformanceMetricSubscriptionCommand, } from "./commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
344
346
|
import { DisableEbsEncryptionByDefaultCommand, } from "./commands/DisableEbsEncryptionByDefaultCommand";
|
|
345
347
|
import { DisableFastLaunchCommand, } from "./commands/DisableFastLaunchCommand";
|
|
346
348
|
import { DisableFastSnapshotRestoresCommand, } from "./commands/DisableFastSnapshotRestoresCommand";
|
|
@@ -364,11 +366,13 @@ import { DisassociateTransitGatewayRouteTableCommand, } from "./commands/Disasso
|
|
|
364
366
|
import { DisassociateTrunkInterfaceCommand, } from "./commands/DisassociateTrunkInterfaceCommand";
|
|
365
367
|
import { DisassociateVpcCidrBlockCommand, } from "./commands/DisassociateVpcCidrBlockCommand";
|
|
366
368
|
import { EnableAddressTransferCommand, } from "./commands/EnableAddressTransferCommand";
|
|
369
|
+
import { EnableAwsNetworkPerformanceMetricSubscriptionCommand, } from "./commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
367
370
|
import { EnableEbsEncryptionByDefaultCommand, } from "./commands/EnableEbsEncryptionByDefaultCommand";
|
|
368
371
|
import { EnableFastLaunchCommand, } from "./commands/EnableFastLaunchCommand";
|
|
369
372
|
import { EnableFastSnapshotRestoresCommand, } from "./commands/EnableFastSnapshotRestoresCommand";
|
|
370
373
|
import { EnableImageDeprecationCommand, } from "./commands/EnableImageDeprecationCommand";
|
|
371
374
|
import { EnableIpamOrganizationAdminAccountCommand, } from "./commands/EnableIpamOrganizationAdminAccountCommand";
|
|
375
|
+
import { EnableReachabilityAnalyzerOrganizationSharingCommand, } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
372
376
|
import { EnableSerialConsoleAccessCommand, } from "./commands/EnableSerialConsoleAccessCommand";
|
|
373
377
|
import { EnableTransitGatewayRouteTablePropagationCommand, } from "./commands/EnableTransitGatewayRouteTablePropagationCommand";
|
|
374
378
|
import { EnableVgwRoutePropagationCommand, } from "./commands/EnableVgwRoutePropagationCommand";
|
|
@@ -381,6 +385,7 @@ import { ExportImageCommand } from "./commands/ExportImageCommand";
|
|
|
381
385
|
import { ExportTransitGatewayRoutesCommand, } from "./commands/ExportTransitGatewayRoutesCommand";
|
|
382
386
|
import { GetAssociatedEnclaveCertificateIamRolesCommand, } from "./commands/GetAssociatedEnclaveCertificateIamRolesCommand";
|
|
383
387
|
import { GetAssociatedIpv6PoolCidrsCommand, } from "./commands/GetAssociatedIpv6PoolCidrsCommand";
|
|
388
|
+
import { GetAwsNetworkPerformanceDataCommand, } from "./commands/GetAwsNetworkPerformanceDataCommand";
|
|
384
389
|
import { GetCapacityReservationUsageCommand, } from "./commands/GetCapacityReservationUsageCommand";
|
|
385
390
|
import { GetCoipPoolUsageCommand, } from "./commands/GetCoipPoolUsageCommand";
|
|
386
391
|
import { GetConsoleOutputCommand, } from "./commands/GetConsoleOutputCommand";
|
|
@@ -3445,6 +3450,20 @@ export class EC2 extends EC2Client {
|
|
|
3445
3450
|
return this.send(command, optionsOrCb);
|
|
3446
3451
|
}
|
|
3447
3452
|
}
|
|
3453
|
+
describeAwsNetworkPerformanceMetricSubscriptions(args, optionsOrCb, cb) {
|
|
3454
|
+
const command = new DescribeAwsNetworkPerformanceMetricSubscriptionsCommand(args);
|
|
3455
|
+
if (typeof optionsOrCb === "function") {
|
|
3456
|
+
this.send(command, optionsOrCb);
|
|
3457
|
+
}
|
|
3458
|
+
else if (typeof cb === "function") {
|
|
3459
|
+
if (typeof optionsOrCb !== "object")
|
|
3460
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3461
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
3462
|
+
}
|
|
3463
|
+
else {
|
|
3464
|
+
return this.send(command, optionsOrCb);
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3448
3467
|
describeBundleTasks(args, optionsOrCb, cb) {
|
|
3449
3468
|
const command = new DescribeBundleTasksCommand(args);
|
|
3450
3469
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5349,6 +5368,20 @@ export class EC2 extends EC2Client {
|
|
|
5349
5368
|
return this.send(command, optionsOrCb);
|
|
5350
5369
|
}
|
|
5351
5370
|
}
|
|
5371
|
+
disableAwsNetworkPerformanceMetricSubscription(args, optionsOrCb, cb) {
|
|
5372
|
+
const command = new DisableAwsNetworkPerformanceMetricSubscriptionCommand(args);
|
|
5373
|
+
if (typeof optionsOrCb === "function") {
|
|
5374
|
+
this.send(command, optionsOrCb);
|
|
5375
|
+
}
|
|
5376
|
+
else if (typeof cb === "function") {
|
|
5377
|
+
if (typeof optionsOrCb !== "object")
|
|
5378
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5379
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5380
|
+
}
|
|
5381
|
+
else {
|
|
5382
|
+
return this.send(command, optionsOrCb);
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5352
5385
|
disableEbsEncryptionByDefault(args, optionsOrCb, cb) {
|
|
5353
5386
|
const command = new DisableEbsEncryptionByDefaultCommand(args);
|
|
5354
5387
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5671,6 +5704,20 @@ export class EC2 extends EC2Client {
|
|
|
5671
5704
|
return this.send(command, optionsOrCb);
|
|
5672
5705
|
}
|
|
5673
5706
|
}
|
|
5707
|
+
enableAwsNetworkPerformanceMetricSubscription(args, optionsOrCb, cb) {
|
|
5708
|
+
const command = new EnableAwsNetworkPerformanceMetricSubscriptionCommand(args);
|
|
5709
|
+
if (typeof optionsOrCb === "function") {
|
|
5710
|
+
this.send(command, optionsOrCb);
|
|
5711
|
+
}
|
|
5712
|
+
else if (typeof cb === "function") {
|
|
5713
|
+
if (typeof optionsOrCb !== "object")
|
|
5714
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5715
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5716
|
+
}
|
|
5717
|
+
else {
|
|
5718
|
+
return this.send(command, optionsOrCb);
|
|
5719
|
+
}
|
|
5720
|
+
}
|
|
5674
5721
|
enableEbsEncryptionByDefault(args, optionsOrCb, cb) {
|
|
5675
5722
|
const command = new EnableEbsEncryptionByDefaultCommand(args);
|
|
5676
5723
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5741,6 +5788,20 @@ export class EC2 extends EC2Client {
|
|
|
5741
5788
|
return this.send(command, optionsOrCb);
|
|
5742
5789
|
}
|
|
5743
5790
|
}
|
|
5791
|
+
enableReachabilityAnalyzerOrganizationSharing(args, optionsOrCb, cb) {
|
|
5792
|
+
const command = new EnableReachabilityAnalyzerOrganizationSharingCommand(args);
|
|
5793
|
+
if (typeof optionsOrCb === "function") {
|
|
5794
|
+
this.send(command, optionsOrCb);
|
|
5795
|
+
}
|
|
5796
|
+
else if (typeof cb === "function") {
|
|
5797
|
+
if (typeof optionsOrCb !== "object")
|
|
5798
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5799
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5800
|
+
}
|
|
5801
|
+
else {
|
|
5802
|
+
return this.send(command, optionsOrCb);
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5744
5805
|
enableSerialConsoleAccess(args, optionsOrCb, cb) {
|
|
5745
5806
|
const command = new EnableSerialConsoleAccessCommand(args);
|
|
5746
5807
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5909,6 +5970,20 @@ export class EC2 extends EC2Client {
|
|
|
5909
5970
|
return this.send(command, optionsOrCb);
|
|
5910
5971
|
}
|
|
5911
5972
|
}
|
|
5973
|
+
getAwsNetworkPerformanceData(args, optionsOrCb, cb) {
|
|
5974
|
+
const command = new GetAwsNetworkPerformanceDataCommand(args);
|
|
5975
|
+
if (typeof optionsOrCb === "function") {
|
|
5976
|
+
this.send(command, optionsOrCb);
|
|
5977
|
+
}
|
|
5978
|
+
else if (typeof cb === "function") {
|
|
5979
|
+
if (typeof optionsOrCb !== "object")
|
|
5980
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5981
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5982
|
+
}
|
|
5983
|
+
else {
|
|
5984
|
+
return this.send(command, optionsOrCb);
|
|
5985
|
+
}
|
|
5986
|
+
}
|
|
5912
5987
|
getCapacityReservationUsage(args, optionsOrCb, cb) {
|
|
5913
5988
|
const command = new GetCapacityReservationUsageCommand(args);
|
|
5914
5989
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,8 +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 { CreateSubnetCidrReservationRequestFilterSensitiveLog, } from "../models/
|
|
5
|
-
import { CreateSubnetCidrReservationResultFilterSensitiveLog, } from "../models/models_2";
|
|
4
|
+
import { CreateSubnetCidrReservationRequestFilterSensitiveLog, CreateSubnetCidrReservationResultFilterSensitiveLog, } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_ec2CreateSubnetCidrReservationCommand, serializeAws_ec2CreateSubnetCidrReservationCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class CreateSubnetCidrReservationCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -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 { CreateSubnetRequestFilterSensitiveLog, CreateSubnetResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { CreateSubnetRequestFilterSensitiveLog, CreateSubnetResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_ec2CreateSubnetCommand, serializeAws_ec2CreateSubnetCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export class CreateSubnetCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DeregisterInstanceEventNotificationAttributesRequestFilterSensitiveLog, DeregisterInstanceEventNotificationAttributesResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeregisterInstanceEventNotificationAttributesRequestFilterSensitiveLog, DeregisterInstanceEventNotificationAttributesResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeregisterInstanceEventNotificationAttributesCommand, serializeAws_ec2DeregisterInstanceEventNotificationAttributesCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeregisterInstanceEventNotificationAttributesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DescribeAwsNetworkPerformanceMetricSubscriptionsRequestFilterSensitiveLog, DescribeAwsNetworkPerformanceMetricSubscriptionsResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
|
+
import { deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class DescribeAwsNetworkPerformanceMetricSubscriptionsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeAwsNetworkPerformanceMetricSubscriptionsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeAwsNetworkPerformanceMetricSubscriptionsResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand(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 { DescribeIpamScopesRequestFilterSensitiveLog, DescribeIpamScopesResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeIpamScopesRequestFilterSensitiveLog, DescribeIpamScopesResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
5
|
import { deserializeAws_ec2DescribeIpamScopesCommand, serializeAws_ec2DescribeIpamScopesCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DescribeIpamScopesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DescribeIpamsRequestFilterSensitiveLog
|
|
4
|
+
import { DescribeIpamsRequestFilterSensitiveLog } from "../models/models_3";
|
|
5
|
+
import { DescribeIpamsResultFilterSensitiveLog } from "../models/models_4";
|
|
5
6
|
import { deserializeAws_ec2DescribeIpamsCommand, serializeAws_ec2DescribeIpamsCommand } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DescribeIpamsCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -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 { DescribeIpv6PoolsRequestFilterSensitiveLog, DescribeIpv6PoolsResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeIpv6PoolsRequestFilterSensitiveLog, DescribeIpv6PoolsResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
5
|
import { deserializeAws_ec2DescribeIpv6PoolsCommand, serializeAws_ec2DescribeIpv6PoolsCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DescribeIpv6PoolsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DescribeKeyPairsRequestFilterSensitiveLog, DescribeKeyPairsResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeKeyPairsRequestFilterSensitiveLog, DescribeKeyPairsResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
5
|
import { deserializeAws_ec2DescribeKeyPairsCommand, serializeAws_ec2DescribeKeyPairsCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DescribeKeyPairsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DisableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog, DisableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
|
+
import { deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand, serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class DisableAwsNetworkPerformanceMetricSubscriptionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisableAwsNetworkPerformanceMetricSubscriptionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DisableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DisableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DisableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { DisassociateIamInstanceProfileRequestFilterSensitiveLog,
|
|
4
|
+
import { DisassociateIamInstanceProfileRequestFilterSensitiveLog, } from "../models/models_4";
|
|
5
|
+
import { DisassociateIamInstanceProfileResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
6
|
import { deserializeAws_ec2DisassociateIamInstanceProfileCommand, serializeAws_ec2DisassociateIamInstanceProfileCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DisassociateIamInstanceProfileCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -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 { DisassociateInstanceEventWindowRequestFilterSensitiveLog, DisassociateInstanceEventWindowResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DisassociateInstanceEventWindowRequestFilterSensitiveLog, DisassociateInstanceEventWindowResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
5
|
import { deserializeAws_ec2DisassociateInstanceEventWindowCommand, serializeAws_ec2DisassociateInstanceEventWindowCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DisassociateInstanceEventWindowCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DisassociateRouteTableRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { DisassociateRouteTableRequestFilterSensitiveLog } from "../models/models_5";
|
|
5
5
|
import { deserializeAws_ec2DisassociateRouteTableCommand, serializeAws_ec2DisassociateRouteTableCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DisassociateRouteTableCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DisassociateSubnetCidrBlockRequestFilterSensitiveLog, DisassociateSubnetCidrBlockResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DisassociateSubnetCidrBlockRequestFilterSensitiveLog, DisassociateSubnetCidrBlockResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
5
|
import { deserializeAws_ec2DisassociateSubnetCidrBlockCommand, serializeAws_ec2DisassociateSubnetCidrBlockCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DisassociateSubnetCidrBlockCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DisassociateTransitGatewayMulticastDomainRequestFilterSensitiveLog, DisassociateTransitGatewayMulticastDomainResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DisassociateTransitGatewayMulticastDomainRequestFilterSensitiveLog, DisassociateTransitGatewayMulticastDomainResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
5
|
import { deserializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand, serializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DisassociateTransitGatewayMulticastDomainCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { DisassociateTransitGatewayPolicyTableRequestFilterSensitiveLog, DisassociateTransitGatewayPolicyTableResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DisassociateTransitGatewayPolicyTableRequestFilterSensitiveLog, DisassociateTransitGatewayPolicyTableResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
5
|
import { deserializeAws_ec2DisassociateTransitGatewayPolicyTableCommand, serializeAws_ec2DisassociateTransitGatewayPolicyTableCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DisassociateTransitGatewayPolicyTableCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,8 +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 { DisassociateTransitGatewayRouteTableRequestFilterSensitiveLog, } from "../models/
|
|
5
|
-
import { DisassociateTransitGatewayRouteTableResultFilterSensitiveLog, } from "../models/models_5";
|
|
4
|
+
import { DisassociateTransitGatewayRouteTableRequestFilterSensitiveLog, DisassociateTransitGatewayRouteTableResultFilterSensitiveLog, } from "../models/models_5";
|
|
6
5
|
import { deserializeAws_ec2DisassociateTransitGatewayRouteTableCommand, serializeAws_ec2DisassociateTransitGatewayRouteTableCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class DisassociateTransitGatewayRouteTableCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -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 { EnableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog, EnableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
|
+
import { deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand, serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class EnableAwsNetworkPerformanceMetricSubscriptionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableAwsNetworkPerformanceMetricSubscriptionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "EnableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: EnableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: EnableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand(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 { EnableReachabilityAnalyzerOrganizationSharingRequestFilterSensitiveLog, EnableReachabilityAnalyzerOrganizationSharingResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
|
+
import { deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand, serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class EnableReachabilityAnalyzerOrganizationSharingCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableReachabilityAnalyzerOrganizationSharingCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: EnableReachabilityAnalyzerOrganizationSharingRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: EnableReachabilityAnalyzerOrganizationSharingResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand(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 { GetAwsNetworkPerformanceDataRequestFilterSensitiveLog, GetAwsNetworkPerformanceDataResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
|
+
import { deserializeAws_ec2GetAwsNetworkPerformanceDataCommand, serializeAws_ec2GetAwsNetworkPerformanceDataCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class GetAwsNetworkPerformanceDataCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetAwsNetworkPerformanceDataCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "GetAwsNetworkPerformanceDataCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetAwsNetworkPerformanceDataRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetAwsNetworkPerformanceDataResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2GetAwsNetworkPerformanceDataCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2GetAwsNetworkPerformanceDataCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { ModifyTransitGatewayRequestFilterSensitiveLog
|
|
4
|
+
import { ModifyTransitGatewayRequestFilterSensitiveLog } from "../models/models_5";
|
|
5
|
+
import { ModifyTransitGatewayResultFilterSensitiveLog } from "../models/models_6";
|
|
5
6
|
import { deserializeAws_ec2ModifyTransitGatewayCommand, serializeAws_ec2ModifyTransitGatewayCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class ModifyTransitGatewayCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -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 { ModifyTransitGatewayPrefixListReferenceRequestFilterSensitiveLog, ModifyTransitGatewayPrefixListReferenceResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyTransitGatewayPrefixListReferenceRequestFilterSensitiveLog, ModifyTransitGatewayPrefixListReferenceResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyTransitGatewayPrefixListReferenceCommand, serializeAws_ec2ModifyTransitGatewayPrefixListReferenceCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyTransitGatewayPrefixListReferenceCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyTransitGatewayVpcAttachmentRequestFilterSensitiveLog, ModifyTransitGatewayVpcAttachmentResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyTransitGatewayVpcAttachmentRequestFilterSensitiveLog, ModifyTransitGatewayVpcAttachmentResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand, serializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyTransitGatewayVpcAttachmentCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVolumeAttributeRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { ModifyVolumeAttributeRequestFilterSensitiveLog } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVolumeAttributeCommand, serializeAws_ec2ModifyVolumeAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVolumeAttributeCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVolumeRequestFilterSensitiveLog, ModifyVolumeResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyVolumeRequestFilterSensitiveLog, ModifyVolumeResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVolumeCommand, serializeAws_ec2ModifyVolumeCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVolumeCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVpcAttributeRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { ModifyVpcAttributeRequestFilterSensitiveLog } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVpcAttributeCommand, serializeAws_ec2ModifyVpcAttributeCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVpcAttributeCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVpcEndpointRequestFilterSensitiveLog, ModifyVpcEndpointResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyVpcEndpointRequestFilterSensitiveLog, ModifyVpcEndpointResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVpcEndpointCommand, serializeAws_ec2ModifyVpcEndpointCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVpcEndpointCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVpcEndpointConnectionNotificationRequestFilterSensitiveLog, ModifyVpcEndpointConnectionNotificationResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyVpcEndpointConnectionNotificationRequestFilterSensitiveLog, ModifyVpcEndpointConnectionNotificationResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand, serializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVpcEndpointConnectionNotificationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVpcEndpointServiceConfigurationRequestFilterSensitiveLog, ModifyVpcEndpointServiceConfigurationResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyVpcEndpointServiceConfigurationRequestFilterSensitiveLog, ModifyVpcEndpointServiceConfigurationResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand, serializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVpcEndpointServiceConfigurationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -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 { ModifyVpcEndpointServicePayerResponsibilityRequestFilterSensitiveLog, ModifyVpcEndpointServicePayerResponsibilityResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyVpcEndpointServicePayerResponsibilityRequestFilterSensitiveLog, ModifyVpcEndpointServicePayerResponsibilityResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyVpcEndpointServicePayerResponsibilityCommand, serializeAws_ec2ModifyVpcEndpointServicePayerResponsibilityCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyVpcEndpointServicePayerResponsibilityCommand extends $Command {
|
|
7
7
|
constructor(input) {
|