@aws-sdk/client-ec2 3.865.0 → 3.866.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.
package/dist-cjs/index.js CHANGED
@@ -18098,6 +18098,9 @@ var se_AssociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => {
18098
18098
  if (input[_GI] != null) {
18099
18099
  entries[_GI] = input[_GI];
18100
18100
  }
18101
+ if (input[_PIP] != null) {
18102
+ entries[_PIP] = input[_PIP];
18103
+ }
18101
18104
  if (input[_DRr] != null) {
18102
18105
  entries[_DRr] = input[_DRr];
18103
18106
  }
@@ -58233,6 +58236,9 @@ var de_RouteTableAssociation = /* @__PURE__ */ __name((output, context) => {
58233
58236
  if (output[_gI] != null) {
58234
58237
  contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]);
58235
58238
  }
58239
+ if (output[_pIP] != null) {
58240
+ contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]);
58241
+ }
58236
58242
  if (output[_aS] != null) {
58237
58243
  contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);
58238
58244
  }
@@ -16505,6 +16505,9 @@ const se_AssociateRouteTableRequest = (input, context) => {
16505
16505
  if (input[_GI] != null) {
16506
16506
  entries[_GI] = input[_GI];
16507
16507
  }
16508
+ if (input[_PIP] != null) {
16509
+ entries[_PIP] = input[_PIP];
16510
+ }
16508
16511
  if (input[_DRr] != null) {
16509
16512
  entries[_DRr] = input[_DRr];
16510
16513
  }
@@ -57771,6 +57774,9 @@ const de_RouteTableAssociation = (output, context) => {
57771
57774
  if (output[_gI] != null) {
57772
57775
  contents[_GI] = __expectString(output[_gI]);
57773
57776
  }
57777
+ if (output[_pIP] != null) {
57778
+ contents[_PIP] = __expectString(output[_pIP]);
57779
+ }
57774
57780
  if (output[_aS] != null) {
57775
57781
  contents[_ASs] = de_RouteTableAssociationState(output[_aS], context);
57776
57782
  }
@@ -37,7 +37,6 @@ declare const AdvertiseByoipCidrCommand_base: {
37
37
  * location and start advertising it through Amazon Web Services.</p>
38
38
  * <p>It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services
39
39
  * because of BGP propagation delays.</p>
40
- * <p>To stop advertising the BYOIP CIDR, use <a>WithdrawByoipCidr</a>.</p>
41
40
  * @example
42
41
  * Use a bare-bones client and the command you need to make an API call.
43
42
  * ```javascript
@@ -42,6 +42,7 @@ declare const AssociateRouteTableCommand_base: {
42
42
  * const client = new EC2Client(config);
43
43
  * const input = { // AssociateRouteTableRequest
44
44
  * GatewayId: "STRING_VALUE",
45
+ * PublicIpv4Pool: "STRING_VALUE",
45
46
  * DryRun: true || false,
46
47
  * SubnetId: "STRING_VALUE",
47
48
  * RouteTableId: "STRING_VALUE", // required
@@ -63,6 +63,7 @@ declare const CreateRouteTableCommand_base: {
63
63
  * // RouteTableId: "STRING_VALUE",
64
64
  * // SubnetId: "STRING_VALUE",
65
65
  * // GatewayId: "STRING_VALUE",
66
+ * // PublicIpv4Pool: "STRING_VALUE",
66
67
  * // AssociationState: { // RouteTableAssociationState
67
68
  * // State: "associating" || "associated" || "disassociating" || "disassociated" || "failed",
68
69
  * // StatusMessage: "STRING_VALUE",
@@ -29,8 +29,8 @@ declare const DeprovisionByoipCidrCommand_base: {
29
29
  /**
30
30
  * <p>Releases the specified address range that you provisioned for use with your Amazon Web Services resources
31
31
  * through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.</p>
32
- * <p>Before you can release an address range, you must stop advertising it using <a>WithdrawByoipCidr</a> and you must not have any IP addresses allocated from its
33
- * address range.</p>
32
+ * <p>Before you can release an address range, you must stop advertising it and you must not
33
+ * have any IP addresses allocated from its address range.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -27,9 +27,8 @@ declare const DescribeByoipCidrsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes the IP address ranges that were specified in calls to <a>ProvisionByoipCidr</a>.</p>
31
- * <p>To describe the address pools that were created when you provisioned the address
32
- * ranges, use <a>DescribePublicIpv4Pools</a> or <a>DescribeIpv6Pools</a>.</p>
30
+ * <p>Describes the IP address ranges that were provisioned for use with Amazon Web Services resources
31
+ * through through bring your own IP addresses (BYOIP).</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -40,7 +40,7 @@ declare const DescribeImagesCommand_base: {
40
40
  * results, with the <code>imageAllowed</code> field set to <code>true</code> for each image. In
41
41
  * <code>audit-mode</code>, the <code>imageAllowed</code> field is set to <code>true</code> for
42
42
  * images that meet the account's Allowed AMIs criteria, and <code>false</code> for images that
43
- * don't meet the criteria. For more information, see <a>EnableAllowedImagesSettings</a>.</p>
43
+ * don't meet the criteria. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Allowed AMIs</a>.</p>
44
44
  * <p>The Amazon EC2 API follows an eventual consistency model. This means that the result of an API
45
45
  * command you run that creates or modifies resources might not be immediately available to all
46
46
  * subsequent commands you run. For guidance on how to manage eventual consistency, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html">Eventual
@@ -28,7 +28,6 @@ declare const DescribeManagedPrefixListsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.</p>
31
- * <p>To view the entries for your prefix list, use <a>GetManagedPrefixListEntries</a>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -29,7 +29,6 @@ declare const DescribePrefixListsCommand_base: {
29
29
  /**
30
30
  * <p>Describes available Amazon Web Services services in a prefix list format, which includes the prefix list
31
31
  * name and prefix list ID of the service and the IP address range for the service.</p>
32
- * <p>We recommend that you use <a>DescribeManagedPrefixLists</a> instead.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -67,6 +67,7 @@ declare const DescribeRouteTablesCommand_base: {
67
67
  * // RouteTableId: "STRING_VALUE",
68
68
  * // SubnetId: "STRING_VALUE",
69
69
  * // GatewayId: "STRING_VALUE",
70
+ * // PublicIpv4Pool: "STRING_VALUE",
70
71
  * // AssociationState: { // RouteTableAssociationState
71
72
  * // State: "associating" || "associated" || "disassociating" || "disassociated" || "failed",
72
73
  * // StatusMessage: "STRING_VALUE",
@@ -29,8 +29,7 @@ declare const EnableImageDeregistrationProtectionCommand_base: {
29
29
  /**
30
30
  * <p>Enables deregistration protection for an AMI. When deregistration protection is enabled,
31
31
  * the AMI can't be deregistered.</p>
32
- * <p>To allow the AMI to be deregistered, you must first disable deregistration protection
33
- * using <a>DisableImageDeregistrationProtection</a>.</p>
32
+ * <p>To allow the AMI to be deregistered, you must first disable deregistration protection.</p>
34
33
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html">Protect an
35
34
  * Amazon EC2 AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
36
35
  * @example
@@ -33,8 +33,7 @@ declare const MoveAddressToVpcCommand_base: {
33
33
  * <p>Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The
34
34
  * Elastic IP address must be allocated to your account for more than 24 hours, and it must not
35
35
  * be associated with an instance. After the Elastic IP address is moved, it is no longer
36
- * available for use in the EC2-Classic platform, unless you move it back using the
37
- * <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
36
+ * available for use in the EC2-Classic platform. You cannot move an Elastic IP address that was
38
37
  * originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
39
38
  * @example
40
39
  * Use a bare-bones client and the command you need to make an API call.
@@ -29,16 +29,14 @@ declare const ProvisionByoipCidrCommand_base: {
29
29
  /**
30
30
  * <p>Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP
31
31
  * addresses (BYOIP) and creates a corresponding address pool. After the address range is
32
- * provisioned, it is ready to be advertised using <a>AdvertiseByoipCidr</a>.</p>
32
+ * provisioned, it is ready to be advertised.</p>
33
33
  * <p>Amazon Web Services verifies that you own the address range and are authorized to advertise it.
34
34
  * You must ensure that the address range is registered to you and that you created an
35
35
  * RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range.
36
36
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">Bring your own IP addresses (BYOIP)</a> in the <i>Amazon EC2 User Guide</i>.</p>
37
37
  * <p>Provisioning an address range is an asynchronous operation, so the call returns immediately,
38
38
  * but the address range is not ready to use until its status changes from <code>pending-provision</code>
39
- * to <code>provisioned</code>. To monitor the status of an address range, use <a>DescribeByoipCidrs</a>.
40
- * To allocate an Elastic IP address from your IPv4 address pool, use <a>AllocateAddress</a>
41
- * with either the specific address from the address pool or the ID of the address pool.</p>
39
+ * to <code>provisioned</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html">Onboard your address range</a>.</p>
42
40
  * @example
43
41
  * Use a bare-bones client and the command you need to make an API call.
44
42
  * ```javascript
@@ -31,12 +31,6 @@ declare const RegisterImageCommand_base: {
31
31
  * is the final step in the creation process. For more information about creating AMIs, see
32
32
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html">Create an instance-store
33
33
  * backed AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
34
- * <note>
35
- * <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers the AMI
36
- * in a single request, so you don't have to register the AMI yourself. We recommend that you
37
- * always use <a>CreateImage</a> unless you have a specific reason to use
38
- * RegisterImage.</p>
39
- * </note>
40
34
  * <p>If needed, you can deregister an AMI at any time. Any modifications you make to an AMI
41
35
  * backed by an instance store volume invalidates its registration. If you make changes to an
42
36
  * image, deregister the previous image and register the new image.</p>
@@ -62,12 +56,13 @@ declare const RegisterImageCommand_base: {
62
56
  * verify if the correct billing information was applied, check the <code>PlatformDetails</code>
63
57
  * field on the new AMI. If the field is empty or doesn't match the expected operating system
64
58
  * code (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was unsuccessful, and you
65
- * should discard the AMI and instead create the AMI from an instance using <a>CreateImage</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami">Create an AMI
59
+ * should discard the AMI and instead create the AMI from an instance.
60
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami">Create an AMI
66
61
  * from an instance </a> in the <i>Amazon EC2 User Guide</i>.</p>
67
62
  * <p>If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched
68
63
  * from an AMI with a billing product code, make sure that the Reserved Instance has the matching
69
64
  * billing product code. If you purchase a Reserved Instance without the matching billing product
70
- * code, the Reserved Instance will not be applied to the On-Demand Instance. For information
65
+ * code, the Reserved Instance is not applied to the On-Demand Instance. For information
71
66
  * about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI
72
67
  * billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
73
68
  * @example
@@ -29,16 +29,16 @@ declare const ReleaseAddressCommand_base: {
29
29
  /**
30
30
  * <p>Releases the specified Elastic IP address.</p>
31
31
  * <p>[Default VPC] Releasing an Elastic IP address automatically disassociates it
32
- * from any instance that it's associated with. To disassociate an Elastic IP address without
33
- * releasing it, use <a>DisassociateAddress</a>.</p>
34
- * <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
32
+ * from any instance that it's associated with. Alternatively, you can disassociate an Elastic IP address without
33
+ * releasing it.</p>
34
+ * <p>[Nondefault VPC] You must disassociate the Elastic IP address
35
35
  * before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
36
36
  * <p>After releasing an Elastic IP address, it is released to the IP address pool.
37
37
  * Be sure to update your DNS records and any servers or devices that communicate with the address.
38
38
  * If you attempt to release an Elastic IP address that you already released, you'll get an
39
39
  * <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
40
40
  * <p>After you release an Elastic IP address, you might be able to recover it.
41
- * For more information, see <a>AllocateAddress</a>.</p>
41
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html">Release an Elastic IP address</a>.</p>
42
42
  * @example
43
43
  * Use a bare-bones client and the command you need to make an API call.
44
44
  * ```javascript
@@ -35,10 +35,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
35
35
  * accounts that fall under the specified organizational unit (OU) or root (the entire
36
36
  * Amazon Web Services Organization).</p>
37
37
  * <p>The report is saved to your specified S3 bucket, using the following path structure
38
- * (with the <i>italicized placeholders</i> representing your specific
39
- * values):</p>
38
+ * (with the capitalized placeholders representing your specific values):</p>
40
39
  * <p>
41
- * <code>s3://<i>amzn-s3-demo-bucket</i>/<i>your-optional-s3-prefix</i>/ec2_<i>targetId</i>_<i>reportId</i>_<i>yyyyMMdd</i>T<i>hhmm</i>Z.csv</code>
40
+ * <code>s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv</code>
42
41
  * </p>
43
42
  * <p class="title">
44
43
  * <b>Prerequisites for generating a report</b>
@@ -4606,6 +4606,11 @@ export interface AssociateRouteTableRequest {
4606
4606
  * @public
4607
4607
  */
4608
4608
  GatewayId?: string | undefined;
4609
+ /**
4610
+ * <p>The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.</p>
4611
+ * @public
4612
+ */
4613
+ PublicIpv4Pool?: string | undefined;
4609
4614
  /**
4610
4615
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
4611
4616
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -7537,7 +7537,7 @@ export interface CreateImageRequest {
7537
7537
  * <p>You can't modify the encryption status of existing volumes or snapshots. To create an
7538
7538
  * AMI with volumes or snapshots that have a different encryption status (for example, where
7539
7539
  * the source volume and snapshots are unencrypted, and you want to create an AMI with
7540
- * encrypted volumes or snapshots), use the <a>CopyImage</a> action.</p>
7540
+ * encrypted volumes or snapshots), copy the image instead.</p>
7541
7541
  * </li>
7542
7542
  * <li>
7543
7543
  * <p>The only option that can be changed for existing mappings or snapshots is
@@ -4477,6 +4477,11 @@ export interface RouteTableAssociation {
4477
4477
  * @public
4478
4478
  */
4479
4479
  GatewayId?: string | undefined;
4480
+ /**
4481
+ * <p>The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.</p>
4482
+ * @public
4483
+ */
4484
+ PublicIpv4Pool?: string | undefined;
4480
4485
  /**
4481
4486
  * <p>The state of the association.</p>
4482
4487
  * @public
@@ -4541,7 +4541,7 @@ export interface DescribeImageAttributeRequest {
4541
4541
  * <p>
4542
4542
  * <b>Note</b>: The <code>blockDeviceMapping</code> attribute is
4543
4543
  * deprecated. Using this attribute returns the <code>Client.AuthFailure</code> error. To get
4544
- * information about the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
4544
+ * information about the block device mappings for an AMI, describe the image instead.</p>
4545
4545
  * @public
4546
4546
  */
4547
4547
  Attribute: ImageAttributeName | undefined;
@@ -5209,21 +5209,11 @@ export interface Image {
5209
5209
  ImageAllowed?: boolean | undefined;
5210
5210
  /**
5211
5211
  * <p>The ID of the source AMI from which the AMI was created.</p>
5212
- * <p>The ID only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The ID does not appear
5213
- * if the AMI was created using any other API. For some older AMIs, the ID might not be
5214
- * available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
5215
- * source AMI used to create a new Amazon EC2 AMI</a> in the
5216
- * <i>Amazon EC2 User Guide</i>.</p>
5217
5212
  * @public
5218
5213
  */
5219
5214
  SourceImageId?: string | undefined;
5220
5215
  /**
5221
- * <p>The Region of the source AMI. </p>
5222
- * <p>The Region only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The Region does not
5223
- * appear if the AMI was created using any other API. For some older AMIs, the Region might not
5224
- * be available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
5225
- * source AMI used to create a new Amazon EC2 AMI</a> in the
5226
- * <i>Amazon EC2 User Guide</i>.</p>
5216
+ * <p>The Region of the source AMI.</p>
5227
5217
  * @public
5228
5218
  */
5229
5219
  SourceImageRegion?: string | undefined;
@@ -1268,6 +1268,7 @@ export interface AssociateRouteServerResult {
1268
1268
  }
1269
1269
  export interface AssociateRouteTableRequest {
1270
1270
  GatewayId?: string | undefined;
1271
+ PublicIpv4Pool?: string | undefined;
1271
1272
  DryRun?: boolean | undefined;
1272
1273
  SubnetId?: string | undefined;
1273
1274
  RouteTableId: string | undefined;
@@ -1108,6 +1108,7 @@ export interface RouteTableAssociation {
1108
1108
  RouteTableId?: string | undefined;
1109
1109
  SubnetId?: string | undefined;
1110
1110
  GatewayId?: string | undefined;
1111
+ PublicIpv4Pool?: string | undefined;
1111
1112
  AssociationState?: RouteTableAssociationState | undefined;
1112
1113
  }
1113
1114
  export interface PropagatingVgw {
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.865.0",
4
+ "version": "3.866.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",