@aws-sdk/client-ec2 3.450.0 → 3.452.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 (87) 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 +1 -0
  9. package/dist-cjs/models/models_4.js +8 -2
  10. package/dist-cjs/models/models_6.js +5 -18
  11. package/dist-cjs/models/models_7.js +20 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +285 -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 +1 -0
  20. package/dist-es/models/models_4.js +6 -0
  21. package/dist-es/models/models_6.js +5 -16
  22. package/dist-es/models/models_7.js +17 -0
  23. package/dist-es/protocols/Aws_ec2.js +259 -0
  24. package/dist-types/EC2.d.ts +21 -0
  25. package/dist-types/EC2Client.d.ts +5 -2
  26. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  27. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  28. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  30. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  32. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  34. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
  37. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  43. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
  44. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
  46. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  47. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  48. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
  49. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  50. package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
  51. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  54. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  55. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  56. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  57. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  58. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  59. package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
  60. package/dist-types/commands/index.d.ts +3 -0
  61. package/dist-types/models/models_0.d.ts +1 -0
  62. package/dist-types/models/models_4.d.ts +154 -129
  63. package/dist-types/models/models_5.d.ts +130 -137
  64. package/dist-types/models/models_6.d.ts +309 -210
  65. package/dist-types/models/models_7.d.ts +235 -3
  66. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  67. package/dist-types/ts3.4/EC2.d.ts +51 -0
  68. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  69. package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
  75. package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
  76. package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  82. package/dist-types/ts3.4/models/models_4.d.ts +29 -24
  83. package/dist-types/ts3.4/models/models_5.d.ts +24 -23
  84. package/dist-types/ts3.4/models/models_6.d.ts +51 -47
  85. package/dist-types/ts3.4/models/models_7.d.ts +54 -1
  86. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  87. package/package.json +37 -37
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.450.0",
4
+ "version": "3.452.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",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.450.0",
25
- "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.450.0",
27
- "@aws-sdk/middleware-host-header": "3.449.0",
28
- "@aws-sdk/middleware-logger": "3.449.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
- "@aws-sdk/middleware-sdk-ec2": "3.449.0",
31
- "@aws-sdk/middleware-signing": "3.449.0",
32
- "@aws-sdk/middleware-user-agent": "3.449.0",
33
- "@aws-sdk/region-config-resolver": "3.433.0",
34
- "@aws-sdk/types": "3.449.0",
35
- "@aws-sdk/util-endpoints": "3.449.0",
36
- "@aws-sdk/util-user-agent-browser": "3.449.0",
37
- "@aws-sdk/util-user-agent-node": "3.449.0",
38
- "@smithy/config-resolver": "^2.0.16",
39
- "@smithy/fetch-http-handler": "^2.2.4",
40
- "@smithy/hash-node": "^2.0.12",
41
- "@smithy/invalid-dependency": "^2.0.12",
42
- "@smithy/middleware-content-length": "^2.0.14",
43
- "@smithy/middleware-endpoint": "^2.1.3",
44
- "@smithy/middleware-retry": "^2.0.18",
45
- "@smithy/middleware-serde": "^2.0.12",
46
- "@smithy/middleware-stack": "^2.0.6",
47
- "@smithy/node-config-provider": "^2.1.3",
48
- "@smithy/node-http-handler": "^2.1.8",
49
- "@smithy/protocol-http": "^3.0.8",
50
- "@smithy/smithy-client": "^2.1.12",
51
- "@smithy/types": "^2.4.0",
52
- "@smithy/url-parser": "^2.0.12",
53
- "@smithy/util-base64": "^2.0.0",
24
+ "@aws-sdk/client-sts": "3.451.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.451.0",
31
+ "@aws-sdk/middleware-signing": "3.451.0",
32
+ "@aws-sdk/middleware-user-agent": "3.451.0",
33
+ "@aws-sdk/region-config-resolver": "3.451.0",
34
+ "@aws-sdk/types": "3.451.0",
35
+ "@aws-sdk/util-endpoints": "3.451.0",
36
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
37
+ "@aws-sdk/util-user-agent-node": "3.451.0",
38
+ "@smithy/config-resolver": "^2.0.18",
39
+ "@smithy/fetch-http-handler": "^2.2.6",
40
+ "@smithy/hash-node": "^2.0.15",
41
+ "@smithy/invalid-dependency": "^2.0.13",
42
+ "@smithy/middleware-content-length": "^2.0.15",
43
+ "@smithy/middleware-endpoint": "^2.2.0",
44
+ "@smithy/middleware-retry": "^2.0.20",
45
+ "@smithy/middleware-serde": "^2.0.13",
46
+ "@smithy/middleware-stack": "^2.0.7",
47
+ "@smithy/node-config-provider": "^2.1.5",
48
+ "@smithy/node-http-handler": "^2.1.9",
49
+ "@smithy/protocol-http": "^3.0.9",
50
+ "@smithy/smithy-client": "^2.1.15",
51
+ "@smithy/types": "^2.5.0",
52
+ "@smithy/url-parser": "^2.0.13",
53
+ "@smithy/util-base64": "^2.0.1",
54
54
  "@smithy/util-body-length-browser": "^2.0.0",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
- "@smithy/util-defaults-mode-browser": "^2.0.16",
57
- "@smithy/util-defaults-mode-node": "^2.0.21",
58
- "@smithy/util-endpoints": "^1.0.2",
59
- "@smithy/util-retry": "^2.0.5",
60
- "@smithy/util-utf8": "^2.0.0",
61
- "@smithy/util-waiter": "^2.0.12",
56
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
57
+ "@smithy/util-defaults-mode-node": "^2.0.25",
58
+ "@smithy/util-endpoints": "^1.0.4",
59
+ "@smithy/util-retry": "^2.0.6",
60
+ "@smithy/util-utf8": "^2.0.2",
61
+ "@smithy/util-waiter": "^2.0.13",
62
62
  "fast-xml-parser": "4.2.5",
63
63
  "tslib": "^2.5.0",
64
64
  "uuid": "^8.3.2"