@aws-sdk/client-ec2 3.561.0 → 3.563.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
@@ -32486,6 +32486,9 @@ var se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, c
32486
32486
  entries[loc] = value;
32487
32487
  });
32488
32488
  }
32489
+ if (input[_APIAs] != null) {
32490
+ entries[_APIAs] = input[_APIAs];
32491
+ }
32489
32492
  return entries;
32490
32493
  }, "se_ModifyNetworkInterfaceAttributeRequest");
32491
32494
  var se_ModifyPrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => {
@@ -43863,6 +43866,9 @@ var de_DescribeNetworkInterfaceAttributeResult = /* @__PURE__ */ __name((output,
43863
43866
  if (output[_sDC] != null) {
43864
43867
  contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context);
43865
43868
  }
43869
+ if (output[_aPIA] != null) {
43870
+ contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]);
43871
+ }
43866
43872
  return contents;
43867
43873
  }, "de_DescribeNetworkInterfaceAttributeResult");
43868
43874
  var de_DescribeNetworkInterfacePermissionsResult = /* @__PURE__ */ __name((output, context) => {
@@ -70202,6 +70208,7 @@ var AnalysisStatus = {
70202
70208
  succeeded: "succeeded"
70203
70209
  };
70204
70210
  var NetworkInterfaceAttribute = {
70211
+ associatePublicIpAddress: "associatePublicIpAddress",
70205
70212
  attachment: "attachment",
70206
70213
  description: "description",
70207
70214
  groupSet: "groupSet",
@@ -187,6 +187,7 @@ export const AnalysisStatus = {
187
187
  succeeded: "succeeded",
188
188
  };
189
189
  export const NetworkInterfaceAttribute = {
190
+ associatePublicIpAddress: "associatePublicIpAddress",
190
191
  attachment: "attachment",
191
192
  description: "description",
192
193
  groupSet: "groupSet",
@@ -30743,6 +30743,9 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
30743
30743
  entries[loc] = value;
30744
30744
  });
30745
30745
  }
30746
+ if (input[_APIAs] != null) {
30747
+ entries[_APIAs] = input[_APIAs];
30748
+ }
30746
30749
  return entries;
30747
30750
  };
30748
30751
  const se_ModifyPrivateDnsNameOptionsRequest = (input, context) => {
@@ -42336,6 +42339,9 @@ const de_DescribeNetworkInterfaceAttributeResult = (output, context) => {
42336
42339
  if (output[_sDC] != null) {
42337
42340
  contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context);
42338
42341
  }
42342
+ if (output[_aPIA] != null) {
42343
+ contents[_APIAs] = __parseBoolean(output[_aPIA]);
42344
+ }
42339
42345
  return contents;
42340
42346
  };
42341
42347
  const de_DescribeNetworkInterfacePermissionsResult = (output, context) => {
@@ -34,7 +34,7 @@ declare const DescribeNetworkInterfaceAttributeCommand_base: {
34
34
  * // const { EC2Client, DescribeNetworkInterfaceAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
35
35
  * const client = new EC2Client(config);
36
36
  * const input = { // DescribeNetworkInterfaceAttributeRequest
37
- * Attribute: "description" || "groupSet" || "sourceDestCheck" || "attachment",
37
+ * Attribute: "description" || "groupSet" || "sourceDestCheck" || "attachment" || "associatePublicIpAddress",
38
38
  * DryRun: true || false,
39
39
  * NetworkInterfaceId: "STRING_VALUE", // required
40
40
  * };
@@ -70,6 +70,7 @@ declare const DescribeNetworkInterfaceAttributeCommand_base: {
70
70
  * // SourceDestCheck: { // AttributeBooleanValue
71
71
  * // Value: true || false,
72
72
  * // },
73
+ * // AssociatePublicIpAddress: true || false,
73
74
  * // };
74
75
  *
75
76
  * ```
@@ -63,6 +63,7 @@ declare const ModifyNetworkInterfaceAttributeCommand_base: {
63
63
  * UdpStreamTimeout: Number("int"),
64
64
  * UdpTimeout: Number("int"),
65
65
  * },
66
+ * AssociatePublicIpAddress: true || false,
66
67
  * };
67
68
  * const command = new ModifyNetworkInterfaceAttributeCommand(input);
68
69
  * const response = await client.send(command);
@@ -6709,6 +6709,7 @@ export interface DescribeNetworkInsightsPathsResult {
6709
6709
  * @enum
6710
6710
  */
6711
6711
  export declare const NetworkInterfaceAttribute: {
6712
+ readonly associatePublicIpAddress: "associatePublicIpAddress";
6712
6713
  readonly attachment: "attachment";
6713
6714
  readonly description: "description";
6714
6715
  readonly groupSet: "groupSet";
@@ -6771,6 +6772,12 @@ export interface DescribeNetworkInterfaceAttributeResult {
6771
6772
  * @public
6772
6773
  */
6773
6774
  SourceDestCheck?: AttributeBooleanValue;
6775
+ /**
6776
+ * <p>Indicates whether to assign a public IPv4 address to a network interface.
6777
+ * This option can be enabled for any network interface but will only apply to the primary network interface (eth0).</p>
6778
+ * @public
6779
+ */
6780
+ AssociatePublicIpAddress?: boolean;
6774
6781
  }
6775
6782
  /**
6776
6783
  * <p>Contains the parameters for DescribeNetworkInterfacePermissions.</p>
@@ -5566,6 +5566,12 @@ export interface ModifyNetworkInterfaceAttributeRequest {
5566
5566
  * @public
5567
5567
  */
5568
5568
  ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
5569
+ /**
5570
+ * <p>Indicates whether to assign a public IPv4 address to a network interface.
5571
+ * This option can be enabled for any network interface but will only apply to the primary network interface (eth0).</p>
5572
+ * @public
5573
+ */
5574
+ AssociatePublicIpAddress?: boolean;
5569
5575
  }
5570
5576
  /**
5571
5577
  * @public
@@ -1297,6 +1297,7 @@ export interface DescribeNetworkInsightsPathsResult {
1297
1297
  NextToken?: string;
1298
1298
  }
1299
1299
  export declare const NetworkInterfaceAttribute: {
1300
+ readonly associatePublicIpAddress: "associatePublicIpAddress";
1300
1301
  readonly attachment: "attachment";
1301
1302
  readonly description: "description";
1302
1303
  readonly groupSet: "groupSet";
@@ -1315,6 +1316,7 @@ export interface DescribeNetworkInterfaceAttributeResult {
1315
1316
  Groups?: GroupIdentifier[];
1316
1317
  NetworkInterfaceId?: string;
1317
1318
  SourceDestCheck?: AttributeBooleanValue;
1319
+ AssociatePublicIpAddress?: boolean;
1318
1320
  }
1319
1321
  export interface DescribeNetworkInterfacePermissionsRequest {
1320
1322
  NetworkInterfacePermissionIds?: string[];
@@ -1305,6 +1305,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
1305
1305
  EnaSrdSpecification?: EnaSrdSpecification;
1306
1306
  EnablePrimaryIpv6?: boolean;
1307
1307
  ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
1308
+ AssociatePublicIpAddress?: boolean;
1308
1309
  }
1309
1310
  export interface ModifyPrivateDnsNameOptionsRequest {
1310
1311
  DryRun?: boolean;
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.561.0",
4
+ "version": "3.563.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",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.556.0",
24
24
  "@aws-sdk/core": "3.556.0",
25
- "@aws-sdk/credential-provider-node": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.563.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",