@aws-sdk/client-ec2 3.1047.0 → 3.1049.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +42 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +96 -58
- package/dist-es/EC2.js +6 -0
- package/dist-es/EC2Client.js +1 -4
- package/dist-es/commands/DescribeIpamPoolAllocationsCommand.js +16 -0
- package/dist-es/commands/ModifyIpamPoolAllocationCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +1 -0
- package/dist-es/pagination/DescribeIpamPoolAllocationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +49 -11
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -4
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +17 -0
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamPoolAllocationsCommand.d.ts +110 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -2
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +6 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamPoolAllocationCommand.d.ts +92 -0
- package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +2 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyRouteServerCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/models/models_4.d.ts +51 -74
- package/dist-types/models/models_5.d.ts +77 -46
- package/dist-types/models/models_6.d.ts +82 -93
- package/dist-types/models/models_7.d.ts +90 -2
- package/dist-types/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/EC2.d.ts +42 -0
- package/dist-types/ts3.4/EC2Client.d.ts +13 -3
- package/dist-types/ts3.4/commands/DescribeIpamPoolAllocationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyIpamPoolAllocationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_4.d.ts +12 -11
- package/dist-types/ts3.4/models/models_5.d.ts +12 -10
- package/dist-types/ts3.4/models/models_6.d.ts +22 -21
- package/dist-types/ts3.4/models/models_7.d.ts +20 -0
- package/dist-types/ts3.4/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +8 -16
package/README.md
CHANGED
|
@@ -2563,6 +2563,13 @@ DescribeIpamPolicies
|
|
|
2563
2563
|
</details>
|
|
2564
2564
|
<details>
|
|
2565
2565
|
<summary>
|
|
2566
|
+
DescribeIpamPoolAllocations
|
|
2567
|
+
</summary>
|
|
2568
|
+
|
|
2569
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeIpamPoolAllocationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamPoolAllocationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamPoolAllocationsCommandOutput/)
|
|
2570
|
+
</details>
|
|
2571
|
+
<details>
|
|
2572
|
+
<summary>
|
|
2566
2573
|
DescribeIpamPools
|
|
2567
2574
|
</summary>
|
|
2568
2575
|
|
|
@@ -4614,6 +4621,13 @@ ModifyIpamPool
|
|
|
4614
4621
|
</details>
|
|
4615
4622
|
<details>
|
|
4616
4623
|
<summary>
|
|
4624
|
+
ModifyIpamPoolAllocation
|
|
4625
|
+
</summary>
|
|
4626
|
+
|
|
4627
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyIpamPoolAllocationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyIpamPoolAllocationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyIpamPoolAllocationCommandOutput/)
|
|
4628
|
+
</details>
|
|
4629
|
+
<details>
|
|
4630
|
+
<summary>
|
|
4617
4631
|
ModifyIpamPrefixListResolver
|
|
4618
4632
|
</summary>
|
|
4619
4633
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var middlewareSdkEc2 = require('@aws-sdk/middleware-sdk-ec2');
|
|
19
15
|
var EC2ServiceException = require('./models/EC2ServiceException');
|
|
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
72
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig,
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
74
|
};
|
|
79
75
|
|
|
80
76
|
class EC2Client extends client.Client {
|
|
@@ -84,21 +80,21 @@ class EC2Client extends client.Client {
|
|
|
84
80
|
super(_config_0);
|
|
85
81
|
this.initConfig = _config_0;
|
|
86
82
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
-
const _config_2 =
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
88
84
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
85
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
|
-
const _config_5 =
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
91
87
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
90
|
this.config = _config_8;
|
|
95
91
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
|
-
this.middlewareStack.use(
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
97
93
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
94
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
102
98
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
99
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider,
|
|
104
100
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -4195,6 +4191,18 @@ class DescribeIpamPoliciesCommand extends client.Command
|
|
|
4195
4191
|
.build() {
|
|
4196
4192
|
}
|
|
4197
4193
|
|
|
4194
|
+
class DescribeIpamPoolAllocationsCommand extends client.Command
|
|
4195
|
+
.classBuilder()
|
|
4196
|
+
.ep(commonParams)
|
|
4197
|
+
.m(function (Command, cs, config, o) {
|
|
4198
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
4199
|
+
})
|
|
4200
|
+
.s("AmazonEC2", "DescribeIpamPoolAllocations", {})
|
|
4201
|
+
.n("EC2Client", "DescribeIpamPoolAllocationsCommand")
|
|
4202
|
+
.sc(schemas_0.DescribeIpamPoolAllocations$)
|
|
4203
|
+
.build() {
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4198
4206
|
class DescribeIpamPoolsCommand extends client.Command
|
|
4199
4207
|
.classBuilder()
|
|
4200
4208
|
.ep(commonParams)
|
|
@@ -7699,6 +7707,18 @@ class ModifyIpamPolicyAllocationRulesCommand extends client.Command
|
|
|
7699
7707
|
.build() {
|
|
7700
7708
|
}
|
|
7701
7709
|
|
|
7710
|
+
class ModifyIpamPoolAllocationCommand extends client.Command
|
|
7711
|
+
.classBuilder()
|
|
7712
|
+
.ep(commonParams)
|
|
7713
|
+
.m(function (Command, cs, config, o) {
|
|
7714
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
7715
|
+
})
|
|
7716
|
+
.s("AmazonEC2", "ModifyIpamPoolAllocation", {})
|
|
7717
|
+
.n("EC2Client", "ModifyIpamPoolAllocationCommand")
|
|
7718
|
+
.sc(schemas_0.ModifyIpamPoolAllocation$)
|
|
7719
|
+
.build() {
|
|
7720
|
+
}
|
|
7721
|
+
|
|
7702
7722
|
class ModifyIpamPoolCommand extends client.Command
|
|
7703
7723
|
.classBuilder()
|
|
7704
7724
|
.ep(commonParams)
|
|
@@ -9369,6 +9389,8 @@ const paginateDescribeInstanceTypes = core.createPaginator(EC2Client, DescribeIn
|
|
|
9369
9389
|
|
|
9370
9390
|
const paginateDescribeInternetGateways = core.createPaginator(EC2Client, DescribeInternetGatewaysCommand, "NextToken", "NextToken", "MaxResults");
|
|
9371
9391
|
|
|
9392
|
+
const paginateDescribeIpamPoolAllocations = core.createPaginator(EC2Client, DescribeIpamPoolAllocationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
9393
|
+
|
|
9372
9394
|
const paginateDescribeIpamPools = core.createPaginator(EC2Client, DescribeIpamPoolsCommand, "NextToken", "NextToken", "MaxResults");
|
|
9373
9395
|
|
|
9374
9396
|
const paginateDescribeIpamPrefixListResolvers = core.createPaginator(EC2Client, DescribeIpamPrefixListResolversCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -12204,6 +12226,7 @@ const commands = {
|
|
|
12204
12226
|
DescribeIpamByoasnCommand,
|
|
12205
12227
|
DescribeIpamExternalResourceVerificationTokensCommand,
|
|
12206
12228
|
DescribeIpamPoliciesCommand,
|
|
12229
|
+
DescribeIpamPoolAllocationsCommand,
|
|
12207
12230
|
DescribeIpamPoolsCommand,
|
|
12208
12231
|
DescribeIpamPrefixListResolversCommand,
|
|
12209
12232
|
DescribeIpamPrefixListResolverTargetsCommand,
|
|
@@ -12497,6 +12520,7 @@ const commands = {
|
|
|
12497
12520
|
ModifyIpamCommand,
|
|
12498
12521
|
ModifyIpamPolicyAllocationRulesCommand,
|
|
12499
12522
|
ModifyIpamPoolCommand,
|
|
12523
|
+
ModifyIpamPoolAllocationCommand,
|
|
12500
12524
|
ModifyIpamPrefixListResolverCommand,
|
|
12501
12525
|
ModifyIpamPrefixListResolverTargetCommand,
|
|
12502
12526
|
ModifyIpamResourceCidrCommand,
|
|
@@ -12678,6 +12702,7 @@ const paginators = {
|
|
|
12678
12702
|
paginateDescribeInstanceTypeOfferings,
|
|
12679
12703
|
paginateDescribeInstanceTypes,
|
|
12680
12704
|
paginateDescribeInternetGateways,
|
|
12705
|
+
paginateDescribeIpamPoolAllocations,
|
|
12681
12706
|
paginateDescribeIpamPools,
|
|
12682
12707
|
paginateDescribeIpamPrefixListResolvers,
|
|
12683
12708
|
paginateDescribeIpamPrefixListResolverTargets,
|
|
@@ -12913,6 +12938,7 @@ const ResourceType = {
|
|
|
12913
12938
|
ipam_external_resource_verification_token: "ipam-external-resource-verification-token",
|
|
12914
12939
|
ipam_policy: "ipam-policy",
|
|
12915
12940
|
ipam_pool: "ipam-pool",
|
|
12941
|
+
ipam_pool_allocation: "ipam-pool-allocation",
|
|
12916
12942
|
ipam_prefix_list_resolver: "ipam-prefix-list-resolver",
|
|
12917
12943
|
ipam_prefix_list_resolver_target: "ipam-prefix-list-resolver-target",
|
|
12918
12944
|
ipam_resource_discovery: "ipam-resource-discovery",
|
|
@@ -17170,6 +17196,7 @@ exports.DescribeInternetGatewaysCommand = DescribeInternetGatewaysCommand;
|
|
|
17170
17196
|
exports.DescribeIpamByoasnCommand = DescribeIpamByoasnCommand;
|
|
17171
17197
|
exports.DescribeIpamExternalResourceVerificationTokensCommand = DescribeIpamExternalResourceVerificationTokensCommand;
|
|
17172
17198
|
exports.DescribeIpamPoliciesCommand = DescribeIpamPoliciesCommand;
|
|
17199
|
+
exports.DescribeIpamPoolAllocationsCommand = DescribeIpamPoolAllocationsCommand;
|
|
17173
17200
|
exports.DescribeIpamPoolsCommand = DescribeIpamPoolsCommand;
|
|
17174
17201
|
exports.DescribeIpamPrefixListResolverTargetsCommand = DescribeIpamPrefixListResolverTargetsCommand;
|
|
17175
17202
|
exports.DescribeIpamPrefixListResolversCommand = DescribeIpamPrefixListResolversCommand;
|
|
@@ -17634,6 +17661,7 @@ exports.ModifyInstanceNetworkPerformanceOptionsCommand = ModifyInstanceNetworkPe
|
|
|
17634
17661
|
exports.ModifyInstancePlacementCommand = ModifyInstancePlacementCommand;
|
|
17635
17662
|
exports.ModifyIpamCommand = ModifyIpamCommand;
|
|
17636
17663
|
exports.ModifyIpamPolicyAllocationRulesCommand = ModifyIpamPolicyAllocationRulesCommand;
|
|
17664
|
+
exports.ModifyIpamPoolAllocationCommand = ModifyIpamPoolAllocationCommand;
|
|
17637
17665
|
exports.ModifyIpamPoolCommand = ModifyIpamPoolCommand;
|
|
17638
17666
|
exports.ModifyIpamPrefixListResolverCommand = ModifyIpamPrefixListResolverCommand;
|
|
17639
17667
|
exports.ModifyIpamPrefixListResolverTargetCommand = ModifyIpamPrefixListResolverTargetCommand;
|
|
@@ -18003,6 +18031,7 @@ exports.paginateDescribeInstanceTypeOfferings = paginateDescribeInstanceTypeOffe
|
|
|
18003
18031
|
exports.paginateDescribeInstanceTypes = paginateDescribeInstanceTypes;
|
|
18004
18032
|
exports.paginateDescribeInstances = paginateDescribeInstances;
|
|
18005
18033
|
exports.paginateDescribeInternetGateways = paginateDescribeInternetGateways;
|
|
18034
|
+
exports.paginateDescribeIpamPoolAllocations = paginateDescribeIpamPoolAllocations;
|
|
18006
18035
|
exports.paginateDescribeIpamPools = paginateDescribeIpamPools;
|
|
18007
18036
|
exports.paginateDescribeIpamPrefixListResolverTargets = paginateDescribeIpamPrefixListResolverTargets;
|
|
18008
18037
|
exports.paginateDescribeIpamPrefixListResolvers = paginateDescribeIpamPrefixListResolvers;
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|