@aws-sdk/client-ec2 3.856.0 → 3.858.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 +6 -0
- package/dist-es/protocols/Aws_ec2.js +6 -0
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
- package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +0 -1
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +3 -2
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +0 -2
- package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -3
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -3
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
- package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
- package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +8 -2
- package/dist-types/models/models_4.d.ts +2 -12
- package/dist-types/models/models_8.d.ts +8 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/dist-types/ts3.4/models/models_8.d.ts +1 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -39730,6 +39730,9 @@ var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
39730
39730
|
entries[loc] = value;
|
|
39731
39731
|
});
|
|
39732
39732
|
}
|
|
39733
|
+
if (input[_F] != null) {
|
|
39734
|
+
entries[_F] = input[_F];
|
|
39735
|
+
}
|
|
39733
39736
|
if (input[_SOS] != null) {
|
|
39734
39737
|
entries[_SOS] = input[_SOS];
|
|
39735
39738
|
}
|
|
@@ -57896,6 +57899,9 @@ var de_Route = /* @__PURE__ */ __name((output, context) => {
|
|
|
57896
57899
|
if (output[_oNA] != null) {
|
|
57897
57900
|
contents[_ONA] = (0, import_smithy_client.expectString)(output[_oNA]);
|
|
57898
57901
|
}
|
|
57902
|
+
if (output[_iAp] != null) {
|
|
57903
|
+
contents[_IAp] = (0, import_smithy_client.expectString)(output[_iAp]);
|
|
57904
|
+
}
|
|
57899
57905
|
return contents;
|
|
57900
57906
|
}, "de_Route");
|
|
57901
57907
|
var de_RouteList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -38137,6 +38137,9 @@ const se_TerminateInstancesRequest = (input, context) => {
|
|
|
38137
38137
|
entries[loc] = value;
|
|
38138
38138
|
});
|
|
38139
38139
|
}
|
|
38140
|
+
if (input[_F] != null) {
|
|
38141
|
+
entries[_F] = input[_F];
|
|
38142
|
+
}
|
|
38140
38143
|
if (input[_SOS] != null) {
|
|
38141
38144
|
entries[_SOS] = input[_SOS];
|
|
38142
38145
|
}
|
|
@@ -57409,6 +57412,9 @@ const de_Route = (output, context) => {
|
|
|
57409
57412
|
if (output[_oNA] != null) {
|
|
57410
57413
|
contents[_ONA] = __expectString(output[_oNA]);
|
|
57411
57414
|
}
|
|
57415
|
+
if (output[_iAp] != null) {
|
|
57416
|
+
contents[_IAp] = __expectString(output[_iAp]);
|
|
57417
|
+
}
|
|
57412
57418
|
return contents;
|
|
57413
57419
|
};
|
|
57414
57420
|
const de_RouteList = (output, context) => {
|
|
@@ -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
|
|
@@ -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
|
|
33
|
-
*
|
|
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
|
|
31
|
-
*
|
|
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>
|
|
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
|
|
@@ -98,6 +98,7 @@ declare const DescribeRouteTablesCommand_base: {
|
|
|
98
98
|
* // VpcPeeringConnectionId: "STRING_VALUE",
|
|
99
99
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
100
100
|
* // OdbNetworkArn: "STRING_VALUE",
|
|
101
|
+
* // IpAddress: "STRING_VALUE",
|
|
101
102
|
* // },
|
|
102
103
|
* // ],
|
|
103
104
|
* // Tags: [ // TagList
|
|
@@ -68,7 +68,6 @@ declare const DescribeSnapshotsCommand_base: {
|
|
|
68
68
|
* <code>all</code> for public snapshots.</p>
|
|
69
69
|
* <p>If you are describing a long list of snapshots, we recommend that you paginate the output to make the
|
|
70
70
|
* list more manageable. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
71
|
-
* <p>To get the state of fast snapshot restores for a snapshot, use <a>DescribeFastSnapshotRestores</a>.</p>
|
|
72
71
|
* <p>For more information about EBS snapshots, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html">Amazon EBS snapshots</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
73
72
|
* <important>
|
|
74
73
|
* <p>We strongly recommend using only paginated requests. Unpaginated requests are
|
|
@@ -55,8 +55,9 @@ declare const DescribeVolumeStatusCommand_base: {
|
|
|
55
55
|
* event. For example, if the status of the volume is <code>impaired</code> and the volume event
|
|
56
56
|
* shows <code>potential-data-inconsistency</code>, then the action shows
|
|
57
57
|
* <code>enable-volume-io</code>. This means that you may want to enable the I/O operations for
|
|
58
|
-
* the volume
|
|
59
|
-
*
|
|
58
|
+
* the volume and then check the volume for data consistency. For more information, see
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/work_volumes_impaired.html">Work with an
|
|
60
|
+
* impaired EBS volume</a>.</p>
|
|
60
61
|
* <p>Volume status is based on the volume status checks, and does not reflect the volume state.
|
|
61
62
|
* Therefore, volume status does not indicate volumes in the <code>error</code> state (for
|
|
62
63
|
* example, when a volume is incapable of accepting I/O.)</p>
|
|
@@ -32,8 +32,6 @@ declare const EnableEbsEncryptionByDefaultCommand_base: {
|
|
|
32
32
|
* always encrypted, either using the default KMS key or the KMS key that you specified
|
|
33
33
|
* when you created each volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the
|
|
34
34
|
* <i>Amazon EBS User Guide</i>.</p>
|
|
35
|
-
* <p>You can specify the default KMS key for encryption by default using <a>ModifyEbsDefaultKmsKeyId</a>
|
|
36
|
-
* or <a>ResetEbsDefaultKmsKeyId</a>.</p>
|
|
37
35
|
* <p>Enabling encryption by default has no effect on the encryption status of your
|
|
38
36
|
* existing volumes.</p>
|
|
39
37
|
* <p>After you enable encryption by default, you can no longer launch instances
|
|
@@ -28,9 +28,7 @@ declare const EnableFastSnapshotRestoresCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.</p>
|
|
31
|
-
* <p>You get the full benefit of fast snapshot restores after they enter the <code>enabled</code> state
|
|
32
|
-
* To get the current state of fast snapshot restores, use <a>DescribeFastSnapshotRestores</a>.
|
|
33
|
-
* To disable fast snapshot restores, use <a>DisableFastSnapshotRestores</a>.</p>
|
|
31
|
+
* <p>You get the full benefit of fast snapshot restores after they enter the <code>enabled</code> state.</p>
|
|
34
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-fast-snapshot-restore.html">Amazon EBS fast snapshot
|
|
35
33
|
* restore</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
36
34
|
* @example
|
|
@@ -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
|
|
@@ -27,9 +27,7 @@ declare const GetEbsDefaultKmsKeyIdCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the default KMS key for EBS encryption by default for your account in this Region
|
|
31
|
-
* You can change the default KMS key for encryption by default using <a>ModifyEbsDefaultKmsKeyId</a> or
|
|
32
|
-
* <a>ResetEbsDefaultKmsKeyId</a>.</p>
|
|
30
|
+
* <p>Describes the default KMS key for EBS encryption by default for your account in this Region.</p>
|
|
33
31
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
34
32
|
* in the <i>Amazon EBS User Guide</i>.</p>
|
|
35
33
|
* @example
|
|
@@ -30,7 +30,7 @@ declare const ModifyEbsDefaultKmsKeyIdCommand_base: {
|
|
|
30
30
|
* <p>Changes the default KMS key for EBS encryption by default for your account in this Region.</p>
|
|
31
31
|
* <p>Amazon Web Services creates a unique Amazon Web Services managed KMS key in each Region for use with encryption by default. If
|
|
32
32
|
* you change the default KMS key to a symmetric customer managed KMS key, it is used instead of the Amazon Web Services
|
|
33
|
-
* managed KMS key.
|
|
33
|
+
* managed KMS key. Amazon EBS does not support asymmetric KMS keys.</p>
|
|
34
34
|
* <p>If you delete or disable the customer managed KMS key that you specified for use with
|
|
35
35
|
* encryption by default, your instances will fail to launch.</p>
|
|
36
36
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
@@ -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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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.
|
|
33
|
-
* releasing it
|
|
34
|
-
* <p>[Nondefault VPC] You must
|
|
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
|
-
*
|
|
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
|
|
@@ -7518,7 +7518,7 @@ export interface CreateImageRequest {
|
|
|
7518
7518
|
* <p>You can't modify the encryption status of existing volumes or snapshots. To create an
|
|
7519
7519
|
* AMI with volumes or snapshots that have a different encryption status (for example, where
|
|
7520
7520
|
* the source volume and snapshots are unencrypted, and you want to create an AMI with
|
|
7521
|
-
* encrypted volumes or snapshots),
|
|
7521
|
+
* encrypted volumes or snapshots), copy the image instead.</p>
|
|
7522
7522
|
* </li>
|
|
7523
7523
|
* <li>
|
|
7524
7524
|
* <p>The only option that can be changed for existing mappings or snapshots is
|
|
@@ -4620,6 +4620,12 @@ export interface Route {
|
|
|
4620
4620
|
* @public
|
|
4621
4621
|
*/
|
|
4622
4622
|
OdbNetworkArn?: string | undefined;
|
|
4623
|
+
/**
|
|
4624
|
+
* <p>The next hop IP address for routes propagated by VPC Route
|
|
4625
|
+
* Server into VPC route tables.</p>
|
|
4626
|
+
* @public
|
|
4627
|
+
*/
|
|
4628
|
+
IpAddress?: string | undefined;
|
|
4623
4629
|
}
|
|
4624
4630
|
/**
|
|
4625
4631
|
* <p>Describes a route table.</p>
|
|
@@ -4950,8 +4956,8 @@ export interface Snapshot {
|
|
|
4950
4956
|
*/
|
|
4951
4957
|
SnapshotId?: string | undefined;
|
|
4952
4958
|
/**
|
|
4953
|
-
* <p>The ID of the volume that was used to create the snapshot. Snapshots created by
|
|
4954
|
-
* purpose.</p>
|
|
4959
|
+
* <p>The ID of the volume that was used to create the snapshot. Snapshots created by a copy
|
|
4960
|
+
* snapshot operation have an arbitrary volume ID that you should not use for any purpose.</p>
|
|
4955
4961
|
* @public
|
|
4956
4962
|
*/
|
|
4957
4963
|
VolumeId?: string | undefined;
|
|
@@ -4531,7 +4531,7 @@ export interface DescribeImageAttributeRequest {
|
|
|
4531
4531
|
* <p>
|
|
4532
4532
|
* <b>Note</b>: The <code>blockDeviceMapping</code> attribute is
|
|
4533
4533
|
* deprecated. Using this attribute returns the <code>Client.AuthFailure</code> error. To get
|
|
4534
|
-
* information about the block device mappings for an AMI,
|
|
4534
|
+
* information about the block device mappings for an AMI, describe the image instead.</p>
|
|
4535
4535
|
* @public
|
|
4536
4536
|
*/
|
|
4537
4537
|
Attribute: ImageAttributeName | undefined;
|
|
@@ -5199,21 +5199,11 @@ export interface Image {
|
|
|
5199
5199
|
ImageAllowed?: boolean | undefined;
|
|
5200
5200
|
/**
|
|
5201
5201
|
* <p>The ID of the source AMI from which the AMI was created.</p>
|
|
5202
|
-
* <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
|
|
5203
|
-
* if the AMI was created using any other API. For some older AMIs, the ID might not be
|
|
5204
|
-
* 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
|
|
5205
|
-
* source AMI used to create a new Amazon EC2 AMI</a> in the
|
|
5206
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5207
5202
|
* @public
|
|
5208
5203
|
*/
|
|
5209
5204
|
SourceImageId?: string | undefined;
|
|
5210
5205
|
/**
|
|
5211
|
-
* <p>The Region of the source AMI
|
|
5212
|
-
* <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
|
|
5213
|
-
* appear if the AMI was created using any other API. For some older AMIs, the Region might not
|
|
5214
|
-
* 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
|
|
5215
|
-
* source AMI used to create a new Amazon EC2 AMI</a> in the
|
|
5216
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5206
|
+
* <p>The Region of the source AMI.</p>
|
|
5217
5207
|
* @public
|
|
5218
5208
|
*/
|
|
5219
5209
|
SourceImageRegion?: string | undefined;
|
|
@@ -3537,6 +3537,14 @@ export interface TerminateInstancesRequest {
|
|
|
3537
3537
|
* @public
|
|
3538
3538
|
*/
|
|
3539
3539
|
InstanceIds: string[] | undefined;
|
|
3540
|
+
/**
|
|
3541
|
+
* <p>Forces the instances to terminate. The instance will first attempt a graceful
|
|
3542
|
+
* shutdown, which includes flushing file system caches and metadata. If the graceful
|
|
3543
|
+
* shutdown fails to complete within the timeout period, the instance shuts down forcibly
|
|
3544
|
+
* without flushing the file system caches and metadata.</p>
|
|
3545
|
+
* @public
|
|
3546
|
+
*/
|
|
3547
|
+
Force?: boolean | undefined;
|
|
3540
3548
|
/**
|
|
3541
3549
|
* <p>Specifies whether to bypass the graceful OS shutdown process when the instance is
|
|
3542
3550
|
* terminated.</p>
|
|
@@ -1141,6 +1141,7 @@ export interface Route {
|
|
|
1141
1141
|
VpcPeeringConnectionId?: string | undefined;
|
|
1142
1142
|
CoreNetworkArn?: string | undefined;
|
|
1143
1143
|
OdbNetworkArn?: string | undefined;
|
|
1144
|
+
IpAddress?: string | undefined;
|
|
1144
1145
|
}
|
|
1145
1146
|
export interface RouteTable {
|
|
1146
1147
|
Associations?: RouteTableAssociation[] | undefined;
|
|
@@ -764,6 +764,7 @@ export interface TerminateClientVpnConnectionsResult {
|
|
|
764
764
|
}
|
|
765
765
|
export interface TerminateInstancesRequest {
|
|
766
766
|
InstanceIds: string[] | undefined;
|
|
767
|
+
Force?: boolean | undefined;
|
|
767
768
|
SkipOsShutdown?: boolean | undefined;
|
|
768
769
|
DryRun?: boolean | undefined;
|
|
769
770
|
}
|
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.
|
|
4
|
+
"version": "3.858.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",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.858.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.858.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-sdk-ec2": "3.857.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.858.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
31
31
|
"@aws-sdk/types": "3.840.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.848.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.858.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.4",
|
|
36
|
-
"@smithy/core": "^3.7.
|
|
36
|
+
"@smithy/core": "^3.7.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.1.0",
|
|
38
38
|
"@smithy/hash-node": "^4.0.4",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
42
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.1.17",
|
|
42
|
+
"@smithy/middleware-retry": "^4.1.18",
|
|
43
43
|
"@smithy/middleware-serde": "^4.0.8",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.4",
|
|
45
45
|
"@smithy/node-config-provider": "^4.1.3",
|
|
46
46
|
"@smithy/node-http-handler": "^4.1.0",
|
|
47
47
|
"@smithy/protocol-http": "^5.1.2",
|
|
48
|
-
"@smithy/smithy-client": "^4.4.
|
|
48
|
+
"@smithy/smithy-client": "^4.4.9",
|
|
49
49
|
"@smithy/types": "^4.3.1",
|
|
50
50
|
"@smithy/url-parser": "^4.0.4",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.25",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.25",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.6",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.4",
|
|
58
58
|
"@smithy/util-retry": "^4.0.6",
|