@aws-sdk/client-ec2 3.583.0 → 3.587.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 +48 -40
- package/dist-es/protocols/Aws_ec2.js +49 -41
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +29 -6
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +19 -19
package/dist-cjs/index.js
CHANGED
|
@@ -16495,10 +16495,10 @@ var se_AthenaIntegration = /* @__PURE__ */ __name((input, context) => {
|
|
|
16495
16495
|
entries[_PLF] = input[_PLF];
|
|
16496
16496
|
}
|
|
16497
16497
|
if (input[_PSD] != null) {
|
|
16498
|
-
entries[_PSD] = input[_PSD]
|
|
16498
|
+
entries[_PSD] = (0, import_smithy_client.serializeDateTime)(input[_PSD]);
|
|
16499
16499
|
}
|
|
16500
16500
|
if (input[_PED] != null) {
|
|
16501
|
-
entries[_PED] = input[_PED]
|
|
16501
|
+
entries[_PED] = (0, import_smithy_client.serializeDateTime)(input[_PED]);
|
|
16502
16502
|
}
|
|
16503
16503
|
return entries;
|
|
16504
16504
|
}, "se_AthenaIntegration");
|
|
@@ -17131,13 +17131,13 @@ var se_ClientData = /* @__PURE__ */ __name((input, context) => {
|
|
|
17131
17131
|
entries[_Co] = input[_Co];
|
|
17132
17132
|
}
|
|
17133
17133
|
if (input[_UE] != null) {
|
|
17134
|
-
entries[_UE] = input[_UE]
|
|
17134
|
+
entries[_UE] = (0, import_smithy_client.serializeDateTime)(input[_UE]);
|
|
17135
17135
|
}
|
|
17136
17136
|
if (input[_USp] != null) {
|
|
17137
17137
|
entries[_USp] = (0, import_smithy_client.serializeFloat)(input[_USp]);
|
|
17138
17138
|
}
|
|
17139
17139
|
if (input[_USpl] != null) {
|
|
17140
|
-
entries[_USpl] = input[_USpl]
|
|
17140
|
+
entries[_USpl] = (0, import_smithy_client.serializeDateTime)(input[_USpl]);
|
|
17141
17141
|
}
|
|
17142
17142
|
return entries;
|
|
17143
17143
|
}, "se_ClientData");
|
|
@@ -17457,7 +17457,7 @@ var se_CreateCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, co
|
|
|
17457
17457
|
entries[_TTC] = input[_TTC];
|
|
17458
17458
|
}
|
|
17459
17459
|
if (input[_ED] != null) {
|
|
17460
|
-
entries[_ED] = input[_ED]
|
|
17460
|
+
entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);
|
|
17461
17461
|
}
|
|
17462
17462
|
if (input[_IMC] != null) {
|
|
17463
17463
|
entries[_IMC] = input[_IMC];
|
|
@@ -17504,7 +17504,7 @@ var se_CreateCapacityReservationRequest = /* @__PURE__ */ __name((input, context
|
|
|
17504
17504
|
entries[_ES] = input[_ES];
|
|
17505
17505
|
}
|
|
17506
17506
|
if (input[_ED] != null) {
|
|
17507
|
-
entries[_ED] = input[_ED]
|
|
17507
|
+
entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);
|
|
17508
17508
|
}
|
|
17509
17509
|
if (input[_EDT] != null) {
|
|
17510
17510
|
entries[_EDT] = input[_EDT];
|
|
@@ -17727,6 +17727,9 @@ var se_CreateCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
17727
17727
|
if (input[_DRr] != null) {
|
|
17728
17728
|
entries[_DRr] = input[_DRr];
|
|
17729
17729
|
}
|
|
17730
|
+
if (input[_BAE] != null) {
|
|
17731
|
+
entries[_BAE] = input[_BAE];
|
|
17732
|
+
}
|
|
17730
17733
|
return entries;
|
|
17731
17734
|
}, "se_CreateCustomerGatewayRequest");
|
|
17732
17735
|
var se_CreateDefaultSubnetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -17836,10 +17839,10 @@ var se_CreateFleetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
17836
17839
|
entries[_T] = input[_T];
|
|
17837
17840
|
}
|
|
17838
17841
|
if (input[_VF] != null) {
|
|
17839
|
-
entries[_VF] = input[_VF]
|
|
17842
|
+
entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);
|
|
17840
17843
|
}
|
|
17841
17844
|
if (input[_VU] != null) {
|
|
17842
|
-
entries[_VU] = input[_VU]
|
|
17845
|
+
entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);
|
|
17843
17846
|
}
|
|
17844
17847
|
if (input[_RUI] != null) {
|
|
17845
17848
|
entries[_RUI] = input[_RUI];
|
|
@@ -21507,10 +21510,10 @@ var se_DescribeCapacityBlockOfferingsRequest = /* @__PURE__ */ __name((input, co
|
|
|
21507
21510
|
entries[_IC] = input[_IC];
|
|
21508
21511
|
}
|
|
21509
21512
|
if (input[_SDR] != null) {
|
|
21510
|
-
entries[_SDR] = input[_SDR]
|
|
21513
|
+
entries[_SDR] = (0, import_smithy_client.serializeDateTime)(input[_SDR]);
|
|
21511
21514
|
}
|
|
21512
21515
|
if (input[_EDR] != null) {
|
|
21513
|
-
entries[_EDR] = input[_EDR]
|
|
21516
|
+
entries[_EDR] = (0, import_smithy_client.serializeDateTime)(input[_EDR]);
|
|
21514
21517
|
}
|
|
21515
21518
|
if (input[_CDH] != null) {
|
|
21516
21519
|
entries[_CDH] = input[_CDH];
|
|
@@ -22010,7 +22013,7 @@ var se_DescribeFleetHistoryRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
22010
22013
|
entries[_FIl] = input[_FIl];
|
|
22011
22014
|
}
|
|
22012
22015
|
if (input[_STt] != null) {
|
|
22013
|
-
entries[_STt] = input[_STt]
|
|
22016
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
22014
22017
|
}
|
|
22015
22018
|
return entries;
|
|
22016
22019
|
}, "se_DescribeFleetHistoryRequest");
|
|
@@ -23276,10 +23279,10 @@ var se_DescribeNetworkInsightsAccessScopeAnalysesRequest = /* @__PURE__ */ __nam
|
|
|
23276
23279
|
entries[_NIASI] = input[_NIASI];
|
|
23277
23280
|
}
|
|
23278
23281
|
if (input[_ASTB] != null) {
|
|
23279
|
-
entries[_ASTB] = input[_ASTB]
|
|
23282
|
+
entries[_ASTB] = (0, import_smithy_client.serializeDateTime)(input[_ASTB]);
|
|
23280
23283
|
}
|
|
23281
23284
|
if (input[_ASTE] != null) {
|
|
23282
|
-
entries[_ASTE] = input[_ASTE]
|
|
23285
|
+
entries[_ASTE] = (0, import_smithy_client.serializeDateTime)(input[_ASTE]);
|
|
23283
23286
|
}
|
|
23284
23287
|
if (input[_Fi] != null) {
|
|
23285
23288
|
const memberEntries = se_FilterList(input[_Fi], context);
|
|
@@ -23339,10 +23342,10 @@ var se_DescribeNetworkInsightsAnalysesRequest = /* @__PURE__ */ __name((input, c
|
|
|
23339
23342
|
entries[_NIPI] = input[_NIPI];
|
|
23340
23343
|
}
|
|
23341
23344
|
if (input[_AST] != null) {
|
|
23342
|
-
entries[_AST] = input[_AST]
|
|
23345
|
+
entries[_AST] = (0, import_smithy_client.serializeDateTime)(input[_AST]);
|
|
23343
23346
|
}
|
|
23344
23347
|
if (input[_AET] != null) {
|
|
23345
|
-
entries[_AET] = input[_AET]
|
|
23348
|
+
entries[_AET] = (0, import_smithy_client.serializeDateTime)(input[_AET]);
|
|
23346
23349
|
}
|
|
23347
23350
|
if (input[_Fi] != null) {
|
|
23348
23351
|
const memberEntries = se_FilterList(input[_Fi], context);
|
|
@@ -24016,7 +24019,7 @@ var se_DescribeSpotFleetRequestHistoryRequest = /* @__PURE__ */ __name((input, c
|
|
|
24016
24019
|
entries[_SFRIp] = input[_SFRIp];
|
|
24017
24020
|
}
|
|
24018
24021
|
if (input[_STt] != null) {
|
|
24019
|
-
entries[_STt] = input[_STt]
|
|
24022
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
24020
24023
|
}
|
|
24021
24024
|
return entries;
|
|
24022
24025
|
}, "se_DescribeSpotFleetRequestHistoryRequest");
|
|
@@ -24083,7 +24086,7 @@ var se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context)
|
|
|
24083
24086
|
entries[_DRr] = input[_DRr];
|
|
24084
24087
|
}
|
|
24085
24088
|
if (input[_ETn] != null) {
|
|
24086
|
-
entries[_ETn] = input[_ETn]
|
|
24089
|
+
entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);
|
|
24087
24090
|
}
|
|
24088
24091
|
if (input[_ITnst] != null) {
|
|
24089
24092
|
const memberEntries = se_InstanceTypeList(input[_ITnst], context);
|
|
@@ -24106,7 +24109,7 @@ var se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context)
|
|
|
24106
24109
|
});
|
|
24107
24110
|
}
|
|
24108
24111
|
if (input[_STt] != null) {
|
|
24109
|
-
entries[_STt] = input[_STt]
|
|
24112
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
24110
24113
|
}
|
|
24111
24114
|
return entries;
|
|
24112
24115
|
}, "se_DescribeSpotPriceHistoryRequest");
|
|
@@ -25919,7 +25922,7 @@ var se_EnableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) =
|
|
|
25919
25922
|
entries[_IIma] = input[_IIma];
|
|
25920
25923
|
}
|
|
25921
25924
|
if (input[_DAe] != null) {
|
|
25922
|
-
entries[_DAe] = input[_DAe]
|
|
25925
|
+
entries[_DAe] = (0, import_smithy_client.serializeDateTime)(input[_DAe]);
|
|
25923
25926
|
}
|
|
25924
25927
|
if (input[_DRr] != null) {
|
|
25925
25928
|
entries[_DRr] = input[_DRr];
|
|
@@ -26530,10 +26533,10 @@ var se_GetAwsNetworkPerformanceDataRequest = /* @__PURE__ */ __name((input, cont
|
|
|
26530
26533
|
});
|
|
26531
26534
|
}
|
|
26532
26535
|
if (input[_STt] != null) {
|
|
26533
|
-
entries[_STt] = input[_STt]
|
|
26536
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
26534
26537
|
}
|
|
26535
26538
|
if (input[_ETn] != null) {
|
|
26536
|
-
entries[_ETn] = input[_ETn]
|
|
26539
|
+
entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);
|
|
26537
26540
|
}
|
|
26538
26541
|
if (input[_MR] != null) {
|
|
26539
26542
|
entries[_MR] = input[_MR];
|
|
@@ -26774,10 +26777,10 @@ var se_GetIpamAddressHistoryRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
26774
26777
|
entries[_VI] = input[_VI];
|
|
26775
26778
|
}
|
|
26776
26779
|
if (input[_STt] != null) {
|
|
26777
|
-
entries[_STt] = input[_STt]
|
|
26780
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
26778
26781
|
}
|
|
26779
26782
|
if (input[_ETn] != null) {
|
|
26780
|
-
entries[_ETn] = input[_ETn]
|
|
26783
|
+
entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);
|
|
26781
26784
|
}
|
|
26782
26785
|
if (input[_MR] != null) {
|
|
26783
26786
|
entries[_MR] = input[_MR];
|
|
@@ -29485,7 +29488,7 @@ var se_LaunchTemplateSpotMarketOptionsRequest = /* @__PURE__ */ __name((input, c
|
|
|
29485
29488
|
entries[_BDMl] = input[_BDMl];
|
|
29486
29489
|
}
|
|
29487
29490
|
if (input[_VU] != null) {
|
|
29488
|
-
entries[_VU] = input[_VU]
|
|
29491
|
+
entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);
|
|
29489
29492
|
}
|
|
29490
29493
|
if (input[_IIB] != null) {
|
|
29491
29494
|
entries[_IIB] = input[_IIB];
|
|
@@ -29746,7 +29749,7 @@ var se_LockSnapshotRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
29746
29749
|
entries[_LDo] = input[_LDo];
|
|
29747
29750
|
}
|
|
29748
29751
|
if (input[_EDx] != null) {
|
|
29749
|
-
entries[_EDx] = input[_EDx]
|
|
29752
|
+
entries[_EDx] = (0, import_smithy_client.serializeDateTime)(input[_EDx]);
|
|
29750
29753
|
}
|
|
29751
29754
|
return entries;
|
|
29752
29755
|
}, "se_LockSnapshotRequest");
|
|
@@ -29825,7 +29828,7 @@ var se_ModifyCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, co
|
|
|
29825
29828
|
entries[_TTC] = input[_TTC];
|
|
29826
29829
|
}
|
|
29827
29830
|
if (input[_ED] != null) {
|
|
29828
|
-
entries[_ED] = input[_ED]
|
|
29831
|
+
entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);
|
|
29829
29832
|
}
|
|
29830
29833
|
if (input[_DRr] != null) {
|
|
29831
29834
|
entries[_DRr] = input[_DRr];
|
|
@@ -29844,7 +29847,7 @@ var se_ModifyCapacityReservationRequest = /* @__PURE__ */ __name((input, context
|
|
|
29844
29847
|
entries[_IC] = input[_IC];
|
|
29845
29848
|
}
|
|
29846
29849
|
if (input[_ED] != null) {
|
|
29847
|
-
entries[_ED] = input[_ED]
|
|
29850
|
+
entries[_ED] = (0, import_smithy_client.serializeDateTime)(input[_ED]);
|
|
29848
29851
|
}
|
|
29849
29852
|
if (input[_EDT] != null) {
|
|
29850
29853
|
entries[_EDT] = input[_EDT];
|
|
@@ -30306,7 +30309,7 @@ var se_ModifyInstanceEventStartTimeRequest = /* @__PURE__ */ __name((input, cont
|
|
|
30306
30309
|
entries[_IEI] = input[_IEI];
|
|
30307
30310
|
}
|
|
30308
30311
|
if (input[_NB] != null) {
|
|
30309
|
-
entries[_NB] = input[_NB]
|
|
30312
|
+
entries[_NB] = (0, import_smithy_client.serializeDateTime)(input[_NB]);
|
|
30310
30313
|
}
|
|
30311
30314
|
return entries;
|
|
30312
30315
|
}, "se_ModifyInstanceEventStartTimeRequest");
|
|
@@ -32851,7 +32854,7 @@ var se_PurchaseReservedInstancesOfferingRequest = /* @__PURE__ */ __name((input,
|
|
|
32851
32854
|
});
|
|
32852
32855
|
}
|
|
32853
32856
|
if (input[_PTu] != null) {
|
|
32854
|
-
entries[_PTu] = input[_PTu]
|
|
32857
|
+
entries[_PTu] = (0, import_smithy_client.serializeDateTime)(input[_PTu]);
|
|
32855
32858
|
}
|
|
32856
32859
|
return entries;
|
|
32857
32860
|
}, "se_PurchaseReservedInstancesOfferingRequest");
|
|
@@ -33410,7 +33413,7 @@ var se_ReportInstanceStatusRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
33410
33413
|
entries[_DRr] = input[_DRr];
|
|
33411
33414
|
}
|
|
33412
33415
|
if (input[_ETn] != null) {
|
|
33413
|
-
entries[_ETn] = input[_ETn]
|
|
33416
|
+
entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]);
|
|
33414
33417
|
}
|
|
33415
33418
|
if (input[_In] != null) {
|
|
33416
33419
|
const memberEntries = se_InstanceIdStringList(input[_In], context);
|
|
@@ -33427,7 +33430,7 @@ var se_ReportInstanceStatusRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
33427
33430
|
});
|
|
33428
33431
|
}
|
|
33429
33432
|
if (input[_STt] != null) {
|
|
33430
|
-
entries[_STt] = input[_STt]
|
|
33433
|
+
entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]);
|
|
33431
33434
|
}
|
|
33432
33435
|
if (input[_Statu] != null) {
|
|
33433
33436
|
entries[_Statu] = input[_Statu];
|
|
@@ -33734,10 +33737,10 @@ var se_RequestSpotInstancesRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
33734
33737
|
entries[_T] = input[_T];
|
|
33735
33738
|
}
|
|
33736
33739
|
if (input[_VF] != null) {
|
|
33737
|
-
entries[_VF] = input[_VF]
|
|
33740
|
+
entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);
|
|
33738
33741
|
}
|
|
33739
33742
|
if (input[_VU] != null) {
|
|
33740
|
-
entries[_VU] = input[_VU]
|
|
33743
|
+
entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);
|
|
33741
33744
|
}
|
|
33742
33745
|
if (input[_TS] != null) {
|
|
33743
33746
|
const memberEntries = se_TagSpecificationList(input[_TS], context);
|
|
@@ -35122,20 +35125,20 @@ var se_SendDiagnosticInterruptRequest = /* @__PURE__ */ __name((input, context)
|
|
|
35122
35125
|
var se_SlotDateTimeRangeRequest = /* @__PURE__ */ __name((input, context) => {
|
|
35123
35126
|
const entries = {};
|
|
35124
35127
|
if (input[_ETa] != null) {
|
|
35125
|
-
entries[_ETa] = input[_ETa]
|
|
35128
|
+
entries[_ETa] = (0, import_smithy_client.serializeDateTime)(input[_ETa]);
|
|
35126
35129
|
}
|
|
35127
35130
|
if (input[_LTat] != null) {
|
|
35128
|
-
entries[_LTat] = input[_LTat]
|
|
35131
|
+
entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]);
|
|
35129
35132
|
}
|
|
35130
35133
|
return entries;
|
|
35131
35134
|
}, "se_SlotDateTimeRangeRequest");
|
|
35132
35135
|
var se_SlotStartTimeRangeRequest = /* @__PURE__ */ __name((input, context) => {
|
|
35133
35136
|
const entries = {};
|
|
35134
35137
|
if (input[_ETa] != null) {
|
|
35135
|
-
entries[_ETa] = input[_ETa]
|
|
35138
|
+
entries[_ETa] = (0, import_smithy_client.serializeDateTime)(input[_ETa]);
|
|
35136
35139
|
}
|
|
35137
35140
|
if (input[_LTat] != null) {
|
|
35138
|
-
entries[_LTat] = input[_LTat]
|
|
35141
|
+
entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]);
|
|
35139
35142
|
}
|
|
35140
35143
|
return entries;
|
|
35141
35144
|
}, "se_SlotStartTimeRangeRequest");
|
|
@@ -35347,10 +35350,10 @@ var se_SpotFleetRequestConfigData = /* @__PURE__ */ __name((input, context) => {
|
|
|
35347
35350
|
entries[_T] = input[_T];
|
|
35348
35351
|
}
|
|
35349
35352
|
if (input[_VF] != null) {
|
|
35350
|
-
entries[_VF] = input[_VF]
|
|
35353
|
+
entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]);
|
|
35351
35354
|
}
|
|
35352
35355
|
if (input[_VU] != null) {
|
|
35353
|
-
entries[_VU] = input[_VU]
|
|
35356
|
+
entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);
|
|
35354
35357
|
}
|
|
35355
35358
|
if (input[_RUI] != null) {
|
|
35356
35359
|
entries[_RUI] = input[_RUI];
|
|
@@ -35459,7 +35462,7 @@ var se_SpotMarketOptions = /* @__PURE__ */ __name((input, context) => {
|
|
|
35459
35462
|
entries[_BDMl] = input[_BDMl];
|
|
35460
35463
|
}
|
|
35461
35464
|
if (input[_VU] != null) {
|
|
35462
|
-
entries[_VU] = input[_VU]
|
|
35465
|
+
entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]);
|
|
35463
35466
|
}
|
|
35464
35467
|
if (input[_IIB] != null) {
|
|
35465
35468
|
entries[_IIB] = input[_IIB];
|
|
@@ -39877,6 +39880,9 @@ var de_CustomerGateway = /* @__PURE__ */ __name((output, context) => {
|
|
|
39877
39880
|
} else if (output[_tS] != null && output[_tS][_i] != null) {
|
|
39878
39881
|
contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);
|
|
39879
39882
|
}
|
|
39883
|
+
if (output[_bAE] != null) {
|
|
39884
|
+
contents[_BAE] = (0, import_smithy_client.expectString)(output[_bAE]);
|
|
39885
|
+
}
|
|
39880
39886
|
return contents;
|
|
39881
39887
|
}, "de_CustomerGateway");
|
|
39882
39888
|
var de_CustomerGatewayList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -56904,6 +56910,7 @@ var _Att = "Attachment";
|
|
|
56904
56910
|
var _Atta = "Attachments";
|
|
56905
56911
|
var _B = "Bucket";
|
|
56906
56912
|
var _BA = "BgpAsn";
|
|
56913
|
+
var _BAE = "BgpAsnExtended";
|
|
56907
56914
|
var _BBIG = "BaselineBandwidthInGbps";
|
|
56908
56915
|
var _BBIM = "BaselineBandwidthInMbps";
|
|
56909
56916
|
var _BC = "ByoipCidr";
|
|
@@ -59371,6 +59378,7 @@ var _at = "attachment";
|
|
|
59371
59378
|
var _att = "attachments";
|
|
59372
59379
|
var _b = "byoasn";
|
|
59373
59380
|
var _bA = "bgpAsn";
|
|
59381
|
+
var _bAE = "bgpAsnExtended";
|
|
59374
59382
|
var _bBIG = "baselineBandwidthInGbps";
|
|
59375
59383
|
var _bBIM = "baselineBandwidthInMbps";
|
|
59376
59384
|
var _bC = "byoipCidr";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { collectBody, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { collectBody, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { EC2ServiceException as __BaseException } from "../models/EC2ServiceException";
|
|
6
6
|
export const se_AcceptAddressTransferCommand = async (input, context) => {
|
|
@@ -15047,10 +15047,10 @@ const se_AthenaIntegration = (input, context) => {
|
|
|
15047
15047
|
entries[_PLF] = input[_PLF];
|
|
15048
15048
|
}
|
|
15049
15049
|
if (input[_PSD] != null) {
|
|
15050
|
-
entries[_PSD] = input[_PSD]
|
|
15050
|
+
entries[_PSD] = __serializeDateTime(input[_PSD]);
|
|
15051
15051
|
}
|
|
15052
15052
|
if (input[_PED] != null) {
|
|
15053
|
-
entries[_PED] = input[_PED]
|
|
15053
|
+
entries[_PED] = __serializeDateTime(input[_PED]);
|
|
15054
15054
|
}
|
|
15055
15055
|
return entries;
|
|
15056
15056
|
};
|
|
@@ -15683,13 +15683,13 @@ const se_ClientData = (input, context) => {
|
|
|
15683
15683
|
entries[_Co] = input[_Co];
|
|
15684
15684
|
}
|
|
15685
15685
|
if (input[_UE] != null) {
|
|
15686
|
-
entries[_UE] = input[_UE]
|
|
15686
|
+
entries[_UE] = __serializeDateTime(input[_UE]);
|
|
15687
15687
|
}
|
|
15688
15688
|
if (input[_USp] != null) {
|
|
15689
15689
|
entries[_USp] = __serializeFloat(input[_USp]);
|
|
15690
15690
|
}
|
|
15691
15691
|
if (input[_USpl] != null) {
|
|
15692
|
-
entries[_USpl] = input[_USpl]
|
|
15692
|
+
entries[_USpl] = __serializeDateTime(input[_USpl]);
|
|
15693
15693
|
}
|
|
15694
15694
|
return entries;
|
|
15695
15695
|
};
|
|
@@ -16009,7 +16009,7 @@ const se_CreateCapacityReservationFleetRequest = (input, context) => {
|
|
|
16009
16009
|
entries[_TTC] = input[_TTC];
|
|
16010
16010
|
}
|
|
16011
16011
|
if (input[_ED] != null) {
|
|
16012
|
-
entries[_ED] = input[_ED]
|
|
16012
|
+
entries[_ED] = __serializeDateTime(input[_ED]);
|
|
16013
16013
|
}
|
|
16014
16014
|
if (input[_IMC] != null) {
|
|
16015
16015
|
entries[_IMC] = input[_IMC];
|
|
@@ -16056,7 +16056,7 @@ const se_CreateCapacityReservationRequest = (input, context) => {
|
|
|
16056
16056
|
entries[_ES] = input[_ES];
|
|
16057
16057
|
}
|
|
16058
16058
|
if (input[_ED] != null) {
|
|
16059
|
-
entries[_ED] = input[_ED]
|
|
16059
|
+
entries[_ED] = __serializeDateTime(input[_ED]);
|
|
16060
16060
|
}
|
|
16061
16061
|
if (input[_EDT] != null) {
|
|
16062
16062
|
entries[_EDT] = input[_EDT];
|
|
@@ -16279,6 +16279,9 @@ const se_CreateCustomerGatewayRequest = (input, context) => {
|
|
|
16279
16279
|
if (input[_DRr] != null) {
|
|
16280
16280
|
entries[_DRr] = input[_DRr];
|
|
16281
16281
|
}
|
|
16282
|
+
if (input[_BAE] != null) {
|
|
16283
|
+
entries[_BAE] = input[_BAE];
|
|
16284
|
+
}
|
|
16282
16285
|
return entries;
|
|
16283
16286
|
};
|
|
16284
16287
|
const se_CreateDefaultSubnetRequest = (input, context) => {
|
|
@@ -16388,10 +16391,10 @@ const se_CreateFleetRequest = (input, context) => {
|
|
|
16388
16391
|
entries[_T] = input[_T];
|
|
16389
16392
|
}
|
|
16390
16393
|
if (input[_VF] != null) {
|
|
16391
|
-
entries[_VF] = input[_VF]
|
|
16394
|
+
entries[_VF] = __serializeDateTime(input[_VF]);
|
|
16392
16395
|
}
|
|
16393
16396
|
if (input[_VU] != null) {
|
|
16394
|
-
entries[_VU] = input[_VU]
|
|
16397
|
+
entries[_VU] = __serializeDateTime(input[_VU]);
|
|
16395
16398
|
}
|
|
16396
16399
|
if (input[_RUI] != null) {
|
|
16397
16400
|
entries[_RUI] = input[_RUI];
|
|
@@ -20059,10 +20062,10 @@ const se_DescribeCapacityBlockOfferingsRequest = (input, context) => {
|
|
|
20059
20062
|
entries[_IC] = input[_IC];
|
|
20060
20063
|
}
|
|
20061
20064
|
if (input[_SDR] != null) {
|
|
20062
|
-
entries[_SDR] = input[_SDR]
|
|
20065
|
+
entries[_SDR] = __serializeDateTime(input[_SDR]);
|
|
20063
20066
|
}
|
|
20064
20067
|
if (input[_EDR] != null) {
|
|
20065
|
-
entries[_EDR] = input[_EDR]
|
|
20068
|
+
entries[_EDR] = __serializeDateTime(input[_EDR]);
|
|
20066
20069
|
}
|
|
20067
20070
|
if (input[_CDH] != null) {
|
|
20068
20071
|
entries[_CDH] = input[_CDH];
|
|
@@ -20562,7 +20565,7 @@ const se_DescribeFleetHistoryRequest = (input, context) => {
|
|
|
20562
20565
|
entries[_FIl] = input[_FIl];
|
|
20563
20566
|
}
|
|
20564
20567
|
if (input[_STt] != null) {
|
|
20565
|
-
entries[_STt] = input[_STt]
|
|
20568
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
20566
20569
|
}
|
|
20567
20570
|
return entries;
|
|
20568
20571
|
};
|
|
@@ -21828,10 +21831,10 @@ const se_DescribeNetworkInsightsAccessScopeAnalysesRequest = (input, context) =>
|
|
|
21828
21831
|
entries[_NIASI] = input[_NIASI];
|
|
21829
21832
|
}
|
|
21830
21833
|
if (input[_ASTB] != null) {
|
|
21831
|
-
entries[_ASTB] = input[_ASTB]
|
|
21834
|
+
entries[_ASTB] = __serializeDateTime(input[_ASTB]);
|
|
21832
21835
|
}
|
|
21833
21836
|
if (input[_ASTE] != null) {
|
|
21834
|
-
entries[_ASTE] = input[_ASTE]
|
|
21837
|
+
entries[_ASTE] = __serializeDateTime(input[_ASTE]);
|
|
21835
21838
|
}
|
|
21836
21839
|
if (input[_Fi] != null) {
|
|
21837
21840
|
const memberEntries = se_FilterList(input[_Fi], context);
|
|
@@ -21891,10 +21894,10 @@ const se_DescribeNetworkInsightsAnalysesRequest = (input, context) => {
|
|
|
21891
21894
|
entries[_NIPI] = input[_NIPI];
|
|
21892
21895
|
}
|
|
21893
21896
|
if (input[_AST] != null) {
|
|
21894
|
-
entries[_AST] = input[_AST]
|
|
21897
|
+
entries[_AST] = __serializeDateTime(input[_AST]);
|
|
21895
21898
|
}
|
|
21896
21899
|
if (input[_AET] != null) {
|
|
21897
|
-
entries[_AET] = input[_AET]
|
|
21900
|
+
entries[_AET] = __serializeDateTime(input[_AET]);
|
|
21898
21901
|
}
|
|
21899
21902
|
if (input[_Fi] != null) {
|
|
21900
21903
|
const memberEntries = se_FilterList(input[_Fi], context);
|
|
@@ -22568,7 +22571,7 @@ const se_DescribeSpotFleetRequestHistoryRequest = (input, context) => {
|
|
|
22568
22571
|
entries[_SFRIp] = input[_SFRIp];
|
|
22569
22572
|
}
|
|
22570
22573
|
if (input[_STt] != null) {
|
|
22571
|
-
entries[_STt] = input[_STt]
|
|
22574
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
22572
22575
|
}
|
|
22573
22576
|
return entries;
|
|
22574
22577
|
};
|
|
@@ -22635,7 +22638,7 @@ const se_DescribeSpotPriceHistoryRequest = (input, context) => {
|
|
|
22635
22638
|
entries[_DRr] = input[_DRr];
|
|
22636
22639
|
}
|
|
22637
22640
|
if (input[_ETn] != null) {
|
|
22638
|
-
entries[_ETn] = input[_ETn]
|
|
22641
|
+
entries[_ETn] = __serializeDateTime(input[_ETn]);
|
|
22639
22642
|
}
|
|
22640
22643
|
if (input[_ITnst] != null) {
|
|
22641
22644
|
const memberEntries = se_InstanceTypeList(input[_ITnst], context);
|
|
@@ -22658,7 +22661,7 @@ const se_DescribeSpotPriceHistoryRequest = (input, context) => {
|
|
|
22658
22661
|
});
|
|
22659
22662
|
}
|
|
22660
22663
|
if (input[_STt] != null) {
|
|
22661
|
-
entries[_STt] = input[_STt]
|
|
22664
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
22662
22665
|
}
|
|
22663
22666
|
return entries;
|
|
22664
22667
|
};
|
|
@@ -24471,7 +24474,7 @@ const se_EnableImageDeprecationRequest = (input, context) => {
|
|
|
24471
24474
|
entries[_IIma] = input[_IIma];
|
|
24472
24475
|
}
|
|
24473
24476
|
if (input[_DAe] != null) {
|
|
24474
|
-
entries[_DAe] = input[_DAe]
|
|
24477
|
+
entries[_DAe] = __serializeDateTime(input[_DAe]);
|
|
24475
24478
|
}
|
|
24476
24479
|
if (input[_DRr] != null) {
|
|
24477
24480
|
entries[_DRr] = input[_DRr];
|
|
@@ -25082,10 +25085,10 @@ const se_GetAwsNetworkPerformanceDataRequest = (input, context) => {
|
|
|
25082
25085
|
});
|
|
25083
25086
|
}
|
|
25084
25087
|
if (input[_STt] != null) {
|
|
25085
|
-
entries[_STt] = input[_STt]
|
|
25088
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
25086
25089
|
}
|
|
25087
25090
|
if (input[_ETn] != null) {
|
|
25088
|
-
entries[_ETn] = input[_ETn]
|
|
25091
|
+
entries[_ETn] = __serializeDateTime(input[_ETn]);
|
|
25089
25092
|
}
|
|
25090
25093
|
if (input[_MR] != null) {
|
|
25091
25094
|
entries[_MR] = input[_MR];
|
|
@@ -25326,10 +25329,10 @@ const se_GetIpamAddressHistoryRequest = (input, context) => {
|
|
|
25326
25329
|
entries[_VI] = input[_VI];
|
|
25327
25330
|
}
|
|
25328
25331
|
if (input[_STt] != null) {
|
|
25329
|
-
entries[_STt] = input[_STt]
|
|
25332
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
25330
25333
|
}
|
|
25331
25334
|
if (input[_ETn] != null) {
|
|
25332
|
-
entries[_ETn] = input[_ETn]
|
|
25335
|
+
entries[_ETn] = __serializeDateTime(input[_ETn]);
|
|
25333
25336
|
}
|
|
25334
25337
|
if (input[_MR] != null) {
|
|
25335
25338
|
entries[_MR] = input[_MR];
|
|
@@ -28037,7 +28040,7 @@ const se_LaunchTemplateSpotMarketOptionsRequest = (input, context) => {
|
|
|
28037
28040
|
entries[_BDMl] = input[_BDMl];
|
|
28038
28041
|
}
|
|
28039
28042
|
if (input[_VU] != null) {
|
|
28040
|
-
entries[_VU] = input[_VU]
|
|
28043
|
+
entries[_VU] = __serializeDateTime(input[_VU]);
|
|
28041
28044
|
}
|
|
28042
28045
|
if (input[_IIB] != null) {
|
|
28043
28046
|
entries[_IIB] = input[_IIB];
|
|
@@ -28298,7 +28301,7 @@ const se_LockSnapshotRequest = (input, context) => {
|
|
|
28298
28301
|
entries[_LDo] = input[_LDo];
|
|
28299
28302
|
}
|
|
28300
28303
|
if (input[_EDx] != null) {
|
|
28301
|
-
entries[_EDx] = input[_EDx]
|
|
28304
|
+
entries[_EDx] = __serializeDateTime(input[_EDx]);
|
|
28302
28305
|
}
|
|
28303
28306
|
return entries;
|
|
28304
28307
|
};
|
|
@@ -28377,7 +28380,7 @@ const se_ModifyCapacityReservationFleetRequest = (input, context) => {
|
|
|
28377
28380
|
entries[_TTC] = input[_TTC];
|
|
28378
28381
|
}
|
|
28379
28382
|
if (input[_ED] != null) {
|
|
28380
|
-
entries[_ED] = input[_ED]
|
|
28383
|
+
entries[_ED] = __serializeDateTime(input[_ED]);
|
|
28381
28384
|
}
|
|
28382
28385
|
if (input[_DRr] != null) {
|
|
28383
28386
|
entries[_DRr] = input[_DRr];
|
|
@@ -28396,7 +28399,7 @@ const se_ModifyCapacityReservationRequest = (input, context) => {
|
|
|
28396
28399
|
entries[_IC] = input[_IC];
|
|
28397
28400
|
}
|
|
28398
28401
|
if (input[_ED] != null) {
|
|
28399
|
-
entries[_ED] = input[_ED]
|
|
28402
|
+
entries[_ED] = __serializeDateTime(input[_ED]);
|
|
28400
28403
|
}
|
|
28401
28404
|
if (input[_EDT] != null) {
|
|
28402
28405
|
entries[_EDT] = input[_EDT];
|
|
@@ -28858,7 +28861,7 @@ const se_ModifyInstanceEventStartTimeRequest = (input, context) => {
|
|
|
28858
28861
|
entries[_IEI] = input[_IEI];
|
|
28859
28862
|
}
|
|
28860
28863
|
if (input[_NB] != null) {
|
|
28861
|
-
entries[_NB] = input[_NB]
|
|
28864
|
+
entries[_NB] = __serializeDateTime(input[_NB]);
|
|
28862
28865
|
}
|
|
28863
28866
|
return entries;
|
|
28864
28867
|
};
|
|
@@ -31403,7 +31406,7 @@ const se_PurchaseReservedInstancesOfferingRequest = (input, context) => {
|
|
|
31403
31406
|
});
|
|
31404
31407
|
}
|
|
31405
31408
|
if (input[_PTu] != null) {
|
|
31406
|
-
entries[_PTu] = input[_PTu]
|
|
31409
|
+
entries[_PTu] = __serializeDateTime(input[_PTu]);
|
|
31407
31410
|
}
|
|
31408
31411
|
return entries;
|
|
31409
31412
|
};
|
|
@@ -31962,7 +31965,7 @@ const se_ReportInstanceStatusRequest = (input, context) => {
|
|
|
31962
31965
|
entries[_DRr] = input[_DRr];
|
|
31963
31966
|
}
|
|
31964
31967
|
if (input[_ETn] != null) {
|
|
31965
|
-
entries[_ETn] = input[_ETn]
|
|
31968
|
+
entries[_ETn] = __serializeDateTime(input[_ETn]);
|
|
31966
31969
|
}
|
|
31967
31970
|
if (input[_In] != null) {
|
|
31968
31971
|
const memberEntries = se_InstanceIdStringList(input[_In], context);
|
|
@@ -31979,7 +31982,7 @@ const se_ReportInstanceStatusRequest = (input, context) => {
|
|
|
31979
31982
|
});
|
|
31980
31983
|
}
|
|
31981
31984
|
if (input[_STt] != null) {
|
|
31982
|
-
entries[_STt] = input[_STt]
|
|
31985
|
+
entries[_STt] = __serializeDateTime(input[_STt]);
|
|
31983
31986
|
}
|
|
31984
31987
|
if (input[_Statu] != null) {
|
|
31985
31988
|
entries[_Statu] = input[_Statu];
|
|
@@ -32286,10 +32289,10 @@ const se_RequestSpotInstancesRequest = (input, context) => {
|
|
|
32286
32289
|
entries[_T] = input[_T];
|
|
32287
32290
|
}
|
|
32288
32291
|
if (input[_VF] != null) {
|
|
32289
|
-
entries[_VF] = input[_VF]
|
|
32292
|
+
entries[_VF] = __serializeDateTime(input[_VF]);
|
|
32290
32293
|
}
|
|
32291
32294
|
if (input[_VU] != null) {
|
|
32292
|
-
entries[_VU] = input[_VU]
|
|
32295
|
+
entries[_VU] = __serializeDateTime(input[_VU]);
|
|
32293
32296
|
}
|
|
32294
32297
|
if (input[_TS] != null) {
|
|
32295
32298
|
const memberEntries = se_TagSpecificationList(input[_TS], context);
|
|
@@ -33674,20 +33677,20 @@ const se_SendDiagnosticInterruptRequest = (input, context) => {
|
|
|
33674
33677
|
const se_SlotDateTimeRangeRequest = (input, context) => {
|
|
33675
33678
|
const entries = {};
|
|
33676
33679
|
if (input[_ETa] != null) {
|
|
33677
|
-
entries[_ETa] = input[_ETa]
|
|
33680
|
+
entries[_ETa] = __serializeDateTime(input[_ETa]);
|
|
33678
33681
|
}
|
|
33679
33682
|
if (input[_LTat] != null) {
|
|
33680
|
-
entries[_LTat] = input[_LTat]
|
|
33683
|
+
entries[_LTat] = __serializeDateTime(input[_LTat]);
|
|
33681
33684
|
}
|
|
33682
33685
|
return entries;
|
|
33683
33686
|
};
|
|
33684
33687
|
const se_SlotStartTimeRangeRequest = (input, context) => {
|
|
33685
33688
|
const entries = {};
|
|
33686
33689
|
if (input[_ETa] != null) {
|
|
33687
|
-
entries[_ETa] = input[_ETa]
|
|
33690
|
+
entries[_ETa] = __serializeDateTime(input[_ETa]);
|
|
33688
33691
|
}
|
|
33689
33692
|
if (input[_LTat] != null) {
|
|
33690
|
-
entries[_LTat] = input[_LTat]
|
|
33693
|
+
entries[_LTat] = __serializeDateTime(input[_LTat]);
|
|
33691
33694
|
}
|
|
33692
33695
|
return entries;
|
|
33693
33696
|
};
|
|
@@ -33899,10 +33902,10 @@ const se_SpotFleetRequestConfigData = (input, context) => {
|
|
|
33899
33902
|
entries[_T] = input[_T];
|
|
33900
33903
|
}
|
|
33901
33904
|
if (input[_VF] != null) {
|
|
33902
|
-
entries[_VF] = input[_VF]
|
|
33905
|
+
entries[_VF] = __serializeDateTime(input[_VF]);
|
|
33903
33906
|
}
|
|
33904
33907
|
if (input[_VU] != null) {
|
|
33905
|
-
entries[_VU] = input[_VU]
|
|
33908
|
+
entries[_VU] = __serializeDateTime(input[_VU]);
|
|
33906
33909
|
}
|
|
33907
33910
|
if (input[_RUI] != null) {
|
|
33908
33911
|
entries[_RUI] = input[_RUI];
|
|
@@ -34011,7 +34014,7 @@ const se_SpotMarketOptions = (input, context) => {
|
|
|
34011
34014
|
entries[_BDMl] = input[_BDMl];
|
|
34012
34015
|
}
|
|
34013
34016
|
if (input[_VU] != null) {
|
|
34014
|
-
entries[_VU] = input[_VU]
|
|
34017
|
+
entries[_VU] = __serializeDateTime(input[_VU]);
|
|
34015
34018
|
}
|
|
34016
34019
|
if (input[_IIB] != null) {
|
|
34017
34020
|
entries[_IIB] = input[_IIB];
|
|
@@ -38602,6 +38605,9 @@ const de_CustomerGateway = (output, context) => {
|
|
|
38602
38605
|
else if (output[_tS] != null && output[_tS][_i] != null) {
|
|
38603
38606
|
contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
|
|
38604
38607
|
}
|
|
38608
|
+
if (output[_bAE] != null) {
|
|
38609
|
+
contents[_BAE] = __expectString(output[_bAE]);
|
|
38610
|
+
}
|
|
38605
38611
|
return contents;
|
|
38606
38612
|
};
|
|
38607
38613
|
const de_CustomerGatewayList = (output, context) => {
|
|
@@ -56828,6 +56834,7 @@ const _Att = "Attachment";
|
|
|
56828
56834
|
const _Atta = "Attachments";
|
|
56829
56835
|
const _B = "Bucket";
|
|
56830
56836
|
const _BA = "BgpAsn";
|
|
56837
|
+
const _BAE = "BgpAsnExtended";
|
|
56831
56838
|
const _BBIG = "BaselineBandwidthInGbps";
|
|
56832
56839
|
const _BBIM = "BaselineBandwidthInMbps";
|
|
56833
56840
|
const _BC = "ByoipCidr";
|
|
@@ -59295,6 +59302,7 @@ const _at = "attachment";
|
|
|
59295
59302
|
const _att = "attachments";
|
|
59296
59303
|
const _b = "byoasn";
|
|
59297
59304
|
const _bA = "bgpAsn";
|
|
59305
|
+
const _bAE = "bgpAsnExtended";
|
|
59298
59306
|
const _bBIG = "baselineBandwidthInGbps";
|
|
59299
59307
|
const _bBIM = "baselineBandwidthInMbps";
|
|
59300
59308
|
const _bC = "byoipCidr";
|
|
@@ -65,6 +65,7 @@ declare const CreateCustomerGatewayCommand_base: {
|
|
|
65
65
|
* DeviceName: "STRING_VALUE",
|
|
66
66
|
* IpAddress: "STRING_VALUE",
|
|
67
67
|
* DryRun: true || false,
|
|
68
|
+
* BgpAsnExtended: Number("long"),
|
|
68
69
|
* };
|
|
69
70
|
* const command = new CreateCustomerGatewayCommand(input);
|
|
70
71
|
* const response = await client.send(command);
|
|
@@ -83,6 +84,7 @@ declare const CreateCustomerGatewayCommand_base: {
|
|
|
83
84
|
* // Value: "STRING_VALUE",
|
|
84
85
|
* // },
|
|
85
86
|
* // ],
|
|
87
|
+
* // BgpAsnExtended: "STRING_VALUE",
|
|
86
88
|
* // },
|
|
87
89
|
* // };
|
|
88
90
|
*
|
|
@@ -691,8 +691,10 @@ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
|
|
|
691
691
|
*/
|
|
692
692
|
export interface CreateCustomerGatewayRequest {
|
|
693
693
|
/**
|
|
694
|
-
* <p>For devices that support BGP, the customer gateway
|
|
694
|
+
* <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
|
|
695
695
|
* <p>Default: 65000</p>
|
|
696
|
+
* <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
|
|
697
|
+
* </p>
|
|
696
698
|
* @public
|
|
697
699
|
*/
|
|
698
700
|
BgpAsn?: number;
|
|
@@ -726,9 +728,11 @@ export interface CreateCustomerGatewayRequest {
|
|
|
726
728
|
*/
|
|
727
729
|
DeviceName?: string;
|
|
728
730
|
/**
|
|
729
|
-
* <p>
|
|
730
|
-
*
|
|
731
|
-
*
|
|
731
|
+
* <p>IPv4 address for the customer gateway device's outside interface. The address must be
|
|
732
|
+
* static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to
|
|
733
|
+
* <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
|
|
734
|
+
* <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a
|
|
735
|
+
* public IPv4 address. </p>
|
|
732
736
|
* @public
|
|
733
737
|
*/
|
|
734
738
|
IpAddress?: string;
|
|
@@ -740,6 +744,13 @@ export interface CreateCustomerGatewayRequest {
|
|
|
740
744
|
* @public
|
|
741
745
|
*/
|
|
742
746
|
DryRun?: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
|
|
749
|
+
* <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
|
|
750
|
+
* </p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
BgpAsnExtended?: number;
|
|
743
754
|
}
|
|
744
755
|
/**
|
|
745
756
|
* <p>Describes a customer gateway.</p>
|
|
@@ -747,8 +758,10 @@ export interface CreateCustomerGatewayRequest {
|
|
|
747
758
|
*/
|
|
748
759
|
export interface CustomerGateway {
|
|
749
760
|
/**
|
|
750
|
-
* <p>The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number
|
|
761
|
+
* <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
|
|
751
762
|
* (ASN).</p>
|
|
763
|
+
* <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
|
|
764
|
+
* </p>
|
|
752
765
|
* @public
|
|
753
766
|
*/
|
|
754
767
|
BgpAsn?: string;
|
|
@@ -758,7 +771,9 @@ export interface CustomerGateway {
|
|
|
758
771
|
*/
|
|
759
772
|
CustomerGatewayId?: string;
|
|
760
773
|
/**
|
|
761
|
-
* <p>
|
|
774
|
+
* <p>
|
|
775
|
+
* IPv4 address for the customer gateway device's outside interface. The address must be static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a public IPv4 address.
|
|
776
|
+
* </p>
|
|
762
777
|
* @public
|
|
763
778
|
*/
|
|
764
779
|
IpAddress?: string;
|
|
@@ -789,6 +804,14 @@ export interface CustomerGateway {
|
|
|
789
804
|
* @public
|
|
790
805
|
*/
|
|
791
806
|
Tags?: Tag[];
|
|
807
|
+
/**
|
|
808
|
+
* <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
|
|
809
|
+
* (ASN).</p>
|
|
810
|
+
* <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
|
|
811
|
+
* </p>
|
|
812
|
+
* @public
|
|
813
|
+
*/
|
|
814
|
+
BgpAsnExtended?: string;
|
|
792
815
|
}
|
|
793
816
|
/**
|
|
794
817
|
* <p>Contains the output of CreateCustomerGateway.</p>
|
|
@@ -199,6 +199,7 @@ export interface CreateCustomerGatewayRequest {
|
|
|
199
199
|
DeviceName?: string;
|
|
200
200
|
IpAddress?: string;
|
|
201
201
|
DryRun?: boolean;
|
|
202
|
+
BgpAsnExtended?: number;
|
|
202
203
|
}
|
|
203
204
|
export interface CustomerGateway {
|
|
204
205
|
BgpAsn?: string;
|
|
@@ -209,6 +210,7 @@ export interface CustomerGateway {
|
|
|
209
210
|
Type?: string;
|
|
210
211
|
DeviceName?: string;
|
|
211
212
|
Tags?: Tag[];
|
|
213
|
+
BgpAsnExtended?: string;
|
|
212
214
|
}
|
|
213
215
|
export interface CreateCustomerGatewayResult {
|
|
214
216
|
CustomerGateway?: CustomerGateway;
|
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.587.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,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.587.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
25
|
+
"@aws-sdk/core": "3.587.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.587.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-sdk-ec2": "3.587.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
33
33
|
"@aws-sdk/types": "3.577.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^3.0.
|
|
38
|
-
"@smithy/core": "^2.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
37
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
38
|
+
"@smithy/core": "^2.1.1",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
40
40
|
"@smithy/hash-node": "^3.0.0",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
42
42
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
43
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-serde": "^3.0.0",
|
|
46
46
|
"@smithy/middleware-stack": "^3.0.0",
|
|
47
|
-
"@smithy/node-config-provider": "^3.
|
|
47
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
48
48
|
"@smithy/node-http-handler": "^3.0.0",
|
|
49
49
|
"@smithy/protocol-http": "^4.0.0",
|
|
50
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
51
51
|
"@smithy/types": "^3.0.0",
|
|
52
52
|
"@smithy/url-parser": "^3.0.0",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
-
"@smithy/util-endpoints": "^2.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
58
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
59
59
|
"@smithy/util-middleware": "^3.0.0",
|
|
60
60
|
"@smithy/util-retry": "^3.0.0",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|