@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-cjs/EC2.js
CHANGED
|
@@ -208,6 +208,7 @@ const DescribeAddressesCommand_1 = require("./commands/DescribeAddressesCommand"
|
|
|
208
208
|
const DescribeAddressTransfersCommand_1 = require("./commands/DescribeAddressTransfersCommand");
|
|
209
209
|
const DescribeAggregateIdFormatCommand_1 = require("./commands/DescribeAggregateIdFormatCommand");
|
|
210
210
|
const DescribeAvailabilityZonesCommand_1 = require("./commands/DescribeAvailabilityZonesCommand");
|
|
211
|
+
const DescribeAwsNetworkPerformanceMetricSubscriptionsCommand_1 = require("./commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand");
|
|
211
212
|
const DescribeBundleTasksCommand_1 = require("./commands/DescribeBundleTasksCommand");
|
|
212
213
|
const DescribeByoipCidrsCommand_1 = require("./commands/DescribeByoipCidrsCommand");
|
|
213
214
|
const DescribeCapacityReservationFleetsCommand_1 = require("./commands/DescribeCapacityReservationFleetsCommand");
|
|
@@ -344,6 +345,7 @@ const DetachNetworkInterfaceCommand_1 = require("./commands/DetachNetworkInterfa
|
|
|
344
345
|
const DetachVolumeCommand_1 = require("./commands/DetachVolumeCommand");
|
|
345
346
|
const DetachVpnGatewayCommand_1 = require("./commands/DetachVpnGatewayCommand");
|
|
346
347
|
const DisableAddressTransferCommand_1 = require("./commands/DisableAddressTransferCommand");
|
|
348
|
+
const DisableAwsNetworkPerformanceMetricSubscriptionCommand_1 = require("./commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand");
|
|
347
349
|
const DisableEbsEncryptionByDefaultCommand_1 = require("./commands/DisableEbsEncryptionByDefaultCommand");
|
|
348
350
|
const DisableFastLaunchCommand_1 = require("./commands/DisableFastLaunchCommand");
|
|
349
351
|
const DisableFastSnapshotRestoresCommand_1 = require("./commands/DisableFastSnapshotRestoresCommand");
|
|
@@ -367,11 +369,13 @@ const DisassociateTransitGatewayRouteTableCommand_1 = require("./commands/Disass
|
|
|
367
369
|
const DisassociateTrunkInterfaceCommand_1 = require("./commands/DisassociateTrunkInterfaceCommand");
|
|
368
370
|
const DisassociateVpcCidrBlockCommand_1 = require("./commands/DisassociateVpcCidrBlockCommand");
|
|
369
371
|
const EnableAddressTransferCommand_1 = require("./commands/EnableAddressTransferCommand");
|
|
372
|
+
const EnableAwsNetworkPerformanceMetricSubscriptionCommand_1 = require("./commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand");
|
|
370
373
|
const EnableEbsEncryptionByDefaultCommand_1 = require("./commands/EnableEbsEncryptionByDefaultCommand");
|
|
371
374
|
const EnableFastLaunchCommand_1 = require("./commands/EnableFastLaunchCommand");
|
|
372
375
|
const EnableFastSnapshotRestoresCommand_1 = require("./commands/EnableFastSnapshotRestoresCommand");
|
|
373
376
|
const EnableImageDeprecationCommand_1 = require("./commands/EnableImageDeprecationCommand");
|
|
374
377
|
const EnableIpamOrganizationAdminAccountCommand_1 = require("./commands/EnableIpamOrganizationAdminAccountCommand");
|
|
378
|
+
const EnableReachabilityAnalyzerOrganizationSharingCommand_1 = require("./commands/EnableReachabilityAnalyzerOrganizationSharingCommand");
|
|
375
379
|
const EnableSerialConsoleAccessCommand_1 = require("./commands/EnableSerialConsoleAccessCommand");
|
|
376
380
|
const EnableTransitGatewayRouteTablePropagationCommand_1 = require("./commands/EnableTransitGatewayRouteTablePropagationCommand");
|
|
377
381
|
const EnableVgwRoutePropagationCommand_1 = require("./commands/EnableVgwRoutePropagationCommand");
|
|
@@ -384,6 +388,7 @@ const ExportImageCommand_1 = require("./commands/ExportImageCommand");
|
|
|
384
388
|
const ExportTransitGatewayRoutesCommand_1 = require("./commands/ExportTransitGatewayRoutesCommand");
|
|
385
389
|
const GetAssociatedEnclaveCertificateIamRolesCommand_1 = require("./commands/GetAssociatedEnclaveCertificateIamRolesCommand");
|
|
386
390
|
const GetAssociatedIpv6PoolCidrsCommand_1 = require("./commands/GetAssociatedIpv6PoolCidrsCommand");
|
|
391
|
+
const GetAwsNetworkPerformanceDataCommand_1 = require("./commands/GetAwsNetworkPerformanceDataCommand");
|
|
387
392
|
const GetCapacityReservationUsageCommand_1 = require("./commands/GetCapacityReservationUsageCommand");
|
|
388
393
|
const GetCoipPoolUsageCommand_1 = require("./commands/GetCoipPoolUsageCommand");
|
|
389
394
|
const GetConsoleOutputCommand_1 = require("./commands/GetConsoleOutputCommand");
|
|
@@ -3448,6 +3453,20 @@ class EC2 extends EC2Client_1.EC2Client {
|
|
|
3448
3453
|
return this.send(command, optionsOrCb);
|
|
3449
3454
|
}
|
|
3450
3455
|
}
|
|
3456
|
+
describeAwsNetworkPerformanceMetricSubscriptions(args, optionsOrCb, cb) {
|
|
3457
|
+
const command = new DescribeAwsNetworkPerformanceMetricSubscriptionsCommand_1.DescribeAwsNetworkPerformanceMetricSubscriptionsCommand(args);
|
|
3458
|
+
if (typeof optionsOrCb === "function") {
|
|
3459
|
+
this.send(command, optionsOrCb);
|
|
3460
|
+
}
|
|
3461
|
+
else if (typeof cb === "function") {
|
|
3462
|
+
if (typeof optionsOrCb !== "object")
|
|
3463
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3464
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
3465
|
+
}
|
|
3466
|
+
else {
|
|
3467
|
+
return this.send(command, optionsOrCb);
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3451
3470
|
describeBundleTasks(args, optionsOrCb, cb) {
|
|
3452
3471
|
const command = new DescribeBundleTasksCommand_1.DescribeBundleTasksCommand(args);
|
|
3453
3472
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5352,6 +5371,20 @@ class EC2 extends EC2Client_1.EC2Client {
|
|
|
5352
5371
|
return this.send(command, optionsOrCb);
|
|
5353
5372
|
}
|
|
5354
5373
|
}
|
|
5374
|
+
disableAwsNetworkPerformanceMetricSubscription(args, optionsOrCb, cb) {
|
|
5375
|
+
const command = new DisableAwsNetworkPerformanceMetricSubscriptionCommand_1.DisableAwsNetworkPerformanceMetricSubscriptionCommand(args);
|
|
5376
|
+
if (typeof optionsOrCb === "function") {
|
|
5377
|
+
this.send(command, optionsOrCb);
|
|
5378
|
+
}
|
|
5379
|
+
else if (typeof cb === "function") {
|
|
5380
|
+
if (typeof optionsOrCb !== "object")
|
|
5381
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5382
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5383
|
+
}
|
|
5384
|
+
else {
|
|
5385
|
+
return this.send(command, optionsOrCb);
|
|
5386
|
+
}
|
|
5387
|
+
}
|
|
5355
5388
|
disableEbsEncryptionByDefault(args, optionsOrCb, cb) {
|
|
5356
5389
|
const command = new DisableEbsEncryptionByDefaultCommand_1.DisableEbsEncryptionByDefaultCommand(args);
|
|
5357
5390
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5674,6 +5707,20 @@ class EC2 extends EC2Client_1.EC2Client {
|
|
|
5674
5707
|
return this.send(command, optionsOrCb);
|
|
5675
5708
|
}
|
|
5676
5709
|
}
|
|
5710
|
+
enableAwsNetworkPerformanceMetricSubscription(args, optionsOrCb, cb) {
|
|
5711
|
+
const command = new EnableAwsNetworkPerformanceMetricSubscriptionCommand_1.EnableAwsNetworkPerformanceMetricSubscriptionCommand(args);
|
|
5712
|
+
if (typeof optionsOrCb === "function") {
|
|
5713
|
+
this.send(command, optionsOrCb);
|
|
5714
|
+
}
|
|
5715
|
+
else if (typeof cb === "function") {
|
|
5716
|
+
if (typeof optionsOrCb !== "object")
|
|
5717
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5718
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5719
|
+
}
|
|
5720
|
+
else {
|
|
5721
|
+
return this.send(command, optionsOrCb);
|
|
5722
|
+
}
|
|
5723
|
+
}
|
|
5677
5724
|
enableEbsEncryptionByDefault(args, optionsOrCb, cb) {
|
|
5678
5725
|
const command = new EnableEbsEncryptionByDefaultCommand_1.EnableEbsEncryptionByDefaultCommand(args);
|
|
5679
5726
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5744,6 +5791,20 @@ class EC2 extends EC2Client_1.EC2Client {
|
|
|
5744
5791
|
return this.send(command, optionsOrCb);
|
|
5745
5792
|
}
|
|
5746
5793
|
}
|
|
5794
|
+
enableReachabilityAnalyzerOrganizationSharing(args, optionsOrCb, cb) {
|
|
5795
|
+
const command = new EnableReachabilityAnalyzerOrganizationSharingCommand_1.EnableReachabilityAnalyzerOrganizationSharingCommand(args);
|
|
5796
|
+
if (typeof optionsOrCb === "function") {
|
|
5797
|
+
this.send(command, optionsOrCb);
|
|
5798
|
+
}
|
|
5799
|
+
else if (typeof cb === "function") {
|
|
5800
|
+
if (typeof optionsOrCb !== "object")
|
|
5801
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5802
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5803
|
+
}
|
|
5804
|
+
else {
|
|
5805
|
+
return this.send(command, optionsOrCb);
|
|
5806
|
+
}
|
|
5807
|
+
}
|
|
5747
5808
|
enableSerialConsoleAccess(args, optionsOrCb, cb) {
|
|
5748
5809
|
const command = new EnableSerialConsoleAccessCommand_1.EnableSerialConsoleAccessCommand(args);
|
|
5749
5810
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5912,6 +5973,20 @@ class EC2 extends EC2Client_1.EC2Client {
|
|
|
5912
5973
|
return this.send(command, optionsOrCb);
|
|
5913
5974
|
}
|
|
5914
5975
|
}
|
|
5976
|
+
getAwsNetworkPerformanceData(args, optionsOrCb, cb) {
|
|
5977
|
+
const command = new GetAwsNetworkPerformanceDataCommand_1.GetAwsNetworkPerformanceDataCommand(args);
|
|
5978
|
+
if (typeof optionsOrCb === "function") {
|
|
5979
|
+
this.send(command, optionsOrCb);
|
|
5980
|
+
}
|
|
5981
|
+
else if (typeof cb === "function") {
|
|
5982
|
+
if (typeof optionsOrCb !== "object")
|
|
5983
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5984
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5985
|
+
}
|
|
5986
|
+
else {
|
|
5987
|
+
return this.send(command, optionsOrCb);
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5915
5990
|
getCapacityReservationUsage(args, optionsOrCb, cb) {
|
|
5916
5991
|
const command = new GetCapacityReservationUsageCommand_1.GetCapacityReservationUsageCommand(args);
|
|
5917
5992
|
if (typeof optionsOrCb === "function") {
|
|
@@ -4,7 +4,6 @@ exports.CreateSubnetCidrReservationCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_1_1 = require("../models/models_1");
|
|
8
7
|
const models_2_1 = require("../models/models_2");
|
|
9
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
10
9
|
class CreateSubnetCidrReservationCommand extends smithy_client_1.Command {
|
|
@@ -31,7 +30,7 @@ class CreateSubnetCidrReservationCommand extends smithy_client_1.Command {
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_2_1.CreateSubnetCidrReservationRequestFilterSensitiveLog,
|
|
35
34
|
outputFilterSensitiveLog: models_2_1.CreateSubnetCidrReservationResultFilterSensitiveLog,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,7 @@ exports.CreateSubnetCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_2_1 = require("../models/models_2");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class CreateSubnetCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class CreateSubnetCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_2_1.CreateSubnetRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_2_1.CreateSubnetResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DeregisterInstanceEventNotificationAttributesCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_3_1 = require("../models/models_3");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DeregisterInstanceEventNotificationAttributesCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DeregisterInstanceEventNotificationAttributesCommand extends smithy_client
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_3_1.DeregisterInstanceEventNotificationAttributesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_3_1.DeregisterInstanceEventNotificationAttributesResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_3_1 = require("../models/models_3");
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class DescribeAwsNetworkPerformanceMetricSubscriptionsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_3_1.DescribeAwsNetworkPerformanceMetricSubscriptionsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_3_1.DescribeAwsNetworkPerformanceMetricSubscriptionsResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = DescribeAwsNetworkPerformanceMetricSubscriptionsCommand;
|
|
@@ -4,7 +4,7 @@ exports.DescribeIpamScopesCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_4_1 = require("../models/models_4");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DescribeIpamScopesCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DescribeIpamScopesCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_4_1.DescribeIpamScopesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_4_1.DescribeIpamScopesResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_3_1 = require("../models/models_3");
|
|
8
|
+
const models_4_1 = require("../models/models_4");
|
|
8
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
10
|
class DescribeIpamsCommand extends smithy_client_1.Command {
|
|
10
11
|
constructor(input) {
|
|
@@ -31,7 +32,7 @@ class DescribeIpamsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: models_3_1.DescribeIpamsRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_4_1.DescribeIpamsResultFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DescribeIpv6PoolsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_4_1 = require("../models/models_4");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DescribeIpv6PoolsCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DescribeIpv6PoolsCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_4_1.DescribeIpv6PoolsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_4_1.DescribeIpv6PoolsResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DescribeKeyPairsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_4_1 = require("../models/models_4");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DescribeKeyPairsCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DescribeKeyPairsCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_4_1.DescribeKeyPairsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_4_1.DescribeKeyPairsResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisableAwsNetworkPerformanceMetricSubscriptionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_4_1 = require("../models/models_4");
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class DisableAwsNetworkPerformanceMetricSubscriptionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisableAwsNetworkPerformanceMetricSubscriptionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "DisableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_4_1.DisableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_4_1.DisableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DisableAwsNetworkPerformanceMetricSubscriptionCommand = DisableAwsNetworkPerformanceMetricSubscriptionCommand;
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_4_1 = require("../models/models_4");
|
|
8
|
+
const models_5_1 = require("../models/models_5");
|
|
8
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
10
|
class DisassociateIamInstanceProfileCommand extends smithy_client_1.Command {
|
|
10
11
|
constructor(input) {
|
|
@@ -31,7 +32,7 @@ class DisassociateIamInstanceProfileCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: models_4_1.DisassociateIamInstanceProfileRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_5_1.DisassociateIamInstanceProfileResultFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DisassociateInstanceEventWindowCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DisassociateInstanceEventWindowCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DisassociateInstanceEventWindowCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateInstanceEventWindowRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.DisassociateInstanceEventWindowResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DisassociateRouteTableCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DisassociateRouteTableCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,7 +30,7 @@ class DisassociateRouteTableCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateRouteTableRequestFilterSensitiveLog,
|
|
34
34
|
outputFilterSensitiveLog: (output) => output,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,7 @@ exports.DisassociateSubnetCidrBlockCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DisassociateSubnetCidrBlockCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DisassociateSubnetCidrBlockCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateSubnetCidrBlockRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.DisassociateSubnetCidrBlockResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DisassociateTransitGatewayMulticastDomainCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DisassociateTransitGatewayMulticastDomainCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DisassociateTransitGatewayMulticastDomainCommand extends smithy_client_1.C
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayMulticastDomainRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayMulticastDomainResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.DisassociateTransitGatewayPolicyTableCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
9
|
class DisassociateTransitGatewayPolicyTableCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class DisassociateTransitGatewayPolicyTableCommand extends smithy_client_1.Comma
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayPolicyTableRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayPolicyTableResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DisassociateTransitGatewayRouteTableCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_4_1 = require("../models/models_4");
|
|
8
7
|
const models_5_1 = require("../models/models_5");
|
|
9
8
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
10
9
|
class DisassociateTransitGatewayRouteTableCommand extends smithy_client_1.Command {
|
|
@@ -31,7 +30,7 @@ class DisassociateTransitGatewayRouteTableCommand extends smithy_client_1.Comman
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayRouteTableRequestFilterSensitiveLog,
|
|
35
34
|
outputFilterSensitiveLog: models_5_1.DisassociateTransitGatewayRouteTableResultFilterSensitiveLog,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnableAwsNetworkPerformanceMetricSubscriptionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class EnableAwsNetworkPerformanceMetricSubscriptionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, EnableAwsNetworkPerformanceMetricSubscriptionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "EnableAwsNetworkPerformanceMetricSubscriptionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.EnableAwsNetworkPerformanceMetricSubscriptionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.EnableAwsNetworkPerformanceMetricSubscriptionResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.EnableAwsNetworkPerformanceMetricSubscriptionCommand = EnableAwsNetworkPerformanceMetricSubscriptionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnableReachabilityAnalyzerOrganizationSharingCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_5_1 = require("../models/models_5");
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class EnableReachabilityAnalyzerOrganizationSharingCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, EnableReachabilityAnalyzerOrganizationSharingCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_5_1.EnableReachabilityAnalyzerOrganizationSharingRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_5_1.EnableReachabilityAnalyzerOrganizationSharingResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.EnableReachabilityAnalyzerOrganizationSharingCommand = EnableReachabilityAnalyzerOrganizationSharingCommand;
|