@aws-sdk/client-ec2 3.744.0 → 3.746.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 +5 -0
- package/dist-es/protocols/Aws_ec2.js +5 -0
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +3 -3
- package/dist-types/commands/CopySnapshotCommand.d.ts +4 -5
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +4 -4
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -7
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +27 -3
- package/dist-types/models/models_1.d.ts +7 -7
- package/dist-types/models/models_2.d.ts +11 -1
- package/dist-types/models/models_3.d.ts +18 -9
- package/dist-types/models/models_4.d.ts +18 -14
- package/dist-types/models/models_5.d.ts +6 -3
- package/dist-types/models/models_6.d.ts +4 -4
- package/dist-types/models/models_7.d.ts +24 -8
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -56116,6 +56116,9 @@ var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
|
|
|
56116
56116
|
if (output[_cTomp] != null) {
|
|
56117
56117
|
contents[_CTomp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTomp]));
|
|
56118
56118
|
}
|
|
56119
|
+
if (output[_fSSIB] != null) {
|
|
56120
|
+
contents[_FSSIB] = (0, import_smithy_client.strictParseLong)(output[_fSSIB]);
|
|
56121
|
+
}
|
|
56119
56122
|
if (output[_sIn] != null) {
|
|
56120
56123
|
contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]);
|
|
56121
56124
|
}
|
|
@@ -61516,6 +61519,7 @@ var _FSR = "FastSnapshotRestores";
|
|
|
61516
61519
|
var _FSRSE = "FastSnapshotRestoreStateErrors";
|
|
61517
61520
|
var _FSRi = "FirewallStatelessRule";
|
|
61518
61521
|
var _FSRir = "FirewallStatefulRule";
|
|
61522
|
+
var _FSSIB = "FullSnapshotSizeInBytes";
|
|
61519
61523
|
var _FSST = "FirstSlotStartTime";
|
|
61520
61524
|
var _FSSTR = "FirstSlotStartTimeRange";
|
|
61521
61525
|
var _FTE = "FreeTierEligible";
|
|
@@ -63670,6 +63674,7 @@ var _fSR = "firewallStatelessRule";
|
|
|
63670
63674
|
var _fSRS = "fastSnapshotRestoreSet";
|
|
63671
63675
|
var _fSRSES = "fastSnapshotRestoreStateErrorSet";
|
|
63672
63676
|
var _fSRi = "firewallStatefulRule";
|
|
63677
|
+
var _fSSIB = "fullSnapshotSizeInBytes";
|
|
63673
63678
|
var _fSST = "firstSlotStartTime";
|
|
63674
63679
|
var _fSl = "fleetState";
|
|
63675
63680
|
var _fTE = "freeTierEligible";
|
|
@@ -55727,6 +55727,9 @@ const de_Snapshot = (output, context) => {
|
|
|
55727
55727
|
if (output[_cTomp] != null) {
|
|
55728
55728
|
contents[_CTomp] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_cTomp]));
|
|
55729
55729
|
}
|
|
55730
|
+
if (output[_fSSIB] != null) {
|
|
55731
|
+
contents[_FSSIB] = __strictParseLong(output[_fSSIB]);
|
|
55732
|
+
}
|
|
55730
55733
|
if (output[_sIn] != null) {
|
|
55731
55734
|
contents[_SIn] = __expectString(output[_sIn]);
|
|
55732
55735
|
}
|
|
@@ -61452,6 +61455,7 @@ const _FSR = "FastSnapshotRestores";
|
|
|
61452
61455
|
const _FSRSE = "FastSnapshotRestoreStateErrors";
|
|
61453
61456
|
const _FSRi = "FirewallStatelessRule";
|
|
61454
61457
|
const _FSRir = "FirewallStatefulRule";
|
|
61458
|
+
const _FSSIB = "FullSnapshotSizeInBytes";
|
|
61455
61459
|
const _FSST = "FirstSlotStartTime";
|
|
61456
61460
|
const _FSSTR = "FirstSlotStartTimeRange";
|
|
61457
61461
|
const _FTE = "FreeTierEligible";
|
|
@@ -63606,6 +63610,7 @@ const _fSR = "firewallStatelessRule";
|
|
|
63606
63610
|
const _fSRS = "fastSnapshotRestoreSet";
|
|
63607
63611
|
const _fSRSES = "fastSnapshotRestoreStateErrorSet";
|
|
63608
63612
|
const _fSRi = "firewallStatefulRule";
|
|
63613
|
+
const _fSSIB = "fullSnapshotSizeInBytes";
|
|
63609
63614
|
const _fSST = "firstSlotStartTime";
|
|
63610
63615
|
const _fSl = "fleetState";
|
|
63611
63616
|
const _fTE = "freeTierEligible";
|
|
@@ -27,11 +27,11 @@ declare const AssignIpv6AddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Assigns
|
|
31
|
-
* specify
|
|
32
|
-
* addresses to be automatically assigned from
|
|
30
|
+
* <p>Assigns the specified IPv6 addresses to the specified network interface. You can
|
|
31
|
+
* specify specific IPv6 addresses, or you can specify the number of IPv6
|
|
32
|
+
* addresses to be automatically assigned from the subnet's IPv6 CIDR block range.
|
|
33
33
|
* You can assign as many IPv6 addresses to a network interface as you can assign private
|
|
34
|
-
* IPv4 addresses, and the limit varies
|
|
34
|
+
* IPv4 addresses, and the limit varies by instance type.</p>
|
|
35
35
|
* <p>You must specify either the IPv6 addresses or the IPv6 address count in the request. </p>
|
|
36
36
|
* <p>You can optionally use Prefix Delegation on the network interface. You must specify
|
|
37
37
|
* either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For
|
|
@@ -27,9 +27,9 @@ declare const AssignPrivateIpAddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Assigns
|
|
31
|
-
* <p>You can specify
|
|
32
|
-
* of secondary IP addresses to be automatically assigned
|
|
30
|
+
* <p>Assigns the specified secondary private IP addresses to the specified network interface.</p>
|
|
31
|
+
* <p>You can specify specific secondary IP addresses, or you can specify the number
|
|
32
|
+
* of secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
|
|
33
33
|
* The number of secondary IP addresses that you can assign to an instance varies by instance type.
|
|
34
34
|
* For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
35
35
|
* <p>When you move a secondary private IP address to another network interface, any Elastic IP address
|
|
@@ -38,11 +38,10 @@ declare const CopySnapshotCommand_base: {
|
|
|
38
38
|
* however, you can specify a different KMS key. To copy an encrypted
|
|
39
39
|
* snapshot that has been shared from another account, you must have permissions for the KMS key
|
|
40
40
|
* used to encrypt the snapshot.</p>
|
|
41
|
-
* <p>Snapshots copied to an Outpost are encrypted by default using the default
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
41
|
+
* <p>Snapshots copied to an Outpost are encrypted by default using the default encryption key
|
|
42
|
+
* for the Region, or a different key that you specify in the request using <b>KmsKeyId</b>. Outposts do not support unencrypted snapshots. For more information,
|
|
43
|
+
* see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS
|
|
44
|
+
* local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
46
45
|
* <p>Snapshots created by copying another snapshot have an arbitrary volume ID that should not
|
|
47
46
|
* be used for any purpose.</p>
|
|
48
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
|
|
@@ -27,7 +27,7 @@ declare const CreateManagedPrefixListCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a managed prefix list. You can specify
|
|
30
|
+
* <p>Creates a managed prefix list. You can specify entries for the prefix list.
|
|
31
31
|
* Each entry consists of a CIDR block and an optional description.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -37,8 +37,8 @@ declare const CreateSnapshotCommand_base: {
|
|
|
37
37
|
* Region as the volume.</p>
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|
|
40
|
-
* <p>If the source volume is in a Local Zone, you can create the snapshot in the same
|
|
41
|
-
*
|
|
40
|
+
* <p>If the source volume is in a Local Zone, you can create the snapshot in the same Local
|
|
41
|
+
* Zone or in its parent Amazon Web Services Region.</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* <li>
|
|
44
44
|
* <p>If the source volume is on an Outpost, you can create the snapshot on the same
|
|
@@ -59,8 +59,7 @@ declare const CreateSnapshotCommand_base: {
|
|
|
59
59
|
* that you stop the instance before taking the snapshot.</p>
|
|
60
60
|
* <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
|
|
61
61
|
* are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
|
|
62
|
-
* and any associated snapshots always remain protected. For more information,
|
|
63
|
-
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
62
|
+
* and any associated snapshots always remain protected. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
|
|
64
63
|
* in the <i>Amazon EBS User Guide</i>.</p>
|
|
65
64
|
* @example
|
|
66
65
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -104,6 +103,7 @@ declare const CreateSnapshotCommand_base: {
|
|
|
104
103
|
* // TransferType: "time-based" || "standard",
|
|
105
104
|
* // CompletionDurationMinutes: Number("int"),
|
|
106
105
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
106
|
+
* // FullSnapshotSizeInBytes: Number("long"),
|
|
107
107
|
* // SnapshotId: "STRING_VALUE",
|
|
108
108
|
* // VolumeId: "STRING_VALUE",
|
|
109
109
|
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
@@ -40,7 +40,7 @@ declare const CreateSnapshotsCommand_base: {
|
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
42
|
* <p>If the source instance is in a Local Zone, you can create the snapshots in the same
|
|
43
|
-
* Local Zone or in parent Amazon Web Services Region.</p>
|
|
43
|
+
* Local Zone or in its parent Amazon Web Services Region.</p>
|
|
44
44
|
* </li>
|
|
45
45
|
* <li>
|
|
46
46
|
* <p>If the source instance is on an Outpost, you can create the snapshots on the same
|
|
@@ -34,7 +34,7 @@ declare const DeleteSnapshotCommand_base: {
|
|
|
34
34
|
* regardless of which prior snapshots have been deleted, all active snapshots will have access
|
|
35
35
|
* to all the information needed to restore the volume.</p>
|
|
36
36
|
* <p>You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.
|
|
37
|
-
* You must first
|
|
37
|
+
* You must first deregister the AMI before you can delete the snapshot.</p>
|
|
38
38
|
* <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
|
|
39
39
|
* <i>Amazon EBS User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
@@ -28,13 +28,8 @@ declare const DescribeInstanceAttributeCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the specified attribute of the specified instance. You can specify only one
|
|
31
|
-
* attribute at a time.
|
|
32
|
-
*
|
|
33
|
-
* <code>disableApiTermination</code> | <code>instanceInitiatedShutdownBehavior</code>
|
|
34
|
-
* | <code>rootDeviceName</code> | <code>blockDeviceMapping</code> |
|
|
35
|
-
* <code>productCodes</code> | <code>sourceDestCheck</code> | <code>groupSet</code> |
|
|
36
|
-
* <code>ebsOptimized</code> | <code>sriovNetSupport</code>
|
|
37
|
-
* </p>
|
|
31
|
+
* attribute at a time.
|
|
32
|
+
* </p>
|
|
38
33
|
* @example
|
|
39
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
35
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DescribeNetworkInterfacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes
|
|
30
|
+
* <p>Describes the specified network interfaces or all your network interfaces.</p>
|
|
31
31
|
* <p>If you have a large number of network interfaces, the operation fails unless
|
|
32
32
|
* you use pagination or one of the following filters: <code>group-id</code>,
|
|
33
33
|
* <code>mac-address</code>, <code>private-dns-name</code>, <code>private-ip-address</code>,
|
|
@@ -123,6 +123,7 @@ declare const DescribeSnapshotsCommand_base: {
|
|
|
123
123
|
* // TransferType: "time-based" || "standard",
|
|
124
124
|
* // CompletionDurationMinutes: Number("int"),
|
|
125
125
|
* // CompletionTime: new Date("TIMESTAMP"),
|
|
126
|
+
* // FullSnapshotSizeInBytes: Number("long"),
|
|
126
127
|
* // SnapshotId: "STRING_VALUE",
|
|
127
128
|
* // VolumeId: "STRING_VALUE",
|
|
128
129
|
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
@@ -27,7 +27,7 @@ declare const UnassignIpv6AddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Unassigns
|
|
30
|
+
* <p>Unassigns the specified IPv6 addresses or Prefix Delegation prefixes from a network interface.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UnassignPrivateIpAddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Unassigns
|
|
30
|
+
* <p>Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation prefixes from a
|
|
31
31
|
* network interface.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -3415,7 +3415,7 @@ export interface AssignIpv6AddressesRequest {
|
|
|
3415
3415
|
*/
|
|
3416
3416
|
Ipv6PrefixCount?: number | undefined;
|
|
3417
3417
|
/**
|
|
3418
|
-
* <p>One or more IPv6 prefixes assigned to the network interface. You
|
|
3418
|
+
* <p>One or more IPv6 prefixes assigned to the network interface. You can't use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
|
|
3419
3419
|
* @public
|
|
3420
3420
|
*/
|
|
3421
3421
|
Ipv6Prefixes?: string[] | undefined;
|
|
@@ -3466,12 +3466,12 @@ export interface AssignIpv6AddressesResult {
|
|
|
3466
3466
|
*/
|
|
3467
3467
|
export interface AssignPrivateIpAddressesRequest {
|
|
3468
3468
|
/**
|
|
3469
|
-
* <p>One or more IPv4 prefixes assigned to the network interface. You
|
|
3469
|
+
* <p>One or more IPv4 prefixes assigned to the network interface. You can't use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
|
|
3470
3470
|
* @public
|
|
3471
3471
|
*/
|
|
3472
3472
|
Ipv4Prefixes?: string[] | undefined;
|
|
3473
3473
|
/**
|
|
3474
|
-
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You
|
|
3474
|
+
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You can't use this option if you use the <code>Ipv4 Prefixes</code> option.</p>
|
|
3475
3475
|
* @public
|
|
3476
3476
|
*/
|
|
3477
3477
|
Ipv4PrefixCount?: number | undefined;
|
|
@@ -5893,6 +5893,14 @@ export interface IpRange {
|
|
|
5893
5893
|
/**
|
|
5894
5894
|
* <p>The IPv4 address range. You can either specify a CIDR block or a source security group,
|
|
5895
5895
|
* not both. To specify a single IPv4 address, use the /32 prefix length.</p>
|
|
5896
|
+
* <note>
|
|
5897
|
+
* <p>
|
|
5898
|
+
* Amazon Web Services <a href="https://en.wikipedia.org/wiki/Canonicalization">canonicalizes</a> IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block,
|
|
5899
|
+
* Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
|
5900
|
+
* return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
|
|
5901
|
+
* non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
|
|
5902
|
+
* form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
|
|
5903
|
+
* </note>
|
|
5896
5904
|
* @public
|
|
5897
5905
|
*/
|
|
5898
5906
|
CidrIp?: string | undefined;
|
|
@@ -5912,6 +5920,14 @@ export interface Ipv6Range {
|
|
|
5912
5920
|
/**
|
|
5913
5921
|
* <p>The IPv6 address range. You can either specify a CIDR block or a source security group,
|
|
5914
5922
|
* not both. To specify a single IPv6 address, use the /128 prefix length.</p>
|
|
5923
|
+
* <note>
|
|
5924
|
+
* <p>
|
|
5925
|
+
* Amazon Web Services <a href="https://en.wikipedia.org/wiki/Canonicalization">canonicalizes</a> IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block,
|
|
5926
|
+
* Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
|
5927
|
+
* return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
|
|
5928
|
+
* non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
|
|
5929
|
+
* form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
|
|
5930
|
+
* </note>
|
|
5915
5931
|
* @public
|
|
5916
5932
|
*/
|
|
5917
5933
|
CidrIpv6?: string | undefined;
|
|
@@ -6225,6 +6241,14 @@ export interface AuthorizeSecurityGroupEgressResult {
|
|
|
6225
6241
|
export interface AuthorizeSecurityGroupIngressRequest {
|
|
6226
6242
|
/**
|
|
6227
6243
|
* <p>The IPv4 address range, in CIDR format.</p>
|
|
6244
|
+
* <note>
|
|
6245
|
+
* <p>
|
|
6246
|
+
* Amazon Web Services <a href="https://en.wikipedia.org/wiki/Canonicalization">canonicalizes</a> IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block,
|
|
6247
|
+
* Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
|
6248
|
+
* return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
|
|
6249
|
+
* non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
|
|
6250
|
+
* form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
|
|
6251
|
+
* </note>
|
|
6228
6252
|
* <p>To specify an IPv6 address range, use IP permissions instead.</p>
|
|
6229
6253
|
* <p>To specify multiple rules and descriptions for the rules, use IP permissions instead.</p>
|
|
6230
6254
|
* @public
|
|
@@ -119,7 +119,7 @@ export interface CreateCapacityReservationRequest {
|
|
|
119
119
|
* <p>The number of instances for which to reserve capacity.</p>
|
|
120
120
|
* <note>
|
|
121
121
|
* <p>You can request future-dated Capacity Reservations for an instance count
|
|
122
|
-
* with a minimum of 100
|
|
122
|
+
* with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity
|
|
123
123
|
* Reservation for <code>m5.xlarge</code> instances, you must request at least
|
|
124
124
|
* 25 instances (<i>25 * m5.xlarge = 100 vCPUs</i>).</p>
|
|
125
125
|
* </note>
|
|
@@ -8748,7 +8748,7 @@ export interface InstanceIpv6AddressRequest {
|
|
|
8748
8748
|
Ipv6Address?: string | undefined;
|
|
8749
8749
|
}
|
|
8750
8750
|
/**
|
|
8751
|
-
* <p>Describes the
|
|
8751
|
+
* <p>Describes the IPv6 prefix option for a network interface.</p>
|
|
8752
8752
|
* @public
|
|
8753
8753
|
*/
|
|
8754
8754
|
export interface Ipv6PrefixSpecificationRequest {
|
|
@@ -9235,11 +9235,11 @@ export interface RequestLaunchTemplateData {
|
|
|
9235
9235
|
*/
|
|
9236
9236
|
RamDiskId?: string | undefined;
|
|
9237
9237
|
/**
|
|
9238
|
-
* <p>
|
|
9239
|
-
*
|
|
9240
|
-
*
|
|
9241
|
-
*
|
|
9242
|
-
*
|
|
9238
|
+
* <p>Indicates whether termination protection is enabled for the instance. The default
|
|
9239
|
+
* is <code>false</code>, which means that you can terminate the instance using
|
|
9240
|
+
* the Amazon EC2 console, command line tools, or API. You can enable termination protection
|
|
9241
|
+
* when you launch an instance, while the instance is running, or while the instance
|
|
9242
|
+
* is stopped.</p>
|
|
9243
9243
|
* @public
|
|
9244
9244
|
*/
|
|
9245
9245
|
DisableApiTermination?: boolean | undefined;
|
|
@@ -1097,7 +1097,7 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
1097
1097
|
*/
|
|
1098
1098
|
PrivateIpAddress?: string | undefined;
|
|
1099
1099
|
/**
|
|
1100
|
-
* <p>The IDs of
|
|
1100
|
+
* <p>The IDs of the security groups.</p>
|
|
1101
1101
|
* @public
|
|
1102
1102
|
*/
|
|
1103
1103
|
Groups?: string[] | undefined;
|
|
@@ -2796,6 +2796,16 @@ export interface Snapshot {
|
|
|
2796
2796
|
* @public
|
|
2797
2797
|
*/
|
|
2798
2798
|
CompletionTime?: Date | undefined;
|
|
2799
|
+
/**
|
|
2800
|
+
* <p>The full size of the snapshot, in bytes.</p>
|
|
2801
|
+
* <important>
|
|
2802
|
+
* <p>This is <b>not</b> the incremental size of the snapshot.
|
|
2803
|
+
* This is the full snapshot size and represents the size of all the blocks that were
|
|
2804
|
+
* written to the source volume at the time the snapshot was created.</p>
|
|
2805
|
+
* </important>
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2808
|
+
FullSnapshotSizeInBytes?: number | undefined;
|
|
2799
2809
|
/**
|
|
2800
2810
|
* <p>The ID of the snapshot. Each snapshot receives a unique identifier when it is
|
|
2801
2811
|
* created.</p>
|
|
@@ -3046,10 +3046,9 @@ export interface DescribeAvailabilityZonesRequest {
|
|
|
3046
3046
|
* <ul>
|
|
3047
3047
|
* <li>
|
|
3048
3048
|
* <p>
|
|
3049
|
-
* <code>group-name</code> -
|
|
3050
|
-
*
|
|
3051
|
-
*
|
|
3052
|
-
* with the Wavelength Zone (for example, <code>us-east-1-wl1</code>).</p>
|
|
3049
|
+
* <code>group-name</code> - The name of the zone group for the Availability Zone (for
|
|
3050
|
+
* example, <code>us-east-1-zg-1</code>), the Local Zone (for example, <code>us-west-2-lax-1</code>),
|
|
3051
|
+
* or the Wavelength Zone (for example, <code>us-east-1-wl1</code>).</p>
|
|
3053
3052
|
* </li>
|
|
3054
3053
|
* <li>
|
|
3055
3054
|
* <p>
|
|
@@ -3175,11 +3174,21 @@ export interface AvailabilityZone {
|
|
|
3175
3174
|
*/
|
|
3176
3175
|
ZoneId?: string | undefined;
|
|
3177
3176
|
/**
|
|
3178
|
-
* <p>
|
|
3179
|
-
* <
|
|
3180
|
-
*
|
|
3181
|
-
*
|
|
3182
|
-
*
|
|
3177
|
+
* <p>The name of the zone group. For example:</p>
|
|
3178
|
+
* <ul>
|
|
3179
|
+
* <li>
|
|
3180
|
+
* <p>Availability Zones - <code>us-east-1-zg-1</code>
|
|
3181
|
+
* </p>
|
|
3182
|
+
* </li>
|
|
3183
|
+
* <li>
|
|
3184
|
+
* <p>Local Zones - <code>us-west-2-lax-1</code>
|
|
3185
|
+
* </p>
|
|
3186
|
+
* </li>
|
|
3187
|
+
* <li>
|
|
3188
|
+
* <p>Wavelength Zones - <code>us-east-1-wl1-bos-wlz-1</code>
|
|
3189
|
+
* </p>
|
|
3190
|
+
* </li>
|
|
3191
|
+
* </ul>
|
|
3183
3192
|
* @public
|
|
3184
3193
|
*/
|
|
3185
3194
|
GroupName?: string | undefined;
|
|
@@ -3233,7 +3233,7 @@ export interface DescribeInstanceAttributeRequest {
|
|
|
3233
3233
|
InstanceId: string | undefined;
|
|
3234
3234
|
/**
|
|
3235
3235
|
* <p>The instance attribute.</p>
|
|
3236
|
-
* <p>Note
|
|
3236
|
+
* <p>Note that the <code>enaSupport</code> attribute is not supported.</p>
|
|
3237
3237
|
* @public
|
|
3238
3238
|
*/
|
|
3239
3239
|
Attribute: InstanceAttributeName | undefined;
|
|
@@ -3334,8 +3334,8 @@ export interface InstanceAttribute {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
BlockDeviceMappings?: InstanceBlockDeviceMapping[] | undefined;
|
|
3336
3336
|
/**
|
|
3337
|
-
* <p>If the value is <code>true</code>,
|
|
3338
|
-
* EC2 console,
|
|
3337
|
+
* <p>Indicates whether termination protection is enabled. If the value is <code>true</code>,
|
|
3338
|
+
* you can't terminate the instance using the Amazon EC2 console, command line tools, or API.</p>
|
|
3339
3339
|
* @public
|
|
3340
3340
|
*/
|
|
3341
3341
|
DisableApiTermination?: AttributeBooleanValue | undefined;
|
|
@@ -3345,8 +3345,7 @@ export interface InstanceAttribute {
|
|
|
3345
3345
|
*/
|
|
3346
3346
|
EnaSupport?: AttributeBooleanValue | undefined;
|
|
3347
3347
|
/**
|
|
3348
|
-
* <p>
|
|
3349
|
-
* <code>true</code>; otherwise, set it to <code>false</code>.</p>
|
|
3348
|
+
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p>
|
|
3350
3349
|
* @public
|
|
3351
3350
|
*/
|
|
3352
3351
|
EnclaveOptions?: EnclaveOptions | undefined;
|
|
@@ -3377,7 +3376,7 @@ export interface InstanceAttribute {
|
|
|
3377
3376
|
*/
|
|
3378
3377
|
KernelId?: AttributeValue | undefined;
|
|
3379
3378
|
/**
|
|
3380
|
-
* <p>
|
|
3379
|
+
* <p>The product codes.</p>
|
|
3381
3380
|
* @public
|
|
3382
3381
|
*/
|
|
3383
3382
|
ProductCodes?: ProductCode[] | undefined;
|
|
@@ -3393,12 +3392,7 @@ export interface InstanceAttribute {
|
|
|
3393
3392
|
*/
|
|
3394
3393
|
RootDeviceName?: AttributeValue | undefined;
|
|
3395
3394
|
/**
|
|
3396
|
-
* <p>
|
|
3397
|
-
* the source or the destination of any traffic that it receives. If the value is
|
|
3398
|
-
* <code>true</code>, source/destination checks are enabled; otherwise, they are
|
|
3399
|
-
* disabled. The default value is <code>true</code>. You must disable source/destination
|
|
3400
|
-
* checks if the instance runs services such as network address translation, routing, or
|
|
3401
|
-
* firewalls.</p>
|
|
3395
|
+
* <p>Indicates whether source/destination checks are enabled.</p>
|
|
3402
3396
|
* @public
|
|
3403
3397
|
*/
|
|
3404
3398
|
SourceDestCheck?: AttributeBooleanValue | undefined;
|
|
@@ -3414,8 +3408,7 @@ export interface InstanceAttribute {
|
|
|
3414
3408
|
*/
|
|
3415
3409
|
UserData?: AttributeValue | undefined;
|
|
3416
3410
|
/**
|
|
3417
|
-
* <p>
|
|
3418
|
-
* <code>true</code>; otherwise, set it to <code>false</code>.</p>
|
|
3411
|
+
* <p>Indicates whether stop protection is enabled for the instance.</p>
|
|
3419
3412
|
* @public
|
|
3420
3413
|
*/
|
|
3421
3414
|
DisableApiStop?: AttributeBooleanValue | undefined;
|
|
@@ -10576,6 +10569,17 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
10576
10569
|
* </li>
|
|
10577
10570
|
* <li>
|
|
10578
10571
|
* <p>
|
|
10572
|
+
* <code>operator.managed</code> - A Boolean that indicates whether this is a
|
|
10573
|
+
* managed network interface.</p>
|
|
10574
|
+
* </li>
|
|
10575
|
+
* <li>
|
|
10576
|
+
* <p>
|
|
10577
|
+
* <code>operator.principal</code> - The principal that manages the network
|
|
10578
|
+
* interface. Only valid for managed network interfaces, where <code>managed</code>
|
|
10579
|
+
* is <code>true</code>.</p>
|
|
10580
|
+
* </li>
|
|
10581
|
+
* <li>
|
|
10582
|
+
* <p>
|
|
10579
10583
|
* <code>owner-id</code> - The Amazon Web Services account ID of the network interface owner.</p>
|
|
10580
10584
|
* </li>
|
|
10581
10585
|
* <li>
|
|
@@ -2543,8 +2543,9 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
2543
2543
|
*/
|
|
2544
2544
|
PrivateIpAddresses?: PrivateIpAddressSpecification[] | undefined;
|
|
2545
2545
|
/**
|
|
2546
|
-
* <p>The number of secondary private IPv4 addresses. You can
|
|
2547
|
-
*
|
|
2546
|
+
* <p>The number of secondary private IPv4 addresses. You can’t specify this parameter and
|
|
2547
|
+
* also specify a secondary private IP address using the <code>PrivateIpAddress</code>
|
|
2548
|
+
* parameter.</p>
|
|
2548
2549
|
* @public
|
|
2549
2550
|
*/
|
|
2550
2551
|
SecondaryPrivateIpAddressCount?: number | undefined;
|
|
@@ -7633,7 +7634,9 @@ export interface DescribeVpcEndpointsRequest {
|
|
|
7633
7634
|
* </li>
|
|
7634
7635
|
* <li>
|
|
7635
7636
|
* <p>
|
|
7636
|
-
* <code>vpc-endpoint-type</code> - The type of VPC endpoint (<code>Interface</code> |
|
|
7637
|
+
* <code>vpc-endpoint-type</code> - The type of VPC endpoint (<code>Interface</code> |
|
|
7638
|
+
* <code>Gateway</code> | <code>GatewayLoadBalancer</code> | <code>Resource</code> |
|
|
7639
|
+
* <code>ServiceNetwork</code>).</p>
|
|
7637
7640
|
* </li>
|
|
7638
7641
|
* </ul>
|
|
7639
7642
|
* @public
|
|
@@ -6356,7 +6356,7 @@ export interface SnapshotRecycleBinInfo {
|
|
|
6356
6356
|
*/
|
|
6357
6357
|
SnapshotId?: string | undefined;
|
|
6358
6358
|
/**
|
|
6359
|
-
* <p>The date and time when the
|
|
6359
|
+
* <p>The date and time when the snapshot entered the Recycle Bin.</p>
|
|
6360
6360
|
* @public
|
|
6361
6361
|
*/
|
|
6362
6362
|
RecycleBinEnterTime?: Date | undefined;
|
|
@@ -7517,9 +7517,9 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
7517
7517
|
*/
|
|
7518
7518
|
BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[] | undefined;
|
|
7519
7519
|
/**
|
|
7520
|
-
* <p>If the value is <code>true</code>,
|
|
7521
|
-
*
|
|
7522
|
-
* Instances.</p>
|
|
7520
|
+
* <p>Enable or disable termination protection for the instance. If the value is <code>true</code>,
|
|
7521
|
+
* you can't terminate the instance using the Amazon EC2 console, command line interface, or API.
|
|
7522
|
+
* You can't enable termination protection for Spot Instances.</p>
|
|
7523
7523
|
* @public
|
|
7524
7524
|
*/
|
|
7525
7525
|
DisableApiTermination?: AttributeBooleanValue | undefined;
|
|
@@ -722,11 +722,21 @@ export interface ModifyIpamResourceDiscoveryRequest {
|
|
|
722
722
|
RemoveOperatingRegions?: RemoveIpamOperatingRegion[] | undefined;
|
|
723
723
|
/**
|
|
724
724
|
* <p>Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
725
|
+
* <note>
|
|
726
|
+
* <p>The resulting set of exclusions must not result in "overlap", meaning two or more OU
|
|
727
|
+
* exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in <a href="https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete">Add or remove OU exclusions
|
|
728
|
+
* </a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
729
|
+
* </note>
|
|
725
730
|
* @public
|
|
726
731
|
*/
|
|
727
732
|
AddOrganizationalUnitExclusions?: AddIpamOrganizationalUnitExclusion[] | undefined;
|
|
728
733
|
/**
|
|
729
734
|
* <p>Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
735
|
+
* <note>
|
|
736
|
+
* <p>The resulting set of exclusions must not result in "overlap", meaning two or more OU
|
|
737
|
+
* exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in <a href="https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete">Add or remove OU exclusions
|
|
738
|
+
* </a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
739
|
+
* </note>
|
|
730
740
|
* @public
|
|
731
741
|
*/
|
|
732
742
|
RemoveOrganizationalUnitExclusions?: RemoveIpamOrganizationalUnitExclusion[] | undefined;
|
|
@@ -1135,6 +1145,14 @@ export interface ModifyReservedInstancesResult {
|
|
|
1135
1145
|
* <p>ReferencedGroupId</p>
|
|
1136
1146
|
* </li>
|
|
1137
1147
|
* </ul>
|
|
1148
|
+
* <note>
|
|
1149
|
+
* <p>
|
|
1150
|
+
* Amazon Web Services <a href="https://en.wikipedia.org/wiki/Canonicalization">canonicalizes</a> IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block,
|
|
1151
|
+
* Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
|
1152
|
+
* return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the
|
|
1153
|
+
* non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized
|
|
1154
|
+
* form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.</p>
|
|
1155
|
+
* </note>
|
|
1138
1156
|
* <p>When you modify a rule, you cannot change the rule type. For example, if the rule
|
|
1139
1157
|
* uses an IPv4 address range, you must use <code>CidrIpv4</code> to specify a new IPv4
|
|
1140
1158
|
* address range.</p>
|
|
@@ -7083,13 +7101,11 @@ export interface RunInstancesRequest {
|
|
|
7083
7101
|
*/
|
|
7084
7102
|
DryRun?: boolean | undefined;
|
|
7085
7103
|
/**
|
|
7086
|
-
* <p>
|
|
7087
|
-
*
|
|
7088
|
-
*
|
|
7089
|
-
*
|
|
7090
|
-
*
|
|
7091
|
-
* <p>Default: <code>false</code>
|
|
7092
|
-
* </p>
|
|
7104
|
+
* <p>Indicates whether termination protection is enabled for the instance. The default
|
|
7105
|
+
* is <code>false</code>, which means that you can terminate the instance using
|
|
7106
|
+
* the Amazon EC2 console, command line tools, or API. You can enable termination protection
|
|
7107
|
+
* when you launch an instance, while the instance is running, or while the instance
|
|
7108
|
+
* is stopped.</p>
|
|
7093
7109
|
* @public
|
|
7094
7110
|
*/
|
|
7095
7111
|
DisableApiTermination?: boolean | undefined;
|
|
@@ -8241,7 +8257,7 @@ export interface UnassignIpv6AddressesResult {
|
|
|
8241
8257
|
*/
|
|
8242
8258
|
UnassignedIpv6Addresses?: string[] | undefined;
|
|
8243
8259
|
/**
|
|
8244
|
-
* <p>The
|
|
8260
|
+
* <p>The IPv6 prefixes that have been unassigned from the network interface.</p>
|
|
8245
8261
|
* @public
|
|
8246
8262
|
*/
|
|
8247
8263
|
UnassignedIpv6Prefixes?: string[] | undefined;
|
|
@@ -705,6 +705,7 @@ export interface Snapshot {
|
|
|
705
705
|
TransferType?: TransferType | undefined;
|
|
706
706
|
CompletionDurationMinutes?: number | undefined;
|
|
707
707
|
CompletionTime?: Date | undefined;
|
|
708
|
+
FullSnapshotSizeInBytes?: number | undefined;
|
|
708
709
|
SnapshotId?: string | undefined;
|
|
709
710
|
VolumeId?: string | undefined;
|
|
710
711
|
State?: SnapshotState | undefined;
|
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.746.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",
|