@aws-sdk/client-ec2 3.257.0 → 3.259.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 +135 -0
- package/dist-cjs/commands/AssociateIpamResourceDiscoveryCommand.js +46 -0
- package/dist-cjs/commands/CreateClientVpnRouteCommand.js +2 -1
- package/dist-cjs/commands/CreateCoipCidrCommand.js +1 -2
- package/dist-cjs/commands/CreateIpamResourceDiscoveryCommand.js +46 -0
- package/dist-cjs/commands/CreateRouteTableCommand.js +2 -1
- package/dist-cjs/commands/CreateSecurityGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotsCommand.js +1 -2
- package/dist-cjs/commands/DeleteIpamResourceDiscoveryCommand.js +46 -0
- package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/DeleteTransitGatewayConnectPeerCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayMulticastDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayPeeringAttachmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayPolicyTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayPrefixListReferenceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayRouteCommand.js +1 -2
- package/dist-cjs/commands/DescribeInstanceStatusCommand.js +2 -1
- package/dist-cjs/commands/DescribeInstanceTypeOfferingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInstanceTypesCommand.js +1 -2
- package/dist-cjs/commands/DescribeIpamResourceDiscoveriesCommand.js +46 -0
- package/dist-cjs/commands/DescribeIpamResourceDiscoveryAssociationsCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcClassicLinkCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcClassicLinkDnsSupportCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcEndpointConnectionNotificationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcEndpointConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +1 -2
- package/dist-cjs/commands/DescribeVpcEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateIpamResourceDiscoveryCommand.js +46 -0
- package/dist-cjs/commands/GetIpamDiscoveredAccountsCommand.js +46 -0
- package/dist-cjs/commands/GetIpamDiscoveredResourceCidrsCommand.js +46 -0
- package/dist-cjs/commands/ModifyClientVpnEndpointCommand.js +3 -3
- package/dist-cjs/commands/ModifyDefaultCreditSpecificationCommand.js +3 -3
- package/dist-cjs/commands/ModifyEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ModifyFleetCommand.js +3 -3
- package/dist-cjs/commands/ModifyFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/ModifyHostsCommand.js +3 -3
- package/dist-cjs/commands/ModifyIdFormatCommand.js +2 -2
- package/dist-cjs/commands/ModifyIdentityIdFormatCommand.js +2 -2
- package/dist-cjs/commands/ModifyImageAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyInstanceCapacityReservationAttributesCommand.js +3 -3
- package/dist-cjs/commands/ModifyIpamResourceDiscoveryCommand.js +46 -0
- package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.js +3 -3
- package/dist-cjs/commands/WithdrawByoipCidrCommand.js +3 -3
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -29
- package/dist-cjs/models/models_1.js +61 -51
- package/dist-cjs/models/models_2.js +59 -54
- package/dist-cjs/models/models_3.js +55 -63
- package/dist-cjs/models/models_4.js +79 -70
- package/dist-cjs/models/models_5.js +112 -111
- package/dist-cjs/models/models_6.js +119 -22
- package/dist-cjs/models/models_7.js +19 -0
- package/dist-cjs/pagination/DescribeIpamResourceDiscoveriesPaginator.js +36 -0
- package/dist-cjs/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.js +36 -0
- package/dist-cjs/pagination/GetIpamDiscoveredAccountsPaginator.js +36 -0
- package/dist-cjs/pagination/GetIpamDiscoveredResourceCidrsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_ec2.js +997 -24
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/EC2.js +135 -0
- package/dist-es/commands/AssociateIpamResourceDiscoveryCommand.js +42 -0
- package/dist-es/commands/CreateClientVpnRouteCommand.js +2 -1
- package/dist-es/commands/CreateCoipCidrCommand.js +1 -2
- package/dist-es/commands/CreateIpamResourceDiscoveryCommand.js +42 -0
- package/dist-es/commands/CreateRouteTableCommand.js +2 -1
- package/dist-es/commands/CreateSecurityGroupCommand.js +1 -1
- package/dist-es/commands/CreateSnapshotCommand.js +1 -1
- package/dist-es/commands/CreateSnapshotsCommand.js +1 -2
- package/dist-es/commands/DeleteIpamResourceDiscoveryCommand.js +42 -0
- package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/DeleteTransitGatewayConnectPeerCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayMulticastDomainCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayPeeringAttachmentCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayPolicyTableCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayPrefixListReferenceCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayRouteCommand.js +1 -2
- package/dist-es/commands/DescribeInstanceStatusCommand.js +2 -1
- package/dist-es/commands/DescribeInstanceTypeOfferingsCommand.js +1 -1
- package/dist-es/commands/DescribeInstanceTypesCommand.js +1 -2
- package/dist-es/commands/DescribeIpamResourceDiscoveriesCommand.js +42 -0
- package/dist-es/commands/DescribeIpamResourceDiscoveryAssociationsCommand.js +42 -0
- package/dist-es/commands/DescribeVpcAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeVpcClassicLinkCommand.js +1 -1
- package/dist-es/commands/DescribeVpcClassicLinkDnsSupportCommand.js +1 -1
- package/dist-es/commands/DescribeVpcEndpointConnectionNotificationsCommand.js +1 -1
- package/dist-es/commands/DescribeVpcEndpointConnectionsCommand.js +1 -1
- package/dist-es/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +1 -2
- package/dist-es/commands/DescribeVpcEndpointsCommand.js +1 -1
- package/dist-es/commands/DisassociateIpamResourceDiscoveryCommand.js +42 -0
- package/dist-es/commands/GetIpamDiscoveredAccountsCommand.js +42 -0
- package/dist-es/commands/GetIpamDiscoveredResourceCidrsCommand.js +42 -0
- package/dist-es/commands/ModifyClientVpnEndpointCommand.js +1 -1
- package/dist-es/commands/ModifyDefaultCreditSpecificationCommand.js +1 -1
- package/dist-es/commands/ModifyEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ModifyFleetCommand.js +1 -1
- package/dist-es/commands/ModifyFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyHostsCommand.js +1 -1
- package/dist-es/commands/ModifyIdFormatCommand.js +1 -1
- package/dist-es/commands/ModifyIdentityIdFormatCommand.js +1 -1
- package/dist-es/commands/ModifyImageAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +1 -1
- package/dist-es/commands/ModifyIpamResourceDiscoveryCommand.js +42 -0
- package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.js +1 -1
- package/dist-es/commands/WithdrawByoipCidrCommand.js +1 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +28 -19
- package/dist-es/models/models_1.js +48 -38
- package/dist-es/models/models_2.js +44 -36
- package/dist-es/models/models_3.js +37 -49
- package/dist-es/models/models_4.js +61 -48
- package/dist-es/models/models_5.js +81 -80
- package/dist-es/models/models_6.js +86 -12
- package/dist-es/models/models_7.js +12 -0
- package/dist-es/pagination/DescribeIpamResourceDiscoveriesPaginator.js +32 -0
- package/dist-es/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.js +32 -0
- package/dist-es/pagination/GetIpamDiscoveredAccountsPaginator.js +32 -0
- package/dist-es/pagination/GetIpamDiscoveredResourceCidrsPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +955 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/EC2.d.ts +67 -4
- package/dist-types/EC2Client.d.ts +11 -2
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +37 -0
- package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +2 -1
- package/dist-types/commands/CreateCoipCidrCommand.d.ts +1 -2
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +37 -0
- package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -2
- package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +37 -0
- package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +37 -0
- package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +37 -0
- package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +37 -0
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +37 -0
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +37 -0
- package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +37 -0
- package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +160 -89
- package/dist-types/models/models_1.d.ts +262 -294
- package/dist-types/models/models_2.d.ts +316 -166
- package/dist-types/models/models_3.d.ts +169 -441
- package/dist-types/models/models_4.d.ts +1328 -1301
- package/dist-types/models/models_5.d.ts +3670 -3659
- package/dist-types/models/models_6.d.ts +803 -80
- package/dist-types/models/models_7.d.ts +72 -0
- package/dist-types/pagination/DescribeIpamResourceDiscoveriesPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetIpamDiscoveredAccountsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetIpamDiscoveredResourceCidrsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EC2.d.ts +165 -0
- package/dist-types/ts3.4/EC2Client.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateIpamResourceDiscoveryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateCoipCidrCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateIpamResourceDiscoveryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVpcAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -33
- package/dist-types/ts3.4/models/models_1.d.ts +86 -87
- package/dist-types/ts3.4/models/models_2.d.ts +103 -83
- package/dist-types/ts3.4/models/models_3.d.ts +90 -91
- package/dist-types/ts3.4/models/models_4.d.ts +131 -145
- package/dist-types/ts3.4/models/models_5.d.ts +237 -259
- package/dist-types/ts3.4/models/models_6.d.ts +271 -32
- package/dist-types/ts3.4/models/models_7.d.ts +31 -0
- package/dist-types/ts3.4/pagination/DescribeIpamResourceDiscoveriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetIpamDiscoveredAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetIpamDiscoveredResourceCidrsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +108 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +9 -10
|
@@ -10,7 +10,6 @@ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
15
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -35,8 +34,6 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
36
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
39
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -13,7 +13,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -44,8 +43,6 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
48
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
49
46
|
};
|
|
50
47
|
};
|
|
51
48
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2016-11-15",
|
|
@@ -14,5 +15,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
14
15
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
15
16
|
serviceId: config?.serviceId ?? "EC2",
|
|
16
17
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
17
20
|
});
|
|
18
21
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/EC2.js
CHANGED
|
@@ -18,6 +18,7 @@ import { AssociateDhcpOptionsCommand, } from "./commands/AssociateDhcpOptionsCom
|
|
|
18
18
|
import { AssociateEnclaveCertificateIamRoleCommand, } from "./commands/AssociateEnclaveCertificateIamRoleCommand";
|
|
19
19
|
import { AssociateIamInstanceProfileCommand, } from "./commands/AssociateIamInstanceProfileCommand";
|
|
20
20
|
import { AssociateInstanceEventWindowCommand, } from "./commands/AssociateInstanceEventWindowCommand";
|
|
21
|
+
import { AssociateIpamResourceDiscoveryCommand, } from "./commands/AssociateIpamResourceDiscoveryCommand";
|
|
21
22
|
import { AssociateRouteTableCommand, } from "./commands/AssociateRouteTableCommand";
|
|
22
23
|
import { AssociateSubnetCidrBlockCommand, } from "./commands/AssociateSubnetCidrBlockCommand";
|
|
23
24
|
import { AssociateTransitGatewayMulticastDomainCommand, } from "./commands/AssociateTransitGatewayMulticastDomainCommand";
|
|
@@ -70,6 +71,7 @@ import { CreateInstanceExportTaskCommand, } from "./commands/CreateInstanceExpor
|
|
|
70
71
|
import { CreateInternetGatewayCommand, } from "./commands/CreateInternetGatewayCommand";
|
|
71
72
|
import { CreateIpamCommand } from "./commands/CreateIpamCommand";
|
|
72
73
|
import { CreateIpamPoolCommand, } from "./commands/CreateIpamPoolCommand";
|
|
74
|
+
import { CreateIpamResourceDiscoveryCommand, } from "./commands/CreateIpamResourceDiscoveryCommand";
|
|
73
75
|
import { CreateIpamScopeCommand, } from "./commands/CreateIpamScopeCommand";
|
|
74
76
|
import { CreateKeyPairCommand, } from "./commands/CreateKeyPairCommand";
|
|
75
77
|
import { CreateLaunchTemplateCommand, } from "./commands/CreateLaunchTemplateCommand";
|
|
@@ -144,6 +146,7 @@ import { DeleteInstanceEventWindowCommand, } from "./commands/DeleteInstanceEven
|
|
|
144
146
|
import { DeleteInternetGatewayCommand, } from "./commands/DeleteInternetGatewayCommand";
|
|
145
147
|
import { DeleteIpamCommand } from "./commands/DeleteIpamCommand";
|
|
146
148
|
import { DeleteIpamPoolCommand, } from "./commands/DeleteIpamPoolCommand";
|
|
149
|
+
import { DeleteIpamResourceDiscoveryCommand, } from "./commands/DeleteIpamResourceDiscoveryCommand";
|
|
147
150
|
import { DeleteIpamScopeCommand, } from "./commands/DeleteIpamScopeCommand";
|
|
148
151
|
import { DeleteKeyPairCommand, } from "./commands/DeleteKeyPairCommand";
|
|
149
152
|
import { DeleteLaunchTemplateCommand, } from "./commands/DeleteLaunchTemplateCommand";
|
|
@@ -262,6 +265,8 @@ import { DescribeInstanceTypeOfferingsCommand, } from "./commands/DescribeInstan
|
|
|
262
265
|
import { DescribeInstanceTypesCommand, } from "./commands/DescribeInstanceTypesCommand";
|
|
263
266
|
import { DescribeInternetGatewaysCommand, } from "./commands/DescribeInternetGatewaysCommand";
|
|
264
267
|
import { DescribeIpamPoolsCommand, } from "./commands/DescribeIpamPoolsCommand";
|
|
268
|
+
import { DescribeIpamResourceDiscoveriesCommand, } from "./commands/DescribeIpamResourceDiscoveriesCommand";
|
|
269
|
+
import { DescribeIpamResourceDiscoveryAssociationsCommand, } from "./commands/DescribeIpamResourceDiscoveryAssociationsCommand";
|
|
265
270
|
import { DescribeIpamsCommand, } from "./commands/DescribeIpamsCommand";
|
|
266
271
|
import { DescribeIpamScopesCommand, } from "./commands/DescribeIpamScopesCommand";
|
|
267
272
|
import { DescribeIpv6PoolsCommand, } from "./commands/DescribeIpv6PoolsCommand";
|
|
@@ -373,6 +378,7 @@ import { DisassociateClientVpnTargetNetworkCommand, } from "./commands/Disassoci
|
|
|
373
378
|
import { DisassociateEnclaveCertificateIamRoleCommand, } from "./commands/DisassociateEnclaveCertificateIamRoleCommand";
|
|
374
379
|
import { DisassociateIamInstanceProfileCommand, } from "./commands/DisassociateIamInstanceProfileCommand";
|
|
375
380
|
import { DisassociateInstanceEventWindowCommand, } from "./commands/DisassociateInstanceEventWindowCommand";
|
|
381
|
+
import { DisassociateIpamResourceDiscoveryCommand, } from "./commands/DisassociateIpamResourceDiscoveryCommand";
|
|
376
382
|
import { DisassociateRouteTableCommand, } from "./commands/DisassociateRouteTableCommand";
|
|
377
383
|
import { DisassociateSubnetCidrBlockCommand, } from "./commands/DisassociateSubnetCidrBlockCommand";
|
|
378
384
|
import { DisassociateTransitGatewayMulticastDomainCommand, } from "./commands/DisassociateTransitGatewayMulticastDomainCommand";
|
|
@@ -414,6 +420,8 @@ import { GetHostReservationPurchasePreviewCommand, } from "./commands/GetHostRes
|
|
|
414
420
|
import { GetInstanceTypesFromInstanceRequirementsCommand, } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
|
|
415
421
|
import { GetInstanceUefiDataCommand, } from "./commands/GetInstanceUefiDataCommand";
|
|
416
422
|
import { GetIpamAddressHistoryCommand, } from "./commands/GetIpamAddressHistoryCommand";
|
|
423
|
+
import { GetIpamDiscoveredAccountsCommand, } from "./commands/GetIpamDiscoveredAccountsCommand";
|
|
424
|
+
import { GetIpamDiscoveredResourceCidrsCommand, } from "./commands/GetIpamDiscoveredResourceCidrsCommand";
|
|
417
425
|
import { GetIpamPoolAllocationsCommand, } from "./commands/GetIpamPoolAllocationsCommand";
|
|
418
426
|
import { GetIpamPoolCidrsCommand, } from "./commands/GetIpamPoolCidrsCommand";
|
|
419
427
|
import { GetIpamResourceCidrsCommand, } from "./commands/GetIpamResourceCidrsCommand";
|
|
@@ -470,6 +478,7 @@ import { ModifyInstancePlacementCommand, } from "./commands/ModifyInstancePlacem
|
|
|
470
478
|
import { ModifyIpamCommand } from "./commands/ModifyIpamCommand";
|
|
471
479
|
import { ModifyIpamPoolCommand, } from "./commands/ModifyIpamPoolCommand";
|
|
472
480
|
import { ModifyIpamResourceCidrCommand, } from "./commands/ModifyIpamResourceCidrCommand";
|
|
481
|
+
import { ModifyIpamResourceDiscoveryCommand, } from "./commands/ModifyIpamResourceDiscoveryCommand";
|
|
473
482
|
import { ModifyIpamScopeCommand, } from "./commands/ModifyIpamScopeCommand";
|
|
474
483
|
import { ModifyLaunchTemplateCommand, } from "./commands/ModifyLaunchTemplateCommand";
|
|
475
484
|
import { ModifyLocalGatewayRouteCommand, } from "./commands/ModifyLocalGatewayRouteCommand";
|
|
@@ -856,6 +865,20 @@ export class EC2 extends EC2Client {
|
|
|
856
865
|
return this.send(command, optionsOrCb);
|
|
857
866
|
}
|
|
858
867
|
}
|
|
868
|
+
associateIpamResourceDiscovery(args, optionsOrCb, cb) {
|
|
869
|
+
const command = new AssociateIpamResourceDiscoveryCommand(args);
|
|
870
|
+
if (typeof optionsOrCb === "function") {
|
|
871
|
+
this.send(command, optionsOrCb);
|
|
872
|
+
}
|
|
873
|
+
else if (typeof cb === "function") {
|
|
874
|
+
if (typeof optionsOrCb !== "object")
|
|
875
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
876
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
877
|
+
}
|
|
878
|
+
else {
|
|
879
|
+
return this.send(command, optionsOrCb);
|
|
880
|
+
}
|
|
881
|
+
}
|
|
859
882
|
associateRouteTable(args, optionsOrCb, cb) {
|
|
860
883
|
const command = new AssociateRouteTableCommand(args);
|
|
861
884
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1584,6 +1607,20 @@ export class EC2 extends EC2Client {
|
|
|
1584
1607
|
return this.send(command, optionsOrCb);
|
|
1585
1608
|
}
|
|
1586
1609
|
}
|
|
1610
|
+
createIpamResourceDiscovery(args, optionsOrCb, cb) {
|
|
1611
|
+
const command = new CreateIpamResourceDiscoveryCommand(args);
|
|
1612
|
+
if (typeof optionsOrCb === "function") {
|
|
1613
|
+
this.send(command, optionsOrCb);
|
|
1614
|
+
}
|
|
1615
|
+
else if (typeof cb === "function") {
|
|
1616
|
+
if (typeof optionsOrCb !== "object")
|
|
1617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1618
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1619
|
+
}
|
|
1620
|
+
else {
|
|
1621
|
+
return this.send(command, optionsOrCb);
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1587
1624
|
createIpamScope(args, optionsOrCb, cb) {
|
|
1588
1625
|
const command = new CreateIpamScopeCommand(args);
|
|
1589
1626
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2620,6 +2657,20 @@ export class EC2 extends EC2Client {
|
|
|
2620
2657
|
return this.send(command, optionsOrCb);
|
|
2621
2658
|
}
|
|
2622
2659
|
}
|
|
2660
|
+
deleteIpamResourceDiscovery(args, optionsOrCb, cb) {
|
|
2661
|
+
const command = new DeleteIpamResourceDiscoveryCommand(args);
|
|
2662
|
+
if (typeof optionsOrCb === "function") {
|
|
2663
|
+
this.send(command, optionsOrCb);
|
|
2664
|
+
}
|
|
2665
|
+
else if (typeof cb === "function") {
|
|
2666
|
+
if (typeof optionsOrCb !== "object")
|
|
2667
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2668
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2669
|
+
}
|
|
2670
|
+
else {
|
|
2671
|
+
return this.send(command, optionsOrCb);
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2623
2674
|
deleteIpamScope(args, optionsOrCb, cb) {
|
|
2624
2675
|
const command = new DeleteIpamScopeCommand(args);
|
|
2625
2676
|
if (typeof optionsOrCb === "function") {
|
|
@@ -4272,6 +4323,34 @@ export class EC2 extends EC2Client {
|
|
|
4272
4323
|
return this.send(command, optionsOrCb);
|
|
4273
4324
|
}
|
|
4274
4325
|
}
|
|
4326
|
+
describeIpamResourceDiscoveries(args, optionsOrCb, cb) {
|
|
4327
|
+
const command = new DescribeIpamResourceDiscoveriesCommand(args);
|
|
4328
|
+
if (typeof optionsOrCb === "function") {
|
|
4329
|
+
this.send(command, optionsOrCb);
|
|
4330
|
+
}
|
|
4331
|
+
else if (typeof cb === "function") {
|
|
4332
|
+
if (typeof optionsOrCb !== "object")
|
|
4333
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4334
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
4335
|
+
}
|
|
4336
|
+
else {
|
|
4337
|
+
return this.send(command, optionsOrCb);
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
describeIpamResourceDiscoveryAssociations(args, optionsOrCb, cb) {
|
|
4341
|
+
const command = new DescribeIpamResourceDiscoveryAssociationsCommand(args);
|
|
4342
|
+
if (typeof optionsOrCb === "function") {
|
|
4343
|
+
this.send(command, optionsOrCb);
|
|
4344
|
+
}
|
|
4345
|
+
else if (typeof cb === "function") {
|
|
4346
|
+
if (typeof optionsOrCb !== "object")
|
|
4347
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4348
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
4349
|
+
}
|
|
4350
|
+
else {
|
|
4351
|
+
return this.send(command, optionsOrCb);
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4275
4354
|
describeIpams(args, optionsOrCb, cb) {
|
|
4276
4355
|
const command = new DescribeIpamsCommand(args);
|
|
4277
4356
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5826,6 +5905,20 @@ export class EC2 extends EC2Client {
|
|
|
5826
5905
|
return this.send(command, optionsOrCb);
|
|
5827
5906
|
}
|
|
5828
5907
|
}
|
|
5908
|
+
disassociateIpamResourceDiscovery(args, optionsOrCb, cb) {
|
|
5909
|
+
const command = new DisassociateIpamResourceDiscoveryCommand(args);
|
|
5910
|
+
if (typeof optionsOrCb === "function") {
|
|
5911
|
+
this.send(command, optionsOrCb);
|
|
5912
|
+
}
|
|
5913
|
+
else if (typeof cb === "function") {
|
|
5914
|
+
if (typeof optionsOrCb !== "object")
|
|
5915
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5916
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5917
|
+
}
|
|
5918
|
+
else {
|
|
5919
|
+
return this.send(command, optionsOrCb);
|
|
5920
|
+
}
|
|
5921
|
+
}
|
|
5829
5922
|
disassociateRouteTable(args, optionsOrCb, cb) {
|
|
5830
5923
|
const command = new DisassociateRouteTableCommand(args);
|
|
5831
5924
|
if (typeof optionsOrCb === "function") {
|
|
@@ -6400,6 +6493,34 @@ export class EC2 extends EC2Client {
|
|
|
6400
6493
|
return this.send(command, optionsOrCb);
|
|
6401
6494
|
}
|
|
6402
6495
|
}
|
|
6496
|
+
getIpamDiscoveredAccounts(args, optionsOrCb, cb) {
|
|
6497
|
+
const command = new GetIpamDiscoveredAccountsCommand(args);
|
|
6498
|
+
if (typeof optionsOrCb === "function") {
|
|
6499
|
+
this.send(command, optionsOrCb);
|
|
6500
|
+
}
|
|
6501
|
+
else if (typeof cb === "function") {
|
|
6502
|
+
if (typeof optionsOrCb !== "object")
|
|
6503
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
6504
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
6505
|
+
}
|
|
6506
|
+
else {
|
|
6507
|
+
return this.send(command, optionsOrCb);
|
|
6508
|
+
}
|
|
6509
|
+
}
|
|
6510
|
+
getIpamDiscoveredResourceCidrs(args, optionsOrCb, cb) {
|
|
6511
|
+
const command = new GetIpamDiscoveredResourceCidrsCommand(args);
|
|
6512
|
+
if (typeof optionsOrCb === "function") {
|
|
6513
|
+
this.send(command, optionsOrCb);
|
|
6514
|
+
}
|
|
6515
|
+
else if (typeof cb === "function") {
|
|
6516
|
+
if (typeof optionsOrCb !== "object")
|
|
6517
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
6518
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
6519
|
+
}
|
|
6520
|
+
else {
|
|
6521
|
+
return this.send(command, optionsOrCb);
|
|
6522
|
+
}
|
|
6523
|
+
}
|
|
6403
6524
|
getIpamPoolAllocations(args, optionsOrCb, cb) {
|
|
6404
6525
|
const command = new GetIpamPoolAllocationsCommand(args);
|
|
6405
6526
|
if (typeof optionsOrCb === "function") {
|
|
@@ -7184,6 +7305,20 @@ export class EC2 extends EC2Client {
|
|
|
7184
7305
|
return this.send(command, optionsOrCb);
|
|
7185
7306
|
}
|
|
7186
7307
|
}
|
|
7308
|
+
modifyIpamResourceDiscovery(args, optionsOrCb, cb) {
|
|
7309
|
+
const command = new ModifyIpamResourceDiscoveryCommand(args);
|
|
7310
|
+
if (typeof optionsOrCb === "function") {
|
|
7311
|
+
this.send(command, optionsOrCb);
|
|
7312
|
+
}
|
|
7313
|
+
else if (typeof cb === "function") {
|
|
7314
|
+
if (typeof optionsOrCb !== "object")
|
|
7315
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
7316
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
7317
|
+
}
|
|
7318
|
+
else {
|
|
7319
|
+
return this.send(command, optionsOrCb);
|
|
7320
|
+
}
|
|
7321
|
+
}
|
|
7187
7322
|
modifyIpamScope(args, optionsOrCb, cb) {
|
|
7188
7323
|
const command = new ModifyIpamScopeCommand(args);
|
|
7189
7324
|
if (typeof optionsOrCb === "function") {
|
|
@@ -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 { AssociateIpamResourceDiscoveryRequestFilterSensitiveLog, AssociateIpamResourceDiscoveryResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_ec2AssociateIpamResourceDiscoveryCommand, serializeAws_ec2AssociateIpamResourceDiscoveryCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class AssociateIpamResourceDiscoveryCommand 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, AssociateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "AssociateIpamResourceDiscoveryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: AssociateIpamResourceDiscoveryRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: AssociateIpamResourceDiscoveryResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2AssociateIpamResourceDiscoveryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2AssociateIpamResourceDiscoveryCommand(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 { CreateClientVpnRouteRequestFilterSensitiveLog
|
|
4
|
+
import { CreateClientVpnRouteRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { CreateClientVpnRouteResultFilterSensitiveLog } from "../models/models_1";
|
|
5
6
|
import { deserializeAws_ec2CreateClientVpnRouteCommand, serializeAws_ec2CreateClientVpnRouteCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class CreateClientVpnRouteCommand extends $Command {
|
|
7
8
|
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 { CreateCoipCidrRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { CreateCoipCidrResultFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { CreateCoipCidrRequestFilterSensitiveLog, CreateCoipCidrResultFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_ec2CreateCoipCidrCommand, serializeAws_ec2CreateCoipCidrCommand } from "../protocols/Aws_ec2";
|
|
7
6
|
export class CreateCoipCidrCommand 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 { CreateIpamResourceDiscoveryRequestFilterSensitiveLog, CreateIpamResourceDiscoveryResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_ec2CreateIpamResourceDiscoveryCommand, serializeAws_ec2CreateIpamResourceDiscoveryCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class CreateIpamResourceDiscoveryCommand 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, CreateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "CreateIpamResourceDiscoveryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateIpamResourceDiscoveryRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateIpamResourceDiscoveryResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2CreateIpamResourceDiscoveryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2CreateIpamResourceDiscoveryCommand(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 { CreateRouteTableRequestFilterSensitiveLog
|
|
4
|
+
import { CreateRouteTableRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
|
+
import { CreateRouteTableResultFilterSensitiveLog } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_ec2CreateRouteTableCommand, serializeAws_ec2CreateRouteTableCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class CreateRouteTableCommand 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 { CreateSecurityGroupRequestFilterSensitiveLog, CreateSecurityGroupResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { CreateSecurityGroupRequestFilterSensitiveLog, CreateSecurityGroupResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_ec2CreateSecurityGroupCommand, serializeAws_ec2CreateSecurityGroupCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class CreateSecurityGroupCommand 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 { CreateSnapshotRequestFilterSensitiveLog, SnapshotFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { CreateSnapshotRequestFilterSensitiveLog, SnapshotFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_ec2CreateSnapshotCommand, serializeAws_ec2CreateSnapshotCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export class CreateSnapshotCommand 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 { CreateSnapshotsRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { CreateSnapshotsResultFilterSensitiveLog } from "../models/models_2";
|
|
4
|
+
import { CreateSnapshotsRequestFilterSensitiveLog, CreateSnapshotsResultFilterSensitiveLog, } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_ec2CreateSnapshotsCommand, serializeAws_ec2CreateSnapshotsCommand } from "../protocols/Aws_ec2";
|
|
7
6
|
export class CreateSnapshotsCommand 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 { DeleteIpamResourceDiscoveryRequestFilterSensitiveLog, DeleteIpamResourceDiscoveryResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
|
+
import { deserializeAws_ec2DeleteIpamResourceDiscoveryCommand, serializeAws_ec2DeleteIpamResourceDiscoveryCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class DeleteIpamResourceDiscoveryCommand 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, DeleteIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DeleteIpamResourceDiscoveryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteIpamResourceDiscoveryRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteIpamResourceDiscoveryResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2DeleteIpamResourceDiscoveryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2DeleteIpamResourceDiscoveryCommand(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 { DeleteTransitGatewayConnectRequestFilterSensitiveLog,
|
|
4
|
+
import { DeleteTransitGatewayConnectRequestFilterSensitiveLog, } from "../models/models_2";
|
|
5
|
+
import { DeleteTransitGatewayConnectResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
6
|
import { deserializeAws_ec2DeleteTransitGatewayConnectCommand, serializeAws_ec2DeleteTransitGatewayConnectCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DeleteTransitGatewayConnectCommand 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 { DeleteTransitGatewayConnectPeerRequestFilterSensitiveLog, DeleteTransitGatewayConnectPeerResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayConnectPeerRequestFilterSensitiveLog, DeleteTransitGatewayConnectPeerResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayConnectPeerCommand, serializeAws_ec2DeleteTransitGatewayConnectPeerCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayConnectPeerCommand 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 { DeleteTransitGatewayMulticastDomainRequestFilterSensitiveLog, DeleteTransitGatewayMulticastDomainResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayMulticastDomainRequestFilterSensitiveLog, DeleteTransitGatewayMulticastDomainResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayMulticastDomainCommand, serializeAws_ec2DeleteTransitGatewayMulticastDomainCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayMulticastDomainCommand 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 { DeleteTransitGatewayPeeringAttachmentRequestFilterSensitiveLog, DeleteTransitGatewayPeeringAttachmentResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayPeeringAttachmentRequestFilterSensitiveLog, DeleteTransitGatewayPeeringAttachmentResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand, serializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayPeeringAttachmentCommand 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 { DeleteTransitGatewayPolicyTableRequestFilterSensitiveLog, DeleteTransitGatewayPolicyTableResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayPolicyTableRequestFilterSensitiveLog, DeleteTransitGatewayPolicyTableResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayPolicyTableCommand, serializeAws_ec2DeleteTransitGatewayPolicyTableCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayPolicyTableCommand 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 { DeleteTransitGatewayPrefixListReferenceRequestFilterSensitiveLog, DeleteTransitGatewayPrefixListReferenceResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayPrefixListReferenceRequestFilterSensitiveLog, DeleteTransitGatewayPrefixListReferenceResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayPrefixListReferenceCommand, serializeAws_ec2DeleteTransitGatewayPrefixListReferenceCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayPrefixListReferenceCommand 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 { DeleteTransitGatewayRouteRequestFilterSensitiveLog, } from "../models/
|
|
5
|
-
import { DeleteTransitGatewayRouteResultFilterSensitiveLog } from "../models/models_3";
|
|
4
|
+
import { DeleteTransitGatewayRouteRequestFilterSensitiveLog, DeleteTransitGatewayRouteResultFilterSensitiveLog, } from "../models/models_3";
|
|
6
5
|
import { deserializeAws_ec2DeleteTransitGatewayRouteCommand, serializeAws_ec2DeleteTransitGatewayRouteCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class DeleteTransitGatewayRouteCommand extends $Command {
|
|
8
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 { DescribeInstanceStatusRequestFilterSensitiveLog
|
|
4
|
+
import { DescribeInstanceStatusRequestFilterSensitiveLog } from "../models/models_3";
|
|
5
|
+
import { DescribeInstanceStatusResultFilterSensitiveLog } from "../models/models_4";
|
|
5
6
|
import { deserializeAws_ec2DescribeInstanceStatusCommand, serializeAws_ec2DescribeInstanceStatusCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DescribeInstanceStatusCommand 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 { DescribeInstanceTypeOfferingsRequestFilterSensitiveLog, DescribeInstanceTypeOfferingsResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeInstanceTypeOfferingsRequestFilterSensitiveLog, DescribeInstanceTypeOfferingsResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
5
|
import { deserializeAws_ec2DescribeInstanceTypeOfferingsCommand, serializeAws_ec2DescribeInstanceTypeOfferingsCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DescribeInstanceTypeOfferingsCommand 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 { DescribeInstanceTypesRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { DescribeInstanceTypesResultFilterSensitiveLog } from "../models/models_4";
|
|
4
|
+
import { DescribeInstanceTypesRequestFilterSensitiveLog, DescribeInstanceTypesResultFilterSensitiveLog, } from "../models/models_4";
|
|
6
5
|
import { deserializeAws_ec2DescribeInstanceTypesCommand, serializeAws_ec2DescribeInstanceTypesCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class DescribeInstanceTypesCommand 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 { DescribeIpamResourceDiscoveriesRequestFilterSensitiveLog, DescribeIpamResourceDiscoveriesResultFilterSensitiveLog, } from "../models/models_4";
|
|
5
|
+
import { deserializeAws_ec2DescribeIpamResourceDiscoveriesCommand, serializeAws_ec2DescribeIpamResourceDiscoveriesCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class DescribeIpamResourceDiscoveriesCommand 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, DescribeIpamResourceDiscoveriesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DescribeIpamResourceDiscoveriesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeIpamResourceDiscoveriesRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeIpamResourceDiscoveriesResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2DescribeIpamResourceDiscoveriesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2DescribeIpamResourceDiscoveriesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|