@aws-sdk/client-ec2 3.437.0 → 3.440.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 (96) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +4 -0
  3. package/dist-cjs/commands/DescribeCapacityBlockOfferingsCommand.js +51 -0
  4. package/dist-cjs/commands/PurchaseCapacityBlockCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/endpointResolver.js +1 -1
  7. package/dist-cjs/index.js +1 -0
  8. package/dist-cjs/models/models_0.js +8 -1
  9. package/dist-cjs/models/models_1.js +2 -0
  10. package/dist-cjs/models/models_3.js +2 -6
  11. package/dist-cjs/models/models_4.js +8 -2
  12. package/dist-cjs/pagination/DescribeCapacityBlockOfferingsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +2 -1
  14. package/dist-cjs/protocols/Aws_ec2.js +213 -20
  15. package/dist-es/EC2.js +4 -0
  16. package/dist-es/commands/DescribeCapacityBlockOfferingsCommand.js +47 -0
  17. package/dist-es/commands/PurchaseCapacityBlockCommand.js +47 -0
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/endpoint/endpointResolver.js +1 -1
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/models/models_0.js +7 -0
  22. package/dist-es/models/models_1.js +2 -0
  23. package/dist-es/models/models_3.js +0 -4
  24. package/dist-es/models/models_4.js +6 -0
  25. package/dist-es/pagination/DescribeCapacityBlockOfferingsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +2 -1
  27. package/dist-es/protocols/Aws_ec2.js +188 -0
  28. package/dist-types/EC2.d.ts +14 -0
  29. package/dist-types/EC2Client.d.ts +4 -2
  30. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  31. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  34. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +94 -0
  36. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -3
  40. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  43. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  44. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  45. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  46. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  47. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -2
  48. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  49. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +122 -0
  50. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +2 -1
  51. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  52. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  53. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -2
  54. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  55. package/dist-types/commands/index.d.ts +2 -0
  56. package/dist-types/index.d.ts +1 -0
  57. package/dist-types/models/models_0.d.ts +20 -16
  58. package/dist-types/models/models_1.d.ts +22 -51
  59. package/dist-types/models/models_2.d.ts +49 -18
  60. package/dist-types/models/models_3.d.ts +135 -788
  61. package/dist-types/models/models_4.d.ts +792 -120
  62. package/dist-types/models/models_5.d.ts +118 -141
  63. package/dist-types/models/models_6.d.ts +176 -217
  64. package/dist-types/models/models_7.d.ts +216 -1
  65. package/dist-types/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +7 -0
  66. package/dist-types/pagination/index.d.ts +2 -1
  67. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  68. package/dist-types/ts3.4/EC2.d.ts +34 -0
  69. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  70. package/dist-types/ts3.4/commands/DeletePublicIpv4PoolCommand.d.ts +4 -2
  71. package/dist-types/ts3.4/commands/DescribeCapacityBlockOfferingsCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +10 -4
  86. package/dist-types/ts3.4/models/models_1.d.ts +6 -11
  87. package/dist-types/ts3.4/models/models_2.d.ts +13 -5
  88. package/dist-types/ts3.4/models/models_3.d.ts +31 -25
  89. package/dist-types/ts3.4/models/models_4.d.ts +28 -30
  90. package/dist-types/ts3.4/models/models_5.d.ts +26 -22
  91. package/dist-types/ts3.4/models/models_6.d.ts +33 -47
  92. package/dist-types/ts3.4/models/models_7.d.ts +46 -0
  93. package/dist-types/ts3.4/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  95. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  96. package/package.json +6 -5
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.437.0",
4
+ "version": "3.440.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,18 +21,18 @@
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.437.0",
24
+ "@aws-sdk/client-sts": "3.438.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.437.0",
26
+ "@aws-sdk/credential-provider-node": "3.438.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
30
  "@aws-sdk/middleware-sdk-ec2": "3.433.0",
31
31
  "@aws-sdk/middleware-signing": "3.433.0",
32
- "@aws-sdk/middleware-user-agent": "3.433.0",
32
+ "@aws-sdk/middleware-user-agent": "3.438.0",
33
33
  "@aws-sdk/region-config-resolver": "3.433.0",
34
34
  "@aws-sdk/types": "3.433.0",
35
- "@aws-sdk/util-endpoints": "3.433.0",
35
+ "@aws-sdk/util-endpoints": "3.438.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.433.0",
37
37
  "@aws-sdk/util-user-agent-node": "3.437.0",
38
38
  "@smithy/config-resolver": "^2.0.16",
@@ -55,6 +55,7 @@
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
56
  "@smithy/util-defaults-mode-browser": "^2.0.16",
57
57
  "@smithy/util-defaults-mode-node": "^2.0.21",
58
+ "@smithy/util-endpoints": "^1.0.2",
58
59
  "@smithy/util-retry": "^2.0.5",
59
60
  "@smithy/util-utf8": "^2.0.0",
60
61
  "@smithy/util-waiter": "^2.0.12",