@aws-sdk/client-ec2 3.137.0 → 3.139.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/CHANGELOG.md +8 -0
- package/dist-types/EC2.d.ts +28 -3
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +4 -2
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +6 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +3 -0
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +3 -0
- package/dist-types/models/models_1.d.ts +7 -6
- package/dist-types/models/models_3.d.ts +5 -4
- package/dist-types/models/models_4.d.ts +3 -2
- package/dist-types/models/models_5.d.ts +4 -4
- package/dist-types/models/models_6.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.139.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.138.0...v3.139.0) (2022-07-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ec2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
15
|
|
|
8
16
|
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -923,8 +923,10 @@ export declare class EC2 extends EC2Client {
|
|
|
923
923
|
authorizeClientVpnIngress(args: AuthorizeClientVpnIngressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeClientVpnIngressCommandOutput) => void): void;
|
|
924
924
|
/**
|
|
925
925
|
* <p>[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.</p>
|
|
926
|
-
*
|
|
927
|
-
*
|
|
926
|
+
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR
|
|
927
|
+
* address ranges, or to the instances that are associated with the specified source
|
|
928
|
+
* security groups. When specifying an outbound rule for your security group in a VPC, the
|
|
929
|
+
* <code>IpPermissions</code> must include a destination for the traffic.</p>
|
|
928
930
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
929
931
|
* For the TCP and UDP protocols, you must also specify the destination port or port range.
|
|
930
932
|
* For the ICMP protocol, you must also specify the ICMP type and code.
|
|
@@ -939,7 +941,8 @@ export declare class EC2 extends EC2Client {
|
|
|
939
941
|
* <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
|
940
942
|
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR
|
|
941
943
|
* address range, or from the instances that are associated with the specified destination security
|
|
942
|
-
* groups
|
|
944
|
+
* groups. When specifying an inbound rule for your security group in a VPC, the
|
|
945
|
+
* <code>IpPermissions</code> must include a source for the traffic.</p>
|
|
943
946
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
944
947
|
* For TCP and UDP, you must also specify the destination port or port range.
|
|
945
948
|
* For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
|
|
@@ -947,6 +950,10 @@ export declare class EC2 extends EC2Client {
|
|
|
947
950
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
948
951
|
* However, a small delay might occur.</p>
|
|
949
952
|
* <p>For more information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
|
|
953
|
+
*
|
|
954
|
+
* <note>
|
|
955
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
956
|
+
* </note>
|
|
950
957
|
*/
|
|
951
958
|
authorizeSecurityGroupIngress(args: AuthorizeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeSecurityGroupIngressCommandOutput>;
|
|
952
959
|
authorizeSecurityGroupIngress(args: AuthorizeSecurityGroupIngressCommandInput, cb: (err: any, data?: AuthorizeSecurityGroupIngressCommandOutput) => void): void;
|
|
@@ -1668,6 +1675,10 @@ export declare class EC2 extends EC2Client {
|
|
|
1668
1675
|
* <a>RevokeSecurityGroupIngress</a>, and
|
|
1669
1676
|
* <a>RevokeSecurityGroupEgress</a>.</p>
|
|
1670
1677
|
* <p>For more information about VPC security group limits, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Limits</a>.</p>
|
|
1678
|
+
*
|
|
1679
|
+
* <note>
|
|
1680
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1681
|
+
* </note>
|
|
1671
1682
|
*/
|
|
1672
1683
|
createSecurityGroup(args: CreateSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityGroupCommandOutput>;
|
|
1673
1684
|
createSecurityGroup(args: CreateSecurityGroupCommandInput, cb: (err: any, data?: CreateSecurityGroupCommandOutput) => void): void;
|
|
@@ -2319,6 +2330,10 @@ export declare class EC2 extends EC2Client {
|
|
|
2319
2330
|
* referenced by another security group, the operation fails with
|
|
2320
2331
|
* <code>InvalidGroup.InUse</code> in EC2-Classic or
|
|
2321
2332
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
2333
|
+
*
|
|
2334
|
+
* <note>
|
|
2335
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2336
|
+
* </note>
|
|
2322
2337
|
*/
|
|
2323
2338
|
deleteSecurityGroup(args: DeleteSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityGroupCommandOutput>;
|
|
2324
2339
|
deleteSecurityGroup(args: DeleteSecurityGroupCommandInput, cb: (err: any, data?: DeleteSecurityGroupCommandOutput) => void): void;
|
|
@@ -2662,6 +2677,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2662
2677
|
* allocate for use with EC2-VPC.</p>
|
|
2663
2678
|
* </li>
|
|
2664
2679
|
* </ul>
|
|
2680
|
+
* <note>
|
|
2681
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2682
|
+
* </note>
|
|
2665
2683
|
*/
|
|
2666
2684
|
describeAccountAttributes(args: DescribeAccountAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountAttributesCommandOutput>;
|
|
2667
2685
|
describeAccountAttributes(args: DescribeAccountAttributesCommandInput, cb: (err: any, data?: DescribeAccountAttributesCommandOutput) => void): void;
|
|
@@ -3446,6 +3464,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3446
3464
|
* the <i>Amazon Elastic Compute Cloud User Guide</i> and
|
|
3447
3465
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
3448
3466
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
3467
|
+
* <note>
|
|
3468
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3469
|
+
* </note>
|
|
3449
3470
|
*/
|
|
3450
3471
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityGroupsCommandOutput>;
|
|
3451
3472
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, cb: (err: any, data?: DescribeSecurityGroupsCommandOutput) => void): void;
|
|
@@ -5873,6 +5894,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5873
5894
|
* <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
|
|
5874
5895
|
*
|
|
5875
5896
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
|
|
5897
|
+
*
|
|
5898
|
+
* <note>
|
|
5899
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5900
|
+
* </note>
|
|
5876
5901
|
*/
|
|
5877
5902
|
revokeSecurityGroupIngress(args: RevokeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<RevokeSecurityGroupIngressCommandOutput>;
|
|
5878
5903
|
revokeSecurityGroupIngress(args: RevokeSecurityGroupIngressCommandInput, cb: (err: any, data?: RevokeSecurityGroupIngressCommandOutput) => void): void;
|
|
@@ -8,8 +8,10 @@ export interface AuthorizeSecurityGroupEgressCommandOutput extends AuthorizeSecu
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR
|
|
12
|
+
* address ranges, or to the instances that are associated with the specified source
|
|
13
|
+
* security groups. When specifying an outbound rule for your security group in a VPC, the
|
|
14
|
+
* <code>IpPermissions</code> must include a destination for the traffic.</p>
|
|
13
15
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
14
16
|
* For the TCP and UDP protocols, you must also specify the destination port or port range.
|
|
15
17
|
* For the ICMP protocol, you must also specify the ICMP type and code.
|
|
@@ -10,7 +10,8 @@ export interface AuthorizeSecurityGroupIngressCommandOutput extends AuthorizeSec
|
|
|
10
10
|
* <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
|
11
11
|
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR
|
|
12
12
|
* address range, or from the instances that are associated with the specified destination security
|
|
13
|
-
* groups
|
|
13
|
+
* groups. When specifying an inbound rule for your security group in a VPC, the
|
|
14
|
+
* <code>IpPermissions</code> must include a source for the traffic.</p>
|
|
14
15
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
15
16
|
* For TCP and UDP, you must also specify the destination port or port range.
|
|
16
17
|
* For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
|
|
@@ -18,6 +19,10 @@ export interface AuthorizeSecurityGroupIngressCommandOutput extends AuthorizeSec
|
|
|
18
19
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
19
20
|
* However, a small delay might occur.</p>
|
|
20
21
|
* <p>For more information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
|
|
22
|
+
*
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
25
|
+
* </note>
|
|
21
26
|
* @example
|
|
22
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
28
|
* ```javascript
|
|
@@ -22,6 +22,10 @@ export interface CreateSecurityGroupCommandOutput extends CreateSecurityGroupRes
|
|
|
22
22
|
* <a>RevokeSecurityGroupIngress</a>, and
|
|
23
23
|
* <a>RevokeSecurityGroupEgress</a>.</p>
|
|
24
24
|
* <p>For more information about VPC security group limits, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Limits</a>.</p>
|
|
25
|
+
*
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
28
|
+
* </note>
|
|
25
29
|
* @example
|
|
26
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
31
|
* ```javascript
|
|
@@ -12,6 +12,10 @@ export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* referenced by another security group, the operation fails with
|
|
13
13
|
* <code>InvalidGroup.InUse</code> in EC2-Classic or
|
|
14
14
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
15
|
+
*
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
18
|
+
* </note>
|
|
15
19
|
* @example
|
|
16
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
21
|
* ```javascript
|
|
@@ -42,6 +42,9 @@ export interface DescribeAccountAttributesCommandOutput extends DescribeAccountA
|
|
|
42
42
|
* allocate for use with EC2-VPC.</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* </ul>
|
|
45
|
+
* <note>
|
|
46
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
47
|
+
* </note>
|
|
45
48
|
* @example
|
|
46
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
50
|
* ```javascript
|
|
@@ -14,6 +14,9 @@ export interface DescribeSecurityGroupsCommandOutput extends DescribeSecurityGro
|
|
|
14
14
|
* the <i>Amazon Elastic Compute Cloud User Guide</i> and
|
|
15
15
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
16
16
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
17
|
+
* <note>
|
|
18
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
|
+
* </note>
|
|
17
20
|
* @example
|
|
18
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
22
|
* ```javascript
|
|
@@ -21,6 +21,10 @@ export interface RevokeSecurityGroupIngressCommandOutput extends RevokeSecurityG
|
|
|
21
21
|
* <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
|
|
22
22
|
*
|
|
23
23
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
|
|
24
|
+
*
|
|
25
|
+
* <note>
|
|
26
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
27
|
+
* </note>
|
|
24
28
|
* @example
|
|
25
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
30
|
* ```javascript
|
|
@@ -2783,6 +2783,9 @@ export interface PrefixListId {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
/**
|
|
2785
2785
|
* <p>Describes a security group and Amazon Web Services account ID pair.</p>
|
|
2786
|
+
* <note>
|
|
2787
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2788
|
+
* </note>
|
|
2786
2789
|
*/
|
|
2787
2790
|
export interface UserIdGroupPair {
|
|
2788
2791
|
/**
|
|
@@ -460,7 +460,6 @@ export interface Placement {
|
|
|
460
460
|
* tenancy is not supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>
|
|
461
461
|
* command.</p>
|
|
462
462
|
* <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
463
|
-
*
|
|
464
463
|
* <p>T3 instances that use the <code>unlimited</code> CPU credit option do not support
|
|
465
464
|
* <code>host</code> tenancy.</p>
|
|
466
465
|
*/
|
|
@@ -1973,8 +1972,9 @@ export interface ExportToS3TaskSpecification {
|
|
|
1973
1972
|
*/
|
|
1974
1973
|
DiskImageFormat?: DiskImageFormat | string;
|
|
1975
1974
|
/**
|
|
1976
|
-
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist and
|
|
1977
|
-
*
|
|
1975
|
+
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist and have
|
|
1976
|
+
* an access control list (ACL) attached that specifies the Region-specific canonical account ID for
|
|
1977
|
+
* the <code>Grantee</code>. For more information about the ACL to your S3 bucket, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites">Prerequisites</a> in the VM Import/Export User Guide.</p>
|
|
1978
1978
|
*/
|
|
1979
1979
|
S3Bucket?: string;
|
|
1980
1980
|
/**
|
|
@@ -2020,8 +2020,9 @@ export interface ExportToS3Task {
|
|
|
2020
2020
|
*/
|
|
2021
2021
|
DiskImageFormat?: DiskImageFormat | string;
|
|
2022
2022
|
/**
|
|
2023
|
-
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist and
|
|
2024
|
-
*
|
|
2023
|
+
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist and have
|
|
2024
|
+
* an access control list (ACL) attached that specifies the Region-specific canonical account ID for
|
|
2025
|
+
* the <code>Grantee</code>. For more information about the ACL to your S3 bucket, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites">Prerequisites</a> in the VM Import/Export User Guide.</p>
|
|
2025
2026
|
*/
|
|
2026
2027
|
S3Bucket?: string;
|
|
2027
2028
|
/**
|
|
@@ -3403,7 +3404,7 @@ export interface RequestLaunchTemplateData {
|
|
|
3403
3404
|
*/
|
|
3404
3405
|
SecurityGroupIds?: string[];
|
|
3405
3406
|
/**
|
|
3406
|
-
* <p>
|
|
3407
|
+
* <p>One or more security group names. For a nondefault VPC, you
|
|
3407
3408
|
* must use security group IDs instead. You cannot specify both a security group ID and
|
|
3408
3409
|
* security name in the same request.</p>
|
|
3409
3410
|
*/
|
|
@@ -3296,8 +3296,8 @@ export interface ImageAttribute {
|
|
|
3296
3296
|
UefiData?: AttributeValue;
|
|
3297
3297
|
/**
|
|
3298
3298
|
* <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
|
|
3299
|
-
* format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
|
|
3300
|
-
* there is a 24-hour delay before that usage is reported.</p>
|
|
3299
|
+
* format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
|
|
3300
|
+
* to launch an instance, there is a 24-hour delay before that usage is reported.</p>
|
|
3301
3301
|
* <note>
|
|
3302
3302
|
* <p>
|
|
3303
3303
|
* <code>lastLaunchedTime</code> data is available starting April 2017.</p>
|
|
@@ -4236,8 +4236,9 @@ export interface InstanceCreditSpecification {
|
|
|
4236
4236
|
*/
|
|
4237
4237
|
InstanceId?: string;
|
|
4238
4238
|
/**
|
|
4239
|
-
* <p>The credit option for CPU usage of the instance
|
|
4240
|
-
*
|
|
4239
|
+
* <p>The credit option for CPU usage of the instance.</p>
|
|
4240
|
+
* <p>Valid values: <code>standard</code> | <code>unlimited</code>
|
|
4241
|
+
* </p>
|
|
4241
4242
|
*/
|
|
4242
4243
|
CpuCredits?: string;
|
|
4243
4244
|
}
|
|
@@ -3042,8 +3042,9 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
3042
3042
|
SubnetId?: string;
|
|
3043
3043
|
/**
|
|
3044
3044
|
* <p>Indicates whether to assign a carrier IP address to the network interface.</p>
|
|
3045
|
-
* <p>You can only assign a carrier IP address to a network interface that is in a subnet in
|
|
3046
|
-
* For more information about carrier IP addresses, see Carrier IP
|
|
3045
|
+
* <p>You can only assign a carrier IP address to a network interface that is in a subnet in
|
|
3046
|
+
* a Wavelength Zone. For more information about carrier IP addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP address</a> in the <i>Amazon Web Services Wavelength Developer
|
|
3047
|
+
* Guide</i>.</p>
|
|
3047
3048
|
*/
|
|
3048
3049
|
AssociateCarrierIpAddress?: boolean;
|
|
3049
3050
|
/**
|
|
@@ -27,8 +27,7 @@ export interface ExportImageRequest {
|
|
|
27
27
|
*/
|
|
28
28
|
ImageId: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* and READ_ACP permissions to the Amazon Web Services account vm-import-export@amazon.com.</p>
|
|
30
|
+
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist.</p>
|
|
32
31
|
*/
|
|
33
32
|
S3ExportLocation: ExportTaskS3LocationRequest | undefined;
|
|
34
33
|
/**
|
|
@@ -3705,8 +3704,9 @@ export interface InstanceCreditSpecificationRequest {
|
|
|
3705
3704
|
*/
|
|
3706
3705
|
InstanceId?: string;
|
|
3707
3706
|
/**
|
|
3708
|
-
* <p>The credit option for CPU usage of the instance
|
|
3709
|
-
*
|
|
3707
|
+
* <p>The credit option for CPU usage of the instance.</p>
|
|
3708
|
+
* <p>Valid values: <code>standard</code> | <code>unlimited</code>
|
|
3709
|
+
* </p>
|
|
3710
3710
|
* <p>T3 instances with <code>host</code> tenancy do not support the <code>unlimited</code>
|
|
3711
3711
|
* CPU credit option.</p>
|
|
3712
3712
|
*/
|
|
@@ -1745,7 +1745,7 @@ export interface RunInstancesRequest {
|
|
|
1745
1745
|
* launch, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html">
|
|
1746
1746
|
* ModifyInstanceCreditSpecification</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
|
|
1747
1747
|
* performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
1748
|
-
* <p>Default: <code>standard</code> (T2 instances) or <code>unlimited</code> (T3/T3a
|
|
1748
|
+
* <p>Default: <code>standard</code> (T2 instances) or <code>unlimited</code> (T3/T3a/T4g
|
|
1749
1749
|
* instances)</p>
|
|
1750
1750
|
* <p>For T3 instances with <code>host</code> tenancy, only <code>standard</code> is
|
|
1751
1751
|
* supported.</p>
|
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.139.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|