@aws-sdk/client-ec2 3.726.1 → 3.727.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
@@ -18719,6 +18719,9 @@ var se_CreateClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context)
18719
18719
  entries[loc] = value;
18720
18720
  });
18721
18721
  }
18722
+ if (input[_DOST] != null) {
18723
+ entries[_DOST] = input[_DOST];
18724
+ }
18722
18725
  return entries;
18723
18726
  }, "se_CreateClientVpnEndpointRequest");
18724
18727
  var se_CreateClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => {
@@ -31698,6 +31701,9 @@ var se_ModifyClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context)
31698
31701
  entries[loc] = value;
31699
31702
  });
31700
31703
  }
31704
+ if (input[_DOST] != null) {
31705
+ entries[_DOST] = input[_DOST];
31706
+ }
31701
31707
  return entries;
31702
31708
  }, "se_ModifyClientVpnEndpointRequest");
31703
31709
  var se_ModifyDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => {
@@ -41226,6 +41232,9 @@ var de_ClientVpnEndpoint = /* @__PURE__ */ __name((output, context) => {
41226
41232
  if (output[_cLBO] != null) {
41227
41233
  contents[_CLBO] = de_ClientLoginBannerResponseOptions(output[_cLBO], context);
41228
41234
  }
41235
+ if (output[_dOST] != null) {
41236
+ contents[_DOST] = (0, import_smithy_client.parseBoolean)(output[_dOST]);
41237
+ }
41229
41238
  return contents;
41230
41239
  }, "de_ClientVpnEndpoint");
41231
41240
  var de_ClientVpnEndpointAttributeStatus = /* @__PURE__ */ __name((output, context) => {
@@ -61134,6 +61143,7 @@ var _DO = "DestinationOptions";
61134
61143
  var _DOA = "DestinationOutpostArn";
61135
61144
  var _DOI = "DhcpOptionsId";
61136
61145
  var _DOIh = "DhcpOptionsIds";
61146
+ var _DOST = "DisconnectOnSessionTimeout";
61137
61147
  var _DOT = "DeleteOnTermination";
61138
61148
  var _DOe = "DeviceOptions";
61139
61149
  var _DOh = "DhcpOptions";
@@ -63466,6 +63476,7 @@ var _dNn = "dnsName";
63466
63476
  var _dO = "dhcpOptions";
63467
63477
  var _dOI = "dhcpOptionsId";
63468
63478
  var _dOS = "dhcpOptionsSet";
63479
+ var _dOST = "disconnectOnSessionTimeout";
63469
63480
  var _dOT = "deleteOnTermination";
63470
63481
  var _dOe = "destinationOptions";
63471
63482
  var _dOev = "deviceOptions";
@@ -17199,6 +17199,9 @@ const se_CreateClientVpnEndpointRequest = (input, context) => {
17199
17199
  entries[loc] = value;
17200
17200
  });
17201
17201
  }
17202
+ if (input[_DOST] != null) {
17203
+ entries[_DOST] = input[_DOST];
17204
+ }
17202
17205
  return entries;
17203
17206
  };
17204
17207
  const se_CreateClientVpnRouteRequest = (input, context) => {
@@ -30178,6 +30181,9 @@ const se_ModifyClientVpnEndpointRequest = (input, context) => {
30178
30181
  entries[loc] = value;
30179
30182
  });
30180
30183
  }
30184
+ if (input[_DOST] != null) {
30185
+ entries[_DOST] = input[_DOST];
30186
+ }
30181
30187
  return entries;
30182
30188
  };
30183
30189
  const se_ModifyDefaultCreditSpecificationRequest = (input, context) => {
@@ -39854,6 +39860,9 @@ const de_ClientVpnEndpoint = (output, context) => {
39854
39860
  if (output[_cLBO] != null) {
39855
39861
  contents[_CLBO] = de_ClientLoginBannerResponseOptions(output[_cLBO], context);
39856
39862
  }
39863
+ if (output[_dOST] != null) {
39864
+ contents[_DOST] = __parseBoolean(output[_dOST]);
39865
+ }
39857
39866
  return contents;
39858
39867
  };
39859
39868
  const de_ClientVpnEndpointAttributeStatus = (output, context) => {
@@ -61070,6 +61079,7 @@ const _DO = "DestinationOptions";
61070
61079
  const _DOA = "DestinationOutpostArn";
61071
61080
  const _DOI = "DhcpOptionsId";
61072
61081
  const _DOIh = "DhcpOptionsIds";
61082
+ const _DOST = "DisconnectOnSessionTimeout";
61073
61083
  const _DOT = "DeleteOnTermination";
61074
61084
  const _DOe = "DeviceOptions";
61075
61085
  const _DOh = "DhcpOptions";
@@ -63402,6 +63412,7 @@ const _dNn = "dnsName";
63402
63412
  const _dO = "dhcpOptions";
63403
63413
  const _dOI = "dhcpOptionsId";
63404
63414
  const _dOS = "dhcpOptionsSet";
63415
+ const _dOST = "disconnectOnSessionTimeout";
63405
63416
  const _dOT = "deleteOnTermination";
63406
63417
  const _dOe = "destinationOptions";
63407
63418
  const _dOev = "deviceOptions";
@@ -42,6 +42,9 @@ declare const CancelCapacityReservationCommand_base: {
42
42
  * duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.</p>
43
43
  * </li>
44
44
  * </ul>
45
+ * <note>
46
+ * <p>You can't modify or cancel a Capacity Block. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html">Capacity Blocks for ML</a>.</p>
47
+ * </note>
45
48
  * <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the commitment
46
49
  * duration is waived, and you can cancel it as soon as it enters the <code>active</code> state.</p>
47
50
  * <p>Instances running in the reserved capacity continue running until you stop them. Stopped
@@ -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
- * encryption key for the Region, or a different key that you specify in the request using
43
- * <b>KmsKeyId</b>. Outposts do not support unencrypted
44
- * snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
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
@@ -93,6 +93,7 @@ declare const CreateClientVpnEndpointCommand_base: {
93
93
  * Enabled: true || false,
94
94
  * BannerText: "STRING_VALUE",
95
95
  * },
96
+ * DisconnectOnSessionTimeout: true || false,
96
97
  * };
97
98
  * const command = new CreateClientVpnEndpointCommand(input);
98
99
  * const response = await client.send(command);
@@ -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
- * Local Zone or in parent Amazon Web Services Region.</p>
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.
@@ -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 de-register the AMI before you can delete the snapshot.</p>
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
@@ -29,6 +29,20 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
29
29
  /**
30
30
  * <p>Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a
31
31
  * specific instance type for a period of time.</p>
32
+ * <p>To search for an available Capacity Block offering, you specify a reservation duration
33
+ * and instance count. You must select one of the following options.</p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>For reservation durations<b> 1-day increments
37
+ * up 14 days and 7-day increments up to 182 days total</b>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>For instance count<b> 1, 2, 4, 8, 16, 32, or
42
+ * 64 instances</b>
43
+ * </p>
44
+ * </li>
45
+ * </ul>
32
46
  * @example
33
47
  * Use a bare-bones client and the command you need to make an API call.
34
48
  * ```javascript
@@ -123,6 +123,7 @@ declare const DescribeClientVpnEndpointsCommand_base: {
123
123
  * // Enabled: true || false,
124
124
  * // BannerText: "STRING_VALUE",
125
125
  * // },
126
+ * // DisconnectOnSessionTimeout: true || false,
126
127
  * // },
127
128
  * // ],
128
129
  * // NextToken: "STRING_VALUE",
@@ -68,7 +68,8 @@ declare const DescribeInstanceTopologyCommand_base: {
68
68
  * <li>
69
69
  * <p>
70
70
  * <code>trn1.2xlarge</code> | <code>trn1.32xlarge</code> |
71
- * <code>trn1n.32xlarge</code>
71
+ * <code>trn1n.32xlarge</code> | <code>trn2.48xlarge</code> |
72
+ * <code>trn2u.48xlarge</code>
72
73
  * </p>
73
74
  * </li>
74
75
  * </ul>
@@ -66,6 +66,7 @@ declare const ModifyClientVpnEndpointCommand_base: {
66
66
  * Enabled: true || false,
67
67
  * BannerText: "STRING_VALUE",
68
68
  * },
69
+ * DisconnectOnSessionTimeout: true || false,
69
70
  * };
70
71
  * const command = new ModifyClientVpnEndpointCommand(input);
71
72
  * const response = await client.send(command);
@@ -2235,6 +2235,12 @@ export interface CreateClientVpnEndpointRequest {
2235
2235
  * @public
2236
2236
  */
2237
2237
  ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
2238
+ /**
2239
+ * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically.
2240
+ * The default value is <code>false</code>.</p>
2241
+ * @public
2242
+ */
2243
+ DisconnectOnSessionTimeout?: boolean | undefined;
2238
2244
  }
2239
2245
  /**
2240
2246
  * @public
@@ -5273,6 +5273,11 @@ export interface ClientVpnEndpoint {
5273
5273
  * @public
5274
5274
  */
5275
5275
  ClientLoginBannerOptions?: ClientLoginBannerResponseOptions | undefined;
5276
+ /**
5277
+ * <p>Indicates whether the client VPN session is disconnected after the maximum <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>
5278
+ * @public
5279
+ */
5280
+ DisconnectOnSessionTimeout?: boolean | undefined;
5276
5281
  }
5277
5282
  /**
5278
5283
  * @public
@@ -10576,6 +10576,17 @@ export interface DescribeNetworkInterfacesRequest {
10576
10576
  * </li>
10577
10577
  * <li>
10578
10578
  * <p>
10579
+ * <code>operator.managed</code> - A Boolean that indicates whether this is a
10580
+ * managed network interface.</p>
10581
+ * </li>
10582
+ * <li>
10583
+ * <p>
10584
+ * <code>operator.principal</code> - The principal that manages the network
10585
+ * interface. Only valid for managed network interfaces, where <code>managed</code>
10586
+ * is <code>true</code>.</p>
10587
+ * </li>
10588
+ * <li>
10589
+ * <p>
10579
10590
  * <code>owner-id</code> - The Amazon Web Services account ID of the network interface owner.</p>
10580
10591
  * </li>
10581
10592
  * <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't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're
2547
- * launching more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
2546
+ * <p>The number of secondary private IPv4 addresses. You cant 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;
@@ -6906,6 +6906,11 @@ export interface ModifyClientVpnEndpointRequest {
6906
6906
  * @public
6907
6907
  */
6908
6908
  ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
6909
+ /**
6910
+ * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>
6911
+ * @public
6912
+ */
6913
+ DisconnectOnSessionTimeout?: boolean | undefined;
6909
6914
  }
6910
6915
  /**
6911
6916
  * @public
@@ -7432,7 +7437,7 @@ export interface InstanceBlockDeviceMappingSpecification {
7432
7437
  */
7433
7438
  VirtualName?: string | undefined;
7434
7439
  /**
7435
- * <p>suppress the specified device included in the block device mapping.</p>
7440
+ * <p>Suppresses the specified device included in the block device mapping.</p>
7436
7441
  * @public
7437
7442
  */
7438
7443
  NoDevice?: string | undefined;
@@ -1189,6 +1189,7 @@ export interface CreateClientVpnEndpointRequest {
1189
1189
  ClientConnectOptions?: ClientConnectOptions | undefined;
1190
1190
  SessionTimeoutHours?: number | undefined;
1191
1191
  ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
1192
+ DisconnectOnSessionTimeout?: boolean | undefined;
1192
1193
  }
1193
1194
  export declare const ClientVpnEndpointStatusCode: {
1194
1195
  readonly available: "available";
@@ -1266,6 +1266,7 @@ export interface ClientVpnEndpoint {
1266
1266
  ClientConnectOptions?: ClientConnectResponseOptions | undefined;
1267
1267
  SessionTimeoutHours?: number | undefined;
1268
1268
  ClientLoginBannerOptions?: ClientLoginBannerResponseOptions | undefined;
1269
+ DisconnectOnSessionTimeout?: boolean | undefined;
1269
1270
  }
1270
1271
  export interface DescribeClientVpnEndpointsResult {
1271
1272
  ClientVpnEndpoints?: ClientVpnEndpoint[] | undefined;
@@ -1600,6 +1600,7 @@ export interface ModifyClientVpnEndpointRequest {
1600
1600
  ClientConnectOptions?: ClientConnectOptions | undefined;
1601
1601
  SessionTimeoutHours?: number | undefined;
1602
1602
  ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
1603
+ DisconnectOnSessionTimeout?: boolean | undefined;
1603
1604
  }
1604
1605
  export interface ModifyClientVpnEndpointResult {
1605
1606
  Return?: boolean | 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.726.1",
4
+ "version": "3.727.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",