@aws-sdk/client-ec2 3.207.0 → 3.209.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/models/models_0.js +1 -0
- package/dist-cjs/models/models_1.js +1 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/runtimeConfig.shared.js +2 -1
- package/dist-types/models/models_0.d.ts +2 -1
- package/dist-types/models/models_1.d.ts +44 -23
- package/dist-types/models/models_3.d.ts +42 -22
- package/dist-types/models/models_4.d.ts +42 -22
- package/dist-types/runtimeConfig.shared.d.ts +2 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -3
- package/package.json +35 -37
|
@@ -277,6 +277,7 @@ var AllocationStrategy;
|
|
|
277
277
|
AllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacityOptimizedPrioritized";
|
|
278
278
|
AllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
279
279
|
AllocationStrategy["LOWEST_PRICE"] = "lowestPrice";
|
|
280
|
+
AllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "priceCapacityOptimized";
|
|
280
281
|
})(AllocationStrategy = exports.AllocationStrategy || (exports.AllocationStrategy = {}));
|
|
281
282
|
var AllocationType;
|
|
282
283
|
(function (AllocationType) {
|
|
@@ -72,6 +72,7 @@ var SpotAllocationStrategy;
|
|
|
72
72
|
SpotAllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacity-optimized-prioritized";
|
|
73
73
|
SpotAllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
74
74
|
SpotAllocationStrategy["LOWEST_PRICE"] = "lowest-price";
|
|
75
|
+
SpotAllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "price-capacity-optimized";
|
|
75
76
|
})(SpotAllocationStrategy = exports.SpotAllocationStrategy || (exports.SpotAllocationStrategy = {}));
|
|
76
77
|
var SpotInstanceInterruptionBehavior;
|
|
77
78
|
(function (SpotInstanceInterruptionBehavior) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
6
7
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
@@ -10,7 +11,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
10
11
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
11
12
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
13
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
13
|
-
logger: config?.logger ??
|
|
14
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
14
15
|
serviceId: config?.serviceId ?? "EC2",
|
|
15
16
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
16
17
|
});
|
|
@@ -269,6 +269,7 @@ export var AllocationStrategy;
|
|
|
269
269
|
AllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacityOptimizedPrioritized";
|
|
270
270
|
AllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
271
271
|
AllocationStrategy["LOWEST_PRICE"] = "lowestPrice";
|
|
272
|
+
AllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "priceCapacityOptimized";
|
|
272
273
|
})(AllocationStrategy || (AllocationStrategy = {}));
|
|
273
274
|
export var AllocationType;
|
|
274
275
|
(function (AllocationType) {
|
|
@@ -64,6 +64,7 @@ export var SpotAllocationStrategy;
|
|
|
64
64
|
SpotAllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacity-optimized-prioritized";
|
|
65
65
|
SpotAllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
66
66
|
SpotAllocationStrategy["LOWEST_PRICE"] = "lowest-price";
|
|
67
|
+
SpotAllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "price-capacity-optimized";
|
|
67
68
|
})(SpotAllocationStrategy || (SpotAllocationStrategy = {}));
|
|
68
69
|
export var SpotInstanceInterruptionBehavior;
|
|
69
70
|
(function (SpotInstanceInterruptionBehavior) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
3
4
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
@@ -7,7 +8,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
7
8
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
8
9
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
10
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
10
|
-
logger: config?.logger ??
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
11
12
|
serviceId: config?.serviceId ?? "EC2",
|
|
12
13
|
urlParser: config?.urlParser ?? parseUrl,
|
|
13
14
|
});
|
|
@@ -2105,7 +2105,8 @@ export declare enum AllocationStrategy {
|
|
|
2105
2105
|
CAPACITY_OPTIMIZED = "capacityOptimized",
|
|
2106
2106
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized",
|
|
2107
2107
|
DIVERSIFIED = "diversified",
|
|
2108
|
-
LOWEST_PRICE = "lowestPrice"
|
|
2108
|
+
LOWEST_PRICE = "lowestPrice",
|
|
2109
|
+
PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized"
|
|
2109
2110
|
}
|
|
2110
2111
|
export declare enum AllocationType {
|
|
2111
2112
|
used = "used"
|
|
@@ -1036,7 +1036,8 @@ export declare enum SpotAllocationStrategy {
|
|
|
1036
1036
|
CAPACITY_OPTIMIZED = "capacity-optimized",
|
|
1037
1037
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized",
|
|
1038
1038
|
DIVERSIFIED = "diversified",
|
|
1039
|
-
LOWEST_PRICE = "lowest-price"
|
|
1039
|
+
LOWEST_PRICE = "lowest-price",
|
|
1040
|
+
PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized"
|
|
1040
1041
|
}
|
|
1041
1042
|
export declare enum SpotInstanceInterruptionBehavior {
|
|
1042
1043
|
hibernate = "hibernate",
|
|
@@ -1096,28 +1097,48 @@ export interface SpotOptionsRequest {
|
|
|
1096
1097
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
1097
1098
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
1098
1099
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1100
|
+
*
|
|
1101
|
+
* <dl>
|
|
1102
|
+
* <dt>price-capacity-optimized (recommended)</dt>
|
|
1103
|
+
* <dd>
|
|
1104
|
+
* <p>EC2 Fleet identifies the pools with
|
|
1105
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
1106
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
1107
|
+
* in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
1108
|
+
* </dd>
|
|
1109
|
+
* <dt>capacity-optimized</dt>
|
|
1110
|
+
* <dd>
|
|
1111
|
+
* <p>EC2 Fleet identifies the pools with
|
|
1112
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
1113
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
1114
|
+
* in the near term. To give certain
|
|
1115
|
+
* instance types a higher chance of launching first, use
|
|
1116
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
1117
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
1118
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
1119
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
1120
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
|
|
1121
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
1122
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
1123
|
+
* capacity.</p>
|
|
1124
|
+
* </dd>
|
|
1125
|
+
* <dt>diversified</dt>
|
|
1126
|
+
* <dd>
|
|
1127
|
+
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
1128
|
+
* specify.</p>
|
|
1129
|
+
* </dd>
|
|
1130
|
+
* <dt>lowest-price</dt>
|
|
1131
|
+
* <dd>
|
|
1132
|
+
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
1133
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
1134
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
1135
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
1136
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
1137
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
1138
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
1139
|
+
* </dd>
|
|
1140
|
+
* </dl>
|
|
1141
|
+
*
|
|
1121
1142
|
* <p>Default: <code>lowest-price</code>
|
|
1122
1143
|
* </p>
|
|
1123
1144
|
*/
|
|
@@ -3099,28 +3099,48 @@ export interface SpotOptions {
|
|
|
3099
3099
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
3100
3100
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
3101
3101
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3102
|
-
*
|
|
3103
|
-
*
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
*
|
|
3116
|
-
*
|
|
3117
|
-
*
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
3120
|
-
*
|
|
3121
|
-
*
|
|
3122
|
-
*
|
|
3123
|
-
*
|
|
3102
|
+
*
|
|
3103
|
+
* <dl>
|
|
3104
|
+
* <dt>price-capacity-optimized (recommended)</dt>
|
|
3105
|
+
* <dd>
|
|
3106
|
+
* <p>EC2 Fleet identifies the pools with
|
|
3107
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
3108
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
3109
|
+
* in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
3110
|
+
* </dd>
|
|
3111
|
+
* <dt>capacity-optimized</dt>
|
|
3112
|
+
* <dd>
|
|
3113
|
+
* <p>EC2 Fleet identifies the pools with
|
|
3114
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
3115
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
3116
|
+
* in the near term. To give certain
|
|
3117
|
+
* instance types a higher chance of launching first, use
|
|
3118
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
3119
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
3120
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
3121
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
3122
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
|
|
3123
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
3124
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
3125
|
+
* capacity.</p>
|
|
3126
|
+
* </dd>
|
|
3127
|
+
* <dt>diversified</dt>
|
|
3128
|
+
* <dd>
|
|
3129
|
+
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
3130
|
+
* specify.</p>
|
|
3131
|
+
* </dd>
|
|
3132
|
+
* <dt>lowest-price</dt>
|
|
3133
|
+
* <dd>
|
|
3134
|
+
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
3135
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
3136
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
3137
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
3138
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
3139
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
3140
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
3141
|
+
* </dd>
|
|
3142
|
+
* </dl>
|
|
3143
|
+
*
|
|
3124
3144
|
* <p>Default: <code>lowest-price</code>
|
|
3125
3145
|
* </p>
|
|
3126
3146
|
*/
|
|
@@ -4364,28 +4364,48 @@ export interface SpotFleetRequestConfigData {
|
|
|
4364
4364
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
4365
4365
|
* pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
|
|
4366
4366
|
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
4367
|
-
*
|
|
4368
|
-
*
|
|
4369
|
-
*
|
|
4370
|
-
*
|
|
4371
|
-
*
|
|
4372
|
-
*
|
|
4373
|
-
*
|
|
4374
|
-
*
|
|
4375
|
-
*
|
|
4376
|
-
*
|
|
4377
|
-
*
|
|
4378
|
-
*
|
|
4379
|
-
*
|
|
4380
|
-
*
|
|
4381
|
-
*
|
|
4382
|
-
*
|
|
4383
|
-
*
|
|
4384
|
-
*
|
|
4385
|
-
*
|
|
4386
|
-
*
|
|
4387
|
-
*
|
|
4388
|
-
*
|
|
4367
|
+
*
|
|
4368
|
+
* <dl>
|
|
4369
|
+
* <dt>priceCapacityOptimized (recommended)</dt>
|
|
4370
|
+
* <dd>
|
|
4371
|
+
* <p>Spot Fleet identifies the pools with
|
|
4372
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
4373
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
4374
|
+
* in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
4375
|
+
* </dd>
|
|
4376
|
+
* <dt>capacityOptimized</dt>
|
|
4377
|
+
* <dd>
|
|
4378
|
+
* <p>Spot Fleet identifies the pools with
|
|
4379
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
4380
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
4381
|
+
* in the near term. To give certain
|
|
4382
|
+
* instance types a higher chance of launching first, use
|
|
4383
|
+
* <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
|
|
4384
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
4385
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
4386
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
4387
|
+
* <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
|
|
4388
|
+
* launch template. Note that if the <code>OnDemandAllocationStrategy</code> is set to
|
|
4389
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
4390
|
+
* capacity.</p>
|
|
4391
|
+
* </dd>
|
|
4392
|
+
* <dt>diversified</dt>
|
|
4393
|
+
* <dd>
|
|
4394
|
+
* <p>Spot Fleet requests instances from all of the Spot Instance pools that you
|
|
4395
|
+
* specify.</p>
|
|
4396
|
+
* </dd>
|
|
4397
|
+
* <dt>lowestPrice</dt>
|
|
4398
|
+
* <dd>
|
|
4399
|
+
* <p>Spot Fleet requests instances from the lowest priced Spot Instance pool that
|
|
4400
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
4401
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
4402
|
+
* capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
|
|
4403
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
4404
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
4405
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
4406
|
+
* </dd>
|
|
4407
|
+
* </dl>
|
|
4408
|
+
*
|
|
4389
4409
|
* <p>Default: <code>lowestPrice</code>
|
|
4390
4410
|
* </p>
|
|
4391
4411
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
1
|
import { EC2ClientConfig } from "./EC2Client";
|
|
3
2
|
/**
|
|
4
3
|
* @internal
|
|
@@ -9,9 +8,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
9
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
9
|
disableHostPrefix: boolean;
|
|
11
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
|
-
logger?:
|
|
11
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
13
12
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
14
|
-
logger:
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
15
14
|
serviceId: string;
|
|
16
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
16
|
};
|
|
@@ -740,6 +740,7 @@ export declare enum AllocationStrategy {
|
|
|
740
740
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized",
|
|
741
741
|
DIVERSIFIED = "diversified",
|
|
742
742
|
LOWEST_PRICE = "lowestPrice",
|
|
743
|
+
PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized",
|
|
743
744
|
}
|
|
744
745
|
export declare enum AllocationType {
|
|
745
746
|
used = "used",
|
|
@@ -268,6 +268,7 @@ export declare enum SpotAllocationStrategy {
|
|
|
268
268
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized",
|
|
269
269
|
DIVERSIFIED = "diversified",
|
|
270
270
|
LOWEST_PRICE = "lowest-price",
|
|
271
|
+
PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized",
|
|
271
272
|
}
|
|
272
273
|
export declare enum SpotInstanceInterruptionBehavior {
|
|
273
274
|
hibernate = "hibernate",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
1
|
import { EC2ClientConfig } from "./EC2Client";
|
|
3
2
|
export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
4
3
|
apiVersion: string;
|
|
@@ -8,10 +7,10 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
8
7
|
endpointProvider: (
|
|
9
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
9
|
context?: {
|
|
11
|
-
logger?:
|
|
10
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
11
|
}
|
|
13
12
|
) => import("@aws-sdk/types").EndpointV2;
|
|
14
|
-
logger:
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
15
14
|
serviceId: string;
|
|
16
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
16
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.209.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,50 +19,48 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-base64-node": "3.201.0",
|
|
22
|
+
"@aws-sdk/client-sts": "3.209.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.209.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.209.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.209.0",
|
|
34
|
+
"@aws-sdk/middleware-sdk-ec2": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.209.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.209.0",
|
|
43
|
+
"@aws-sdk/types": "3.208.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
48
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
49
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.209.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.209.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.209.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.209.0",
|
|
55
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
56
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
57
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
55
|
+
"@aws-sdk/util-waiter": "3.208.0",
|
|
58
56
|
"fast-xml-parser": "4.0.11",
|
|
59
57
|
"tslib": "^2.3.1",
|
|
60
58
|
"uuid": "^8.3.2"
|
|
61
59
|
},
|
|
62
60
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
64
62
|
"@tsconfig/node14": "1.0.3",
|
|
65
|
-
"@types/node": "^
|
|
63
|
+
"@types/node": "^14.14.31",
|
|
66
64
|
"@types/uuid": "^8.3.0",
|
|
67
65
|
"concurrently": "7.0.0",
|
|
68
66
|
"downlevel-dts": "0.10.1",
|