@aws-sdk/client-ec2 3.667.0 → 3.669.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 (102) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  5. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  6. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  9. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +0 -833
  12. package/dist-es/models/models_1.js +833 -0
  13. package/dist-es/models/models_2.js +0 -8
  14. package/dist-es/models/models_3.js +20 -28
  15. package/dist-es/models/models_4.js +28 -4
  16. package/dist-es/models/models_5.js +4 -1
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -1
  21. package/dist-es/protocols/Aws_ec2.js +324 -28
  22. package/dist-types/EC2.d.ts +35 -0
  23. package/dist-types/EC2Client.d.ts +7 -2
  24. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  25. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  27. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  28. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  29. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  30. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  33. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  34. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  35. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  42. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  43. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  44. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  47. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  54. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  55. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  56. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  57. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  58. package/dist-types/commands/index.d.ts +5 -0
  59. package/dist-types/models/models_0.d.ts +61 -930
  60. package/dist-types/models/models_1.d.ts +955 -184
  61. package/dist-types/models/models_2.d.ts +131 -82
  62. package/dist-types/models/models_3.d.ts +259 -468
  63. package/dist-types/models/models_4.d.ts +1303 -1319
  64. package/dist-types/models/models_5.d.ts +516 -262
  65. package/dist-types/models/models_6.d.ts +269 -253
  66. package/dist-types/models/models_7.d.ts +280 -10
  67. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/index.d.ts +2 -1
  69. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  70. package/dist-types/ts3.4/EC2.d.ts +115 -0
  71. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  72. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  89. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  92. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  93. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  94. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  95. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  96. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  97. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  98. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  99. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  101. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  102. package/package.json +6 -6
@@ -13,6 +13,16 @@ export const se_AcceptAddressTransferCommand = async (input, context) => {
13
13
  });
14
14
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
15
15
  };
16
+ export const se_AcceptCapacityReservationBillingOwnershipCommand = async (input, context) => {
17
+ const headers = SHARED_HEADERS;
18
+ let body;
19
+ body = buildFormUrlencodedString({
20
+ ...se_AcceptCapacityReservationBillingOwnershipRequest(input, context),
21
+ [_A]: _ACRBO,
22
+ [_V]: _,
23
+ });
24
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
25
+ };
16
26
  export const se_AcceptReservedInstancesExchangeQuoteCommand = async (input, context) => {
17
27
  const headers = SHARED_HEADERS;
18
28
  let body;
@@ -163,6 +173,16 @@ export const se_AssociateAddressCommand = async (input, context) => {
163
173
  });
164
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
165
175
  };
176
+ export const se_AssociateCapacityReservationBillingOwnerCommand = async (input, context) => {
177
+ const headers = SHARED_HEADERS;
178
+ let body;
179
+ body = buildFormUrlencodedString({
180
+ ...se_AssociateCapacityReservationBillingOwnerRequest(input, context),
181
+ [_A]: _ACRBOs,
182
+ [_V]: _,
183
+ });
184
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
185
+ };
166
186
  export const se_AssociateClientVpnTargetNetworkCommand = async (input, context) => {
167
187
  const headers = SHARED_HEADERS;
168
188
  let body;
@@ -2323,6 +2343,16 @@ export const se_DescribeCapacityBlockOfferingsCommand = async (input, context) =
2323
2343
  });
2324
2344
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2325
2345
  };
2346
+ export const se_DescribeCapacityReservationBillingRequestsCommand = async (input, context) => {
2347
+ const headers = SHARED_HEADERS;
2348
+ let body;
2349
+ body = buildFormUrlencodedString({
2350
+ ...se_DescribeCapacityReservationBillingRequestsRequest(input, context),
2351
+ [_A]: _DCRBR,
2352
+ [_V]: _,
2353
+ });
2354
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2355
+ };
2326
2356
  export const se_DescribeCapacityReservationFleetsCommand = async (input, context) => {
2327
2357
  const headers = SHARED_HEADERS;
2328
2358
  let body;
@@ -3973,6 +4003,16 @@ export const se_DisassociateAddressCommand = async (input, context) => {
3973
4003
  });
3974
4004
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3975
4005
  };
4006
+ export const se_DisassociateCapacityReservationBillingOwnerCommand = async (input, context) => {
4007
+ const headers = SHARED_HEADERS;
4008
+ let body;
4009
+ body = buildFormUrlencodedString({
4010
+ ...se_DisassociateCapacityReservationBillingOwnerRequest(input, context),
4011
+ [_A]: _DCRBO,
4012
+ [_V]: _,
4013
+ });
4014
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4015
+ };
3976
4016
  export const se_DisassociateClientVpnTargetNetworkCommand = async (input, context) => {
3977
4017
  const headers = SHARED_HEADERS;
3978
4018
  let body;
@@ -5743,6 +5783,16 @@ export const se_RegisterTransitGatewayMulticastGroupSourcesCommand = async (inpu
5743
5783
  });
5744
5784
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
5745
5785
  };
5786
+ export const se_RejectCapacityReservationBillingOwnershipCommand = async (input, context) => {
5787
+ const headers = SHARED_HEADERS;
5788
+ let body;
5789
+ body = buildFormUrlencodedString({
5790
+ ...se_RejectCapacityReservationBillingOwnershipRequest(input, context),
5791
+ [_A]: _RCRBO,
5792
+ [_V]: _,
5793
+ });
5794
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5795
+ };
5746
5796
  export const se_RejectTransitGatewayMulticastDomainAssociationsCommand = async (input, context) => {
5747
5797
  const headers = SHARED_HEADERS;
5748
5798
  let body;
@@ -6296,6 +6346,19 @@ export const de_AcceptAddressTransferCommand = async (output, context) => {
6296
6346
  };
6297
6347
  return response;
6298
6348
  };
6349
+ export const de_AcceptCapacityReservationBillingOwnershipCommand = async (output, context) => {
6350
+ if (output.statusCode >= 300) {
6351
+ return de_CommandError(output, context);
6352
+ }
6353
+ const data = await parseBody(output.body, context);
6354
+ let contents = {};
6355
+ contents = de_AcceptCapacityReservationBillingOwnershipResult(data, context);
6356
+ const response = {
6357
+ $metadata: deserializeMetadata(output),
6358
+ ...contents,
6359
+ };
6360
+ return response;
6361
+ };
6299
6362
  export const de_AcceptReservedInstancesExchangeQuoteCommand = async (output, context) => {
6300
6363
  if (output.statusCode >= 300) {
6301
6364
  return de_CommandError(output, context);
@@ -6491,6 +6554,19 @@ export const de_AssociateAddressCommand = async (output, context) => {
6491
6554
  };
6492
6555
  return response;
6493
6556
  };
6557
+ export const de_AssociateCapacityReservationBillingOwnerCommand = async (output, context) => {
6558
+ if (output.statusCode >= 300) {
6559
+ return de_CommandError(output, context);
6560
+ }
6561
+ const data = await parseBody(output.body, context);
6562
+ let contents = {};
6563
+ contents = de_AssociateCapacityReservationBillingOwnerResult(data, context);
6564
+ const response = {
6565
+ $metadata: deserializeMetadata(output),
6566
+ ...contents,
6567
+ };
6568
+ return response;
6569
+ };
6494
6570
  export const de_AssociateClientVpnTargetNetworkCommand = async (output, context) => {
6495
6571
  if (output.statusCode >= 300) {
6496
6572
  return de_CommandError(output, context);
@@ -9218,6 +9294,19 @@ export const de_DescribeCapacityBlockOfferingsCommand = async (output, context)
9218
9294
  };
9219
9295
  return response;
9220
9296
  };
9297
+ export const de_DescribeCapacityReservationBillingRequestsCommand = async (output, context) => {
9298
+ if (output.statusCode >= 300) {
9299
+ return de_CommandError(output, context);
9300
+ }
9301
+ const data = await parseBody(output.body, context);
9302
+ let contents = {};
9303
+ contents = de_DescribeCapacityReservationBillingRequestsResult(data, context);
9304
+ const response = {
9305
+ $metadata: deserializeMetadata(output),
9306
+ ...contents,
9307
+ };
9308
+ return response;
9309
+ };
9221
9310
  export const de_DescribeCapacityReservationFleetsCommand = async (output, context) => {
9222
9311
  if (output.statusCode >= 300) {
9223
9312
  return de_CommandError(output, context);
@@ -11348,6 +11437,19 @@ export const de_DisassociateAddressCommand = async (output, context) => {
11348
11437
  };
11349
11438
  return response;
11350
11439
  };
11440
+ export const de_DisassociateCapacityReservationBillingOwnerCommand = async (output, context) => {
11441
+ if (output.statusCode >= 300) {
11442
+ return de_CommandError(output, context);
11443
+ }
11444
+ const data = await parseBody(output.body, context);
11445
+ let contents = {};
11446
+ contents = de_DisassociateCapacityReservationBillingOwnerResult(data, context);
11447
+ const response = {
11448
+ $metadata: deserializeMetadata(output),
11449
+ ...contents,
11450
+ };
11451
+ return response;
11452
+ };
11351
11453
  export const de_DisassociateClientVpnTargetNetworkCommand = async (output, context) => {
11352
11454
  if (output.statusCode >= 300) {
11353
11455
  return de_CommandError(output, context);
@@ -13610,6 +13712,19 @@ export const de_RegisterTransitGatewayMulticastGroupSourcesCommand = async (outp
13610
13712
  };
13611
13713
  return response;
13612
13714
  };
13715
+ export const de_RejectCapacityReservationBillingOwnershipCommand = async (output, context) => {
13716
+ if (output.statusCode >= 300) {
13717
+ return de_CommandError(output, context);
13718
+ }
13719
+ const data = await parseBody(output.body, context);
13720
+ let contents = {};
13721
+ contents = de_RejectCapacityReservationBillingOwnershipResult(data, context);
13722
+ const response = {
13723
+ $metadata: deserializeMetadata(output),
13724
+ ...contents,
13725
+ };
13726
+ return response;
13727
+ };
13613
13728
  export const de_RejectTransitGatewayMulticastDomainAssociationsCommand = async (output, context) => {
13614
13729
  if (output.statusCode >= 300) {
13615
13730
  return de_CommandError(output, context);
@@ -14388,6 +14503,16 @@ const se_AcceptAddressTransferRequest = (input, context) => {
14388
14503
  }
14389
14504
  return entries;
14390
14505
  };
14506
+ const se_AcceptCapacityReservationBillingOwnershipRequest = (input, context) => {
14507
+ const entries = {};
14508
+ if (input[_DRr] != null) {
14509
+ entries[_DRr] = input[_DRr];
14510
+ }
14511
+ if (input[_CRI] != null) {
14512
+ entries[_CRI] = input[_CRI];
14513
+ }
14514
+ return entries;
14515
+ };
14391
14516
  const se_AcceptReservedInstancesExchangeQuoteRequest = (input, context) => {
14392
14517
  const entries = {};
14393
14518
  if (input[_DRr] != null) {
@@ -14914,6 +15039,19 @@ const se_AssociateAddressRequest = (input, context) => {
14914
15039
  }
14915
15040
  return entries;
14916
15041
  };
15042
+ const se_AssociateCapacityReservationBillingOwnerRequest = (input, context) => {
15043
+ const entries = {};
15044
+ if (input[_DRr] != null) {
15045
+ entries[_DRr] = input[_DRr];
15046
+ }
15047
+ if (input[_CRI] != null) {
15048
+ entries[_CRI] = input[_CRI];
15049
+ }
15050
+ if (input[_URBOI] != null) {
15051
+ entries[_URBOI] = input[_URBOI];
15052
+ }
15053
+ return entries;
15054
+ };
14917
15055
  const se_AssociateClientVpnTargetNetworkRequest = (input, context) => {
14918
15056
  const entries = {};
14919
15057
  if (input[_CVEI] != null) {
@@ -20317,6 +20455,36 @@ const se_DescribeCapacityBlockOfferingsRequest = (input, context) => {
20317
20455
  }
20318
20456
  return entries;
20319
20457
  };
20458
+ const se_DescribeCapacityReservationBillingRequestsRequest = (input, context) => {
20459
+ const entries = {};
20460
+ if (input[_CRIa] != null) {
20461
+ const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context);
20462
+ Object.entries(memberEntries).forEach(([key, value]) => {
20463
+ const loc = `CapacityReservationId.${key.substring(key.indexOf(".") + 1)}`;
20464
+ entries[loc] = value;
20465
+ });
20466
+ }
20467
+ if (input[_Ro] != null) {
20468
+ entries[_Ro] = input[_Ro];
20469
+ }
20470
+ if (input[_NT] != null) {
20471
+ entries[_NT] = input[_NT];
20472
+ }
20473
+ if (input[_MR] != null) {
20474
+ entries[_MR] = input[_MR];
20475
+ }
20476
+ if (input[_Fi] != null) {
20477
+ const memberEntries = se_FilterList(input[_Fi], context);
20478
+ Object.entries(memberEntries).forEach(([key, value]) => {
20479
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
20480
+ entries[loc] = value;
20481
+ });
20482
+ }
20483
+ if (input[_DRr] != null) {
20484
+ entries[_DRr] = input[_DRr];
20485
+ }
20486
+ return entries;
20487
+ };
20320
20488
  const se_DescribeCapacityReservationFleetsRequest = (input, context) => {
20321
20489
  const entries = {};
20322
20490
  if (input[_CRFI] != null) {
@@ -24273,6 +24441,19 @@ const se_DisassociateAddressRequest = (input, context) => {
24273
24441
  }
24274
24442
  return entries;
24275
24443
  };
24444
+ const se_DisassociateCapacityReservationBillingOwnerRequest = (input, context) => {
24445
+ const entries = {};
24446
+ if (input[_DRr] != null) {
24447
+ entries[_DRr] = input[_DRr];
24448
+ }
24449
+ if (input[_CRI] != null) {
24450
+ entries[_CRI] = input[_CRI];
24451
+ }
24452
+ if (input[_URBOI] != null) {
24453
+ entries[_URBOI] = input[_URBOI];
24454
+ }
24455
+ return entries;
24456
+ };
24276
24457
  const se_DisassociateClientVpnTargetNetworkRequest = (input, context) => {
24277
24458
  const entries = {};
24278
24459
  if (input[_CVEI] != null) {
@@ -31967,6 +32148,16 @@ const se_RegisterTransitGatewayMulticastGroupSourcesRequest = (input, context) =
31967
32148
  }
31968
32149
  return entries;
31969
32150
  };
32151
+ const se_RejectCapacityReservationBillingOwnershipRequest = (input, context) => {
32152
+ const entries = {};
32153
+ if (input[_DRr] != null) {
32154
+ entries[_DRr] = input[_DRr];
32155
+ }
32156
+ if (input[_CRI] != null) {
32157
+ entries[_CRI] = input[_CRI];
32158
+ }
32159
+ return entries;
32160
+ };
31970
32161
  const se_RejectTransitGatewayMulticastDomainAssociationsRequest = (input, context) => {
31971
32162
  const entries = {};
31972
32163
  if (input[_TGMDI] != null) {
@@ -35841,6 +36032,13 @@ const de_AcceptAddressTransferResult = (output, context) => {
35841
36032
  }
35842
36033
  return contents;
35843
36034
  };
36035
+ const de_AcceptCapacityReservationBillingOwnershipResult = (output, context) => {
36036
+ const contents = {};
36037
+ if (output[_r] != null) {
36038
+ contents[_Ret] = __parseBoolean(output[_r]);
36039
+ }
36040
+ return contents;
36041
+ };
35844
36042
  const de_AcceptReservedInstancesExchangeQuoteResult = (output, context) => {
35845
36043
  const contents = {};
35846
36044
  if (output[_eI] != null) {
@@ -36561,6 +36759,13 @@ const de_AssociateAddressResult = (output, context) => {
36561
36759
  }
36562
36760
  return contents;
36563
36761
  };
36762
+ const de_AssociateCapacityReservationBillingOwnerResult = (output, context) => {
36763
+ const contents = {};
36764
+ if (output[_r] != null) {
36765
+ contents[_Ret] = __parseBoolean(output[_r]);
36766
+ }
36767
+ return contents;
36768
+ };
36564
36769
  const de_AssociateClientVpnTargetNetworkResult = (output, context) => {
36565
36770
  const contents = {};
36566
36771
  if (output[_aIs] != null) {
@@ -37392,8 +37597,43 @@ const de_CapacityReservation = (output, context) => {
37392
37597
  if (output[_rT] != null) {
37393
37598
  contents[_RTe] = __expectString(output[_rT]);
37394
37599
  }
37600
+ if (output[_uRBOI] != null) {
37601
+ contents[_URBOI] = __expectString(output[_uRBOI]);
37602
+ }
37395
37603
  return contents;
37396
37604
  };
37605
+ const de_CapacityReservationBillingRequest = (output, context) => {
37606
+ const contents = {};
37607
+ if (output[_cRI] != null) {
37608
+ contents[_CRI] = __expectString(output[_cRI]);
37609
+ }
37610
+ if (output[_rB] != null) {
37611
+ contents[_RB] = __expectString(output[_rB]);
37612
+ }
37613
+ if (output[_uRBOI] != null) {
37614
+ contents[_URBOI] = __expectString(output[_uRBOI]);
37615
+ }
37616
+ if (output[_lUT] != null) {
37617
+ contents[_LUT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_lUT]));
37618
+ }
37619
+ if (output[_sta] != null) {
37620
+ contents[_Statu] = __expectString(output[_sta]);
37621
+ }
37622
+ if (output[_sM] != null) {
37623
+ contents[_SM] = __expectString(output[_sM]);
37624
+ }
37625
+ if (output[_cRIa] != null) {
37626
+ contents[_CRIap] = de_CapacityReservationInfo(output[_cRIa], context);
37627
+ }
37628
+ return contents;
37629
+ };
37630
+ const de_CapacityReservationBillingRequestSet = (output, context) => {
37631
+ return (output || [])
37632
+ .filter((e) => e != null)
37633
+ .map((entry) => {
37634
+ return de_CapacityReservationBillingRequest(entry, context);
37635
+ });
37636
+ };
37397
37637
  const de_CapacityReservationFleet = (output, context) => {
37398
37638
  const contents = {};
37399
37639
  if (output[_cRFI] != null) {
@@ -37484,6 +37724,19 @@ const de_CapacityReservationGroupSet = (output, context) => {
37484
37724
  return de_CapacityReservationGroup(entry, context);
37485
37725
  });
37486
37726
  };
37727
+ const de_CapacityReservationInfo = (output, context) => {
37728
+ const contents = {};
37729
+ if (output[_iT] != null) {
37730
+ contents[_IT] = __expectString(output[_iT]);
37731
+ }
37732
+ if (output[_aZ] != null) {
37733
+ contents[_AZ] = __expectString(output[_aZ]);
37734
+ }
37735
+ if (output[_t] != null) {
37736
+ contents[_Te] = __expectString(output[_t]);
37737
+ }
37738
+ return contents;
37739
+ };
37487
37740
  const de_CapacityReservationOptions = (output, context) => {
37488
37741
  const contents = {};
37489
37742
  if (output[_uS] != null) {
@@ -38538,7 +38791,7 @@ const de_CreateLaunchTemplateVersionResult = (output, context) => {
38538
38791
  const de_CreateLocalGatewayRouteResult = (output, context) => {
38539
38792
  const contents = {};
38540
38793
  if (output[_ro] != null) {
38541
- contents[_Ro] = de_LocalGatewayRoute(output[_ro], context);
38794
+ contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);
38542
38795
  }
38543
38796
  return contents;
38544
38797
  };
@@ -38822,7 +39075,7 @@ const de_CreateTransitGatewayResult = (output, context) => {
38822
39075
  const de_CreateTransitGatewayRouteResult = (output, context) => {
38823
39076
  const contents = {};
38824
39077
  if (output[_ro] != null) {
38825
- contents[_Ro] = de_TransitGatewayRoute(output[_ro], context);
39078
+ contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);
38826
39079
  }
38827
39080
  return contents;
38828
39081
  };
@@ -39290,7 +39543,7 @@ const de_DeleteLaunchTemplateVersionsResult = (output, context) => {
39290
39543
  const de_DeleteLocalGatewayRouteResult = (output, context) => {
39291
39544
  const contents = {};
39292
39545
  if (output[_ro] != null) {
39293
- contents[_Ro] = de_LocalGatewayRoute(output[_ro], context);
39546
+ contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);
39294
39547
  }
39295
39548
  return contents;
39296
39549
  };
@@ -39484,7 +39737,7 @@ const de_DeleteTransitGatewayResult = (output, context) => {
39484
39737
  const de_DeleteTransitGatewayRouteResult = (output, context) => {
39485
39738
  const contents = {};
39486
39739
  if (output[_ro] != null) {
39487
- contents[_Ro] = de_TransitGatewayRoute(output[_ro], context);
39740
+ contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);
39488
39741
  }
39489
39742
  return contents;
39490
39743
  };
@@ -39754,6 +40007,19 @@ const de_DescribeCapacityBlockOfferingsResult = (output, context) => {
39754
40007
  }
39755
40008
  return contents;
39756
40009
  };
40010
+ const de_DescribeCapacityReservationBillingRequestsResult = (output, context) => {
40011
+ const contents = {};
40012
+ if (output[_nTe] != null) {
40013
+ contents[_NT] = __expectString(output[_nTe]);
40014
+ }
40015
+ if (output.capacityReservationBillingRequestSet === "") {
40016
+ contents[_CRBR] = [];
40017
+ }
40018
+ else if (output[_cRBRS] != null && output[_cRBRS][_i] != null) {
40019
+ contents[_CRBR] = de_CapacityReservationBillingRequestSet(__getArrayIfSingleItem(output[_cRBRS][_i]), context);
40020
+ }
40021
+ return contents;
40022
+ };
39757
40023
  const de_DescribeCapacityReservationFleetsResult = (output, context) => {
39758
40024
  const contents = {};
39759
40025
  if (output.capacityReservationFleetSet === "") {
@@ -39848,10 +40114,10 @@ const de_DescribeClientVpnEndpointsResult = (output, context) => {
39848
40114
  const de_DescribeClientVpnRoutesResult = (output, context) => {
39849
40115
  const contents = {};
39850
40116
  if (output.routes === "") {
39851
- contents[_Rou] = [];
40117
+ contents[_Rout] = [];
39852
40118
  }
39853
40119
  else if (output[_rou] != null && output[_rou][_i] != null) {
39854
- contents[_Rou] = de_ClientVpnRouteSet(__getArrayIfSingleItem(output[_rou][_i]), context);
40120
+ contents[_Rout] = de_ClientVpnRouteSet(__getArrayIfSingleItem(output[_rou][_i]), context);
39855
40121
  }
39856
40122
  if (output[_nTe] != null) {
39857
40123
  contents[_NT] = __expectString(output[_nTe]);
@@ -42044,6 +42310,13 @@ const de_DisableVpcClassicLinkResult = (output, context) => {
42044
42310
  }
42045
42311
  return contents;
42046
42312
  };
42313
+ const de_DisassociateCapacityReservationBillingOwnerResult = (output, context) => {
42314
+ const contents = {};
42315
+ if (output[_r] != null) {
42316
+ contents[_Ret] = __parseBoolean(output[_r]);
42317
+ }
42318
+ return contents;
42319
+ };
42047
42320
  const de_DisassociateClientVpnTargetNetworkResult = (output, context) => {
42048
42321
  const contents = {};
42049
42322
  if (output[_aIs] != null) {
@@ -49212,7 +49485,7 @@ const de_ModifyLaunchTemplateResult = (output, context) => {
49212
49485
  const de_ModifyLocalGatewayRouteResult = (output, context) => {
49213
49486
  const contents = {};
49214
49487
  if (output[_ro] != null) {
49215
- contents[_Ro] = de_LocalGatewayRoute(output[_ro], context);
49488
+ contents[_Rou] = de_LocalGatewayRoute(output[_ro], context);
49216
49489
  }
49217
49490
  return contents;
49218
49491
  };
@@ -51406,6 +51679,13 @@ const de_RegisterTransitGatewayMulticastGroupSourcesResult = (output, context) =
51406
51679
  }
51407
51680
  return contents;
51408
51681
  };
51682
+ const de_RejectCapacityReservationBillingOwnershipResult = (output, context) => {
51683
+ const contents = {};
51684
+ if (output[_r] != null) {
51685
+ contents[_Ret] = __parseBoolean(output[_r]);
51686
+ }
51687
+ return contents;
51688
+ };
51409
51689
  const de_RejectTransitGatewayMulticastDomainAssociationsResult = (output, context) => {
51410
51690
  const contents = {};
51411
51691
  if (output[_a] != null) {
@@ -51535,7 +51815,7 @@ const de_ReplaceRouteTableAssociationResult = (output, context) => {
51535
51815
  const de_ReplaceTransitGatewayRouteResult = (output, context) => {
51536
51816
  const contents = {};
51537
51817
  if (output[_ro] != null) {
51538
- contents[_Ro] = de_TransitGatewayRoute(output[_ro], context);
51818
+ contents[_Rou] = de_TransitGatewayRoute(output[_ro], context);
51539
51819
  }
51540
51820
  return contents;
51541
51821
  };
@@ -52278,10 +52558,10 @@ const de_RouteTable = (output, context) => {
52278
52558
  contents[_RTI] = __expectString(output[_rTI]);
52279
52559
  }
52280
52560
  if (output.routeSet === "") {
52281
- contents[_Rou] = [];
52561
+ contents[_Rout] = [];
52282
52562
  }
52283
52563
  else if (output[_rSo] != null && output[_rSo][_i] != null) {
52284
- contents[_Rou] = de_RouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52564
+ contents[_Rout] = de_RouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52285
52565
  }
52286
52566
  if (output.tagSet === "") {
52287
52567
  contents[_Ta] = [];
@@ -52567,10 +52847,10 @@ const de_ScheduledInstanceSet = (output, context) => {
52567
52847
  const de_SearchLocalGatewayRoutesResult = (output, context) => {
52568
52848
  const contents = {};
52569
52849
  if (output.routeSet === "") {
52570
- contents[_Rou] = [];
52850
+ contents[_Rout] = [];
52571
52851
  }
52572
52852
  else if (output[_rSo] != null && output[_rSo][_i] != null) {
52573
- contents[_Rou] = de_LocalGatewayRouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52853
+ contents[_Rout] = de_LocalGatewayRouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52574
52854
  }
52575
52855
  if (output[_nTe] != null) {
52576
52856
  contents[_NT] = __expectString(output[_nTe]);
@@ -52593,10 +52873,10 @@ const de_SearchTransitGatewayMulticastGroupsResult = (output, context) => {
52593
52873
  const de_SearchTransitGatewayRoutesResult = (output, context) => {
52594
52874
  const contents = {};
52595
52875
  if (output.routeSet === "") {
52596
- contents[_Rou] = [];
52876
+ contents[_Rout] = [];
52597
52877
  }
52598
52878
  else if (output[_rSo] != null && output[_rSo][_i] != null) {
52599
- contents[_Rou] = de_TransitGatewayRouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52879
+ contents[_Rout] = de_TransitGatewayRouteList(__getArrayIfSingleItem(output[_rSo][_i]), context);
52600
52880
  }
52601
52881
  if (output[_aRAd] != null) {
52602
52882
  contents[_ARAd] = __parseBoolean(output[_aRAd]);
@@ -55917,8 +56197,8 @@ const de_VerifiedAccessEndpoint = (output, context) => {
55917
56197
  if (output[_cTre] != null) {
55918
56198
  contents[_CTre] = __expectString(output[_cTre]);
55919
56199
  }
55920
- if (output[_lUT] != null) {
55921
- contents[_LUT] = __expectString(output[_lUT]);
56200
+ if (output[_lUTa] != null) {
56201
+ contents[_LUTa] = __expectString(output[_lUTa]);
55922
56202
  }
55923
56203
  if (output[_dT] != null) {
55924
56204
  contents[_DTel] = __expectString(output[_dT]);
@@ -56010,8 +56290,8 @@ const de_VerifiedAccessGroup = (output, context) => {
56010
56290
  if (output[_cTre] != null) {
56011
56291
  contents[_CTre] = __expectString(output[_cTre]);
56012
56292
  }
56013
- if (output[_lUT] != null) {
56014
- contents[_LUT] = __expectString(output[_lUT]);
56293
+ if (output[_lUTa] != null) {
56294
+ contents[_LUTa] = __expectString(output[_lUTa]);
56015
56295
  }
56016
56296
  if (output[_dT] != null) {
56017
56297
  contents[_DTel] = __expectString(output[_dT]);
@@ -56051,8 +56331,8 @@ const de_VerifiedAccessInstance = (output, context) => {
56051
56331
  if (output[_cTre] != null) {
56052
56332
  contents[_CTre] = __expectString(output[_cTre]);
56053
56333
  }
56054
- if (output[_lUT] != null) {
56055
- contents[_LUT] = __expectString(output[_lUT]);
56334
+ if (output[_lUTa] != null) {
56335
+ contents[_LUTa] = __expectString(output[_lUTa]);
56056
56336
  }
56057
56337
  if (output.tagSet === "") {
56058
56338
  contents[_Ta] = [];
@@ -56202,8 +56482,8 @@ const de_VerifiedAccessTrustProvider = (output, context) => {
56202
56482
  if (output[_cTre] != null) {
56203
56483
  contents[_CTre] = __expectString(output[_cTre]);
56204
56484
  }
56205
- if (output[_lUT] != null) {
56206
- contents[_LUT] = __expectString(output[_lUT]);
56485
+ if (output[_lUTa] != null) {
56486
+ contents[_LUTa] = __expectString(output[_lUTa]);
56207
56487
  }
56208
56488
  if (output.tagSet === "") {
56209
56489
  contents[_Ta] = [];
@@ -56988,10 +57268,10 @@ const de_VpnConnection = (output, context) => {
56988
57268
  contents[_O] = de_VpnConnectionOptions(output[_op], context);
56989
57269
  }
56990
57270
  if (output.routes === "") {
56991
- contents[_Rou] = [];
57271
+ contents[_Rout] = [];
56992
57272
  }
56993
57273
  else if (output[_rou] != null && output[_rou][_i] != null) {
56994
- contents[_Rou] = de_VpnStaticRouteList(__getArrayIfSingleItem(output[_rou][_i]), context);
57274
+ contents[_Rout] = de_VpnStaticRouteList(__getArrayIfSingleItem(output[_rou][_i]), context);
56995
57275
  }
56996
57276
  if (output.tagSet === "") {
56997
57277
  contents[_Ta] = [];
@@ -57218,6 +57498,8 @@ const _ABHP = "ActualBlockHourlyPrice";
57218
57498
  const _AC = "AllowedCidrs";
57219
57499
  const _ACIA = "AssociateCarrierIpAddress";
57220
57500
  const _ACLV = "AttachClassicLinkVpc";
57501
+ const _ACRBO = "AcceptCapacityReservationBillingOwnership";
57502
+ const _ACRBOs = "AssociateCapacityReservationBillingOwner";
57221
57503
  const _ACT = "ArchivalCompleteTime";
57222
57504
  const _ACVI = "AuthorizeClientVpnIngress";
57223
57505
  const _ACVTN = "AssociateClientVpnTargetNetwork";
@@ -57583,6 +57865,7 @@ const _CPIo = "CoipPoolId";
57583
57865
  const _CPo = "CoipPools";
57584
57866
  const _CR = "CreateRoute";
57585
57867
  const _CRA = "CapacityReservationArn";
57868
+ const _CRBR = "CapacityReservationBillingRequests";
57586
57869
  const _CRCC = "ClientRootCertificateChain";
57587
57870
  const _CRCCA = "ClientRootCertificateChainArn";
57588
57871
  const _CRF = "CapacityReservationFleets";
@@ -57595,6 +57878,7 @@ const _CRIL = "CancelReservedInstancesListing";
57595
57878
  const _CRILr = "CreateReservedInstancesListing";
57596
57879
  const _CRIT = "CreateRestoreImageTask";
57597
57880
  const _CRIa = "CapacityReservationIds";
57881
+ const _CRIap = "CapacityReservationInfo";
57598
57882
  const _CRL = "CertificateRevocationList";
57599
57883
  const _CRO = "CapacityReservationOptions";
57600
57884
  const _CRP = "CapacityReservationPreference";
@@ -57730,6 +58014,8 @@ const _DCLV = "DetachClassicLinkVpc";
57730
58014
  const _DCP = "DeleteCoipPool";
57731
58015
  const _DCPe = "DescribeCoipPools";
57732
58016
  const _DCR = "DescribeCapacityReservations";
58017
+ const _DCRBO = "DisassociateCapacityReservationBillingOwner";
58018
+ const _DCRBR = "DescribeCapacityReservationBillingRequests";
57733
58019
  const _DCRF = "DescribeCapacityReservationFleets";
57734
58020
  const _DCRI = "DestinationCapacityReservationId";
57735
58021
  const _DCRe = "DestinationCapacityReservation";
@@ -58674,7 +58960,8 @@ const _LTau = "LaunchTemplates";
58674
58960
  const _LTaun = "LaunchTime";
58675
58961
  const _LTi = "LicenseType";
58676
58962
  const _LTo = "LocalTarget";
58677
- const _LUT = "LastUpdatedTime";
58963
+ const _LUT = "LastUpdateTime";
58964
+ const _LUTa = "LastUpdatedTime";
58678
58965
  const _LV = "LogVersion";
58679
58966
  const _LVN = "LatestVersionNumber";
58680
58967
  const _La = "Latest";
@@ -59112,10 +59399,12 @@ const _RATC = "RestoreAddressToClassic";
59112
59399
  const _RAe = "ResolveAlias";
59113
59400
  const _RAo = "RoleArn";
59114
59401
  const _RAu = "RuleAction";
59402
+ const _RB = "RequestedBy";
59115
59403
  const _RBET = "RecycleBinEnterTime";
59116
59404
  const _RBETe = "RecycleBinExitTime";
59117
59405
  const _RBUI = "RestorableByUserIds";
59118
59406
  const _RC = "ResourceCidr";
59407
+ const _RCRBO = "RejectCapacityReservationBillingOwnership";
59119
59408
  const _RCS = "ResourceComplianceStatus";
59120
59409
  const _RCVI = "RevokeClientVpnIngress";
59121
59410
  const _RCe = "ReasonCodes";
@@ -59268,8 +59557,9 @@ const _Res = "Resource";
59268
59557
  const _Rese = "Reservations";
59269
59558
  const _Resu = "Result";
59270
59559
  const _Ret = "Return";
59271
- const _Ro = "Route";
59272
- const _Rou = "Routes";
59560
+ const _Ro = "Role";
59561
+ const _Rou = "Route";
59562
+ const _Rout = "Routes";
59273
59563
  const _S = "Source";
59274
59564
  const _SA = "StartupAction";
59275
59565
  const _SAI = "SecondaryAllocationIds";
@@ -59650,6 +59940,7 @@ const _UPNGA = "UnassignPrivateNatGatewayAddress";
59650
59940
  const _UPS = "UploadPolicySignature";
59651
59941
  const _UPp = "UpfrontPrice";
59652
59942
  const _UPs = "UsagePrice";
59943
+ const _URBOI = "UnusedReservationBillingOwnerId";
59653
59944
  const _US = "UnlockSnapshot";
59654
59945
  const _USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress";
59655
59946
  const _USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress";
@@ -60006,12 +60297,14 @@ const _cPI = "coipPoolId";
60006
60297
  const _cPS = "coipPoolSet";
60007
60298
  const _cR = "capacityReservation";
60008
60299
  const _cRA = "capacityReservationArn";
60300
+ const _cRBRS = "capacityReservationBillingRequestSet";
60009
60301
  const _cRCC = "clientRootCertificateChain";
60010
60302
  const _cRFA = "capacityReservationFleetArn";
60011
60303
  const _cRFI = "capacityReservationFleetId";
60012
60304
  const _cRFS = "capacityReservationFleetSet";
60013
60305
  const _cRGS = "capacityReservationGroupSet";
60014
60306
  const _cRI = "capacityReservationId";
60307
+ const _cRIa = "capacityReservationInfo";
60015
60308
  const _cRL = "certificateRevocationList";
60016
60309
  const _cRO = "capacityReservationOptions";
60017
60310
  const _cRP = "capacityReservationPreference";
@@ -60606,7 +60899,8 @@ const _lTa = "launchTemplates";
60606
60899
  const _lTau = "launchTime";
60607
60900
  const _lTi = "licenseType";
60608
60901
  const _lTo = "locationType";
60609
- const _lUT = "lastUpdatedTime";
60902
+ const _lUT = "lastUpdateTime";
60903
+ const _lUTa = "lastUpdatedTime";
60610
60904
  const _lV = "logVersion";
60611
60905
  const _lVN = "latestVersionNumber";
60612
60906
  const _lo = "location";
@@ -60905,6 +61199,7 @@ const _pu = "public";
60905
61199
  const _pur = "purchase";
60906
61200
  const _r = "return";
60907
61201
  const _rA = "ruleAction";
61202
+ const _rB = "requestedBy";
60908
61203
  const _rBET = "recycleBinEnterTime";
60909
61204
  const _rBETe = "recycleBinExitTime";
60910
61205
  const _rC = "returnCode";
@@ -61317,6 +61612,7 @@ const _uP = "upfrontPrice";
61317
61612
  const _uPS = "uploadPolicySignature";
61318
61613
  const _uPp = "uploadPolicy";
61319
61614
  const _uPs = "usagePrice";
61615
+ const _uRBOI = "unusedReservationBillingOwnerId";
61320
61616
  const _uS = "usageStrategy";
61321
61617
  const _uST = "udpStreamTimeout";
61322
61618
  const _uT = "updateTime";