@aws-sdk/client-ec2 3.529.0 → 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.
- package/README.md +2 -25
- package/dist-types/EC2.d.ts +2 -25
- package/dist-types/EC2Client.d.ts +2 -25
- package/dist-types/commands/AttachVolumeCommand.d.ts +4 -4
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +13 -17
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +12 -11
- package/dist-types/commands/BundleInstanceCommand.d.ts +2 -4
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +4 -3
- package/dist-types/commands/CopyImageCommand.d.ts +16 -13
- package/dist-types/commands/CopySnapshotCommand.d.ts +4 -4
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +30 -32
- package/dist-types/commands/CreateImageCommand.d.ts +5 -6
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +4 -4
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +4 -6
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -7
- package/dist-types/commands/DescribeRegionsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -2
- package/dist-types/commands/DescribeVolumesCommand.d.ts +6 -1
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +2 -2
- package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +2 -2
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -6
- package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +3 -3
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +7 -8
- package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +2 -2
- package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -2
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +2 -2
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +2 -2
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -7
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVolumeCommand.d.ts +4 -5
- package/dist-types/commands/RegisterImageCommand.d.ts +11 -11
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -2
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +3 -3
- package/dist-types/index.d.ts +2 -25
- package/dist-types/models/models_0.d.ts +79 -92
- package/dist-types/models/models_1.d.ts +24 -26
- package/dist-types/models/models_2.d.ts +30 -25
- package/dist-types/models/models_3.d.ts +77 -87
- package/dist-types/models/models_4.d.ts +19 -12
- package/dist-types/models/models_5.d.ts +33 -40
- package/dist-types/models/models_6.d.ts +59 -74
- package/dist-types/models/models_7.d.ts +7 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -8,31 +8,8 @@ AWS SDK for JavaScript EC2 Client for Node.js, Browser and React Native.
|
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Elastic Compute Cloud</fullname>
|
|
10
10
|
|
|
11
|
-
<p>Amazon Elastic Compute Cloud (Amazon EC2)
|
|
12
|
-
|
|
13
|
-
faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the
|
|
14
|
-
Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you've defined. Amazon Elastic Block Store
|
|
15
|
-
(Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available
|
|
16
|
-
and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p>
|
|
17
|
-
<p>To learn more, see the following resources:</p>
|
|
18
|
-
<ul>
|
|
19
|
-
<li>
|
|
20
|
-
<p>Amazon EC2: <a href="http://aws.amazon.com/ec2">Amazon EC2 product page</a>, <a href="https://docs.aws.amazon.com/ec2/index.html">Amazon EC2 documentation</a>
|
|
21
|
-
</p>
|
|
22
|
-
</li>
|
|
23
|
-
<li>
|
|
24
|
-
<p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="https://docs.aws.amazon.com/ebs/index.html">Amazon EBS documentation</a>
|
|
25
|
-
</p>
|
|
26
|
-
</li>
|
|
27
|
-
<li>
|
|
28
|
-
<p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="https://docs.aws.amazon.com/vpc/index.html">Amazon VPC documentation</a>
|
|
29
|
-
</p>
|
|
30
|
-
</li>
|
|
31
|
-
<li>
|
|
32
|
-
<p>VPN: <a href="http://aws.amazon.com/vpn">VPN product page</a>, <a href="https://docs.aws.amazon.com/vpn/index.html">VPN documentation</a>
|
|
33
|
-
</p>
|
|
34
|
-
</li>
|
|
35
|
-
</ul>
|
|
11
|
+
<p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
|
|
12
|
+
see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
|
|
36
13
|
|
|
37
14
|
## Installing
|
|
38
15
|
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -4310,31 +4310,8 @@ export interface EC2 {
|
|
|
4310
4310
|
/**
|
|
4311
4311
|
* @public
|
|
4312
4312
|
* <fullname>Amazon Elastic Compute Cloud</fullname>
|
|
4313
|
-
* <p>Amazon Elastic Compute Cloud (Amazon EC2)
|
|
4314
|
-
*
|
|
4315
|
-
* faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the
|
|
4316
|
-
* Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you've defined. Amazon Elastic Block Store
|
|
4317
|
-
* (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available
|
|
4318
|
-
* and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p>
|
|
4319
|
-
* <p>To learn more, see the following resources:</p>
|
|
4320
|
-
* <ul>
|
|
4321
|
-
* <li>
|
|
4322
|
-
* <p>Amazon EC2: <a href="http://aws.amazon.com/ec2">Amazon EC2 product page</a>, <a href="https://docs.aws.amazon.com/ec2/index.html">Amazon EC2 documentation</a>
|
|
4323
|
-
* </p>
|
|
4324
|
-
* </li>
|
|
4325
|
-
* <li>
|
|
4326
|
-
* <p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="https://docs.aws.amazon.com/ebs/index.html">Amazon EBS documentation</a>
|
|
4327
|
-
* </p>
|
|
4328
|
-
* </li>
|
|
4329
|
-
* <li>
|
|
4330
|
-
* <p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="https://docs.aws.amazon.com/vpc/index.html">Amazon VPC documentation</a>
|
|
4331
|
-
* </p>
|
|
4332
|
-
* </li>
|
|
4333
|
-
* <li>
|
|
4334
|
-
* <p>VPN: <a href="http://aws.amazon.com/vpn">VPN product page</a>, <a href="https://docs.aws.amazon.com/vpn/index.html">VPN documentation</a>
|
|
4335
|
-
* </p>
|
|
4336
|
-
* </li>
|
|
4337
|
-
* </ul>
|
|
4313
|
+
* <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
|
|
4314
|
+
* see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
|
|
4338
4315
|
*/
|
|
4339
4316
|
export declare class EC2 extends EC2Client implements EC2 {
|
|
4340
4317
|
}
|
|
@@ -768,31 +768,8 @@ export interface EC2ClientResolvedConfig extends EC2ClientResolvedConfigType {
|
|
|
768
768
|
/**
|
|
769
769
|
* @public
|
|
770
770
|
* <fullname>Amazon Elastic Compute Cloud</fullname>
|
|
771
|
-
* <p>Amazon Elastic Compute Cloud (Amazon EC2)
|
|
772
|
-
*
|
|
773
|
-
* faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the
|
|
774
|
-
* Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you've defined. Amazon Elastic Block Store
|
|
775
|
-
* (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available
|
|
776
|
-
* and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p>
|
|
777
|
-
* <p>To learn more, see the following resources:</p>
|
|
778
|
-
* <ul>
|
|
779
|
-
* <li>
|
|
780
|
-
* <p>Amazon EC2: <a href="http://aws.amazon.com/ec2">Amazon EC2 product page</a>, <a href="https://docs.aws.amazon.com/ec2/index.html">Amazon EC2 documentation</a>
|
|
781
|
-
* </p>
|
|
782
|
-
* </li>
|
|
783
|
-
* <li>
|
|
784
|
-
* <p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="https://docs.aws.amazon.com/ebs/index.html">Amazon EBS documentation</a>
|
|
785
|
-
* </p>
|
|
786
|
-
* </li>
|
|
787
|
-
* <li>
|
|
788
|
-
* <p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="https://docs.aws.amazon.com/vpc/index.html">Amazon VPC documentation</a>
|
|
789
|
-
* </p>
|
|
790
|
-
* </li>
|
|
791
|
-
* <li>
|
|
792
|
-
* <p>VPN: <a href="http://aws.amazon.com/vpn">VPN product page</a>, <a href="https://docs.aws.amazon.com/vpn/index.html">VPN documentation</a>
|
|
793
|
-
* </p>
|
|
794
|
-
* </li>
|
|
795
|
-
* </ul>
|
|
771
|
+
* <p>You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information,
|
|
772
|
+
* see the <a href="https://docs.aws.amazon.com/ec2/latest/devguide">Amazon EC2 Developer Guide</a>.</p>
|
|
796
773
|
*/
|
|
797
774
|
export declare class EC2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EC2ClientResolvedConfig> {
|
|
798
775
|
/**
|
|
@@ -29,9 +29,9 @@ declare const AttachVolumeCommand_base: {
|
|
|
29
29
|
* <p>Attaches an EBS volume to a running or stopped instance and exposes it to the instance
|
|
30
30
|
* with the specified device name.</p>
|
|
31
31
|
* <p>Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. For
|
|
32
|
-
* more information, see <a href="https://docs.aws.amazon.com/
|
|
32
|
+
* more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
33
33
|
* <p>After you attach an EBS volume, you must make it available. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html">Make an EBS volume available for use</a>.</p>
|
|
35
35
|
* <p>If a volume has an Amazon Web Services Marketplace product code:</p>
|
|
36
36
|
* <ul>
|
|
37
37
|
* <li>
|
|
@@ -49,8 +49,8 @@ declare const AttachVolumeCommand_base: {
|
|
|
49
49
|
* instance.</p>
|
|
50
50
|
* </li>
|
|
51
51
|
* </ul>
|
|
52
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
53
|
-
* <i>Amazon
|
|
52
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html">Attach an Amazon EBS volume to an instance</a> in the
|
|
53
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
54
54
|
* @example
|
|
55
55
|
* Use a bare-bones client and the command you need to make an API call.
|
|
56
56
|
* ```javascript
|
|
@@ -26,23 +26,19 @@ declare const AuthorizeSecurityGroupEgressCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Adds the specified outbound (egress) rules to a security group
|
|
30
|
-
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* <p>For
|
|
40
|
-
* <
|
|
41
|
-
*
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw">security group
|
|
43
|
-
* referencing feature</a>, note that you can only reference security groups
|
|
44
|
-
* for ingress rules. You cannot reference a security group for egress rules.</p>
|
|
45
|
-
* </note>
|
|
29
|
+
* <p>Adds the specified outbound (egress) rules to a security group.</p>
|
|
30
|
+
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6
|
|
31
|
+
* address ranges, the IP address ranges specified by a prefix list, or the instances
|
|
32
|
+
* that are associated with a source security group. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html">Security group rules</a>.</p>
|
|
33
|
+
* <p>You must specify exactly one of the following destinations: an IPv4 or IPv6 address range,
|
|
34
|
+
* a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP).
|
|
35
|
+
* If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is
|
|
36
|
+
* ICMP or ICMPv6, you must also specify the ICMP type and code.</p>
|
|
37
|
+
* <p>Rule changes are propagated to instances associated with the security group as quickly
|
|
38
|
+
* as possible. However, a small delay might occur.</p>
|
|
39
|
+
* <p>For examples of rules that you can add to security groups for specific access scenarios,
|
|
40
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html">Security group rules for different use cases</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
41
|
+
* <p>For information about security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
46
42
|
* @example
|
|
47
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
48
44
|
* ```javascript
|
|
@@ -27,17 +27,18 @@ declare const AuthorizeSecurityGroupIngressCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
|
30
|
-
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6
|
|
31
|
-
* address range,
|
|
32
|
-
*
|
|
33
|
-
* <
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
30
|
+
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6
|
|
31
|
+
* address range, the IP address ranges that are specified by a prefix list, or the instances
|
|
32
|
+
* that are associated with a destination security group. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html">Security group rules</a>.</p>
|
|
33
|
+
* <p>You must specify exactly one of the following sources: an IPv4 or IPv6 address range,
|
|
34
|
+
* a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP).
|
|
35
|
+
* If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is
|
|
36
|
+
* ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code.</p>
|
|
37
|
+
* <p>Rule changes are propagated to instances associated with the security group as quickly
|
|
38
|
+
* as possible. However, a small delay might occur.</p>
|
|
39
|
+
* <p>For examples of rules that you can add to security groups for specific access scenarios,
|
|
40
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html">Security group rules for different use cases</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
41
|
+
* <p>For more information about security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
41
42
|
* @example
|
|
42
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
44
|
* ```javascript
|
|
@@ -27,11 +27,9 @@ declare const BundleInstanceCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Bundles an Amazon instance store-backed Windows instance.</p>
|
|
30
|
-
* <p>During bundling, only the root device volume (C:\) is bundled. Data on other instance
|
|
31
|
-
* store volumes is not preserved.</p>
|
|
30
|
+
* <p>During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.</p>
|
|
32
31
|
* <note>
|
|
33
|
-
* <p>This action is not applicable for Linux/Unix instances or Windows instances that are
|
|
34
|
-
* backed by Amazon EBS.</p>
|
|
32
|
+
* <p>This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.</p>
|
|
35
33
|
* </note>
|
|
36
34
|
* @example
|
|
37
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -26,9 +26,10 @@ declare const CancelImageLaunchPermissionCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Removes your Amazon Web Services account from the launch permissions for the specified AMI.
|
|
30
|
-
*
|
|
31
|
-
* your Amazon Web Services account</a> in the
|
|
29
|
+
* <p>Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more
|
|
30
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cancel-sharing-an-AMI.html">
|
|
31
|
+
* Cancel having an AMI shared with your Amazon Web Services account</a> in the
|
|
32
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -27,19 +27,22 @@ declare const CopyImageCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a
|
|
30
|
-
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
|
|
31
|
-
* another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
32
|
-
* <p>To copy an AMI from one Region to another, specify the source Region using the
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
30
|
+
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
|
|
31
|
+
* to another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
32
|
+
* <p>To copy an AMI from one Region to another, specify the source Region using the
|
|
33
|
+
* <b>SourceRegion</b> parameter, and specify the
|
|
34
|
+
* destination Region using its endpoint. Copies of encrypted backing snapshots for
|
|
35
|
+
* the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted,
|
|
36
|
+
* unless you set <code>Encrypted</code> during the copy operation. You cannot
|
|
37
|
+
* create an unencrypted copy of an encrypted backing snapshot.</p>
|
|
38
|
+
* <p>To copy an AMI from a Region to an Outpost, specify the source Region using the
|
|
39
|
+
* <b>SourceRegion</b> parameter, and specify the
|
|
40
|
+
* ARN of the destination Outpost using <b>DestinationOutpostArn</b>.
|
|
41
|
+
* Backing snapshots copied to an Outpost are encrypted by default using the default
|
|
42
|
+
* encryption key for the Region, or a different key that you specify in the request using
|
|
43
|
+
* <b>KmsKeyId</b>. Outposts do not support unencrypted
|
|
44
|
+
* snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
|
|
45
|
+
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
43
46
|
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the
|
|
44
47
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
45
48
|
* @example
|
|
@@ -40,12 +40,12 @@ declare const CopySnapshotCommand_base: {
|
|
|
40
40
|
* <p>Snapshots copied to an Outpost are encrypted by default using the default
|
|
41
41
|
* encryption key for the Region, or a different key that you specify in the request using
|
|
42
42
|
* <b>KmsKeyId</b>. Outposts do not support unencrypted
|
|
43
|
-
*
|
|
44
|
-
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon
|
|
43
|
+
* snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
|
|
44
|
+
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
45
45
|
* <p>Snapshots created by copying another snapshot have an arbitrary volume ID that should not
|
|
46
46
|
* be used for any purpose.</p>
|
|
47
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
48
|
-
* <i>Amazon
|
|
47
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html">Copy an Amazon EBS snapshot</a> in the
|
|
48
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
49
49
|
* @example
|
|
50
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
51
51
|
* ```javascript
|
|
@@ -26,39 +26,37 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Creates a set of DHCP options
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
29
|
+
* <p>Creates a custom set of DHCP options. After you create a DHCP option set, you associate
|
|
30
|
+
* it with a VPC. After you associate a DHCP option set with a VPC, all existing and newly
|
|
31
|
+
* launched instances in the VPC use this set of DHCP options.</p>
|
|
32
|
+
* <p>The following are the individual DHCP options you can specify. For more information, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a>
|
|
34
|
+
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
33
35
|
* <ul>
|
|
34
36
|
* <li>
|
|
35
37
|
* <p>
|
|
36
|
-
* <code>domain-name
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
38
|
+
* <code>domain-name</code> - If you're using AmazonProvidedDNS in <code>us-east-1</code>,
|
|
39
|
+
* specify <code>ec2.internal</code>. If you're using AmazonProvidedDNS in any other Region,
|
|
40
|
+
* specify <code>region.compute.internal</code>. Otherwise, specify a custom domain name.
|
|
41
|
+
* This value is used to complete unqualified DNS hostnames.</p>
|
|
42
|
+
* <p>Some Linux operating systems accept multiple domain names separated by spaces.
|
|
43
|
+
* However, Windows and other Linux operating systems treat the value as a single
|
|
44
|
+
* domain, which results in unexpected behavior. If your DHCP option set is
|
|
45
|
+
* associated with a VPC that has instances running operating systems that treat
|
|
46
|
+
* the value as a single domain, specify only one domain name.</p>
|
|
42
47
|
* </li>
|
|
43
48
|
* <li>
|
|
44
49
|
* <p>
|
|
45
|
-
* <code>domain-name</code> -
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* <code>
|
|
49
|
-
*
|
|
50
|
-
* name (for example, <code>ExampleCompany.com</code>). This value is used to complete
|
|
51
|
-
* unqualified DNS hostnames. <b>Important</b>: Some
|
|
52
|
-
* Linux operating systems accept multiple domain names separated by spaces.
|
|
53
|
-
* However, Windows and other Linux operating systems treat the value as a single
|
|
54
|
-
* domain, which results in unexpected behavior. If your DHCP options set is
|
|
55
|
-
* associated with a VPC that has instances with multiple operating systems,
|
|
56
|
-
* specify only one domain name.</p>
|
|
50
|
+
* <code>domain-name-servers</code> - The IP addresses of up to four DNS servers,
|
|
51
|
+
* or AmazonProvidedDNS. To specify multiple domain name servers in a single parameter,
|
|
52
|
+
* separate the IP addresses using commas. To have your instances receive custom DNS
|
|
53
|
+
* hostnames as specified in <code>domain-name</code>, you must specify a custom DNS
|
|
54
|
+
* server.</p>
|
|
57
55
|
* </li>
|
|
58
56
|
* <li>
|
|
59
57
|
* <p>
|
|
60
|
-
* <code>ntp-servers</code> - The IP addresses of up to
|
|
61
|
-
* servers.</p>
|
|
58
|
+
* <code>ntp-servers</code> - The IP addresses of up to eight Network Time Protocol (NTP)
|
|
59
|
+
* servers (four IPv4 addresses and four IPv6 addresses).</p>
|
|
62
60
|
* </li>
|
|
63
61
|
* <li>
|
|
64
62
|
* <p>
|
|
@@ -68,16 +66,16 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
68
66
|
* <li>
|
|
69
67
|
* <p>
|
|
70
68
|
* <code>netbios-node-type</code> - The NetBIOS node type (1, 2, 4, or 8). We recommend that
|
|
71
|
-
* you specify 2
|
|
72
|
-
*
|
|
69
|
+
* you specify 2. Broadcast and multicast are not supported. For more information about
|
|
70
|
+
* NetBIOS node types, see <a href="http://www.ietf.org/rfc/rfc2132.txt">RFC 2132</a>.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>ipv6-preferred-lease-time</code> - A value (in seconds, minutes, hours, or years) for how frequently a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal.
|
|
75
|
+
* Acceptable values are between 140 and 2147483647 seconds (approximately 68 years). If no value is entered, the default lease time is 140 seconds. If you use long-term addressing for EC2 instances, you can increase the lease time and avoid frequent
|
|
76
|
+
* lease renewal requests. Lease renewal typically occurs when half of the lease time has elapsed.</p>
|
|
73
77
|
* </li>
|
|
74
78
|
* </ul>
|
|
75
|
-
* <p>Your VPC automatically starts out with a set of DHCP options that includes only a DNS
|
|
76
|
-
* server that we provide (AmazonProvidedDNS). If you create a set of options, and if your
|
|
77
|
-
* VPC has an internet gateway, make sure to set the <code>domain-name-servers</code>
|
|
78
|
-
* option either to <code>AmazonProvidedDNS</code> or to a domain name server of your
|
|
79
|
-
* choice. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a> in the
|
|
80
|
-
* <i>Amazon VPC User Guide</i>.</p>
|
|
81
79
|
* @example
|
|
82
80
|
* Use a bare-bones client and the command you need to make an API call.
|
|
83
81
|
* ```javascript
|
|
@@ -26,12 +26,11 @@ declare const CreateImageCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
|
|
30
|
-
*
|
|
31
|
-
* <p>If you customized your instance with instance store volumes or Amazon EBS volumes in addition
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* with those additional volumes.</p>
|
|
29
|
+
* <p>Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
|
|
30
|
+
* that is either running or stopped.</p>
|
|
31
|
+
* <p>If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the
|
|
32
|
+
* new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI,
|
|
33
|
+
* the instance automatically launches with those additional volumes.</p>
|
|
35
34
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed Linux
|
|
36
35
|
* AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
37
36
|
* @example
|
|
@@ -26,12 +26,12 @@ declare const CreateRestoreImageTaskCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Starts a task that restores an AMI from an Amazon S3 object that was previously created by
|
|
30
|
-
*
|
|
29
|
+
* <p>Starts a task that restores an AMI from an Amazon S3 object that was previously created by using
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
31
31
|
* <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
|
|
32
32
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
|
|
34
|
-
*
|
|
34
|
+
* Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -50,7 +50,7 @@ declare const CreateSnapshotCommand_base: {
|
|
|
50
50
|
* and any associated snapshots always remain protected.</p>
|
|
51
51
|
* <p>You can tag your snapshots during creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2
|
|
52
52
|
* resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
53
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
53
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html">Amazon Elastic Block Store</a> and <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
54
54
|
* @example
|
|
55
55
|
* Use a bare-bones client and the command you need to make an API call.
|
|
56
56
|
* ```javascript
|
|
@@ -30,7 +30,7 @@ declare const CreateStoreImageTaskCommand_base: {
|
|
|
30
30
|
* <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
|
|
31
31
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
32
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
|
|
33
|
-
*
|
|
33
|
+
* Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -31,12 +31,12 @@ declare const CreateVolumeCommand_base: {
|
|
|
31
31
|
* Any Amazon Web Services Marketplace product codes from the snapshot are propagated to the volume.</p>
|
|
32
32
|
* <p>You can create encrypted volumes. Encrypted volumes must be attached to instances that
|
|
33
33
|
* support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically
|
|
34
|
-
* encrypted. For more information, see <a href="https://docs.aws.amazon.com/
|
|
35
|
-
* in the <i>Amazon
|
|
34
|
+
* encrypted. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
35
|
+
* in the <i>Amazon EBS User Guide</i>.</p>
|
|
36
36
|
* <p>You can tag your volumes during creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2
|
|
37
37
|
* resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
38
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
39
|
-
* <i>Amazon
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-creating-volume.html">Create an Amazon EBS volume</a> in the
|
|
39
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
42
|
* ```javascript
|
|
@@ -34,8 +34,8 @@ declare const DeleteSnapshotCommand_base: {
|
|
|
34
34
|
* to all the information needed to restore the volume.</p>
|
|
35
35
|
* <p>You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.
|
|
36
36
|
* You must first de-register the AMI before you can delete the snapshot.</p>
|
|
37
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
38
|
-
* <i>Amazon
|
|
37
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html">Delete an Amazon EBS snapshot</a> in the
|
|
38
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
39
39
|
* @example
|
|
40
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
41
|
* ```javascript
|
|
@@ -29,8 +29,8 @@ declare const DeleteVolumeCommand_base: {
|
|
|
29
29
|
* <p>Deletes the specified EBS volume. The volume must be in the <code>available</code> state
|
|
30
30
|
* (not attached to an instance).</p>
|
|
31
31
|
* <p>The volume can remain in the <code>deleting</code> state for several minutes.</p>
|
|
32
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
33
|
-
* <i>Amazon
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-volume.html">Delete an Amazon EBS volume</a> in the
|
|
33
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -26,18 +26,18 @@ declare const DeregisterImageCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to
|
|
30
|
-
*
|
|
31
|
-
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
|
|
32
|
-
* the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
29
|
+
* <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to
|
|
30
|
+
* launch new instances.</p>
|
|
31
|
+
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
|
|
32
|
+
* in the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
33
33
|
* the <i>Amazon EC2 User Guide</i>.</p>
|
|
34
|
-
* <p>When you deregister an AMI, it doesn't affect any instances that you've already
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
34
|
+
* <p>When you deregister an AMI, it doesn't affect any instances that you've already
|
|
35
|
+
* launched from the AMI. You'll continue to incur usage costs for those instances until
|
|
36
|
+
* you terminate them.</p>
|
|
37
|
+
* <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was
|
|
38
|
+
* created for the root volume of the instance during the AMI creation process. When you
|
|
39
|
+
* deregister an instance store-backed AMI, it doesn't affect the files that you uploaded
|
|
40
|
+
* to Amazon S3 when you created the AMI.</p>
|
|
41
41
|
* @example
|
|
42
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
43
|
* ```javascript
|
|
@@ -57,6 +57,11 @@ declare const DescribeAccountAttributesCommand_base: {
|
|
|
57
57
|
* that you can assign to a network interface.</p>
|
|
58
58
|
* </li>
|
|
59
59
|
* </ul>
|
|
60
|
+
* <note>
|
|
61
|
+
* <p>The order of the elements in the response, including those within nested
|
|
62
|
+
* structures, might vary. Applications should not assume the elements appear in a
|
|
63
|
+
* particular order.</p>
|
|
64
|
+
* </note>
|
|
60
65
|
* @example
|
|
61
66
|
* Use a bare-bones client and the command you need to make an API call.
|
|
62
67
|
* ```javascript
|
|
@@ -32,6 +32,11 @@ declare const DescribeAvailabilityZonesCommand_base: {
|
|
|
32
32
|
* <p>For more information about Availability Zones, Local Zones, and Wavelength Zones, see
|
|
33
33
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and zones</a>
|
|
34
34
|
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
35
|
+
* <note>
|
|
36
|
+
* <p>The order of the elements in the response, including those within nested
|
|
37
|
+
* structures, might vary. Applications should not assume the elements appear in a
|
|
38
|
+
* particular order.</p>
|
|
39
|
+
* </note>
|
|
35
40
|
* @example
|
|
36
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
42
|
* ```javascript
|
|
@@ -28,14 +28,12 @@ declare const DescribeBundleTasksCommand_base: {
|
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Describes the specified bundle tasks or all of your bundle tasks.</p>
|
|
30
30
|
* <note>
|
|
31
|
-
* <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no
|
|
32
|
-
* longer in the list, you can still register an AMI from it. Just use
|
|
33
|
-
* <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided
|
|
34
|
-
* to the bundle task.</p>
|
|
31
|
+
* <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided to the bundle task.</p>
|
|
35
32
|
* </note>
|
|
36
33
|
* <note>
|
|
37
|
-
* <p>The order of the elements in the response, including those within nested
|
|
38
|
-
*
|
|
34
|
+
* <p>The order of the elements in the response, including those within nested
|
|
35
|
+
* structures, might vary. Applications should not assume the elements appear in a
|
|
36
|
+
* particular order.</p>
|
|
39
37
|
* </note>
|
|
40
38
|
* @example
|
|
41
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -26,11 +26,11 @@ declare const DescribeImageAttributeCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Describes the specified attribute of the specified AMI. You can specify only one attribute
|
|
30
|
-
* at a time.</p>
|
|
29
|
+
* <p>Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
|
|
31
30
|
* <note>
|
|
32
|
-
* <p>The order of the elements in the response, including those within nested
|
|
33
|
-
*
|
|
31
|
+
* <p>The order of the elements in the response, including those within nested
|
|
32
|
+
* structures, might vary. Applications should not assume the elements appear in a
|
|
33
|
+
* particular order.</p>
|
|
34
34
|
* </note>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|