@aws-sdk/client-ec2 3.913.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 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>
@@ -209,6 +209,7 @@ declare const CreateNetworkInterfaceCommand_base: {
209
209
  * // AssociatedSubnets: [ // AssociatedSubnetList
210
210
  * // "STRING_VALUE",
211
211
  * // ],
212
+ * // AvailabilityZoneId: "STRING_VALUE",
212
213
  * // },
213
214
  * // ClientToken: "STRING_VALUE",
214
215
  * // };
@@ -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.</p>
31
- * <p>A VPC must have an associated IPv4 CIDR block. You can choose an IPv4 CIDR block or an
32
- * IPAM-allocated IPv4 CIDR block. You can optionally associate an IPv6 CIDR block with a
33
- * VPC. You can choose an IPv6 CIDR block, an Amazon-provided IPv6 CIDR block, an
34
- * IPAM-allocated IPv6 CIDR block, or an IPv6 CIDR block that you brought to Amazon Web Services. For
35
- * more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html">IP addressing for your VPCs and
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 DNS options and tenancy for a VPC when you create it. You can't change
41
- * the tenancy of a VPC after you create it. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/create-vpc-options.html">VPC configuration options</a> in the
42
- * <i>Amazon VPC User Guide</i>.</p>
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>
@@ -174,6 +174,7 @@ declare const DescribeNetworkInterfacesCommand_base: {
174
174
  * // AssociatedSubnets: [ // AssociatedSubnetList
175
175
  * // "STRING_VALUE",
176
176
  * // ],
177
+ * // AvailabilityZoneId: "STRING_VALUE",
177
178
  * // },
178
179
  * // ],
179
180
  * // NextToken: "STRING_VALUE",
@@ -27,20 +27,8 @@ declare const TerminateInstancesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Terminates (deletes) the specified instances. This operation is <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">idempotent</a>; if you
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>vpc-id</code>: The ID of the associated VPC.</p>
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>vpc-owner-id</code>: The account ID of the VPC owner.</p>
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.913.0",
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",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.911.0",
24
- "@aws-sdk/credential-provider-node": "3.913.0",
25
- "@aws-sdk/middleware-host-header": "3.910.0",
26
- "@aws-sdk/middleware-logger": "3.910.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.910.0",
28
- "@aws-sdk/middleware-sdk-ec2": "3.910.0",
29
- "@aws-sdk/middleware-user-agent": "3.911.0",
30
- "@aws-sdk/region-config-resolver": "3.910.0",
31
- "@aws-sdk/types": "3.910.0",
32
- "@aws-sdk/util-endpoints": "3.910.0",
33
- "@aws-sdk/util-user-agent-browser": "3.910.0",
34
- "@aws-sdk/util-user-agent-node": "3.911.0",
35
- "@smithy/config-resolver": "^4.3.2",
36
- "@smithy/core": "^3.16.1",
37
- "@smithy/fetch-http-handler": "^5.3.3",
38
- "@smithy/hash-node": "^4.2.2",
39
- "@smithy/invalid-dependency": "^4.2.2",
40
- "@smithy/middleware-content-length": "^4.2.2",
41
- "@smithy/middleware-endpoint": "^4.3.3",
42
- "@smithy/middleware-retry": "^4.4.3",
43
- "@smithy/middleware-serde": "^4.2.2",
44
- "@smithy/middleware-stack": "^4.2.2",
45
- "@smithy/node-config-provider": "^4.3.2",
46
- "@smithy/node-http-handler": "^4.4.1",
47
- "@smithy/protocol-http": "^5.3.2",
48
- "@smithy/smithy-client": "^4.8.1",
49
- "@smithy/types": "^4.7.1",
50
- "@smithy/url-parser": "^4.2.2",
23
+ "@aws-sdk/core": "3.914.0",
24
+ "@aws-sdk/credential-provider-node": "3.914.0",
25
+ "@aws-sdk/middleware-host-header": "3.914.0",
26
+ "@aws-sdk/middleware-logger": "3.914.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.914.0",
28
+ "@aws-sdk/middleware-sdk-ec2": "3.914.0",
29
+ "@aws-sdk/middleware-user-agent": "3.914.0",
30
+ "@aws-sdk/region-config-resolver": "3.914.0",
31
+ "@aws-sdk/types": "3.914.0",
32
+ "@aws-sdk/util-endpoints": "3.914.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.914.0",
34
+ "@aws-sdk/util-user-agent-node": "3.914.0",
35
+ "@smithy/config-resolver": "^4.4.0",
36
+ "@smithy/core": "^3.17.0",
37
+ "@smithy/fetch-http-handler": "^5.3.4",
38
+ "@smithy/hash-node": "^4.2.3",
39
+ "@smithy/invalid-dependency": "^4.2.3",
40
+ "@smithy/middleware-content-length": "^4.2.3",
41
+ "@smithy/middleware-endpoint": "^4.3.4",
42
+ "@smithy/middleware-retry": "^4.4.4",
43
+ "@smithy/middleware-serde": "^4.2.3",
44
+ "@smithy/middleware-stack": "^4.2.3",
45
+ "@smithy/node-config-provider": "^4.3.3",
46
+ "@smithy/node-http-handler": "^4.4.2",
47
+ "@smithy/protocol-http": "^5.3.3",
48
+ "@smithy/smithy-client": "^4.9.0",
49
+ "@smithy/types": "^4.8.0",
50
+ "@smithy/url-parser": "^4.2.3",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.2",
55
- "@smithy/util-defaults-mode-node": "^4.2.3",
56
- "@smithy/util-endpoints": "^3.2.2",
57
- "@smithy/util-middleware": "^4.2.2",
58
- "@smithy/util-retry": "^4.2.2",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.3",
55
+ "@smithy/util-defaults-mode-node": "^4.2.5",
56
+ "@smithy/util-endpoints": "^3.2.3",
57
+ "@smithy/util-middleware": "^4.2.3",
58
+ "@smithy/util-retry": "^4.2.3",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
- "@smithy/util-waiter": "^4.2.2",
60
+ "@smithy/util-waiter": "^4.2.3",
61
61
  "@smithy/uuid": "^1.1.0",
62
62
  "tslib": "^2.6.2"
63
63
  },