@aws-sdk/client-ec2 3.694.0 → 3.696.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 (144) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +672 -54
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +5 -0
  12. package/dist-es/models/models_2.js +16 -0
  13. package/dist-es/models/models_4.js +0 -15
  14. package/dist-es/models/models_5.js +25 -0
  15. package/dist-es/models/models_6.js +0 -4
  16. package/dist-es/models/models_7.js +4 -1
  17. package/dist-es/protocols/Aws_ec2.js +511 -32
  18. package/dist-types/EC2.d.ts +44 -0
  19. package/dist-types/EC2Client.d.ts +8 -2
  20. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  21. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  22. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  23. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +10 -0
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +11 -0
  28. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +7 -0
  30. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  33. package/dist-types/commands/CreateVolumeCommand.d.ts +7 -0
  34. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  35. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  43. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  44. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  45. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  49. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  50. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +4 -0
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +9 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +8 -0
  55. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -2
  61. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  65. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  66. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  67. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  68. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  69. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  70. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  71. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  74. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  75. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  76. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -2
  77. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -0
  78. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  79. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  80. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +4 -0
  81. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  88. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  89. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  90. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  91. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  92. package/dist-types/commands/index.d.ts +6 -0
  93. package/dist-types/models/models_0.d.ts +27 -23
  94. package/dist-types/models/models_1.d.ts +120 -116
  95. package/dist-types/models/models_2.d.ts +276 -143
  96. package/dist-types/models/models_3.d.ts +192 -409
  97. package/dist-types/models/models_4.d.ts +1119 -1064
  98. package/dist-types/models/models_5.d.ts +2975 -2932
  99. package/dist-types/models/models_6.d.ts +4328 -4255
  100. package/dist-types/models/models_7.d.ts +564 -29
  101. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  102. package/dist-types/ts3.4/EC2.d.ts +140 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  104. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +4 -2
  119. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +4 -2
  127. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  136. package/dist-types/ts3.4/models/models_1.d.ts +24 -27
  137. package/dist-types/ts3.4/models/models_2.d.ts +74 -40
  138. package/dist-types/ts3.4/models/models_3.d.ts +48 -76
  139. package/dist-types/ts3.4/models/models_4.d.ts +83 -77
  140. package/dist-types/ts3.4/models/models_5.d.ts +117 -107
  141. package/dist-types/ts3.4/models/models_6.d.ts +112 -117
  142. package/dist-types/ts3.4/models/models_7.d.ts +137 -3
  143. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  144. package/package.json +37 -37
package/README.md CHANGED
@@ -1285,6 +1285,14 @@ CreateVpc
1285
1285
 
1286
1286
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateVpcCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcCommandOutput/)
1287
1287
 
1288
+ </details>
1289
+ <details>
1290
+ <summary>
1291
+ CreateVpcBlockPublicAccessExclusion
1292
+ </summary>
1293
+
1294
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateVpcBlockPublicAccessExclusionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcBlockPublicAccessExclusionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcBlockPublicAccessExclusionCommandOutput/)
1295
+
1288
1296
  </details>
1289
1297
  <details>
1290
1298
  <summary>
@@ -1885,6 +1893,14 @@ DeleteVpc
1885
1893
 
1886
1894
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteVpcCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcCommandOutput/)
1887
1895
 
1896
+ </details>
1897
+ <details>
1898
+ <summary>
1899
+ DeleteVpcBlockPublicAccessExclusion
1900
+ </summary>
1901
+
1902
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteVpcBlockPublicAccessExclusionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcBlockPublicAccessExclusionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcBlockPublicAccessExclusionCommandOutput/)
1903
+
1888
1904
  </details>
1889
1905
  <details>
1890
1906
  <summary>
@@ -3149,6 +3165,22 @@ DescribeVpcAttribute
3149
3165
 
3150
3166
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeVpcAttributeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcAttributeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcAttributeCommandOutput/)
3151
3167
 
3168
+ </details>
3169
+ <details>
3170
+ <summary>
3171
+ DescribeVpcBlockPublicAccessExclusions
3172
+ </summary>
3173
+
3174
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeVpcBlockPublicAccessExclusionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcBlockPublicAccessExclusionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcBlockPublicAccessExclusionsCommandOutput/)
3175
+
3176
+ </details>
3177
+ <details>
3178
+ <summary>
3179
+ DescribeVpcBlockPublicAccessOptions
3180
+ </summary>
3181
+
3182
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeVpcBlockPublicAccessOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcBlockPublicAccessOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcBlockPublicAccessOptionsCommandOutput/)
3183
+
3152
3184
  </details>
3153
3185
  <details>
3154
3186
  <summary>
@@ -4637,6 +4669,22 @@ ModifyVpcAttribute
4637
4669
 
4638
4670
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyVpcAttributeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcAttributeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcAttributeCommandOutput/)
4639
4671
 
4672
+ </details>
4673
+ <details>
4674
+ <summary>
4675
+ ModifyVpcBlockPublicAccessExclusion
4676
+ </summary>
4677
+
4678
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyVpcBlockPublicAccessExclusionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcBlockPublicAccessExclusionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcBlockPublicAccessExclusionCommandOutput/)
4679
+
4680
+ </details>
4681
+ <details>
4682
+ <summary>
4683
+ ModifyVpcBlockPublicAccessOptions
4684
+ </summary>
4685
+
4686
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyVpcBlockPublicAccessOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcBlockPublicAccessOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyVpcBlockPublicAccessOptionsCommandOutput/)
4687
+
4640
4688
  </details>
4641
4689
  <details>
4642
4690
  <summary>