@aws-sdk/client-ec2 3.668.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
@@ -7,6 +7,10 @@ import {
7
7
  AcceptAddressTransferCommandInput,
8
8
  AcceptAddressTransferCommandOutput,
9
9
  } from "../commands/AcceptAddressTransferCommand";
10
+ import {
11
+ AcceptCapacityReservationBillingOwnershipCommandInput,
12
+ AcceptCapacityReservationBillingOwnershipCommandOutput,
13
+ } from "../commands/AcceptCapacityReservationBillingOwnershipCommand";
10
14
  import {
11
15
  AcceptReservedInstancesExchangeQuoteCommandInput,
12
16
  AcceptReservedInstancesExchangeQuoteCommandOutput,
@@ -67,6 +71,10 @@ import {
67
71
  AssociateAddressCommandInput,
68
72
  AssociateAddressCommandOutput,
69
73
  } from "../commands/AssociateAddressCommand";
74
+ import {
75
+ AssociateCapacityReservationBillingOwnerCommandInput,
76
+ AssociateCapacityReservationBillingOwnerCommandOutput,
77
+ } from "../commands/AssociateCapacityReservationBillingOwnerCommand";
70
78
  import {
71
79
  AssociateClientVpnTargetNetworkCommandInput,
72
80
  AssociateClientVpnTargetNetworkCommandOutput,
@@ -931,6 +939,10 @@ import {
931
939
  DescribeCapacityBlockOfferingsCommandInput,
932
940
  DescribeCapacityBlockOfferingsCommandOutput,
933
941
  } from "../commands/DescribeCapacityBlockOfferingsCommand";
942
+ import {
943
+ DescribeCapacityReservationBillingRequestsCommandInput,
944
+ DescribeCapacityReservationBillingRequestsCommandOutput,
945
+ } from "../commands/DescribeCapacityReservationBillingRequestsCommand";
934
946
  import {
935
947
  DescribeCapacityReservationFleetsCommandInput,
936
948
  DescribeCapacityReservationFleetsCommandOutput,
@@ -1591,6 +1603,10 @@ import {
1591
1603
  DisassociateAddressCommandInput,
1592
1604
  DisassociateAddressCommandOutput,
1593
1605
  } from "../commands/DisassociateAddressCommand";
1606
+ import {
1607
+ DisassociateCapacityReservationBillingOwnerCommandInput,
1608
+ DisassociateCapacityReservationBillingOwnerCommandOutput,
1609
+ } from "../commands/DisassociateCapacityReservationBillingOwnerCommand";
1594
1610
  import {
1595
1611
  DisassociateClientVpnTargetNetworkCommandInput,
1596
1612
  DisassociateClientVpnTargetNetworkCommandOutput,
@@ -2299,6 +2315,10 @@ import {
2299
2315
  RegisterTransitGatewayMulticastGroupSourcesCommandInput,
2300
2316
  RegisterTransitGatewayMulticastGroupSourcesCommandOutput,
2301
2317
  } from "../commands/RegisterTransitGatewayMulticastGroupSourcesCommand";
2318
+ import {
2319
+ RejectCapacityReservationBillingOwnershipCommandInput,
2320
+ RejectCapacityReservationBillingOwnershipCommandOutput,
2321
+ } from "../commands/RejectCapacityReservationBillingOwnershipCommand";
2302
2322
  import {
2303
2323
  RejectTransitGatewayMulticastDomainAssociationsCommandInput,
2304
2324
  RejectTransitGatewayMulticastDomainAssociationsCommandOutput,
@@ -2519,6 +2539,10 @@ export declare const se_AcceptAddressTransferCommand: (
2519
2539
  input: AcceptAddressTransferCommandInput,
2520
2540
  context: __SerdeContext
2521
2541
  ) => Promise<__HttpRequest>;
2542
+ export declare const se_AcceptCapacityReservationBillingOwnershipCommand: (
2543
+ input: AcceptCapacityReservationBillingOwnershipCommandInput,
2544
+ context: __SerdeContext
2545
+ ) => Promise<__HttpRequest>;
2522
2546
  export declare const se_AcceptReservedInstancesExchangeQuoteCommand: (
2523
2547
  input: AcceptReservedInstancesExchangeQuoteCommandInput,
2524
2548
  context: __SerdeContext
@@ -2579,6 +2603,10 @@ export declare const se_AssociateAddressCommand: (
2579
2603
  input: AssociateAddressCommandInput,
2580
2604
  context: __SerdeContext
2581
2605
  ) => Promise<__HttpRequest>;
2606
+ export declare const se_AssociateCapacityReservationBillingOwnerCommand: (
2607
+ input: AssociateCapacityReservationBillingOwnerCommandInput,
2608
+ context: __SerdeContext
2609
+ ) => Promise<__HttpRequest>;
2582
2610
  export declare const se_AssociateClientVpnTargetNetworkCommand: (
2583
2611
  input: AssociateClientVpnTargetNetworkCommandInput,
2584
2612
  context: __SerdeContext
@@ -3443,6 +3471,10 @@ export declare const se_DescribeCapacityBlockOfferingsCommand: (
3443
3471
  input: DescribeCapacityBlockOfferingsCommandInput,
3444
3472
  context: __SerdeContext
3445
3473
  ) => Promise<__HttpRequest>;
3474
+ export declare const se_DescribeCapacityReservationBillingRequestsCommand: (
3475
+ input: DescribeCapacityReservationBillingRequestsCommandInput,
3476
+ context: __SerdeContext
3477
+ ) => Promise<__HttpRequest>;
3446
3478
  export declare const se_DescribeCapacityReservationFleetsCommand: (
3447
3479
  input: DescribeCapacityReservationFleetsCommandInput,
3448
3480
  context: __SerdeContext
@@ -4103,6 +4135,10 @@ export declare const se_DisassociateAddressCommand: (
4103
4135
  input: DisassociateAddressCommandInput,
4104
4136
  context: __SerdeContext
4105
4137
  ) => Promise<__HttpRequest>;
4138
+ export declare const se_DisassociateCapacityReservationBillingOwnerCommand: (
4139
+ input: DisassociateCapacityReservationBillingOwnerCommandInput,
4140
+ context: __SerdeContext
4141
+ ) => Promise<__HttpRequest>;
4106
4142
  export declare const se_DisassociateClientVpnTargetNetworkCommand: (
4107
4143
  input: DisassociateClientVpnTargetNetworkCommandInput,
4108
4144
  context: __SerdeContext
@@ -4811,6 +4847,10 @@ export declare const se_RegisterTransitGatewayMulticastGroupSourcesCommand: (
4811
4847
  input: RegisterTransitGatewayMulticastGroupSourcesCommandInput,
4812
4848
  context: __SerdeContext
4813
4849
  ) => Promise<__HttpRequest>;
4850
+ export declare const se_RejectCapacityReservationBillingOwnershipCommand: (
4851
+ input: RejectCapacityReservationBillingOwnershipCommandInput,
4852
+ context: __SerdeContext
4853
+ ) => Promise<__HttpRequest>;
4814
4854
  export declare const se_RejectTransitGatewayMulticastDomainAssociationsCommand: (
4815
4855
  input: RejectTransitGatewayMulticastDomainAssociationsCommandInput,
4816
4856
  context: __SerdeContext
@@ -5031,6 +5071,10 @@ export declare const de_AcceptAddressTransferCommand: (
5031
5071
  output: __HttpResponse,
5032
5072
  context: __SerdeContext
5033
5073
  ) => Promise<AcceptAddressTransferCommandOutput>;
5074
+ export declare const de_AcceptCapacityReservationBillingOwnershipCommand: (
5075
+ output: __HttpResponse,
5076
+ context: __SerdeContext
5077
+ ) => Promise<AcceptCapacityReservationBillingOwnershipCommandOutput>;
5034
5078
  export declare const de_AcceptReservedInstancesExchangeQuoteCommand: (
5035
5079
  output: __HttpResponse,
5036
5080
  context: __SerdeContext
@@ -5091,6 +5135,10 @@ export declare const de_AssociateAddressCommand: (
5091
5135
  output: __HttpResponse,
5092
5136
  context: __SerdeContext
5093
5137
  ) => Promise<AssociateAddressCommandOutput>;
5138
+ export declare const de_AssociateCapacityReservationBillingOwnerCommand: (
5139
+ output: __HttpResponse,
5140
+ context: __SerdeContext
5141
+ ) => Promise<AssociateCapacityReservationBillingOwnerCommandOutput>;
5094
5142
  export declare const de_AssociateClientVpnTargetNetworkCommand: (
5095
5143
  output: __HttpResponse,
5096
5144
  context: __SerdeContext
@@ -5955,6 +6003,10 @@ export declare const de_DescribeCapacityBlockOfferingsCommand: (
5955
6003
  output: __HttpResponse,
5956
6004
  context: __SerdeContext
5957
6005
  ) => Promise<DescribeCapacityBlockOfferingsCommandOutput>;
6006
+ export declare const de_DescribeCapacityReservationBillingRequestsCommand: (
6007
+ output: __HttpResponse,
6008
+ context: __SerdeContext
6009
+ ) => Promise<DescribeCapacityReservationBillingRequestsCommandOutput>;
5958
6010
  export declare const de_DescribeCapacityReservationFleetsCommand: (
5959
6011
  output: __HttpResponse,
5960
6012
  context: __SerdeContext
@@ -6615,6 +6667,10 @@ export declare const de_DisassociateAddressCommand: (
6615
6667
  output: __HttpResponse,
6616
6668
  context: __SerdeContext
6617
6669
  ) => Promise<DisassociateAddressCommandOutput>;
6670
+ export declare const de_DisassociateCapacityReservationBillingOwnerCommand: (
6671
+ output: __HttpResponse,
6672
+ context: __SerdeContext
6673
+ ) => Promise<DisassociateCapacityReservationBillingOwnerCommandOutput>;
6618
6674
  export declare const de_DisassociateClientVpnTargetNetworkCommand: (
6619
6675
  output: __HttpResponse,
6620
6676
  context: __SerdeContext
@@ -7323,6 +7379,10 @@ export declare const de_RegisterTransitGatewayMulticastGroupSourcesCommand: (
7323
7379
  output: __HttpResponse,
7324
7380
  context: __SerdeContext
7325
7381
  ) => Promise<RegisterTransitGatewayMulticastGroupSourcesCommandOutput>;
7382
+ export declare const de_RejectCapacityReservationBillingOwnershipCommand: (
7383
+ output: __HttpResponse,
7384
+ context: __SerdeContext
7385
+ ) => Promise<RejectCapacityReservationBillingOwnershipCommandOutput>;
7326
7386
  export declare const de_RejectTransitGatewayMulticastDomainAssociationsCommand: (
7327
7387
  output: __HttpResponse,
7328
7388
  context: __SerdeContext
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.668.0",
4
+ "version": "3.669.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,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.668.0",
24
- "@aws-sdk/client-sts": "3.668.0",
23
+ "@aws-sdk/client-sso-oidc": "3.669.0",
24
+ "@aws-sdk/client-sts": "3.669.0",
25
25
  "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.668.0",
26
+ "@aws-sdk/credential-provider-node": "3.669.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
30
30
  "@aws-sdk/middleware-sdk-ec2": "3.667.0",
31
- "@aws-sdk/middleware-user-agent": "3.668.0",
31
+ "@aws-sdk/middleware-user-agent": "3.669.0",
32
32
  "@aws-sdk/region-config-resolver": "3.667.0",
33
33
  "@aws-sdk/types": "3.667.0",
34
34
  "@aws-sdk/util-endpoints": "3.667.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.667.0",
36
- "@aws-sdk/util-user-agent-node": "3.668.0",
36
+ "@aws-sdk/util-user-agent-node": "3.669.0",
37
37
  "@smithy/config-resolver": "^3.0.9",
38
38
  "@smithy/core": "^2.4.8",
39
39
  "@smithy/fetch-http-handler": "^3.2.9",