@aws-sdk/client-ec2 3.927.0 → 3.928.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/index.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +11 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +3 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -0
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -0
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
- package/dist-types/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -31807,6 +31807,9 @@ const se_InstanceRequirements = (input, context) => {
|
|
|
31807
31807
|
entries[loc] = value;
|
|
31808
31808
|
});
|
|
31809
31809
|
}
|
|
31810
|
+
if (input[_REIT] != null) {
|
|
31811
|
+
entries[_REIT] = input[_REIT];
|
|
31812
|
+
}
|
|
31810
31813
|
return entries;
|
|
31811
31814
|
};
|
|
31812
31815
|
const se_InstanceRequirementsRequest = (input, context) => {
|
|
@@ -31958,6 +31961,9 @@ const se_InstanceRequirementsRequest = (input, context) => {
|
|
|
31958
31961
|
entries[loc] = value;
|
|
31959
31962
|
});
|
|
31960
31963
|
}
|
|
31964
|
+
if (input[_REIT] != null) {
|
|
31965
|
+
entries[_REIT] = input[_REIT];
|
|
31966
|
+
}
|
|
31961
31967
|
return entries;
|
|
31962
31968
|
};
|
|
31963
31969
|
const se_InstanceRequirementsWithMetadataRequest = (input, context) => {
|
|
@@ -53694,6 +53700,9 @@ const de_InstanceRequirements = (output, context) => {
|
|
|
53694
53700
|
if (output[_bPF] != null) {
|
|
53695
53701
|
contents[_BPF] = de_BaselinePerformanceFactors(output[_bPF]);
|
|
53696
53702
|
}
|
|
53703
|
+
if (output[_rEIT] != null) {
|
|
53704
|
+
contents[_REIT] = smithyClient.parseBoolean(output[_rEIT]);
|
|
53705
|
+
}
|
|
53697
53706
|
return contents;
|
|
53698
53707
|
};
|
|
53699
53708
|
const de_InstanceSet = (output, context) => {
|
|
@@ -68491,6 +68500,7 @@ const _REAC = "RemoveExternalAuthorityConfiguration";
|
|
|
68491
68500
|
const _RED = "RemoveEndDate";
|
|
68492
68501
|
const _REDKKI = "ResetEbsDefaultKmsKeyId";
|
|
68493
68502
|
const _REDT = "ReservationEndDateType";
|
|
68503
|
+
const _REIT = "RequireEncryptionInTransit";
|
|
68494
68504
|
const _RET = "ReservationEndTimestamp";
|
|
68495
68505
|
const _RETe = "RestoreExpiryTime";
|
|
68496
68506
|
const _REe = "RemoveEntries";
|
|
@@ -70589,6 +70599,7 @@ const _rDS = "resourceDiscoveryStatus";
|
|
|
70589
70599
|
const _rDT = "rootDeviceType";
|
|
70590
70600
|
const _rE = "responseError";
|
|
70591
70601
|
const _rEDT = "reservationEndDateType";
|
|
70602
|
+
const _rEIT = "requireEncryptionInTransit";
|
|
70592
70603
|
const _rET = "reservationEndTimestamp";
|
|
70593
70604
|
const _rETe = "restoreExpiryTime";
|
|
70594
70605
|
const _rEd = "rdsEndpoint";
|
|
@@ -31690,6 +31690,9 @@ const se_InstanceRequirements = (input, context) => {
|
|
|
31690
31690
|
entries[loc] = value;
|
|
31691
31691
|
});
|
|
31692
31692
|
}
|
|
31693
|
+
if (input[_REIT] != null) {
|
|
31694
|
+
entries[_REIT] = input[_REIT];
|
|
31695
|
+
}
|
|
31693
31696
|
return entries;
|
|
31694
31697
|
};
|
|
31695
31698
|
const se_InstanceRequirementsRequest = (input, context) => {
|
|
@@ -31841,6 +31844,9 @@ const se_InstanceRequirementsRequest = (input, context) => {
|
|
|
31841
31844
|
entries[loc] = value;
|
|
31842
31845
|
});
|
|
31843
31846
|
}
|
|
31847
|
+
if (input[_REIT] != null) {
|
|
31848
|
+
entries[_REIT] = input[_REIT];
|
|
31849
|
+
}
|
|
31844
31850
|
return entries;
|
|
31845
31851
|
};
|
|
31846
31852
|
const se_InstanceRequirementsWithMetadataRequest = (input, context) => {
|
|
@@ -53577,6 +53583,9 @@ const de_InstanceRequirements = (output, context) => {
|
|
|
53577
53583
|
if (output[_bPF] != null) {
|
|
53578
53584
|
contents[_BPF] = de_BaselinePerformanceFactors(output[_bPF], context);
|
|
53579
53585
|
}
|
|
53586
|
+
if (output[_rEIT] != null) {
|
|
53587
|
+
contents[_REIT] = __parseBoolean(output[_rEIT]);
|
|
53588
|
+
}
|
|
53580
53589
|
return contents;
|
|
53581
53590
|
};
|
|
53582
53591
|
const de_InstanceSet = (output, context) => {
|
|
@@ -68378,6 +68387,7 @@ const _REAC = "RemoveExternalAuthorityConfiguration";
|
|
|
68378
68387
|
const _RED = "RemoveEndDate";
|
|
68379
68388
|
const _REDKKI = "ResetEbsDefaultKmsKeyId";
|
|
68380
68389
|
const _REDT = "ReservationEndDateType";
|
|
68390
|
+
const _REIT = "RequireEncryptionInTransit";
|
|
68381
68391
|
const _RET = "ReservationEndTimestamp";
|
|
68382
68392
|
const _RETe = "RestoreExpiryTime";
|
|
68383
68393
|
const _REe = "RemoveEntries";
|
|
@@ -70476,6 +70486,7 @@ const _rDS = "resourceDiscoveryStatus";
|
|
|
70476
70486
|
const _rDT = "rootDeviceType";
|
|
70477
70487
|
const _rE = "responseError";
|
|
70478
70488
|
const _rEDT = "reservationEndDateType";
|
|
70489
|
+
const _rEIT = "requireEncryptionInTransit";
|
|
70479
70490
|
const _rET = "reservationEndTimestamp";
|
|
70480
70491
|
const _rETe = "restoreExpiryTime";
|
|
70481
70492
|
const _rEd = "rdsEndpoint";
|
|
@@ -190,6 +190,7 @@ declare const CreateFleetCommand_base: {
|
|
|
190
190
|
* ],
|
|
191
191
|
* },
|
|
192
192
|
* },
|
|
193
|
+
* RequireEncryptionInTransit: true || false,
|
|
193
194
|
* },
|
|
194
195
|
* ImageId: "STRING_VALUE",
|
|
195
196
|
* },
|
|
@@ -320,6 +321,7 @@ declare const CreateFleetCommand_base: {
|
|
|
320
321
|
* // ],
|
|
321
322
|
* // },
|
|
322
323
|
* // },
|
|
324
|
+
* // RequireEncryptionInTransit: true || false,
|
|
323
325
|
* // },
|
|
324
326
|
* // ImageId: "STRING_VALUE",
|
|
325
327
|
* // BlockDeviceMappings: [ // BlockDeviceMappingResponseList
|
|
@@ -441,6 +443,7 @@ declare const CreateFleetCommand_base: {
|
|
|
441
443
|
* // ],
|
|
442
444
|
* // },
|
|
443
445
|
* // },
|
|
446
|
+
* // RequireEncryptionInTransit: true || false,
|
|
444
447
|
* // },
|
|
445
448
|
* // ImageId: "STRING_VALUE",
|
|
446
449
|
* // BlockDeviceMappings: [
|
|
@@ -300,6 +300,7 @@ declare const CreateLaunchTemplateCommand_base: {
|
|
|
300
300
|
* ],
|
|
301
301
|
* },
|
|
302
302
|
* },
|
|
303
|
+
* RequireEncryptionInTransit: true || false,
|
|
303
304
|
* },
|
|
304
305
|
* PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptionsRequest
|
|
305
306
|
* HostnameType: "ip-name" || "resource-name",
|
|
@@ -303,6 +303,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
303
303
|
* ],
|
|
304
304
|
* },
|
|
305
305
|
* },
|
|
306
|
+
* RequireEncryptionInTransit: true || false,
|
|
306
307
|
* },
|
|
307
308
|
* PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptionsRequest
|
|
308
309
|
* HostnameType: "ip-name" || "resource-name",
|
|
@@ -585,6 +586,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
585
586
|
* // ],
|
|
586
587
|
* // },
|
|
587
588
|
* // },
|
|
589
|
+
* // RequireEncryptionInTransit: true || false,
|
|
588
590
|
* // },
|
|
589
591
|
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
|
|
590
592
|
* // HostnameType: "ip-name" || "resource-name",
|
|
@@ -167,6 +167,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
167
167
|
* // ],
|
|
168
168
|
* // },
|
|
169
169
|
* // },
|
|
170
|
+
* // RequireEncryptionInTransit: true || false,
|
|
170
171
|
* // },
|
|
171
172
|
* // ImageId: "STRING_VALUE",
|
|
172
173
|
* // BlockDeviceMappings: [ // BlockDeviceMappingResponseList
|
|
@@ -328,6 +329,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
328
329
|
* // ],
|
|
329
330
|
* // },
|
|
330
331
|
* // },
|
|
332
|
+
* // RequireEncryptionInTransit: true || false,
|
|
331
333
|
* // },
|
|
332
334
|
* // ImageId: "STRING_VALUE",
|
|
333
335
|
* // BlockDeviceMappings: [
|
|
@@ -449,6 +451,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
449
451
|
* // ],
|
|
450
452
|
* // },
|
|
451
453
|
* // },
|
|
454
|
+
* // RequireEncryptionInTransit: true || false,
|
|
452
455
|
* // },
|
|
453
456
|
* // ImageId: "STRING_VALUE",
|
|
454
457
|
* // BlockDeviceMappings: [
|
|
@@ -324,6 +324,7 @@ declare const DescribeLaunchTemplateVersionsCommand_base: {
|
|
|
324
324
|
* // ],
|
|
325
325
|
* // },
|
|
326
326
|
* // },
|
|
327
|
+
* // RequireEncryptionInTransit: true || false,
|
|
327
328
|
* // },
|
|
328
329
|
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
|
|
329
330
|
* // HostnameType: "ip-name" || "resource-name",
|
|
@@ -258,6 +258,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
|
|
|
258
258
|
* // ],
|
|
259
259
|
* // },
|
|
260
260
|
* // },
|
|
261
|
+
* // RequireEncryptionInTransit: true || false,
|
|
261
262
|
* // },
|
|
262
263
|
* // SecurityGroups: [ // GroupIdentifierList
|
|
263
264
|
* // { // GroupIdentifier
|
|
@@ -359,6 +360,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
|
|
|
359
360
|
* // ],
|
|
360
361
|
* // },
|
|
361
362
|
* // },
|
|
363
|
+
* // RequireEncryptionInTransit: true || false,
|
|
362
364
|
* // },
|
|
363
365
|
* // },
|
|
364
366
|
* // ],
|
|
@@ -302,6 +302,7 @@ declare const GetLaunchTemplateDataCommand_base: {
|
|
|
302
302
|
* // ],
|
|
303
303
|
* // },
|
|
304
304
|
* // },
|
|
305
|
+
* // RequireEncryptionInTransit: true || false,
|
|
305
306
|
* // },
|
|
306
307
|
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
|
|
307
308
|
* // HostnameType: "ip-name" || "resource-name",
|
|
@@ -268,6 +268,7 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
268
268
|
* ],
|
|
269
269
|
* },
|
|
270
270
|
* },
|
|
271
|
+
* RequireEncryptionInTransit: true || false,
|
|
271
272
|
* },
|
|
272
273
|
* SecurityGroups: [ // GroupIdentifierList
|
|
273
274
|
* { // GroupIdentifier
|
|
@@ -369,6 +370,7 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
369
370
|
* ],
|
|
370
371
|
* },
|
|
371
372
|
* },
|
|
373
|
+
* RequireEncryptionInTransit: true || false,
|
|
372
374
|
* },
|
|
373
375
|
* },
|
|
374
376
|
* ],
|
|
@@ -5599,6 +5599,15 @@ export interface InstanceRequirementsRequest {
|
|
|
5599
5599
|
* @public
|
|
5600
5600
|
*/
|
|
5601
5601
|
BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
|
|
5602
|
+
/**
|
|
5603
|
+
* <p>Specifies whether instance types must support encrypting in-transit traffic between
|
|
5604
|
+
* instances. For more information, including the supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit">Encryption in
|
|
5605
|
+
* transit</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
5606
|
+
* <p>Default: <code>false</code>
|
|
5607
|
+
* </p>
|
|
5608
|
+
* @public
|
|
5609
|
+
*/
|
|
5610
|
+
RequireEncryptionInTransit?: boolean | undefined;
|
|
5602
5611
|
}
|
|
5603
5612
|
/**
|
|
5604
5613
|
* <p>Describes the placement of an instance.</p>
|
|
@@ -7169,6 +7178,15 @@ export interface InstanceRequirements {
|
|
|
7169
7178
|
* @public
|
|
7170
7179
|
*/
|
|
7171
7180
|
BaselinePerformanceFactors?: BaselinePerformanceFactors | undefined;
|
|
7181
|
+
/**
|
|
7182
|
+
* <p>Specifies whether instance types must support encrypting in-transit traffic between
|
|
7183
|
+
* instances. For more information, including the supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit">Encryption in
|
|
7184
|
+
* transit</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7185
|
+
* <p>Default: <code>false</code>
|
|
7186
|
+
* </p>
|
|
7187
|
+
* @public
|
|
7188
|
+
*/
|
|
7189
|
+
RequireEncryptionInTransit?: boolean | undefined;
|
|
7172
7190
|
}
|
|
7173
7191
|
/**
|
|
7174
7192
|
* <p>Describes the placement of an instance.</p>
|
|
@@ -2020,6 +2020,7 @@ export interface InstanceRequirementsRequest {
|
|
|
2020
2020
|
AllowedInstanceTypes?: string[] | undefined;
|
|
2021
2021
|
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
|
|
2022
2022
|
BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
|
|
2023
|
+
RequireEncryptionInTransit?: boolean | undefined;
|
|
2023
2024
|
}
|
|
2024
2025
|
export interface Placement {
|
|
2025
2026
|
AvailabilityZoneId?: string | undefined;
|
|
@@ -2241,6 +2242,7 @@ export interface InstanceRequirements {
|
|
|
2241
2242
|
AllowedInstanceTypes?: string[] | undefined;
|
|
2242
2243
|
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
|
|
2243
2244
|
BaselinePerformanceFactors?: BaselinePerformanceFactors | undefined;
|
|
2245
|
+
RequireEncryptionInTransit?: boolean | undefined;
|
|
2244
2246
|
}
|
|
2245
2247
|
export interface PlacementResponse {
|
|
2246
2248
|
GroupName?: string | undefined;
|
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.928.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.928.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.928.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
28
|
"@aws-sdk/middleware-sdk-ec2": "3.922.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.928.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
31
31
|
"@aws-sdk/types": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.928.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.2",
|
|
36
36
|
"@smithy/core": "^3.17.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.5",
|