@aws-sdk/client-ec2 3.703.0 → 3.709.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 +8 -0
- package/dist-cjs/index.js +207 -65
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceNetworkPerformanceOptionsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +5 -14
- package/dist-es/models/models_2.js +14 -0
- package/dist-es/models/models_3.js +0 -6
- package/dist-es/models/models_4.js +11 -21
- package/dist-es/models/models_5.js +21 -0
- package/dist-es/models/models_6.js +0 -15
- package/dist-es/models/models_7.js +15 -0
- package/dist-es/protocols/Aws_ec2.js +114 -0
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +6 -0
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -2
- package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
- package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -1
- package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +3 -0
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +75 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +6 -0
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +69 -81
- package/dist-types/models/models_2.d.ts +82 -48
- package/dist-types/models/models_3.d.ts +48 -107
- package/dist-types/models/models_4.d.ts +157 -83
- package/dist-types/models/models_5.d.ts +70 -76
- package/dist-types/models/models_6.d.ts +77 -81
- package/dist-types/models/models_7.d.ts +168 -158
- package/dist-types/models/models_8.d.ts +158 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +23 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteCoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +19 -31
- package/dist-types/ts3.4/models/models_2.d.ts +32 -14
- package/dist-types/ts3.4/models/models_3.d.ts +12 -21
- package/dist-types/ts3.4/models/models_4.d.ts +34 -33
- package/dist-types/ts3.4/models/models_5.d.ts +32 -23
- package/dist-types/ts3.4/models/models_6.d.ts +20 -31
- package/dist-types/ts3.4/models/models_7.d.ts +46 -38
- package/dist-types/ts3.4/models/models_8.d.ts +37 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +37 -37
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const PrefixListState = {
|
|
4
|
+
create_complete: "create-complete",
|
|
5
|
+
create_failed: "create-failed",
|
|
6
|
+
create_in_progress: "create-in-progress",
|
|
7
|
+
delete_complete: "delete-complete",
|
|
8
|
+
delete_failed: "delete-failed",
|
|
9
|
+
delete_in_progress: "delete-in-progress",
|
|
10
|
+
modify_complete: "modify-complete",
|
|
11
|
+
modify_failed: "modify-failed",
|
|
12
|
+
modify_in_progress: "modify-in-progress",
|
|
13
|
+
restore_complete: "restore-complete",
|
|
14
|
+
restore_failed: "restore-failed",
|
|
15
|
+
restore_in_progress: "restore-in-progress",
|
|
16
|
+
};
|
|
3
17
|
export const ConnectivityType = {
|
|
4
18
|
PRIVATE: "private",
|
|
5
19
|
PUBLIC: "public",
|
|
@@ -151,12 +151,6 @@ export const FleetEventType = {
|
|
|
151
151
|
INSTANCE_CHANGE: "instance-change",
|
|
152
152
|
SERVICE_ERROR: "service-error",
|
|
153
153
|
};
|
|
154
|
-
export const FleetActivityStatus = {
|
|
155
|
-
ERROR: "error",
|
|
156
|
-
FULFILLED: "fulfilled",
|
|
157
|
-
PENDING_FULFILLMENT: "pending_fulfillment",
|
|
158
|
-
PENDING_TERMINATION: "pending_termination",
|
|
159
|
-
};
|
|
160
154
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
161
155
|
...obj,
|
|
162
156
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const FleetActivityStatus = {
|
|
4
|
+
ERROR: "error",
|
|
5
|
+
FULFILLED: "fulfilled",
|
|
6
|
+
PENDING_FULFILLMENT: "pending_fulfillment",
|
|
7
|
+
PENDING_TERMINATION: "pending_termination",
|
|
8
|
+
};
|
|
3
9
|
export const FpgaImageAttributeName = {
|
|
4
10
|
description: "description",
|
|
5
11
|
loadPermission: "loadPermission",
|
|
@@ -215,6 +221,11 @@ export const EphemeralNvmeSupport = {
|
|
|
215
221
|
SUPPORTED: "supported",
|
|
216
222
|
UNSUPPORTED: "unsupported",
|
|
217
223
|
};
|
|
224
|
+
export const BandwidthWeightingType = {
|
|
225
|
+
DEFAULT: "default",
|
|
226
|
+
EBS_1: "ebs-1",
|
|
227
|
+
VPC_1: "vpc-1",
|
|
228
|
+
};
|
|
218
229
|
export const EnaSupport = {
|
|
219
230
|
required: "required",
|
|
220
231
|
supported: "supported",
|
|
@@ -299,27 +310,6 @@ export const OfferingTypeValues = {
|
|
|
299
310
|
No_Upfront: "No Upfront",
|
|
300
311
|
Partial_Upfront: "Partial Upfront",
|
|
301
312
|
};
|
|
302
|
-
export const RIProductDescription = {
|
|
303
|
-
Linux_UNIX: "Linux/UNIX",
|
|
304
|
-
Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
|
|
305
|
-
Windows: "Windows",
|
|
306
|
-
Windows_Amazon_VPC_: "Windows (Amazon VPC)",
|
|
307
|
-
};
|
|
308
|
-
export const RecurringChargeFrequency = {
|
|
309
|
-
Hourly: "Hourly",
|
|
310
|
-
};
|
|
311
|
-
export const Scope = {
|
|
312
|
-
AVAILABILITY_ZONE: "Availability Zone",
|
|
313
|
-
REGIONAL: "Region",
|
|
314
|
-
};
|
|
315
|
-
export const ReservedInstanceState = {
|
|
316
|
-
active: "active",
|
|
317
|
-
payment_failed: "payment-failed",
|
|
318
|
-
payment_pending: "payment-pending",
|
|
319
|
-
queued: "queued",
|
|
320
|
-
queued_deleted: "queued-deleted",
|
|
321
|
-
retired: "retired",
|
|
322
|
-
};
|
|
323
313
|
export const SnapshotDetailFilterSensitiveLog = (obj) => ({
|
|
324
314
|
...obj,
|
|
325
315
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
export const RIProductDescription = {
|
|
5
|
+
Linux_UNIX: "Linux/UNIX",
|
|
6
|
+
Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
|
|
7
|
+
Windows: "Windows",
|
|
8
|
+
Windows_Amazon_VPC_: "Windows (Amazon VPC)",
|
|
9
|
+
};
|
|
10
|
+
export const RecurringChargeFrequency = {
|
|
11
|
+
Hourly: "Hourly",
|
|
12
|
+
};
|
|
13
|
+
export const Scope = {
|
|
14
|
+
AVAILABILITY_ZONE: "Availability Zone",
|
|
15
|
+
REGIONAL: "Region",
|
|
16
|
+
};
|
|
17
|
+
export const ReservedInstanceState = {
|
|
18
|
+
active: "active",
|
|
19
|
+
payment_failed: "payment-failed",
|
|
20
|
+
payment_pending: "payment-pending",
|
|
21
|
+
queued: "queued",
|
|
22
|
+
queued_deleted: "queued-deleted",
|
|
23
|
+
retired: "retired",
|
|
24
|
+
};
|
|
4
25
|
export const SnapshotAttributeName = {
|
|
5
26
|
createVolumePermission: "createVolumePermission",
|
|
6
27
|
productCodes: "productCodes",
|
|
@@ -115,21 +115,6 @@ export const UnsuccessfulInstanceCreditSpecificationErrorCode = {
|
|
|
115
115
|
INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound",
|
|
116
116
|
INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed",
|
|
117
117
|
};
|
|
118
|
-
export const DefaultInstanceMetadataEndpointState = {
|
|
119
|
-
disabled: "disabled",
|
|
120
|
-
enabled: "enabled",
|
|
121
|
-
no_preference: "no-preference",
|
|
122
|
-
};
|
|
123
|
-
export const MetadataDefaultHttpTokensState = {
|
|
124
|
-
no_preference: "no-preference",
|
|
125
|
-
optional: "optional",
|
|
126
|
-
required: "required",
|
|
127
|
-
};
|
|
128
|
-
export const DefaultInstanceMetadataTagsState = {
|
|
129
|
-
disabled: "disabled",
|
|
130
|
-
enabled: "enabled",
|
|
131
|
-
no_preference: "no-preference",
|
|
132
|
-
};
|
|
133
118
|
export const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog = (obj) => ({
|
|
134
119
|
...obj,
|
|
135
120
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -2,6 +2,21 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
4
|
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
|
|
5
|
+
export const DefaultInstanceMetadataEndpointState = {
|
|
6
|
+
disabled: "disabled",
|
|
7
|
+
enabled: "enabled",
|
|
8
|
+
no_preference: "no-preference",
|
|
9
|
+
};
|
|
10
|
+
export const MetadataDefaultHttpTokensState = {
|
|
11
|
+
no_preference: "no-preference",
|
|
12
|
+
optional: "optional",
|
|
13
|
+
required: "required",
|
|
14
|
+
};
|
|
15
|
+
export const DefaultInstanceMetadataTagsState = {
|
|
16
|
+
disabled: "disabled",
|
|
17
|
+
enabled: "enabled",
|
|
18
|
+
no_preference: "no-preference",
|
|
19
|
+
};
|
|
5
20
|
export const HostTenancy = {
|
|
6
21
|
dedicated: "dedicated",
|
|
7
22
|
default: "default",
|
|
@@ -5363,6 +5363,16 @@ export const se_ModifyInstanceMetadataOptionsCommand = async (input, context) =>
|
|
|
5363
5363
|
});
|
|
5364
5364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5365
5365
|
};
|
|
5366
|
+
export const se_ModifyInstanceNetworkPerformanceOptionsCommand = async (input, context) => {
|
|
5367
|
+
const headers = SHARED_HEADERS;
|
|
5368
|
+
let body;
|
|
5369
|
+
body = buildFormUrlencodedString({
|
|
5370
|
+
...se_ModifyInstanceNetworkPerformanceRequest(input, context),
|
|
5371
|
+
[_A]: _MINPO,
|
|
5372
|
+
[_V]: _,
|
|
5373
|
+
});
|
|
5374
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
5375
|
+
};
|
|
5366
5376
|
export const se_ModifyInstancePlacementCommand = async (input, context) => {
|
|
5367
5377
|
const headers = SHARED_HEADERS;
|
|
5368
5378
|
let body;
|
|
@@ -13424,6 +13434,19 @@ export const de_ModifyInstanceMetadataOptionsCommand = async (output, context) =
|
|
|
13424
13434
|
};
|
|
13425
13435
|
return response;
|
|
13426
13436
|
};
|
|
13437
|
+
export const de_ModifyInstanceNetworkPerformanceOptionsCommand = async (output, context) => {
|
|
13438
|
+
if (output.statusCode >= 300) {
|
|
13439
|
+
return de_CommandError(output, context);
|
|
13440
|
+
}
|
|
13441
|
+
const data = await parseBody(output.body, context);
|
|
13442
|
+
let contents = {};
|
|
13443
|
+
contents = de_ModifyInstanceNetworkPerformanceResult(data, context);
|
|
13444
|
+
const response = {
|
|
13445
|
+
$metadata: deserializeMetadata(output),
|
|
13446
|
+
...contents,
|
|
13447
|
+
};
|
|
13448
|
+
return response;
|
|
13449
|
+
};
|
|
13427
13450
|
export const de_ModifyInstancePlacementCommand = async (output, context) => {
|
|
13428
13451
|
if (output.statusCode >= 300) {
|
|
13429
13452
|
return de_CommandError(output, context);
|
|
@@ -28460,6 +28483,13 @@ const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
|
28460
28483
|
}
|
|
28461
28484
|
return entries;
|
|
28462
28485
|
};
|
|
28486
|
+
const se_InstanceNetworkPerformanceOptionsRequest = (input, context) => {
|
|
28487
|
+
const entries = {};
|
|
28488
|
+
if (input[_BW] != null) {
|
|
28489
|
+
entries[_BW] = input[_BW];
|
|
28490
|
+
}
|
|
28491
|
+
return entries;
|
|
28492
|
+
};
|
|
28463
28493
|
const se_InstanceRequirements = (input, context) => {
|
|
28464
28494
|
const entries = {};
|
|
28465
28495
|
if (input[_VCC] != null) {
|
|
@@ -29570,6 +29600,13 @@ const se_LaunchTemplateNameStringList = (input, context) => {
|
|
|
29570
29600
|
}
|
|
29571
29601
|
return entries;
|
|
29572
29602
|
};
|
|
29603
|
+
const se_LaunchTemplateNetworkPerformanceOptionsRequest = (input, context) => {
|
|
29604
|
+
const entries = {};
|
|
29605
|
+
if (input[_BW] != null) {
|
|
29606
|
+
entries[_BW] = input[_BW];
|
|
29607
|
+
}
|
|
29608
|
+
return entries;
|
|
29609
|
+
};
|
|
29573
29610
|
const se_LaunchTemplateOverrides = (input, context) => {
|
|
29574
29611
|
const entries = {};
|
|
29575
29612
|
if (input[_IT] != null) {
|
|
@@ -30614,6 +30651,19 @@ const se_ModifyInstanceMetadataOptionsRequest = (input, context) => {
|
|
|
30614
30651
|
}
|
|
30615
30652
|
return entries;
|
|
30616
30653
|
};
|
|
30654
|
+
const se_ModifyInstanceNetworkPerformanceRequest = (input, context) => {
|
|
30655
|
+
const entries = {};
|
|
30656
|
+
if (input[_IIn] != null) {
|
|
30657
|
+
entries[_IIn] = input[_IIn];
|
|
30658
|
+
}
|
|
30659
|
+
if (input[_BW] != null) {
|
|
30660
|
+
entries[_BW] = input[_BW];
|
|
30661
|
+
}
|
|
30662
|
+
if (input[_DRr] != null) {
|
|
30663
|
+
entries[_DRr] = input[_DRr];
|
|
30664
|
+
}
|
|
30665
|
+
return entries;
|
|
30666
|
+
};
|
|
30617
30667
|
const se_ModifyInstancePlacementRequest = (input, context) => {
|
|
30618
30668
|
const entries = {};
|
|
30619
30669
|
if (input[_GN] != null) {
|
|
@@ -34229,6 +34279,13 @@ const se_RequestLaunchTemplateData = (input, context) => {
|
|
|
34229
34279
|
entries[loc] = value;
|
|
34230
34280
|
});
|
|
34231
34281
|
}
|
|
34282
|
+
if (input[_NPO] != null) {
|
|
34283
|
+
const memberEntries = se_LaunchTemplateNetworkPerformanceOptionsRequest(input[_NPO], context);
|
|
34284
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
34285
|
+
const loc = `NetworkPerformanceOptions.${key}`;
|
|
34286
|
+
entries[loc] = value;
|
|
34287
|
+
});
|
|
34288
|
+
}
|
|
34232
34289
|
return entries;
|
|
34233
34290
|
};
|
|
34234
34291
|
const se_RequestSpotFleetRequest = (input, context) => {
|
|
@@ -35036,6 +35093,13 @@ const se_RunInstancesRequest = (input, context) => {
|
|
|
35036
35093
|
if (input[_EPI] != null) {
|
|
35037
35094
|
entries[_EPI] = input[_EPI];
|
|
35038
35095
|
}
|
|
35096
|
+
if (input[_NPO] != null) {
|
|
35097
|
+
const memberEntries = se_InstanceNetworkPerformanceOptionsRequest(input[_NPO], context);
|
|
35098
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
35099
|
+
const loc = `NetworkPerformanceOptions.${key}`;
|
|
35100
|
+
entries[loc] = value;
|
|
35101
|
+
});
|
|
35102
|
+
}
|
|
35039
35103
|
if (input[_O] != null) {
|
|
35040
35104
|
const memberEntries = se_OperatorRequest(input[_O], context);
|
|
35041
35105
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -38680,6 +38744,13 @@ const de_AvailableInstanceCapacityList = (output, context) => {
|
|
|
38680
38744
|
return de_InstanceCapacity(entry, context);
|
|
38681
38745
|
});
|
|
38682
38746
|
};
|
|
38747
|
+
const de_BandwidthWeightingTypeList = (output, context) => {
|
|
38748
|
+
return (output || [])
|
|
38749
|
+
.filter((e) => e != null)
|
|
38750
|
+
.map((entry) => {
|
|
38751
|
+
return __expectString(entry);
|
|
38752
|
+
});
|
|
38753
|
+
};
|
|
38683
38754
|
const de_BaselineEbsBandwidthMbps = (output, context) => {
|
|
38684
38755
|
const contents = {};
|
|
38685
38756
|
if (output[_m] != null) {
|
|
@@ -47810,6 +47881,9 @@ const de_Instance = (output, context) => {
|
|
|
47810
47881
|
if (output[_cIBM] != null) {
|
|
47811
47882
|
contents[_CIBM] = __expectString(output[_cIBM]);
|
|
47812
47883
|
}
|
|
47884
|
+
if (output[_nPO] != null) {
|
|
47885
|
+
contents[_NPO] = de_InstanceNetworkPerformanceOptions(output[_nPO], context);
|
|
47886
|
+
}
|
|
47813
47887
|
if (output[_op] != null) {
|
|
47814
47888
|
contents[_O] = de_OperatorResponse(output[_op], context);
|
|
47815
47889
|
}
|
|
@@ -48557,6 +48631,13 @@ const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
|
48557
48631
|
return de_InstanceNetworkInterfaceSpecification(entry, context);
|
|
48558
48632
|
});
|
|
48559
48633
|
};
|
|
48634
|
+
const de_InstanceNetworkPerformanceOptions = (output, context) => {
|
|
48635
|
+
const contents = {};
|
|
48636
|
+
if (output[_bW] != null) {
|
|
48637
|
+
contents[_BW] = __expectString(output[_bW]);
|
|
48638
|
+
}
|
|
48639
|
+
return contents;
|
|
48640
|
+
};
|
|
48560
48641
|
const de_InstancePrivateIpAddress = (output, context) => {
|
|
48561
48642
|
const contents = {};
|
|
48562
48643
|
if (output[_ass] != null) {
|
|
@@ -50640,6 +50721,13 @@ const de_LaunchTemplateLicenseList = (output, context) => {
|
|
|
50640
50721
|
return de_LaunchTemplateLicenseConfiguration(entry, context);
|
|
50641
50722
|
});
|
|
50642
50723
|
};
|
|
50724
|
+
const de_LaunchTemplateNetworkPerformanceOptions = (output, context) => {
|
|
50725
|
+
const contents = {};
|
|
50726
|
+
if (output[_bW] != null) {
|
|
50727
|
+
contents[_BW] = __expectString(output[_bW]);
|
|
50728
|
+
}
|
|
50729
|
+
return contents;
|
|
50730
|
+
};
|
|
50643
50731
|
const de_LaunchTemplateOverrides = (output, context) => {
|
|
50644
50732
|
const contents = {};
|
|
50645
50733
|
if (output[_iT] != null) {
|
|
@@ -51550,6 +51638,16 @@ const de_ModifyInstanceMetadataOptionsResult = (output, context) => {
|
|
|
51550
51638
|
}
|
|
51551
51639
|
return contents;
|
|
51552
51640
|
};
|
|
51641
|
+
const de_ModifyInstanceNetworkPerformanceResult = (output, context) => {
|
|
51642
|
+
const contents = {};
|
|
51643
|
+
if (output[_iI] != null) {
|
|
51644
|
+
contents[_IIn] = __expectString(output[_iI]);
|
|
51645
|
+
}
|
|
51646
|
+
if (output[_bW] != null) {
|
|
51647
|
+
contents[_BW] = __expectString(output[_bW]);
|
|
51648
|
+
}
|
|
51649
|
+
return contents;
|
|
51650
|
+
};
|
|
51553
51651
|
const de_ModifyInstancePlacementResult = (output, context) => {
|
|
51554
51652
|
const contents = {};
|
|
51555
51653
|
if (output[_r] != null) {
|
|
@@ -52214,6 +52312,12 @@ const de_NetworkInfo = (output, context) => {
|
|
|
52214
52312
|
if (output[_eSSn] != null) {
|
|
52215
52313
|
contents[_ESSn] = __parseBoolean(output[_eSSn]);
|
|
52216
52314
|
}
|
|
52315
|
+
if (output.bandwidthWeightings === "") {
|
|
52316
|
+
contents[_BWa] = [];
|
|
52317
|
+
}
|
|
52318
|
+
else if (output[_bWa] != null && output[_bWa][_i] != null) {
|
|
52319
|
+
contents[_BWa] = de_BandwidthWeightingTypeList(__getArrayIfSingleItem(output[_bWa][_i]), context);
|
|
52320
|
+
}
|
|
52217
52321
|
return contents;
|
|
52218
52322
|
};
|
|
52219
52323
|
const de_NetworkInsightsAccessScope = (output, context) => {
|
|
@@ -54585,6 +54689,9 @@ const de_ResponseLaunchTemplateData = (output, context) => {
|
|
|
54585
54689
|
if (output[_op] != null) {
|
|
54586
54690
|
contents[_O] = de_OperatorResponse(output[_op], context);
|
|
54587
54691
|
}
|
|
54692
|
+
if (output[_nPO] != null) {
|
|
54693
|
+
contents[_NPO] = de_LaunchTemplateNetworkPerformanceOptions(output[_nPO], context);
|
|
54694
|
+
}
|
|
54588
54695
|
return contents;
|
|
54589
54696
|
};
|
|
54590
54697
|
const de_RestoreAddressToClassicResult = (output, context) => {
|
|
@@ -60446,6 +60553,8 @@ const _BTE = "BundleTaskError";
|
|
|
60446
60553
|
const _BTIMB = "BaselineThroughputInMBps";
|
|
60447
60554
|
const _BTu = "BundleTask";
|
|
60448
60555
|
const _BTun = "BundleTasks";
|
|
60556
|
+
const _BW = "BandwidthWeighting";
|
|
60557
|
+
const _BWa = "BandwidthWeightings";
|
|
60449
60558
|
const _Bl = "Blackhole";
|
|
60450
60559
|
const _By = "Bytes";
|
|
60451
60560
|
const _Byo = "Byoasn";
|
|
@@ -61811,6 +61920,7 @@ const _MIIF = "ModifyIdentityIdFormat";
|
|
|
61811
61920
|
const _MIMD = "ModifyInstanceMetadataDefaults";
|
|
61812
61921
|
const _MIMO = "ModifyInstanceMaintenanceOptions";
|
|
61813
61922
|
const _MIMOo = "ModifyInstanceMetadataOptions";
|
|
61923
|
+
const _MINPO = "ModifyInstanceNetworkPerformanceOptions";
|
|
61814
61924
|
const _MIP = "ModifyInstancePlacement";
|
|
61815
61925
|
const _MIPo = "ModifyIpamPool";
|
|
61816
61926
|
const _MIRC = "ModifyIpamResourceCidr";
|
|
@@ -61972,6 +62082,7 @@ const _NOMA = "NumberOfMatchedAccounts";
|
|
|
61972
62082
|
const _NOUA = "NumberOfUnmatchedAccounts";
|
|
61973
62083
|
const _NP = "NetworkPerformance";
|
|
61974
62084
|
const _NPF = "NetworkPathFound";
|
|
62085
|
+
const _NPO = "NetworkPerformanceOptions";
|
|
61975
62086
|
const _NPe = "NetworkPlatform";
|
|
61976
62087
|
const _NR = "NoReboot";
|
|
61977
62088
|
const _NS = "NvmeSupport";
|
|
@@ -63069,6 +63180,8 @@ const _bS = "byoasnSet";
|
|
|
63069
63180
|
const _bSg = "bgpStatus";
|
|
63070
63181
|
const _bT = "bannerText";
|
|
63071
63182
|
const _bTIMB = "baselineThroughputInMBps";
|
|
63183
|
+
const _bW = "bandwidthWeighting";
|
|
63184
|
+
const _bWa = "bandwidthWeightings";
|
|
63072
63185
|
const _bl = "blackhole";
|
|
63073
63186
|
const _bu = "bucket";
|
|
63074
63187
|
const _c = "component";
|
|
@@ -63921,6 +64034,7 @@ const _nOMA = "numberOfMatchedAccounts";
|
|
|
63921
64034
|
const _nOUA = "numberOfUnmatchedAccounts";
|
|
63922
64035
|
const _nP = "networkPerformance";
|
|
63923
64036
|
const _nPF = "networkPathFound";
|
|
64037
|
+
const _nPO = "networkPerformanceOptions";
|
|
63924
64038
|
const _nPe = "networkPlatform";
|
|
63925
64039
|
const _nS = "nvmeSupport";
|
|
63926
64040
|
const _nSS = "networkServiceSet";
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -535,6 +535,7 @@ import { ModifyInstanceEventWindowCommandInput, ModifyInstanceEventWindowCommand
|
|
|
535
535
|
import { ModifyInstanceMaintenanceOptionsCommandInput, ModifyInstanceMaintenanceOptionsCommandOutput } from "./commands/ModifyInstanceMaintenanceOptionsCommand";
|
|
536
536
|
import { ModifyInstanceMetadataDefaultsCommandInput, ModifyInstanceMetadataDefaultsCommandOutput } from "./commands/ModifyInstanceMetadataDefaultsCommand";
|
|
537
537
|
import { ModifyInstanceMetadataOptionsCommandInput, ModifyInstanceMetadataOptionsCommandOutput } from "./commands/ModifyInstanceMetadataOptionsCommand";
|
|
538
|
+
import { ModifyInstanceNetworkPerformanceOptionsCommandInput, ModifyInstanceNetworkPerformanceOptionsCommandOutput } from "./commands/ModifyInstanceNetworkPerformanceOptionsCommand";
|
|
538
539
|
import { ModifyInstancePlacementCommandInput, ModifyInstancePlacementCommandOutput } from "./commands/ModifyInstancePlacementCommand";
|
|
539
540
|
import { ModifyIpamCommandInput, ModifyIpamCommandOutput } from "./commands/ModifyIpamCommand";
|
|
540
541
|
import { ModifyIpamPoolCommandInput, ModifyIpamPoolCommandOutput } from "./commands/ModifyIpamPoolCommand";
|
|
@@ -4062,6 +4063,12 @@ export interface EC2 {
|
|
|
4062
4063
|
modifyInstanceMetadataOptions(args: ModifyInstanceMetadataOptionsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyInstanceMetadataOptionsCommandOutput>;
|
|
4063
4064
|
modifyInstanceMetadataOptions(args: ModifyInstanceMetadataOptionsCommandInput, cb: (err: any, data?: ModifyInstanceMetadataOptionsCommandOutput) => void): void;
|
|
4064
4065
|
modifyInstanceMetadataOptions(args: ModifyInstanceMetadataOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyInstanceMetadataOptionsCommandOutput) => void): void;
|
|
4066
|
+
/**
|
|
4067
|
+
* @see {@link ModifyInstanceNetworkPerformanceOptionsCommand}
|
|
4068
|
+
*/
|
|
4069
|
+
modifyInstanceNetworkPerformanceOptions(args: ModifyInstanceNetworkPerformanceOptionsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyInstanceNetworkPerformanceOptionsCommandOutput>;
|
|
4070
|
+
modifyInstanceNetworkPerformanceOptions(args: ModifyInstanceNetworkPerformanceOptionsCommandInput, cb: (err: any, data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput) => void): void;
|
|
4071
|
+
modifyInstanceNetworkPerformanceOptions(args: ModifyInstanceNetworkPerformanceOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput) => void): void;
|
|
4065
4072
|
/**
|
|
4066
4073
|
* @see {@link ModifyInstancePlacementCommand}
|
|
4067
4074
|
*/
|