@aws-sdk/client-ec2 3.695.0 → 3.697.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 (162) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +730 -57
  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 +7 -4
  12. package/dist-es/models/models_2.js +20 -0
  13. package/dist-es/models/models_3.js +0 -6
  14. package/dist-es/models/models_4.js +6 -15
  15. package/dist-es/models/models_5.js +25 -0
  16. package/dist-es/protocols/Aws_ec2.js +563 -28
  17. package/dist-types/EC2.d.ts +44 -0
  18. package/dist-types/EC2Client.d.ts +8 -2
  19. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  20. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  21. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  22. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  28. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  31. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  32. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -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/DeleteInstanceEventWindowCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  44. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  45. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  46. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  47. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  48. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  52. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -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/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  65. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  66. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  67. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  68. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  69. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  70. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  71. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  72. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  74. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  75. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  76. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  77. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  78. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  79. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  80. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  81. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  82. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  84. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  85. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  86. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  87. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  90. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  91. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  92. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  93. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  94. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  95. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  96. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  97. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  98. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  99. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  100. package/dist-types/commands/index.d.ts +6 -0
  101. package/dist-types/models/models_0.d.ts +27 -23
  102. package/dist-types/models/models_1.d.ts +310 -277
  103. package/dist-types/models/models_2.d.ts +417 -219
  104. package/dist-types/models/models_3.d.ts +268 -589
  105. package/dist-types/models/models_4.d.ts +6951 -7048
  106. package/dist-types/models/models_5.d.ts +3709 -3519
  107. package/dist-types/models/models_6.d.ts +4429 -4255
  108. package/dist-types/models/models_7.d.ts +624 -29
  109. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  110. package/dist-types/ts3.4/EC2.d.ts +140 -0
  111. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  132. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  136. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  154. package/dist-types/ts3.4/models/models_1.d.ts +34 -60
  155. package/dist-types/ts3.4/models/models_2.d.ts +102 -57
  156. package/dist-types/ts3.4/models/models_3.d.ts +64 -117
  157. package/dist-types/ts3.4/models/models_4.d.ts +119 -113
  158. package/dist-types/ts3.4/models/models_5.d.ts +152 -141
  159. package/dist-types/ts3.4/models/models_6.d.ts +139 -138
  160. package/dist-types/ts3.4/models/models_7.d.ts +158 -3
  161. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  162. package/package.json +37 -37
@@ -6182,20 +6182,22 @@ export interface AuthorizeSecurityGroupIngressResult {
6182
6182
  SecurityGroupRules?: SecurityGroupRule[] | undefined;
6183
6183
  }
6184
6184
  /**
6185
- * <p>Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.</p>
6185
+ * <p>Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed
6186
+ * AMI.</p>
6186
6187
  * @public
6187
6188
  */
6188
6189
  export interface S3Storage {
6189
6190
  /**
6190
6191
  * <p>The access key ID of the owner of the bucket. Before you specify a value for your access
6191
- * key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html">Best
6192
- * Practices for Amazon Web Services accounts</a> in the <i>Account ManagementReference
6193
- * Guide</i>.</p>
6192
+ * key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html">Best Practices for Amazon Web Services
6193
+ * accounts</a> in the <i>Account ManagementReference Guide</i>.</p>
6194
6194
  * @public
6195
6195
  */
6196
6196
  AWSAccessKeyId?: string | undefined;
6197
6197
  /**
6198
- * <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.</p>
6198
+ * <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
6199
+ * new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone
6200
+ * else, Amazon EC2 returns an error.</p>
6199
6201
  * @public
6200
6202
  */
6201
6203
  Bucket?: string | undefined;
@@ -6205,7 +6207,8 @@ export interface S3Storage {
6205
6207
  */
6206
6208
  Prefix?: string | undefined;
6207
6209
  /**
6208
- * <p>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.</p>
6210
+ * <p>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your
6211
+ * behalf.</p>
6209
6212
  * @public
6210
6213
  */
6211
6214
  UploadPolicy?: Uint8Array | undefined;
@@ -6238,7 +6241,9 @@ export interface BundleInstanceRequest {
6238
6241
  */
6239
6242
  InstanceId: string | undefined;
6240
6243
  /**
6241
- * <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.</p>
6244
+ * <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
6245
+ * new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone
6246
+ * else, Amazon EC2 returns an error.</p>
6242
6247
  * @public
6243
6248
  */
6244
6249
  Storage: Storage | undefined;
@@ -7041,9 +7046,9 @@ export interface CopyFpgaImageResult {
7041
7046
  */
7042
7047
  export interface CopyImageRequest {
7043
7048
  /**
7044
- * <p>Unique, case-sensitive identifier you provide to ensure
7045
- * idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
7046
- * in the <i>Amazon EC2 API Reference</i>.</p>
7049
+ * <p>Unique, case-sensitive identifier you provide to ensure idempotency of the request. For
7050
+ * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
7051
+ * in the <i>Amazon EC2 API Reference</i>.</p>
7047
7052
  * @public
7048
7053
  */
7049
7054
  ClientToken?: string | undefined;
@@ -7062,9 +7067,9 @@ export interface CopyImageRequest {
7062
7067
  */
7063
7068
  Encrypted?: boolean | undefined;
7064
7069
  /**
7065
- * <p>The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating
7066
- * encrypted volumes. If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used.
7067
- * If you specify a KMS key, you must also set the encrypted state to <code>true</code>.</p>
7070
+ * <p>The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating encrypted volumes.
7071
+ * If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. If you
7072
+ * specify a KMS key, you must also set the encrypted state to <code>true</code>.</p>
7068
7073
  * <p>You can specify a KMS key using any of the following:</p>
7069
7074
  * <ul>
7070
7075
  * <li>
@@ -7080,8 +7085,8 @@ export interface CopyImageRequest {
7080
7085
  * <p>Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.</p>
7081
7086
  * </li>
7082
7087
  * </ul>
7083
- * <p>Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier that is not valid,
7084
- * the action can appear to complete, but eventually fails.</p>
7088
+ * <p>Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier
7089
+ * that is not valid, the action can appear to complete, but eventually fails.</p>
7085
7090
  * <p>The specified KMS key must exist in the destination Region.</p>
7086
7091
  * <p>Amazon EBS does not support asymmetric KMS keys.</p>
7087
7092
  * @public
@@ -7103,13 +7108,12 @@ export interface CopyImageRequest {
7103
7108
  */
7104
7109
  SourceRegion: string | undefined;
7105
7110
  /**
7106
- * <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only
7107
- * specify this parameter when copying an AMI from an Amazon Web Services Region to an Outpost.
7108
- * The AMI must be in the Region of the destination Outpost. You cannot copy an
7109
- * AMI from an Outpost to a Region, from one Outpost to another, or within the same
7110
- * Outpost.</p>
7111
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis">Copy AMIs from an Amazon Web Services
7112
- * Region to an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
7111
+ * <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this
7112
+ * parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The AMI must be in the
7113
+ * Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from
7114
+ * one Outpost to another, or within the same Outpost.</p>
7115
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis">Copy AMIs from an Amazon Web Services Region
7116
+ * to an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
7113
7117
  * @public
7114
7118
  */
7115
7119
  DestinationOutpostArn?: string | undefined;
@@ -7139,7 +7143,7 @@ export interface CopyImageRequest {
7139
7143
  * </li>
7140
7144
  * <li>
7141
7145
  * <p>To tag the new snapshots, the value for <code>ResourceType</code> must be
7142
- * <code>snapshot</code>. The same tag is applied to all the new snapshots.</p>
7146
+ * <code>snapshot</code>. The same tag is applied to all the new snapshots.</p>
7143
7147
  * </li>
7144
7148
  * </ul>
7145
7149
  * <p>If you specify other values for <code>ResourceType</code>, the request fails.</p>