@aws-sdk/client-ec2 3.529.1 → 3.532.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 (70) hide show
  1. package/README.md +2 -25
  2. package/dist-types/EC2.d.ts +2 -25
  3. package/dist-types/EC2Client.d.ts +2 -25
  4. package/dist-types/commands/AttachVolumeCommand.d.ts +4 -4
  5. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +13 -17
  6. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +12 -11
  7. package/dist-types/commands/BundleInstanceCommand.d.ts +2 -4
  8. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +4 -3
  9. package/dist-types/commands/CopyImageCommand.d.ts +16 -13
  10. package/dist-types/commands/CopySnapshotCommand.d.ts +4 -4
  11. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +30 -32
  12. package/dist-types/commands/CreateImageCommand.d.ts +5 -6
  13. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateVolumeCommand.d.ts +4 -4
  17. package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -2
  19. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  20. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +5 -0
  22. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +4 -6
  23. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  24. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -7
  25. package/dist-types/commands/DescribeRegionsCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -2
  30. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeTagsCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -2
  34. package/dist-types/commands/DescribeVolumesCommand.d.ts +6 -1
  35. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  36. package/dist-types/commands/DetachVolumeCommand.d.ts +2 -2
  37. package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +2 -2
  38. package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -6
  39. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  40. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +2 -2
  41. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +3 -3
  42. package/dist-types/commands/EnableFastLaunchCommand.d.ts +7 -8
  43. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +2 -2
  44. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -2
  45. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +2 -2
  46. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
  47. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +2 -2
  48. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +2 -2
  49. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  50. package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +2 -2
  51. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -7
  52. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
  53. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +2 -2
  54. package/dist-types/commands/ModifyVolumeCommand.d.ts +4 -5
  55. package/dist-types/commands/RegisterImageCommand.d.ts +11 -11
  56. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
  57. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +2 -2
  58. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -2
  59. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +2 -2
  60. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +3 -3
  61. package/dist-types/index.d.ts +2 -25
  62. package/dist-types/models/models_0.d.ts +79 -92
  63. package/dist-types/models/models_1.d.ts +24 -26
  64. package/dist-types/models/models_2.d.ts +30 -25
  65. package/dist-types/models/models_3.d.ts +77 -87
  66. package/dist-types/models/models_4.d.ts +19 -12
  67. package/dist-types/models/models_5.d.ts +33 -40
  68. package/dist-types/models/models_6.d.ts +59 -74
  69. package/dist-types/models/models_7.d.ts +7 -6
  70. package/package.json +1 -1
@@ -1074,8 +1074,7 @@ export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typ
1074
1074
  export interface ResetImageAttributeRequest {
1075
1075
  /**
1076
1076
  * @public
1077
- * <p>The attribute to reset (currently you can only reset the launch permission
1078
- * attribute).</p>
1077
+ * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
1079
1078
  */
1080
1079
  Attribute: ResetImageAttributeName | undefined;
1081
1080
  /**
@@ -1287,8 +1286,8 @@ export interface RestoreSnapshotFromRecycleBinResult {
1287
1286
  SnapshotId?: string;
1288
1287
  /**
1289
1288
  * @public
1290
- * <p>The ARN of the Outpost on which the snapshot is stored. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html">Amazon EBS local snapshots on Outposts</a> in the
1291
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
1289
+ * <p>The ARN of the Outpost on which the snapshot is stored. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html">Amazon EBS local snapshots on Outposts</a> in the
1290
+ * <i>Amazon EBS User Guide</i>.</p>
1292
1291
  */
1293
1292
  OutpostArn?: string;
1294
1293
  /**
@@ -1527,7 +1526,7 @@ export interface RevokeSecurityGroupIngressRequest {
1527
1526
  /**
1528
1527
  * @public
1529
1528
  * <p>If the protocol is TCP or UDP, this is the start of the port range.
1530
- * If the protocol is ICMP, this is the type number. A value of -1 indicates all ICMP types.</p>
1529
+ * If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).</p>
1531
1530
  */
1532
1531
  FromPort?: number;
1533
1532
  /**
@@ -1570,7 +1569,7 @@ export interface RevokeSecurityGroupIngressRequest {
1570
1569
  /**
1571
1570
  * @public
1572
1571
  * <p>If the protocol is TCP or UDP, this is the end of the port range.
1573
- * If the protocol is ICMP, this is the code. A value of -1 indicates all ICMP codes.</p>
1572
+ * If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).</p>
1574
1573
  */
1575
1574
  ToPort?: number;
1576
1575
  /**
@@ -1884,6 +1883,8 @@ export interface InstanceMetadataOptionsRequest {
1884
1883
  /**
1885
1884
  * @public
1886
1885
  * <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
1886
+ * <p>Default: <code>disabled</code>
1887
+ * </p>
1887
1888
  */
1888
1889
  HttpProtocolIpv6?: InstanceMetadataProtocolState;
1889
1890
  /**
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.529.1",
4
+ "version": "3.532.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",