@aws-sdk/client-ec2 3.816.0 → 3.818.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.
Files changed (97) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +317 -126
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  6. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/models/models_1.js +55 -0
  10. package/dist-es/models/models_5.js +0 -7
  11. package/dist-es/models/models_6.js +7 -0
  12. package/dist-es/protocols/Aws_ec2.js +155 -44
  13. package/dist-es/runtimeConfig.js +4 -1
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  19. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  21. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  23. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  27. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  38. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  43. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  44. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  46. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  47. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  52. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  53. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  54. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  55. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  56. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  57. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  58. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  59. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  60. package/dist-types/commands/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +64 -48
  62. package/dist-types/models/models_1.d.ts +103 -28
  63. package/dist-types/models/models_2.d.ts +29 -58
  64. package/dist-types/models/models_3.d.ts +68 -57
  65. package/dist-types/models/models_4.d.ts +59 -72
  66. package/dist-types/models/models_5.d.ts +73 -106
  67. package/dist-types/models/models_6.d.ts +132 -100
  68. package/dist-types/models/models_7.d.ts +112 -65
  69. package/dist-types/models/models_8.d.ts +66 -3
  70. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  71. package/dist-types/ts3.4/EC2.d.ts +17 -0
  72. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  73. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  76. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  77. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  88. package/dist-types/ts3.4/models/models_1.d.ts +66 -7
  89. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  90. package/dist-types/ts3.4/models/models_3.d.ts +15 -11
  91. package/dist-types/ts3.4/models/models_4.d.ts +13 -12
  92. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  93. package/dist-types/ts3.4/models/models_6.d.ts +21 -23
  94. package/dist-types/ts3.4/models/models_7.d.ts +26 -17
  95. package/dist-types/ts3.4/models/models_8.d.ts +18 -1
  96. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  97. package/package.json +2 -2
@@ -4753,6 +4753,16 @@ export const se_ExportVerifiedAccessInstanceClientConfigurationCommand = async (
4753
4753
  });
4754
4754
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4755
4755
  };
4756
+ export const se_GetActiveVpnTunnelStatusCommand = async (input, context) => {
4757
+ const headers = SHARED_HEADERS;
4758
+ let body;
4759
+ body = buildFormUrlencodedString({
4760
+ ...se_GetActiveVpnTunnelStatusRequest(input, context),
4761
+ [_A]: _GAVTS,
4762
+ [_V]: _,
4763
+ });
4764
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4765
+ };
4756
4766
  export const se_GetAllowedImagesSettingsCommand = async (input, context) => {
4757
4767
  const headers = SHARED_HEADERS;
4758
4768
  let body;
@@ -12929,6 +12939,19 @@ export const de_ExportVerifiedAccessInstanceClientConfigurationCommand = async (
12929
12939
  };
12930
12940
  return response;
12931
12941
  };
12942
+ export const de_GetActiveVpnTunnelStatusCommand = async (output, context) => {
12943
+ if (output.statusCode >= 300) {
12944
+ return de_CommandError(output, context);
12945
+ }
12946
+ const data = await parseBody(output.body, context);
12947
+ let contents = {};
12948
+ contents = de_GetActiveVpnTunnelStatusResult(data, context);
12949
+ const response = {
12950
+ $metadata: deserializeMetadata(output),
12951
+ ...contents,
12952
+ };
12953
+ return response;
12954
+ };
12932
12955
  export const de_GetAllowedImagesSettingsCommand = async (output, context) => {
12933
12956
  if (output.statusCode >= 300) {
12934
12957
  return de_CommandError(output, context);
@@ -20897,6 +20920,9 @@ const se_CreateVpnConnectionRequest = (input, context) => {
20897
20920
  entries[loc] = value;
20898
20921
  });
20899
20922
  }
20923
+ if (input[_PSKS] != null) {
20924
+ entries[_PSKS] = input[_PSKS];
20925
+ }
20900
20926
  if (input[_DRr] != null) {
20901
20927
  entries[_DRr] = input[_DRr];
20902
20928
  }
@@ -27862,6 +27888,19 @@ const se_FpgaImageIdList = (input, context) => {
27862
27888
  }
27863
27889
  return entries;
27864
27890
  };
27891
+ const se_GetActiveVpnTunnelStatusRequest = (input, context) => {
27892
+ const entries = {};
27893
+ if (input[_VCI] != null) {
27894
+ entries[_VCI] = input[_VCI];
27895
+ }
27896
+ if (input[_VTOIA] != null) {
27897
+ entries[_VTOIA] = input[_VTOIA];
27898
+ }
27899
+ if (input[_DRr] != null) {
27900
+ entries[_DRr] = input[_DRr];
27901
+ }
27902
+ return entries;
27903
+ };
27865
27904
  const se_GetAllowedImagesSettingsRequest = (input, context) => {
27866
27905
  const entries = {};
27867
27906
  if (input[_DRr] != null) {
@@ -28800,6 +28839,9 @@ const se_GetVpnConnectionDeviceSampleConfigurationRequest = (input, context) =>
28800
28839
  if (input[_IKEV] != null) {
28801
28840
  entries[_IKEV] = input[_IKEV];
28802
28841
  }
28842
+ if (input[_STa] != null) {
28843
+ entries[_STa] = input[_STa];
28844
+ }
28803
28845
  if (input[_DRr] != null) {
28804
28846
  entries[_DRr] = input[_DRr];
28805
28847
  }
@@ -33589,6 +33631,9 @@ const se_ModifyVpnTunnelOptionsRequest = (input, context) => {
33589
33631
  if (input[_STR] != null) {
33590
33632
  entries[_STR] = input[_STR];
33591
33633
  }
33634
+ if (input[_PSKS] != null) {
33635
+ entries[_PSKS] = input[_PSKS];
33636
+ }
33592
33637
  return entries;
33593
33638
  };
33594
33639
  const se_ModifyVpnTunnelOptionsSpecification = (input, context) => {
@@ -39200,6 +39245,37 @@ const de_ActiveInstanceSet = (output, context) => {
39200
39245
  return de_ActiveInstance(entry, context);
39201
39246
  });
39202
39247
  };
39248
+ const de_ActiveVpnTunnelStatus = (output, context) => {
39249
+ const contents = {};
39250
+ if (output[_pEA] != null) {
39251
+ contents[_PEAha] = __expectString(output[_pEA]);
39252
+ }
39253
+ if (output[_pEAh] != null) {
39254
+ contents[_PEAhas] = __expectString(output[_pEAh]);
39255
+ }
39256
+ if (output[_pIA] != null) {
39257
+ contents[_PIAhas] = __expectString(output[_pIA]);
39258
+ }
39259
+ if (output[_pIAh] != null) {
39260
+ contents[_PIAhase] = __expectString(output[_pIAh]);
39261
+ }
39262
+ if (output[_pDHG] != null) {
39263
+ contents[_PDHG] = __strictParseInt32(output[_pDHG]);
39264
+ }
39265
+ if (output[_pDHGh] != null) {
39266
+ contents[_PDHGh] = __strictParseInt32(output[_pDHGh]);
39267
+ }
39268
+ if (output[_iV] != null) {
39269
+ contents[_IVk] = __expectString(output[_iV]);
39270
+ }
39271
+ if (output[_pS] != null) {
39272
+ contents[_PSr] = __expectString(output[_pS]);
39273
+ }
39274
+ if (output[_pSR] != null) {
39275
+ contents[_PSR] = __expectString(output[_pSR]);
39276
+ }
39277
+ return contents;
39278
+ };
39203
39279
  const de_AddedPrincipal = (output, context) => {
39204
39280
  const contents = {};
39205
39281
  if (output[_pT] != null) {
@@ -39287,8 +39363,8 @@ const de_Address = (output, context) => {
39287
39363
  if (output[_nIOI] != null) {
39288
39364
  contents[_NIOI] = __expectString(output[_nIOI]);
39289
39365
  }
39290
- if (output[_pIA] != null) {
39291
- contents[_PIAr] = __expectString(output[_pIA]);
39366
+ if (output[_pIAr] != null) {
39367
+ contents[_PIAr] = __expectString(output[_pIAr]);
39292
39368
  }
39293
39369
  if (output.tagSet === "") {
39294
39370
  contents[_Ta] = [];
@@ -39712,8 +39788,8 @@ const de_AsPath = (output, context) => {
39712
39788
  };
39713
39789
  const de_AssignedPrivateIpAddress = (output, context) => {
39714
39790
  const contents = {};
39715
- if (output[_pIA] != null) {
39716
- contents[_PIAr] = __expectString(output[_pIA]);
39791
+ if (output[_pIAr] != null) {
39792
+ contents[_PIAr] = __expectString(output[_pIAr]);
39717
39793
  }
39718
39794
  return contents;
39719
39795
  };
@@ -40471,8 +40547,8 @@ const de_CancelImportTaskResult = (output, context) => {
40471
40547
  if (output[_iTI] != null) {
40472
40548
  contents[_ITI] = __expectString(output[_iTI]);
40473
40549
  }
40474
- if (output[_pS] != null) {
40475
- contents[_PSr] = __expectString(output[_pS]);
40550
+ if (output[_pSr] != null) {
40551
+ contents[_PSre] = __expectString(output[_pSr]);
40476
40552
  }
40477
40553
  if (output[_st] != null) {
40478
40554
  contents[_Stat] = __expectString(output[_st]);
@@ -41637,8 +41713,8 @@ const de_ConversionTask = (output, context) => {
41637
41713
  if (output[_iIm] != null) {
41638
41714
  contents[_IIm] = de_ImportInstanceTaskDetails(output[_iIm], context);
41639
41715
  }
41640
- if (output[_iV] != null) {
41641
- contents[_IV] = de_ImportVolumeTaskDetails(output[_iV], context);
41716
+ if (output[_iVm] != null) {
41717
+ contents[_IV] = de_ImportVolumeTaskDetails(output[_iVm], context);
41642
41718
  }
41643
41719
  if (output[_st] != null) {
41644
41720
  contents[_Stat] = __expectString(output[_st]);
@@ -44644,8 +44720,8 @@ const de_DescribePrincipalIdFormatResult = (output, context) => {
44644
44720
  if (output.principalSet === "") {
44645
44721
  contents[_Princ] = [];
44646
44722
  }
44647
- else if (output[_pSr] != null && output[_pSr][_i] != null) {
44648
- contents[_Princ] = de_PrincipalIdFormatList(__getArrayIfSingleItem(output[_pSr][_i]), context);
44723
+ else if (output[_pSri] != null && output[_pSri][_i] != null) {
44724
+ contents[_Princ] = de_PrincipalIdFormatList(__getArrayIfSingleItem(output[_pSri][_i]), context);
44649
44725
  }
44650
44726
  if (output[_nTe] != null) {
44651
44727
  contents[_NT] = __expectString(output[_nTe]);
@@ -47764,6 +47840,13 @@ const de_FpgaInfo = (output, context) => {
47764
47840
  }
47765
47841
  return contents;
47766
47842
  };
47843
+ const de_GetActiveVpnTunnelStatusResult = (output, context) => {
47844
+ const contents = {};
47845
+ if (output[_aVTS] != null) {
47846
+ contents[_AVTS] = de_ActiveVpnTunnelStatus(output[_aVTS], context);
47847
+ }
47848
+ return contents;
47849
+ };
47767
47850
  const de_GetAllowedImagesSettingsResult = (output, context) => {
47768
47851
  const contents = {};
47769
47852
  if (output[_st] != null) {
@@ -49736,8 +49819,8 @@ const de_Instance = (output, context) => {
49736
49819
  if (output[_vI] != null) {
49737
49820
  contents[_VI] = __expectString(output[_vI]);
49738
49821
  }
49739
- if (output[_pIA] != null) {
49740
- contents[_PIAr] = __expectString(output[_pIA]);
49822
+ if (output[_pIAr] != null) {
49823
+ contents[_PIAr] = __expectString(output[_pIAr]);
49741
49824
  }
49742
49825
  if (output[_iAp] != null) {
49743
49826
  contents[_PIAu] = __expectString(output[_iAp]);
@@ -50239,8 +50322,8 @@ const de_InstanceNetworkInterface = (output, context) => {
50239
50322
  if (output[_pDN] != null) {
50240
50323
  contents[_PDN] = __expectString(output[_pDN]);
50241
50324
  }
50242
- if (output[_pIA] != null) {
50243
- contents[_PIAr] = __expectString(output[_pIA]);
50325
+ if (output[_pIAr] != null) {
50326
+ contents[_PIAr] = __expectString(output[_pIAr]);
50244
50327
  }
50245
50328
  if (output.privateIpAddressesSet === "") {
50246
50329
  contents[_PIA] = [];
@@ -50369,8 +50452,8 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
50369
50452
  if (output[_nII] != null) {
50370
50453
  contents[_NII] = __expectString(output[_nII]);
50371
50454
  }
50372
- if (output[_pIA] != null) {
50373
- contents[_PIAr] = __expectString(output[_pIA]);
50455
+ if (output[_pIAr] != null) {
50456
+ contents[_PIAr] = __expectString(output[_pIAr]);
50374
50457
  }
50375
50458
  if (output.privateIpAddressesSet === "") {
50376
50459
  contents[_PIA] = [];
@@ -50450,8 +50533,8 @@ const de_InstancePrivateIpAddress = (output, context) => {
50450
50533
  if (output[_pDN] != null) {
50451
50534
  contents[_PDN] = __expectString(output[_pDN]);
50452
50535
  }
50453
- if (output[_pIA] != null) {
50454
- contents[_PIAr] = __expectString(output[_pIA]);
50536
+ if (output[_pIAr] != null) {
50537
+ contents[_PIAr] = __expectString(output[_pIAr]);
50455
50538
  }
50456
50539
  return contents;
50457
50540
  };
@@ -50590,8 +50673,8 @@ const de_InstanceStateChange = (output, context) => {
50590
50673
  if (output[_cSu] != null) {
50591
50674
  contents[_CSu] = de_InstanceState(output[_cSu], context);
50592
50675
  }
50593
- if (output[_pS] != null) {
50594
- contents[_PSr] = de_InstanceState(output[_pS], context);
50676
+ if (output[_pSr] != null) {
50677
+ contents[_PSre] = de_InstanceState(output[_pSr], context);
50595
50678
  }
50596
50679
  return contents;
50597
50680
  };
@@ -51193,7 +51276,7 @@ const de_IpamDiscoveredPublicAddress = (output, context) => {
51193
51276
  contents[_SG] = de_IpamPublicAddressSecurityGroupList(__getArrayIfSingleItem(output[_sGS][_i]), context);
51194
51277
  }
51195
51278
  if (output[_sTa] != null) {
51196
- contents[_STa] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_sTa]));
51279
+ contents[_STam] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_sTa]));
51197
51280
  }
51198
51281
  return contents;
51199
51282
  };
@@ -51246,7 +51329,7 @@ const de_IpamDiscoveredResourceCidr = (output, context) => {
51246
51329
  contents[_NIASet] = __expectString(output[_nIASet]);
51247
51330
  }
51248
51331
  if (output[_sTa] != null) {
51249
- contents[_STa] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_sTa]));
51332
+ contents[_STam] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_sTa]));
51250
51333
  }
51251
51334
  if (output[_aZI] != null) {
51252
51335
  contents[_AZI] = __expectString(output[_aZI]);
@@ -52463,8 +52546,8 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
52463
52546
  if (output[_nII] != null) {
52464
52547
  contents[_NII] = __expectString(output[_nII]);
52465
52548
  }
52466
- if (output[_pIA] != null) {
52467
- contents[_PIAr] = __expectString(output[_pIA]);
52549
+ if (output[_pIAr] != null) {
52550
+ contents[_PIAr] = __expectString(output[_pIAr]);
52468
52551
  }
52469
52552
  if (output.privateIpAddressesSet === "") {
52470
52553
  contents[_PIA] = [];
@@ -54545,8 +54628,8 @@ const de_NetworkInterface = (output, context) => {
54545
54628
  if (output[_pIDNO] != null) {
54546
54629
  contents[_PIDNO] = de_PublicIpDnsNameOptions(output[_pIDNO], context);
54547
54630
  }
54548
- if (output[_pIA] != null) {
54549
- contents[_PIAr] = __expectString(output[_pIA]);
54631
+ if (output[_pIAr] != null) {
54632
+ contents[_PIAr] = __expectString(output[_pIAr]);
54550
54633
  }
54551
54634
  if (output.privateIpAddressesSet === "") {
54552
54635
  contents[_PIA] = [];
@@ -54757,8 +54840,8 @@ const de_NetworkInterfacePrivateIpAddress = (output, context) => {
54757
54840
  if (output[_pDN] != null) {
54758
54841
  contents[_PDN] = __expectString(output[_pDN]);
54759
54842
  }
54760
- if (output[_pIA] != null) {
54761
- contents[_PIAr] = __expectString(output[_pIA]);
54843
+ if (output[_pIAr] != null) {
54844
+ contents[_PIAr] = __expectString(output[_pIAr]);
54762
54845
  }
54763
54846
  return contents;
54764
54847
  };
@@ -55579,8 +55662,8 @@ const de_PrivateIpAddressSpecification = (output, context) => {
55579
55662
  if (output[_prim] != null) {
55580
55663
  contents[_Prim] = __parseBoolean(output[_prim]);
55581
55664
  }
55582
- if (output[_pIA] != null) {
55583
- contents[_PIAr] = __expectString(output[_pIA]);
55665
+ if (output[_pIAr] != null) {
55666
+ contents[_PIAr] = __expectString(output[_pIAr]);
55584
55667
  }
55585
55668
  return contents;
55586
55669
  };
@@ -56356,8 +56439,8 @@ const de_ReservedInstancesListing = (output, context) => {
56356
56439
  if (output.priceSchedules === "") {
56357
56440
  contents[_PS] = [];
56358
56441
  }
56359
- else if (output[_pSri] != null && output[_pSri][_i] != null) {
56360
- contents[_PS] = de_PriceScheduleList(__getArrayIfSingleItem(output[_pSri][_i]), context);
56442
+ else if (output[_pSric] != null && output[_pSric][_i] != null) {
56443
+ contents[_PS] = de_PriceScheduleList(__getArrayIfSingleItem(output[_pSric][_i]), context);
56361
56444
  }
56362
56445
  if (output[_rII] != null) {
56363
56446
  contents[_RIIe] = __expectString(output[_rII]);
@@ -59361,7 +59444,7 @@ const de_TerminateConnectionStatus = (output, context) => {
59361
59444
  contents[_CIo] = __expectString(output[_cIon]);
59362
59445
  }
59363
59446
  if (output[_pSre] != null) {
59364
- contents[_PSre] = de_ClientVpnConnectionStatus(output[_pSre], context);
59447
+ contents[_PSrev] = de_ClientVpnConnectionStatus(output[_pSre], context);
59365
59448
  }
59366
59449
  if (output[_cSur] != null) {
59367
59450
  contents[_CSur] = de_ClientVpnConnectionStatus(output[_cSur], context);
@@ -60710,10 +60793,10 @@ const de_TunnelOption = (output, context) => {
60710
60793
  contents[_PDHGNh] = de_Phase2DHGroupNumbersList(__getArrayIfSingleItem(output[_pDHGNSh][_i]), context);
60711
60794
  }
60712
60795
  if (output.ikeVersionSet === "") {
60713
- contents[_IVk] = [];
60796
+ contents[_IVke] = [];
60714
60797
  }
60715
60798
  else if (output[_iVS] != null && output[_iVS][_i] != null) {
60716
- contents[_IVk] = de_IKEVersionsList(__getArrayIfSingleItem(output[_iVS][_i]), context);
60799
+ contents[_IVke] = de_IKEVersionsList(__getArrayIfSingleItem(output[_iVS][_i]), context);
60717
60800
  }
60718
60801
  if (output[_sAt] != null) {
60719
60802
  contents[_SA] = __expectString(output[_sAt]);
@@ -62523,6 +62606,9 @@ const de_VpnConnection = (output, context) => {
62523
62606
  else if (output[_vTg] != null && output[_vTg][_i] != null) {
62524
62607
  contents[_VTg] = de_VgwTelemetryList(__getArrayIfSingleItem(output[_vTg][_i]), context);
62525
62608
  }
62609
+ if (output[_pSKA] != null) {
62610
+ contents[_PSKA] = __expectString(output[_pSKA]);
62611
+ }
62526
62612
  if (output[_vCI] != null) {
62527
62613
  contents[_VCI] = __expectString(output[_vCI]);
62528
62614
  }
@@ -62906,6 +62992,7 @@ const _AVEC = "AcceptVpcEndpointConnections";
62906
62992
  const _AVG = "AttachVpnGateway";
62907
62993
  const _AVI = "AccepterVpcInfo";
62908
62994
  const _AVPC = "AcceptVpcPeeringConnection";
62995
+ const _AVTS = "ActiveVpnTunnelStatus";
62909
62996
  const _AVt = "AttributeValues";
62910
62997
  const _AVtt = "AttributeValue";
62911
62998
  const _AWSAKI = "AWSAccessKeyId";
@@ -63887,6 +63974,7 @@ const _GAIPC = "GetAssociatedIpv6PoolCidrs";
63887
63974
  const _GAIS = "GetAllowedImagesSettings";
63888
63975
  const _GANPD = "GetAwsNetworkPerformanceData";
63889
63976
  const _GAS = "GatewayAssociationState";
63977
+ const _GAVTS = "GetActiveVpnTunnelStatus";
63890
63978
  const _GCO = "GetConsoleOutput";
63891
63979
  const _GCPU = "GetCoipPoolUsage";
63892
63980
  const _GCRU = "GetCapacityReservationUsage";
@@ -64184,7 +64272,8 @@ const _IU = "InstanceUsages";
64184
64272
  const _IUp = "IpUsage";
64185
64273
  const _IV = "ImportVolume";
64186
64274
  const _IVE = "IsValidExchange";
64187
- const _IVk = "IkeVersions";
64275
+ const _IVk = "IkeVersion";
64276
+ const _IVke = "IkeVersions";
64188
64277
  const _Id = "Id";
64189
64278
  const _Im = "Image";
64190
64279
  const _Ima = "Images";
@@ -64659,8 +64748,10 @@ const _PCr = "ProductCodes";
64659
64748
  const _PD = "PolicyDocument";
64660
64749
  const _PDE = "PrivateDnsEnabled";
64661
64750
  const _PDEr = "PrivateDnsEntry";
64751
+ const _PDHG = "Phase1DHGroup";
64662
64752
  const _PDHGN = "Phase1DHGroupNumbers";
64663
64753
  const _PDHGNh = "Phase2DHGroupNumbers";
64754
+ const _PDHGh = "Phase2DHGroup";
64664
64755
  const _PDHT = "PrivateDnsHostnameType";
64665
64756
  const _PDHTOL = "PrivateDnsHostnameTypeOnLaunch";
64666
64757
  const _PDN = "PrivateDnsName";
@@ -64685,6 +64776,8 @@ const _PDro = "ProductDescriptions";
64685
64776
  const _PE = "PolicyEnabled";
64686
64777
  const _PEA = "Phase1EncryptionAlgorithms";
64687
64778
  const _PEAh = "Phase2EncryptionAlgorithms";
64779
+ const _PEAha = "Phase1EncryptionAlgorithm";
64780
+ const _PEAhas = "Phase2EncryptionAlgorithm";
64688
64781
  const _PED = "PartitionEndDate";
64689
64782
  const _PEk = "PkceEnabled";
64690
64783
  const _PF = "PacketField";
@@ -64702,6 +64795,8 @@ const _PIAC = "PrivateIpAddressCount";
64702
64795
  const _PIACr = "PrivateIpAddressConfigs";
64703
64796
  const _PIAh = "Phase1IntegrityAlgorithms";
64704
64797
  const _PIAha = "Phase2IntegrityAlgorithms";
64798
+ const _PIAhas = "Phase1IntegrityAlgorithm";
64799
+ const _PIAhase = "Phase2IntegrityAlgorithm";
64705
64800
  const _PIAr = "PrivateIpAddress";
64706
64801
  const _PIAu = "PublicIpAddress";
64707
64802
  const _PIB = "ProvisionIpamByoasn";
@@ -64764,13 +64859,17 @@ const _PSET = "PreviousSlotEndTime";
64764
64859
  const _PSFRS = "PreviousSpotFleetRequestState";
64765
64860
  const _PSI = "PurchaseScheduledInstances";
64766
64861
  const _PSK = "PreSharedKey";
64862
+ const _PSKA = "PreSharedKeyArn";
64767
64863
  const _PSKE = "PublicSigningKeyEndpoint";
64864
+ const _PSKS = "PreSharedKeyStorage";
64768
64865
  const _PSKU = "PublicSigningKeyUrl";
64866
+ const _PSR = "ProvisioningStatusReason";
64769
64867
  const _PSe = "PeeringStatus";
64770
64868
  const _PSer = "PermissionState";
64771
64869
  const _PSh = "PhcSupport";
64772
- const _PSr = "PreviousState";
64773
- const _PSre = "PreviousStatus";
64870
+ const _PSr = "ProvisioningStatus";
64871
+ const _PSre = "PreviousState";
64872
+ const _PSrev = "PreviousStatus";
64774
64873
  const _PT = "PurchaseToken";
64775
64874
  const _PTGI = "PeerTransitGatewayId";
64776
64875
  const _PTS = "PoolTagSpecifications";
@@ -65195,7 +65294,8 @@ const _STRt = "StateTransitionReason";
65195
65294
  const _STS = "SnapshotTierStatuses";
65196
65295
  const _STSt = "StoreTaskState";
65197
65296
  const _STT = "StateTransitionTime";
65198
- const _STa = "SampleTime";
65297
+ const _STa = "SampleType";
65298
+ const _STam = "SampleTime";
65199
65299
  const _STe = "ServiceType";
65200
65300
  const _STo = "SourceType";
65201
65301
  const _STs = "SseType";
@@ -65665,6 +65765,7 @@ const _aV = "attributeValue";
65665
65765
  const _aVC = "availableVCpus";
65666
65766
  const _aVI = "accepterVpcInfo";
65667
65767
  const _aVS = "attributeValueSet";
65768
+ const _aVTS = "activeVpnTunnelStatus";
65668
65769
  const _aZ = "availabilityZone";
65669
65770
  const _aZG = "availabilityZoneGroup";
65670
65771
  const _aZI = "availabilityZoneId";
@@ -66345,9 +66446,10 @@ const _iTns = "instanceTenancy";
66345
66446
  const _iTnt = "interfaceType";
66346
66447
  const _iU = "ipUsage";
66347
66448
  const _iUS = "instanceUsageSet";
66348
- const _iV = "importVolume";
66449
+ const _iV = "ikeVersion";
66349
66450
  const _iVE = "isValidExchange";
66350
66451
  const _iVS = "ikeVersionSet";
66452
+ const _iVm = "importVolume";
66351
66453
  const _id = "id";
66352
66454
  const _im = "image";
66353
66455
  const _in = "instance";
@@ -66688,8 +66790,10 @@ const _pCr = "productCode";
66688
66790
  const _pD = "passwordData";
66689
66791
  const _pDE = "privateDnsEnabled";
66690
66792
  const _pDEr = "privateDnsEntry";
66793
+ const _pDHG = "phase1DHGroup";
66691
66794
  const _pDHGNS = "phase1DHGroupNumberSet";
66692
66795
  const _pDHGNSh = "phase2DHGroupNumberSet";
66796
+ const _pDHGh = "phase2DHGroup";
66693
66797
  const _pDN = "privateDnsName";
66694
66798
  const _pDNC = "privateDnsNameConfiguration";
66695
66799
  const _pDNO = "privateDnsNameOptions";
@@ -66709,8 +66813,10 @@ const _pDo = "policyDocument";
66709
66813
  const _pDoo = "poolDepth";
66710
66814
  const _pDr = "productDescription";
66711
66815
  const _pE = "policyEnabled";
66816
+ const _pEA = "phase1EncryptionAlgorithm";
66712
66817
  const _pEAS = "phase1EncryptionAlgorithmSet";
66713
66818
  const _pEASh = "phase2EncryptionAlgorithmSet";
66819
+ const _pEAh = "phase2EncryptionAlgorithm";
66714
66820
  const _pEk = "pkceEnabled";
66715
66821
  const _pF = "packetField";
66716
66822
  const _pFS = "previousFleetState";
@@ -66721,10 +66827,12 @@ const _pGS = "placementGroupSet";
66721
66827
  const _pHP = "perHourPartition";
66722
66828
  const _pHS = "packetHeaderStatement";
66723
66829
  const _pI = "publicIp";
66724
- const _pIA = "privateIpAddress";
66830
+ const _pIA = "phase1IntegrityAlgorithm";
66725
66831
  const _pIAS = "privateIpAddressesSet";
66726
66832
  const _pIASh = "phase1IntegrityAlgorithmSet";
66727
66833
  const _pIASha = "phase2IntegrityAlgorithmSet";
66834
+ const _pIAh = "phase2IntegrityAlgorithm";
66835
+ const _pIAr = "privateIpAddress";
66728
66836
  const _pIDN = "publicIpv6DnsName";
66729
66837
  const _pIDNO = "publicIpDnsNameOptions";
66730
66838
  const _pIDNu = "publicIpv4DnsName";
@@ -66765,18 +66873,21 @@ const _pRU = "ptrRecordUpdate";
66765
66873
  const _pRa = "payerResponsibility";
66766
66874
  const _pRo = "portRange";
66767
66875
  const _pRol = "policyRule";
66768
- const _pS = "previousState";
66876
+ const _pS = "provisioningStatus";
66769
66877
  const _pSET = "previousSlotEndTime";
66770
66878
  const _pSFRS = "previousSpotFleetRequestState";
66771
66879
  const _pSK = "preSharedKey";
66880
+ const _pSKA = "preSharedKeyArn";
66772
66881
  const _pSKE = "publicSigningKeyEndpoint";
66773
66882
  const _pSKU = "publicSigningKeyUrl";
66883
+ const _pSR = "provisioningStatusReason";
66774
66884
  const _pSe = "permissionState";
66775
66885
  const _pSee = "peeringStatus";
66776
66886
  const _pSh = "phcSupport";
66777
- const _pSr = "principalSet";
66887
+ const _pSr = "previousState";
66778
66888
  const _pSre = "previousStatus";
66779
- const _pSri = "priceSchedules";
66889
+ const _pSri = "principalSet";
66890
+ const _pSric = "priceSchedules";
66780
66891
  const _pSro = "protocolSet";
66781
66892
  const _pT = "principalType";
66782
66893
  const _pTGI = "peerTransitGatewayId";
@@ -19,7 +19,10 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
22
+ const loaderConfig = {
23
+ profile: config?.profile,
24
+ logger: clientSharedValues.logger,
25
+ };
23
26
  return {
24
27
  ...clientSharedValues,
25
28
  ...config,
@@ -474,6 +474,7 @@ import { ExportClientVpnClientConfigurationCommandInput, ExportClientVpnClientCo
474
474
  import { ExportImageCommandInput, ExportImageCommandOutput } from "./commands/ExportImageCommand";
475
475
  import { ExportTransitGatewayRoutesCommandInput, ExportTransitGatewayRoutesCommandOutput } from "./commands/ExportTransitGatewayRoutesCommand";
476
476
  import { ExportVerifiedAccessInstanceClientConfigurationCommandInput, ExportVerifiedAccessInstanceClientConfigurationCommandOutput } from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
477
+ import { GetActiveVpnTunnelStatusCommandInput, GetActiveVpnTunnelStatusCommandOutput } from "./commands/GetActiveVpnTunnelStatusCommand";
477
478
  import { GetAllowedImagesSettingsCommandInput, GetAllowedImagesSettingsCommandOutput } from "./commands/GetAllowedImagesSettingsCommand";
478
479
  import { GetAssociatedEnclaveCertificateIamRolesCommandInput, GetAssociatedEnclaveCertificateIamRolesCommandOutput } from "./commands/GetAssociatedEnclaveCertificateIamRolesCommand";
479
480
  import { GetAssociatedIpv6PoolCidrsCommandInput, GetAssociatedIpv6PoolCidrsCommandOutput } from "./commands/GetAssociatedIpv6PoolCidrsCommand";
@@ -3717,6 +3718,12 @@ export interface EC2 {
3717
3718
  exportVerifiedAccessInstanceClientConfiguration(args: ExportVerifiedAccessInstanceClientConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ExportVerifiedAccessInstanceClientConfigurationCommandOutput>;
3718
3719
  exportVerifiedAccessInstanceClientConfiguration(args: ExportVerifiedAccessInstanceClientConfigurationCommandInput, cb: (err: any, data?: ExportVerifiedAccessInstanceClientConfigurationCommandOutput) => void): void;
3719
3720
  exportVerifiedAccessInstanceClientConfiguration(args: ExportVerifiedAccessInstanceClientConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportVerifiedAccessInstanceClientConfigurationCommandOutput) => void): void;
3721
+ /**
3722
+ * @see {@link GetActiveVpnTunnelStatusCommand}
3723
+ */
3724
+ getActiveVpnTunnelStatus(args: GetActiveVpnTunnelStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetActiveVpnTunnelStatusCommandOutput>;
3725
+ getActiveVpnTunnelStatus(args: GetActiveVpnTunnelStatusCommandInput, cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void): void;
3726
+ getActiveVpnTunnelStatus(args: GetActiveVpnTunnelStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void): void;
3720
3727
  /**
3721
3728
  * @see {@link GetAllowedImagesSettingsCommand}
3722
3729
  */