@aws-sdk/client-ec2 3.914.0 → 3.915.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 +3 -0
- package/dist-es/protocols/Aws_ec2.js +3 -0
- package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +0 -12
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -0
- package/dist-types/commands/CreateVpcCommand.d.ts +9 -10
- package/dist-types/commands/DeleteFleetsCommand.d.ts +0 -12
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -0
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -13
- package/dist-types/models/models_2.d.ts +5 -0
- package/dist-types/models/models_5.d.ts +19 -2
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -56904,6 +56904,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
56904
56904
|
else if (output[_aSSs] != null && output[_aSSs][_i] != null) {
|
|
56905
56905
|
contents[_ASsso] = de_AssociatedSubnetList(smithyClient.getArrayIfSingleItem(output[_aSSs][_i]));
|
|
56906
56906
|
}
|
|
56907
|
+
if (output[_aZI] != null) {
|
|
56908
|
+
contents[_AZI] = smithyClient.expectString(output[_aZI]);
|
|
56909
|
+
}
|
|
56907
56910
|
return contents;
|
|
56908
56911
|
};
|
|
56909
56912
|
const de_NetworkInterfaceAssociation = (output, context) => {
|
|
@@ -56787,6 +56787,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
56787
56787
|
else if (output[_aSSs] != null && output[_aSSs][_i] != null) {
|
|
56788
56788
|
contents[_ASsso] = de_AssociatedSubnetList(__getArrayIfSingleItem(output[_aSSs][_i]), context);
|
|
56789
56789
|
}
|
|
56790
|
+
if (output[_aZI] != null) {
|
|
56791
|
+
contents[_AZI] = __expectString(output[_aZI]);
|
|
56792
|
+
}
|
|
56790
56793
|
return contents;
|
|
56791
56794
|
};
|
|
56792
56795
|
const de_NetworkInterfaceAssociation = (output, context) => {
|
|
@@ -34,18 +34,6 @@ declare const CancelSpotFleetRequestsCommand_base: {
|
|
|
34
34
|
* <code>cancelled_terminating</code> state. Otherwise, the Spot Fleet request enters
|
|
35
35
|
* the <code>cancelled_running</code> state and the instances continue to run until they
|
|
36
36
|
* are interrupted or you terminate them manually.</p>
|
|
37
|
-
* <important>
|
|
38
|
-
* <p>
|
|
39
|
-
* <b>Terminating an instance is permanent and irreversible.</b>
|
|
40
|
-
* </p>
|
|
41
|
-
* <p>After you terminate an instance, you can no longer connect to it, and it can't be recovered.
|
|
42
|
-
* All attached Amazon EBS volumes that are configured to be deleted on termination are also permanently
|
|
43
|
-
* deleted and can't be recovered. All data stored on instance store volumes is permanently lost.
|
|
44
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ec2-instance-termination-works.html">
|
|
45
|
-
* How instance termination works</a>.</p>
|
|
46
|
-
* <p>Before you terminate an instance, ensure that you have backed up all data that you need to
|
|
47
|
-
* retain after the termination to persistent storage.</p>
|
|
48
|
-
* </important>
|
|
49
37
|
* <p class="title">
|
|
50
38
|
* <b>Restrictions</b>
|
|
51
39
|
* </p>
|
|
@@ -27,19 +27,18 @@ declare const CreateVpcCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a VPC with the specified CIDR blocks
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
30
|
+
* <p>Creates a VPC with the specified CIDR blocks. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html">IP addressing for your VPCs and subnets</a> in the
|
|
31
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
32
|
+
* <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an
|
|
33
|
+
* Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses or an IPv6 CIDR
|
|
34
|
+
* block from an IPv6 address pool that you provisioned through bring your own IP addresses
|
|
35
|
+
* (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
|
|
37
36
|
* <p>By default, each instance that you launch in the VPC has the default DHCP options, which
|
|
38
37
|
* include only a default DNS server that we provide (AmazonProvidedDNS). For more
|
|
39
38
|
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP option sets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
40
|
-
* <p>You can specify
|
|
41
|
-
*
|
|
42
|
-
* <i>Amazon
|
|
39
|
+
* <p>You can specify the instance tenancy value for the VPC when you create it. You can't change
|
|
40
|
+
* this value for the VPC after you create it. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> in the
|
|
41
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
43
42
|
* @example
|
|
44
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
44
|
* ```javascript
|
|
@@ -39,18 +39,6 @@ declare const DeleteFleetsCommand_base: {
|
|
|
39
39
|
* fleets with more than 1000 instances, the deletion request might fail. If your fleet has
|
|
40
40
|
* more than 1000 instances, first terminate most of the instances manually, leaving 1000 or
|
|
41
41
|
* fewer. Then delete the fleet, and the remaining instances will be terminated automatically.</p>
|
|
42
|
-
* <important>
|
|
43
|
-
* <p>
|
|
44
|
-
* <b>Terminating an instance is permanent and irreversible.</b>
|
|
45
|
-
* </p>
|
|
46
|
-
* <p>After you terminate an instance, you can no longer connect to it, and it can't be recovered.
|
|
47
|
-
* All attached Amazon EBS volumes that are configured to be deleted on termination are also permanently
|
|
48
|
-
* deleted and can't be recovered. All data stored on instance store volumes is permanently lost.
|
|
49
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ec2-instance-termination-works.html">
|
|
50
|
-
* How instance termination works</a>.</p>
|
|
51
|
-
* <p>Before you terminate an instance, ensure that you have backed up all data that you need to
|
|
52
|
-
* retain after the termination to persistent storage.</p>
|
|
53
|
-
* </important>
|
|
54
42
|
* <p class="title">
|
|
55
43
|
* <b>Restrictions</b>
|
|
56
44
|
* </p>
|
|
@@ -27,20 +27,8 @@ declare const TerminateInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Shuts down the specified instances. This operation is <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">idempotent</a>; if you
|
|
31
31
|
* terminate an instance more than once, each call succeeds.</p>
|
|
32
|
-
* <important>
|
|
33
|
-
* <p>
|
|
34
|
-
* <b>Terminating an instance is permanent and irreversible.</b>
|
|
35
|
-
* </p>
|
|
36
|
-
* <p>After you terminate an instance, you can no longer connect to it, and it can't be recovered.
|
|
37
|
-
* All attached Amazon EBS volumes that are configured to be deleted on termination are also permanently
|
|
38
|
-
* deleted and can't be recovered. All data stored on instance store volumes is permanently lost.
|
|
39
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ec2-instance-termination-works.html">
|
|
40
|
-
* How instance termination works</a>.</p>
|
|
41
|
-
* <p>Before you terminate an instance, ensure that you have backed up all data that you need to
|
|
42
|
-
* retain after the termination to persistent storage.</p>
|
|
43
|
-
* </important>
|
|
44
32
|
* <p>If you specify multiple instances and the request fails (for example, because of a
|
|
45
33
|
* single incorrect instance ID), none of the instances are terminated.</p>
|
|
46
34
|
* <p>If you terminate multiple instances across multiple Availability Zones, and one or
|
|
@@ -3521,6 +3521,11 @@ export interface NetworkInterface {
|
|
|
3521
3521
|
* @public
|
|
3522
3522
|
*/
|
|
3523
3523
|
AssociatedSubnets?: string[] | undefined;
|
|
3524
|
+
/**
|
|
3525
|
+
* <p>The ID of the Availability Zone.</p>
|
|
3526
|
+
* @public
|
|
3527
|
+
*/
|
|
3528
|
+
AvailabilityZoneId?: string | undefined;
|
|
3524
3529
|
}
|
|
3525
3530
|
/**
|
|
3526
3531
|
* @public
|
|
@@ -3429,6 +3429,11 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
3429
3429
|
* </li>
|
|
3430
3430
|
* <li>
|
|
3431
3431
|
* <p>
|
|
3432
|
+
* <code>availability-zone-id</code> - The ID of the Availability Zone of the
|
|
3433
|
+
* network interface.</p>
|
|
3434
|
+
* </li>
|
|
3435
|
+
* <li>
|
|
3436
|
+
* <p>
|
|
3432
3437
|
* <code>description</code> - The description of the network interface.</p>
|
|
3433
3438
|
* </li>
|
|
3434
3439
|
* <li>
|
|
@@ -6145,15 +6150,27 @@ export interface DescribeSecurityGroupVpcAssociationsRequest {
|
|
|
6145
6150
|
* </li>
|
|
6146
6151
|
* <li>
|
|
6147
6152
|
* <p>
|
|
6153
|
+
* <code>vpc-id</code>: The ID of the associated VPC.</p>
|
|
6154
|
+
* </li>
|
|
6155
|
+
* <li>
|
|
6156
|
+
* <p>
|
|
6157
|
+
* <code>vpc-owner-id</code>: The account ID of the VPC owner.</p>
|
|
6158
|
+
* </li>
|
|
6159
|
+
* <li>
|
|
6160
|
+
* <p>
|
|
6148
6161
|
* <code>state</code>: The state of the association.</p>
|
|
6149
6162
|
* </li>
|
|
6150
6163
|
* <li>
|
|
6151
6164
|
* <p>
|
|
6152
|
-
* <code>
|
|
6165
|
+
* <code>tag:<key></code>: The key/value combination of a tag assigned to the resource. Use
|
|
6166
|
+
* the tag key in the filter name and the tag value as the filter value. For
|
|
6167
|
+
* example, to find all resources that have a tag with the key <code>Owner</code>
|
|
6168
|
+
* and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter
|
|
6169
|
+
* name and <code>TeamA</code> for the filter value.</p>
|
|
6153
6170
|
* </li>
|
|
6154
6171
|
* <li>
|
|
6155
6172
|
* <p>
|
|
6156
|
-
* <code>
|
|
6173
|
+
* <code>tag-key</code>: The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
6157
6174
|
* </li>
|
|
6158
6175
|
* </ul>
|
|
6159
6176
|
* @public
|
|
@@ -845,6 +845,7 @@ export interface NetworkInterface {
|
|
|
845
845
|
Ipv6Address?: string | undefined;
|
|
846
846
|
Operator?: OperatorResponse | undefined;
|
|
847
847
|
AssociatedSubnets?: string[] | undefined;
|
|
848
|
+
AvailabilityZoneId?: string | undefined;
|
|
848
849
|
}
|
|
849
850
|
export interface CreateNetworkInterfaceResult {
|
|
850
851
|
NetworkInterface?: NetworkInterface | 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.915.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",
|