@aws-sdk/client-ec2 3.687.0 → 3.692.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 +9 -0
- package/dist-es/protocols/Aws_ec2.js +9 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +2 -2
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -6
- package/dist-types/models/models_0.d.ts +811 -811
- package/dist-types/models/models_1.d.ts +1017 -1017
- package/dist-types/models/models_2.d.ts +939 -939
- package/dist-types/models/models_3.d.ts +790 -790
- package/dist-types/models/models_4.d.ts +1123 -1100
- package/dist-types/models/models_5.d.ts +867 -867
- package/dist-types/models/models_6.d.ts +867 -867
- package/dist-types/models/models_7.d.ts +576 -575
- package/dist-types/ts3.4/models/models_0.d.ts +823 -811
- package/dist-types/ts3.4/models/models_1.d.ts +1054 -1016
- package/dist-types/ts3.4/models/models_2.d.ts +969 -939
- package/dist-types/ts3.4/models/models_3.d.ts +812 -790
- package/dist-types/ts3.4/models/models_4.d.ts +1118 -1094
- package/dist-types/ts3.4/models/models_5.d.ts +883 -867
- package/dist-types/ts3.4/models/models_6.d.ts +906 -866
- package/dist-types/ts3.4/models/models_7.d.ts +596 -574
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -46331,6 +46331,12 @@ var de_Image = /* @__PURE__ */ __name((output, context) => {
|
|
|
46331
46331
|
if (output[_lLT] != null) {
|
|
46332
46332
|
contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]);
|
|
46333
46333
|
}
|
|
46334
|
+
if (output[_sIIo] != null) {
|
|
46335
|
+
contents[_SII] = (0, import_smithy_client.expectString)(output[_sIIo]);
|
|
46336
|
+
}
|
|
46337
|
+
if (output[_sIR] != null) {
|
|
46338
|
+
contents[_SIRo] = (0, import_smithy_client.expectString)(output[_sIR]);
|
|
46339
|
+
}
|
|
46334
46340
|
if (output[_iIma] != null) {
|
|
46335
46341
|
contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]);
|
|
46336
46342
|
}
|
|
@@ -60093,6 +60099,7 @@ var _SIPI = "SourceIpamPoolId";
|
|
|
60093
60099
|
var _SIR = "SpotInstanceRequests";
|
|
60094
60100
|
var _SIRI = "SpotInstanceRequestIds";
|
|
60095
60101
|
var _SIRIp = "SpotInstanceRequestId";
|
|
60102
|
+
var _SIRo = "SourceImageRegion";
|
|
60096
60103
|
var _SIS = "ScheduledInstanceSet";
|
|
60097
60104
|
var _SIT = "SpotInstanceType";
|
|
60098
60105
|
var _SITR = "StoreImageTaskResults";
|
|
@@ -61819,10 +61826,12 @@ var _sICSS = "successfulInstanceCreditSpecificationSet";
|
|
|
61819
61826
|
var _sIGB = "sizeInGB";
|
|
61820
61827
|
var _sII = "sourceInstanceId";
|
|
61821
61828
|
var _sIIc = "scheduledInstanceId";
|
|
61829
|
+
var _sIIo = "sourceImageId";
|
|
61822
61830
|
var _sIMB = "sizeInMiB";
|
|
61823
61831
|
var _sIP = "staleIpPermissions";
|
|
61824
61832
|
var _sIPE = "staleIpPermissionsEgress";
|
|
61825
61833
|
var _sIPI = "sourceIpamPoolId";
|
|
61834
|
+
var _sIR = "sourceImageRegion";
|
|
61826
61835
|
var _sIRI = "spotInstanceRequestId";
|
|
61827
61836
|
var _sIRS = "spotInstanceRequestSet";
|
|
61828
61837
|
var _sIS = "scheduledInstanceSet";
|
|
@@ -45378,6 +45378,12 @@ const de_Image = (output, context) => {
|
|
|
45378
45378
|
if (output[_lLT] != null) {
|
|
45379
45379
|
contents[_LLT] = __expectString(output[_lLT]);
|
|
45380
45380
|
}
|
|
45381
|
+
if (output[_sIIo] != null) {
|
|
45382
|
+
contents[_SII] = __expectString(output[_sIIo]);
|
|
45383
|
+
}
|
|
45384
|
+
if (output[_sIR] != null) {
|
|
45385
|
+
contents[_SIRo] = __expectString(output[_sIR]);
|
|
45386
|
+
}
|
|
45381
45387
|
if (output[_iIma] != null) {
|
|
45382
45388
|
contents[_IIma] = __expectString(output[_iIma]);
|
|
45383
45389
|
}
|
|
@@ -60016,6 +60022,7 @@ const _SIPI = "SourceIpamPoolId";
|
|
|
60016
60022
|
const _SIR = "SpotInstanceRequests";
|
|
60017
60023
|
const _SIRI = "SpotInstanceRequestIds";
|
|
60018
60024
|
const _SIRIp = "SpotInstanceRequestId";
|
|
60025
|
+
const _SIRo = "SourceImageRegion";
|
|
60019
60026
|
const _SIS = "ScheduledInstanceSet";
|
|
60020
60027
|
const _SIT = "SpotInstanceType";
|
|
60021
60028
|
const _SITR = "StoreImageTaskResults";
|
|
@@ -61742,10 +61749,12 @@ const _sICSS = "successfulInstanceCreditSpecificationSet";
|
|
|
61742
61749
|
const _sIGB = "sizeInGB";
|
|
61743
61750
|
const _sII = "sourceInstanceId";
|
|
61744
61751
|
const _sIIc = "scheduledInstanceId";
|
|
61752
|
+
const _sIIo = "sourceImageId";
|
|
61745
61753
|
const _sIMB = "sizeInMiB";
|
|
61746
61754
|
const _sIP = "staleIpPermissions";
|
|
61747
61755
|
const _sIPE = "staleIpPermissionsEgress";
|
|
61748
61756
|
const _sIPI = "sourceIpamPoolId";
|
|
61757
|
+
const _sIR = "sourceImageRegion";
|
|
61749
61758
|
const _sIRI = "spotInstanceRequestId";
|
|
61750
61759
|
const _sIRS = "spotInstanceRequestSet";
|
|
61751
61760
|
const _sIS = "scheduledInstanceSet";
|
|
@@ -28,7 +28,7 @@ declare const CreateCapacityReservationBySplittingCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>
|
|
31
|
-
* Create a new Capacity Reservation by splitting the
|
|
31
|
+
* Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be <code>active</code> and owned by your Amazon Web Services account.
|
|
32
32
|
* </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,7 +28,7 @@ declare const CreateKeyPairCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the
|
|
31
|
-
* specified
|
|
31
|
+
* specified format. Amazon EC2 stores the public key and displays the private
|
|
32
32
|
* key for you to save to a file. The private key is returned as an unencrypted PEM encoded
|
|
33
33
|
* PKCS#1 private key or an unencrypted PPK formatted private key for use with PuTTY. If a
|
|
34
34
|
* key with the specified name already exists, Amazon EC2 returns an error.</p>
|
|
@@ -37,7 +37,7 @@ declare const CreateKeyPairCommand_base: {
|
|
|
37
37
|
* to any Region using <a>ImportKeyPair</a>.</p>
|
|
38
38
|
* <p>You can have up to 5,000 key pairs per Amazon Web Services Region.</p>
|
|
39
39
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a> in the
|
|
40
|
-
* <i>Amazon
|
|
40
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
41
41
|
* @example
|
|
42
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
43
|
* ```javascript
|
|
@@ -31,9 +31,9 @@ declare const CreateSecurityGroupCommand_base: {
|
|
|
31
31
|
* <p>A security group acts as a virtual firewall for your instance to control inbound and outbound traffic.
|
|
32
32
|
* For more information, see
|
|
33
33
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Amazon EC2 security groups</a> in
|
|
34
|
-
* the <i>Amazon
|
|
34
|
+
* the <i>Amazon EC2 User Guide</i> and
|
|
35
35
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
36
|
-
* <i>Amazon
|
|
36
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
37
37
|
* <p>When you create a security group, you specify a friendly name of your choice.
|
|
38
38
|
* You can't have two security groups for the same VPC with the same name.</p>
|
|
39
39
|
* <p>You have a default security group for use in your VPC. If you don't specify a security group
|
|
@@ -125,6 +125,8 @@ declare const DescribeImagesCommand_base: {
|
|
|
125
125
|
* // SourceInstanceId: "STRING_VALUE",
|
|
126
126
|
* // DeregistrationProtection: "STRING_VALUE",
|
|
127
127
|
* // LastLaunchedTime: "STRING_VALUE",
|
|
128
|
+
* // SourceImageId: "STRING_VALUE",
|
|
129
|
+
* // SourceImageRegion: "STRING_VALUE",
|
|
128
130
|
* // ImageId: "STRING_VALUE",
|
|
129
131
|
* // ImageLocation: "STRING_VALUE",
|
|
130
132
|
* // State: "pending" || "available" || "invalid" || "deregistered" || "transient" || "failed" || "error" || "disabled",
|
|
@@ -29,7 +29,7 @@ declare const DescribeKeyPairsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the specified key pairs or all of your key pairs.</p>
|
|
31
31
|
* <p>For more information about key pairs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a>
|
|
32
|
-
* in the <i>Amazon
|
|
32
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -27,12 +27,9 @@ declare const ImportKeyPairCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Imports the public key from an RSA or ED25519 key pair that you created
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* The private key is never transferred between you and Amazon Web Services.</p>
|
|
34
|
-
* <p>For more information about key pairs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a>
|
|
35
|
-
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
30
|
+
* <p>Imports the public key from an RSA or ED25519 key pair that you created using a third-party tool.
|
|
31
|
+
* You give Amazon Web Services only the public key. The private key is never transferred between you and Amazon Web Services.</p>
|
|
32
|
+
* <p>For more information about the requirements for importing a key pair, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws">Create a key pair and import the public key to Amazon EC2</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
36
33
|
* @example
|
|
37
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
35
|
* ```javascript
|