@aws-sdk/client-ec2 3.451.0 → 3.453.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 (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/EC2.js +6 -0
  3. package/dist-cjs/commands/DescribeLockedSnapshotsCommand.js +51 -0
  4. package/dist-cjs/commands/LockSnapshotCommand.js +51 -0
  5. package/dist-cjs/commands/RequestSpotInstancesCommand.js +3 -3
  6. package/dist-cjs/commands/UnlockSnapshotCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +3 -0
  8. package/dist-cjs/models/models_0.js +2 -0
  9. package/dist-cjs/models/models_4.js +8 -2
  10. package/dist-cjs/models/models_6.js +5 -23
  11. package/dist-cjs/models/models_7.js +24 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +305 -20
  13. package/dist-es/EC2.js +6 -0
  14. package/dist-es/commands/DescribeLockedSnapshotsCommand.js +47 -0
  15. package/dist-es/commands/LockSnapshotCommand.js +47 -0
  16. package/dist-es/commands/RequestSpotInstancesCommand.js +1 -1
  17. package/dist-es/commands/UnlockSnapshotCommand.js +47 -0
  18. package/dist-es/commands/index.js +3 -0
  19. package/dist-es/models/models_0.js +2 -0
  20. package/dist-es/models/models_4.js +6 -0
  21. package/dist-es/models/models_6.js +5 -20
  22. package/dist-es/models/models_7.js +20 -0
  23. package/dist-es/protocols/Aws_ec2.js +279 -0
  24. package/dist-types/EC2.d.ts +21 -0
  25. package/dist-types/EC2Client.d.ts +5 -2
  26. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  27. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  29. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
  33. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  37. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
  42. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  45. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  46. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
  51. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
  53. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  54. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  55. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  56. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
  57. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  58. package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
  59. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  60. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
  64. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  65. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  66. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  67. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  68. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  69. package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
  70. package/dist-types/commands/index.d.ts +3 -0
  71. package/dist-types/models/models_0.d.ts +9 -0
  72. package/dist-types/models/models_2.d.ts +7 -0
  73. package/dist-types/models/models_4.d.ts +154 -129
  74. package/dist-types/models/models_5.d.ts +130 -137
  75. package/dist-types/models/models_6.d.ts +326 -306
  76. package/dist-types/models/models_7.d.ts +331 -3
  77. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  78. package/dist-types/ts3.4/EC2.d.ts +51 -0
  79. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  80. package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
  82. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
  86. package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
  87. package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  93. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  94. package/dist-types/ts3.4/models/models_4.d.ts +29 -24
  95. package/dist-types/ts3.4/models/models_5.d.ts +24 -23
  96. package/dist-types/ts3.4/models/models_6.d.ts +55 -71
  97. package/dist-types/ts3.4/models/models_7.d.ts +75 -1
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +1 -1
@@ -1155,6 +1155,10 @@ import {
1155
1155
  DescribeLocalGatewayVirtualInterfacesCommandInput,
1156
1156
  DescribeLocalGatewayVirtualInterfacesCommandOutput,
1157
1157
  } from "../commands/DescribeLocalGatewayVirtualInterfacesCommand";
1158
+ import {
1159
+ DescribeLockedSnapshotsCommandInput,
1160
+ DescribeLockedSnapshotsCommandOutput,
1161
+ } from "../commands/DescribeLockedSnapshotsCommand";
1158
1162
  import {
1159
1163
  DescribeManagedPrefixListsCommandInput,
1160
1164
  DescribeManagedPrefixListsCommandOutput,
@@ -1899,6 +1903,10 @@ import {
1899
1903
  ListSnapshotsInRecycleBinCommandInput,
1900
1904
  ListSnapshotsInRecycleBinCommandOutput,
1901
1905
  } from "../commands/ListSnapshotsInRecycleBinCommand";
1906
+ import {
1907
+ LockSnapshotCommandInput,
1908
+ LockSnapshotCommandOutput,
1909
+ } from "../commands/LockSnapshotCommand";
1902
1910
  import {
1903
1911
  ModifyAddressAttributeCommandInput,
1904
1912
  ModifyAddressAttributeCommandOutput,
@@ -2411,6 +2419,10 @@ import {
2411
2419
  UnassignPrivateNatGatewayAddressCommandInput,
2412
2420
  UnassignPrivateNatGatewayAddressCommandOutput,
2413
2421
  } from "../commands/UnassignPrivateNatGatewayAddressCommand";
2422
+ import {
2423
+ UnlockSnapshotCommandInput,
2424
+ UnlockSnapshotCommandOutput,
2425
+ } from "../commands/UnlockSnapshotCommand";
2414
2426
  import {
2415
2427
  UnmonitorInstancesCommandInput,
2416
2428
  UnmonitorInstancesCommandOutput,
@@ -3579,6 +3591,10 @@ export declare const se_DescribeLocalGatewayVirtualInterfacesCommand: (
3579
3591
  input: DescribeLocalGatewayVirtualInterfacesCommandInput,
3580
3592
  context: __SerdeContext
3581
3593
  ) => Promise<__HttpRequest>;
3594
+ export declare const se_DescribeLockedSnapshotsCommand: (
3595
+ input: DescribeLockedSnapshotsCommandInput,
3596
+ context: __SerdeContext
3597
+ ) => Promise<__HttpRequest>;
3582
3598
  export declare const se_DescribeManagedPrefixListsCommand: (
3583
3599
  input: DescribeManagedPrefixListsCommandInput,
3584
3600
  context: __SerdeContext
@@ -4323,6 +4339,10 @@ export declare const se_ListSnapshotsInRecycleBinCommand: (
4323
4339
  input: ListSnapshotsInRecycleBinCommandInput,
4324
4340
  context: __SerdeContext
4325
4341
  ) => Promise<__HttpRequest>;
4342
+ export declare const se_LockSnapshotCommand: (
4343
+ input: LockSnapshotCommandInput,
4344
+ context: __SerdeContext
4345
+ ) => Promise<__HttpRequest>;
4326
4346
  export declare const se_ModifyAddressAttributeCommand: (
4327
4347
  input: ModifyAddressAttributeCommandInput,
4328
4348
  context: __SerdeContext
@@ -4835,6 +4855,10 @@ export declare const se_UnassignPrivateNatGatewayAddressCommand: (
4835
4855
  input: UnassignPrivateNatGatewayAddressCommandInput,
4836
4856
  context: __SerdeContext
4837
4857
  ) => Promise<__HttpRequest>;
4858
+ export declare const se_UnlockSnapshotCommand: (
4859
+ input: UnlockSnapshotCommandInput,
4860
+ context: __SerdeContext
4861
+ ) => Promise<__HttpRequest>;
4838
4862
  export declare const se_UnmonitorInstancesCommand: (
4839
4863
  input: UnmonitorInstancesCommandInput,
4840
4864
  context: __SerdeContext
@@ -6003,6 +6027,10 @@ export declare const de_DescribeLocalGatewayVirtualInterfacesCommand: (
6003
6027
  output: __HttpResponse,
6004
6028
  context: __SerdeContext
6005
6029
  ) => Promise<DescribeLocalGatewayVirtualInterfacesCommandOutput>;
6030
+ export declare const de_DescribeLockedSnapshotsCommand: (
6031
+ output: __HttpResponse,
6032
+ context: __SerdeContext
6033
+ ) => Promise<DescribeLockedSnapshotsCommandOutput>;
6006
6034
  export declare const de_DescribeManagedPrefixListsCommand: (
6007
6035
  output: __HttpResponse,
6008
6036
  context: __SerdeContext
@@ -6747,6 +6775,10 @@ export declare const de_ListSnapshotsInRecycleBinCommand: (
6747
6775
  output: __HttpResponse,
6748
6776
  context: __SerdeContext
6749
6777
  ) => Promise<ListSnapshotsInRecycleBinCommandOutput>;
6778
+ export declare const de_LockSnapshotCommand: (
6779
+ output: __HttpResponse,
6780
+ context: __SerdeContext
6781
+ ) => Promise<LockSnapshotCommandOutput>;
6750
6782
  export declare const de_ModifyAddressAttributeCommand: (
6751
6783
  output: __HttpResponse,
6752
6784
  context: __SerdeContext
@@ -7259,6 +7291,10 @@ export declare const de_UnassignPrivateNatGatewayAddressCommand: (
7259
7291
  output: __HttpResponse,
7260
7292
  context: __SerdeContext
7261
7293
  ) => Promise<UnassignPrivateNatGatewayAddressCommandOutput>;
7294
+ export declare const de_UnlockSnapshotCommand: (
7295
+ output: __HttpResponse,
7296
+ context: __SerdeContext
7297
+ ) => Promise<UnlockSnapshotCommandOutput>;
7262
7298
  export declare const de_UnmonitorInstancesCommand: (
7263
7299
  output: __HttpResponse,
7264
7300
  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.451.0",
4
+ "version": "3.453.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",