@aws-sdk/client-ec2 3.826.0 → 3.828.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
@@ -33905,6 +33905,13 @@ var se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, c
33905
33905
  if (input[_APIAs] != null) {
33906
33906
  entries[_APIAs] = input[_APIAs];
33907
33907
  }
33908
+ if (input[_ASI] != null) {
33909
+ const memberEntries = se_SubnetIdList(input[_ASI], context);
33910
+ Object.entries(memberEntries).forEach(([key, value]) => {
33911
+ const loc = `AssociatedSubnetId.${key.substring(key.indexOf(".") + 1)}`;
33912
+ entries[loc] = value;
33913
+ });
33914
+ }
33908
33915
  if (input[_DRr] != null) {
33909
33916
  entries[_DRr] = input[_DRr];
33910
33917
  }
@@ -34371,8 +34378,8 @@ var se_ModifyTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input,
34371
34378
  if (input[_TGAI] != null) {
34372
34379
  entries[_TGAI] = input[_TGAI];
34373
34380
  }
34374
- if (input[_ASI] != null) {
34375
- const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context);
34381
+ if (input[_ASId] != null) {
34382
+ const memberEntries = se_TransitGatewaySubnetIdList(input[_ASId], context);
34376
34383
  Object.entries(memberEntries).forEach(([key, value]) => {
34377
34384
  const loc = `AddSubnetIds.${key.substring(key.indexOf(".") + 1)}`;
34378
34385
  entries[loc] = value;
@@ -34942,8 +34949,8 @@ var se_ModifyVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {
34942
34949
  entries[loc] = value;
34943
34950
  });
34944
34951
  }
34945
- if (input[_ASI] != null) {
34946
- const memberEntries = se_VpcEndpointSubnetIdList(input[_ASI], context);
34952
+ if (input[_ASId] != null) {
34953
+ const memberEntries = se_VpcEndpointSubnetIdList(input[_ASId], context);
34947
34954
  Object.entries(memberEntries).forEach(([key, value]) => {
34948
34955
  const loc = `AddSubnetId.${key.substring(key.indexOf(".") + 1)}`;
34949
34956
  entries[loc] = value;
@@ -39390,6 +39397,18 @@ var se_SubnetConfigurationsList = /* @__PURE__ */ __name((input, context) => {
39390
39397
  }
39391
39398
  return entries;
39392
39399
  }, "se_SubnetConfigurationsList");
39400
+ var se_SubnetIdList = /* @__PURE__ */ __name((input, context) => {
39401
+ const entries = {};
39402
+ let counter = 1;
39403
+ for (const entry of input) {
39404
+ if (entry === null) {
39405
+ continue;
39406
+ }
39407
+ entries[`AssociatedSubnetId.${counter}`] = entry;
39408
+ counter++;
39409
+ }
39410
+ return entries;
39411
+ }, "se_SubnetIdList");
39393
39412
  var se_SubnetIdStringList = /* @__PURE__ */ __name((input, context) => {
39394
39413
  const entries = {};
39395
39414
  let counter = 1;
@@ -40943,6 +40962,9 @@ var de_Address = /* @__PURE__ */ __name((output, context) => {
40943
40962
  if (output[_cI] != null) {
40944
40963
  contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]);
40945
40964
  }
40965
+ if (output[_sIu] != null) {
40966
+ contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);
40967
+ }
40946
40968
  if (output[_sM] != null) {
40947
40969
  contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]);
40948
40970
  }
@@ -41416,6 +41438,11 @@ var de_AssociatedRolesList = /* @__PURE__ */ __name((output, context) => {
41416
41438
  return de_AssociatedRole(entry, context);
41417
41439
  });
41418
41440
  }, "de_AssociatedRolesList");
41441
+ var de_AssociatedSubnetList = /* @__PURE__ */ __name((output, context) => {
41442
+ return (output || []).filter((e) => e != null).map((entry) => {
41443
+ return (0, import_smithy_client.expectString)(entry);
41444
+ });
41445
+ }, "de_AssociatedSubnetList");
41419
41446
  var de_AssociatedTargetNetwork = /* @__PURE__ */ __name((output, context) => {
41420
41447
  const contents = {};
41421
41448
  if (output[_nI] != null) {
@@ -55369,6 +55396,11 @@ var de_NetworkInterface = /* @__PURE__ */ __name((output, context) => {
55369
55396
  if (output[_op] != null) {
55370
55397
  contents[_O] = de_OperatorResponse(output[_op], context);
55371
55398
  }
55399
+ if (output.associatedSubnetSet === "") {
55400
+ contents[_ASsso] = [];
55401
+ } else if (output[_aSSs] != null && output[_aSSs][_i] != null) {
55402
+ contents[_ASsso] = de_AssociatedSubnetList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSSs][_i]), context);
55403
+ }
55372
55404
  return contents;
55373
55405
  }, "de_NetworkInterface");
55374
55406
  var de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => {
@@ -59414,6 +59446,9 @@ var de_Subnet = /* @__PURE__ */ __name((output, context) => {
59414
59446
  if (output[_bPAS] != null) {
59415
59447
  contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context);
59416
59448
  }
59449
+ if (output[_ty] != null) {
59450
+ contents[_T] = (0, import_smithy_client.expectString)(output[_ty]);
59451
+ }
59417
59452
  if (output[_sIu] != null) {
59418
59453
  contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]);
59419
59454
  }
@@ -63048,8 +63083,9 @@ var _ASGI = "AuthorizeSecurityGroupIngress";
63048
63083
  var _ASGId = "AddSecurityGroupIds";
63049
63084
  var _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork";
63050
63085
  var _ASGV = "AssociateSecurityGroupVpc";
63051
- var _ASI = "AddSubnetIds";
63086
+ var _ASI = "AssociatedSubnetIds";
63052
63087
  var _ASIAT = "AddSupportedIpAddressTypes";
63088
+ var _ASId = "AddSubnetIds";
63053
63089
  var _ASR = "AddSupportedRegions";
63054
63090
  var _ASS = "AmdSevSnp";
63055
63091
  var _AST = "AnalysisStartTime";
@@ -63059,6 +63095,7 @@ var _ASc = "ActivityStatus";
63059
63095
  var _ASn = "AnalysisStatus";
63060
63096
  var _ASs = "AssociationState";
63061
63097
  var _ASss = "AssociationStatus";
63098
+ var _ASsso = "AssociatedSubnets";
63062
63099
  var _ASt = "AttributeSummaries";
63063
63100
  var _AStt = "AttachmentStatuses";
63064
63101
  var _ASw = "AwsService";
@@ -65838,6 +65875,7 @@ var _aRw = "awsRegion";
65838
65875
  var _aS = "associationState";
65839
65876
  var _aSA = "amazonSideAsn";
65840
65877
  var _aSS = "amdSevSnp";
65878
+ var _aSSs = "associatedSubnetSet";
65841
65879
  var _aSSt = "attributeSummarySet";
65842
65880
  var _aSc = "activityStatus";
65843
65881
  var _aSct = "actionsSet";
@@ -70091,6 +70129,8 @@ var HostnameType = {
70091
70129
  };
70092
70130
  var SubnetState = {
70093
70131
  available: "available",
70132
+ failed: "failed",
70133
+ failed_insufficient_capacity: "failed-insufficient-capacity",
70094
70134
  pending: "pending",
70095
70135
  unavailable: "unavailable"
70096
70136
  };
@@ -1050,6 +1050,8 @@ export const HostnameType = {
1050
1050
  };
1051
1051
  export const SubnetState = {
1052
1052
  available: "available",
1053
+ failed: "failed",
1054
+ failed_insufficient_capacity: "failed-insufficient-capacity",
1053
1055
  pending: "pending",
1054
1056
  unavailable: "unavailable",
1055
1057
  };
@@ -32323,6 +32323,13 @@ const se_ModifyNetworkInterfaceAttributeRequest = (input, context) => {
32323
32323
  if (input[_APIAs] != null) {
32324
32324
  entries[_APIAs] = input[_APIAs];
32325
32325
  }
32326
+ if (input[_ASI] != null) {
32327
+ const memberEntries = se_SubnetIdList(input[_ASI], context);
32328
+ Object.entries(memberEntries).forEach(([key, value]) => {
32329
+ const loc = `AssociatedSubnetId.${key.substring(key.indexOf(".") + 1)}`;
32330
+ entries[loc] = value;
32331
+ });
32332
+ }
32326
32333
  if (input[_DRr] != null) {
32327
32334
  entries[_DRr] = input[_DRr];
32328
32335
  }
@@ -32789,8 +32796,8 @@ const se_ModifyTransitGatewayVpcAttachmentRequest = (input, context) => {
32789
32796
  if (input[_TGAI] != null) {
32790
32797
  entries[_TGAI] = input[_TGAI];
32791
32798
  }
32792
- if (input[_ASI] != null) {
32793
- const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context);
32799
+ if (input[_ASId] != null) {
32800
+ const memberEntries = se_TransitGatewaySubnetIdList(input[_ASId], context);
32794
32801
  Object.entries(memberEntries).forEach(([key, value]) => {
32795
32802
  const loc = `AddSubnetIds.${key.substring(key.indexOf(".") + 1)}`;
32796
32803
  entries[loc] = value;
@@ -33360,8 +33367,8 @@ const se_ModifyVpcEndpointRequest = (input, context) => {
33360
33367
  entries[loc] = value;
33361
33368
  });
33362
33369
  }
33363
- if (input[_ASI] != null) {
33364
- const memberEntries = se_VpcEndpointSubnetIdList(input[_ASI], context);
33370
+ if (input[_ASId] != null) {
33371
+ const memberEntries = se_VpcEndpointSubnetIdList(input[_ASId], context);
33365
33372
  Object.entries(memberEntries).forEach(([key, value]) => {
33366
33373
  const loc = `AddSubnetId.${key.substring(key.indexOf(".") + 1)}`;
33367
33374
  entries[loc] = value;
@@ -37808,6 +37815,18 @@ const se_SubnetConfigurationsList = (input, context) => {
37808
37815
  }
37809
37816
  return entries;
37810
37817
  };
37818
+ const se_SubnetIdList = (input, context) => {
37819
+ const entries = {};
37820
+ let counter = 1;
37821
+ for (const entry of input) {
37822
+ if (entry === null) {
37823
+ continue;
37824
+ }
37825
+ entries[`AssociatedSubnetId.${counter}`] = entry;
37826
+ counter++;
37827
+ }
37828
+ return entries;
37829
+ };
37811
37830
  const se_SubnetIdStringList = (input, context) => {
37812
37831
  const entries = {};
37813
37832
  let counter = 1;
@@ -39390,6 +39409,9 @@ const de_Address = (output, context) => {
39390
39409
  if (output[_cI] != null) {
39391
39410
  contents[_CIa] = __expectString(output[_cI]);
39392
39411
  }
39412
+ if (output[_sIu] != null) {
39413
+ contents[_SIub] = __expectString(output[_sIu]);
39414
+ }
39393
39415
  if (output[_sM] != null) {
39394
39416
  contents[_SM] = __expectString(output[_sM]);
39395
39417
  }
@@ -39901,6 +39923,13 @@ const de_AssociatedRolesList = (output, context) => {
39901
39923
  return de_AssociatedRole(entry, context);
39902
39924
  });
39903
39925
  };
39926
+ const de_AssociatedSubnetList = (output, context) => {
39927
+ return (output || [])
39928
+ .filter((e) => e != null)
39929
+ .map((entry) => {
39930
+ return __expectString(entry);
39931
+ });
39932
+ };
39904
39933
  const de_AssociatedTargetNetwork = (output, context) => {
39905
39934
  const contents = {};
39906
39935
  if (output[_nI] != null) {
@@ -54714,6 +54743,12 @@ const de_NetworkInterface = (output, context) => {
54714
54743
  if (output[_op] != null) {
54715
54744
  contents[_O] = de_OperatorResponse(output[_op], context);
54716
54745
  }
54746
+ if (output.associatedSubnetSet === "") {
54747
+ contents[_ASsso] = [];
54748
+ }
54749
+ else if (output[_aSSs] != null && output[_aSSs][_i] != null) {
54750
+ contents[_ASsso] = de_AssociatedSubnetList(__getArrayIfSingleItem(output[_aSSs][_i]), context);
54751
+ }
54717
54752
  return contents;
54718
54753
  };
54719
54754
  const de_NetworkInterfaceAssociation = (output, context) => {
@@ -59063,6 +59098,9 @@ const de_Subnet = (output, context) => {
59063
59098
  if (output[_bPAS] != null) {
59064
59099
  contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context);
59065
59100
  }
59101
+ if (output[_ty] != null) {
59102
+ contents[_T] = __expectString(output[_ty]);
59103
+ }
59066
59104
  if (output[_sIu] != null) {
59067
59105
  contents[_SIub] = __expectString(output[_sIu]);
59068
59106
  }
@@ -62974,8 +63012,9 @@ const _ASGI = "AuthorizeSecurityGroupIngress";
62974
63012
  const _ASGId = "AddSecurityGroupIds";
62975
63013
  const _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork";
62976
63014
  const _ASGV = "AssociateSecurityGroupVpc";
62977
- const _ASI = "AddSubnetIds";
63015
+ const _ASI = "AssociatedSubnetIds";
62978
63016
  const _ASIAT = "AddSupportedIpAddressTypes";
63017
+ const _ASId = "AddSubnetIds";
62979
63018
  const _ASR = "AddSupportedRegions";
62980
63019
  const _ASS = "AmdSevSnp";
62981
63020
  const _AST = "AnalysisStartTime";
@@ -62985,6 +63024,7 @@ const _ASc = "ActivityStatus";
62985
63024
  const _ASn = "AnalysisStatus";
62986
63025
  const _ASs = "AssociationState";
62987
63026
  const _ASss = "AssociationStatus";
63027
+ const _ASsso = "AssociatedSubnets";
62988
63028
  const _ASt = "AttributeSummaries";
62989
63029
  const _AStt = "AttachmentStatuses";
62990
63030
  const _ASw = "AwsService";
@@ -65764,6 +65804,7 @@ const _aRw = "awsRegion";
65764
65804
  const _aS = "associationState";
65765
65805
  const _aSA = "amazonSideAsn";
65766
65806
  const _aSS = "amdSevSnp";
65807
+ const _aSSs = "associatedSubnetSet";
65767
65808
  const _aSSt = "attributeSummarySet";
65768
65809
  const _aSc = "activityStatus";
65769
65810
  const _aSct = "actionsSet";
@@ -27,12 +27,18 @@ declare const AttachVolumeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Attaches an EBS volume to a running or stopped instance and exposes it to the instance
31
- * with the specified device name.</p>
32
- * <p>Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. For
33
- * more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
34
- * <p>After you attach an EBS volume, you must make it available. For more information, see
35
- * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html">Make an EBS volume available for use</a>.</p>
30
+ * <p>Attaches an Amazon EBS volume to a <code>running</code> or <code>stopped</code>
31
+ * instance, and exposes it to the instance with the specified device name.</p>
32
+ * <note>
33
+ * <p>The maximum number of Amazon EBS volumes that you can attach to an instance depends on the
34
+ * instance type. If you exceed the volume attachment limit for an instance type, the attachment
35
+ * request fails with the <code>AttachmentLimitExceeded</code> error. For more information,
36
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html">Instance
37
+ * volume limits</a>.</p>
38
+ * </note>
39
+ * <p>After you attach an EBS volume, you must make it available for use. For more information,
40
+ * see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html">Make an
41
+ * EBS volume available for use</a>.</p>
36
42
  * <p>If a volume has an Amazon Web Services Marketplace product code:</p>
37
43
  * <ul>
38
44
  * <li>
@@ -82,8 +82,9 @@ declare const CreateDefaultSubnetCommand_base: {
82
82
  * // BlockPublicAccessStates: { // BlockPublicAccessStates
83
83
  * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
84
84
  * // },
85
+ * // Type: "STRING_VALUE",
85
86
  * // SubnetId: "STRING_VALUE",
86
- * // State: "pending" || "available" || "unavailable",
87
+ * // State: "pending" || "available" || "unavailable" || "failed" || "failed-insufficient-capacity",
87
88
  * // VpcId: "STRING_VALUE",
88
89
  * // CidrBlock: "STRING_VALUE",
89
90
  * // AvailableIpAddressCount: Number("int"),
@@ -204,6 +204,9 @@ declare const CreateNetworkInterfaceCommand_base: {
204
204
  * // Managed: true || false,
205
205
  * // Principal: "STRING_VALUE",
206
206
  * // },
207
+ * // AssociatedSubnets: [ // AssociatedSubnetList
208
+ * // "STRING_VALUE",
209
+ * // ],
207
210
  * // },
208
211
  * // ClientToken: "STRING_VALUE",
209
212
  * // };
@@ -115,8 +115,9 @@ declare const CreateSubnetCommand_base: {
115
115
  * // BlockPublicAccessStates: { // BlockPublicAccessStates
116
116
  * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
117
117
  * // },
118
+ * // Type: "STRING_VALUE",
118
119
  * // SubnetId: "STRING_VALUE",
119
- * // State: "pending" || "available" || "unavailable",
120
+ * // State: "pending" || "available" || "unavailable" || "failed" || "failed-insufficient-capacity",
120
121
  * // VpcId: "STRING_VALUE",
121
122
  * // CidrBlock: "STRING_VALUE",
122
123
  * // AvailableIpAddressCount: Number("int"),
@@ -73,6 +73,7 @@ declare const DescribeAddressesCommand_base: {
73
73
  * // CustomerOwnedIp: "STRING_VALUE",
74
74
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
75
75
  * // CarrierIp: "STRING_VALUE",
76
+ * // SubnetId: "STRING_VALUE",
76
77
  * // ServiceManaged: "alb" || "nlb" || "rnat",
77
78
  * // InstanceId: "STRING_VALUE",
78
79
  * // PublicIp: "STRING_VALUE",
@@ -169,6 +169,9 @@ declare const DescribeNetworkInterfacesCommand_base: {
169
169
  * // Managed: true || false,
170
170
  * // Principal: "STRING_VALUE",
171
171
  * // },
172
+ * // AssociatedSubnets: [ // AssociatedSubnetList
173
+ * // "STRING_VALUE",
174
+ * // ],
172
175
  * // },
173
176
  * // ],
174
177
  * // NextToken: "STRING_VALUE",
@@ -96,8 +96,9 @@ declare const DescribeSubnetsCommand_base: {
96
96
  * // BlockPublicAccessStates: { // BlockPublicAccessStates
97
97
  * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
98
98
  * // },
99
+ * // Type: "STRING_VALUE",
99
100
  * // SubnetId: "STRING_VALUE",
100
- * // State: "pending" || "available" || "unavailable",
101
+ * // State: "pending" || "available" || "unavailable" || "failed" || "failed-insufficient-capacity",
101
102
  * // VpcId: "STRING_VALUE",
102
103
  * // CidrBlock: "STRING_VALUE",
103
104
  * // AvailableIpAddressCount: Number("int"),
@@ -50,6 +50,9 @@ declare const ModifyNetworkInterfaceAttributeCommand_base: {
50
50
  * UdpTimeout: Number("int"),
51
51
  * },
52
52
  * AssociatePublicIpAddress: true || false,
53
+ * AssociatedSubnetIds: [ // SubnetIdList
54
+ * "STRING_VALUE",
55
+ * ],
53
56
  * DryRun: true || false,
54
57
  * NetworkInterfaceId: "STRING_VALUE", // required
55
58
  * Description: { // AttributeValue
@@ -2654,6 +2654,11 @@ export interface Address {
2654
2654
  * @public
2655
2655
  */
2656
2656
  CarrierIp?: string | undefined;
2657
+ /**
2658
+ * <p>The ID of the subnet where the IP address is allocated.</p>
2659
+ * @public
2660
+ */
2661
+ SubnetId?: string | undefined;
2657
2662
  /**
2658
2663
  * <p>The service that manages the elastic IP address.</p>
2659
2664
  * <note>
@@ -3234,6 +3234,8 @@ export interface PrivateDnsNameOptionsOnLaunch {
3234
3234
  */
3235
3235
  export declare const SubnetState: {
3236
3236
  readonly available: "available";
3237
+ readonly failed: "failed";
3238
+ readonly failed_insufficient_capacity: "failed-insufficient-capacity";
3237
3239
  readonly pending: "pending";
3238
3240
  readonly unavailable: "unavailable";
3239
3241
  };
@@ -3324,6 +3326,16 @@ export interface Subnet {
3324
3326
  * @public
3325
3327
  */
3326
3328
  BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
3329
+ /**
3330
+ * <p>Indicates if this is a subnet used with Amazon Elastic VMware Service (EVS).
3331
+ * Possible values are <code>Elastic VMware Service</code> or no value. For more
3332
+ * information about Amazon EVS, see <a href="https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html">
3333
+ * <i>Amazon Elastic VMware Service
3334
+ * API Reference</i>
3335
+ * </a>.</p>
3336
+ * @public
3337
+ */
3338
+ Type?: string | undefined;
3327
3339
  /**
3328
3340
  * <p>The ID of the subnet.</p>
3329
3341
  * @public
@@ -3331,6 +3343,18 @@ export interface Subnet {
3331
3343
  SubnetId?: string | undefined;
3332
3344
  /**
3333
3345
  * <p>The current state of the subnet.</p>
3346
+ * <ul>
3347
+ * <li>
3348
+ * <p>
3349
+ * <code>failed</code>: The underlying infrastructure to support the subnet failed to provision
3350
+ * as expected.</p>
3351
+ * </li>
3352
+ * <li>
3353
+ * <p>
3354
+ * <code>failed-insufficient-capacity</code>: The underlying infrastructure to support the subnet
3355
+ * failed to provision due to a shortage of EC2 instance capacity.</p>
3356
+ * </li>
3357
+ * </ul>
3334
3358
  * @public
3335
3359
  */
3336
3360
  State?: SubnetState | undefined;
@@ -3103,6 +3103,11 @@ export interface NetworkInterface {
3103
3103
  * @public
3104
3104
  */
3105
3105
  Operator?: OperatorResponse | undefined;
3106
+ /**
3107
+ * <p>The subnets associated with this network interface.</p>
3108
+ * @public
3109
+ */
3110
+ AssociatedSubnets?: string[] | undefined;
3106
3111
  }
3107
3112
  /**
3108
3113
  * @public
@@ -7627,7 +7627,7 @@ export interface InstanceNetworkInterface {
7627
7627
  VpcId?: string | undefined;
7628
7628
  /**
7629
7629
  * <p>The type of network interface.</p>
7630
- * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> |
7630
+ * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> | <code>evs</code> |
7631
7631
  * <code>trunk</code>
7632
7632
  * </p>
7633
7633
  * @public
@@ -2254,6 +2254,7 @@ export interface DescribeNetworkInterfacesRequest {
2254
2254
  * <code>aws_codestar_connections_managed</code> | <code>branch</code> |
2255
2255
  * <code>ec2_instance_connect_endpoint</code> | <code>efa</code> |
2256
2256
  * <code>efa-only</code> | <code>efs</code> |
2257
+ * <code>evs</code> |
2257
2258
  * <code>gateway_load_balancer</code> |
2258
2259
  * <code>gateway_load_balancer_endpoint</code> |
2259
2260
  * <code>global_accelerator_managed</code> | <code>interface</code> |
@@ -4256,6 +4256,11 @@ export interface ModifyNetworkInterfaceAttributeRequest {
4256
4256
  * @public
4257
4257
  */
4258
4258
  AssociatePublicIpAddress?: boolean | undefined;
4259
+ /**
4260
+ * <p>A list of subnet IDs to associate with the network interface.</p>
4261
+ * @public
4262
+ */
4263
+ AssociatedSubnetIds?: string[] | undefined;
4259
4264
  /**
4260
4265
  * <p>Checks whether you have the required permissions for the action, without actually
4261
4266
  * making the request, and provides an error response. If you have the required
@@ -758,6 +758,7 @@ export interface Address {
758
758
  CustomerOwnedIp?: string | undefined;
759
759
  CustomerOwnedIpv4Pool?: string | undefined;
760
760
  CarrierIp?: string | undefined;
761
+ SubnetId?: string | undefined;
761
762
  ServiceManaged?: ServiceManaged | undefined;
762
763
  InstanceId?: string | undefined;
763
764
  PublicIp?: string | undefined;
@@ -1432,6 +1432,8 @@ export interface PrivateDnsNameOptionsOnLaunch {
1432
1432
  }
1433
1433
  export declare const SubnetState: {
1434
1434
  readonly available: "available";
1435
+ readonly failed: "failed";
1436
+ readonly failed_insufficient_capacity: "failed-insufficient-capacity";
1435
1437
  readonly pending: "pending";
1436
1438
  readonly unavailable: "unavailable";
1437
1439
  };
@@ -1451,6 +1453,7 @@ export interface Subnet {
1451
1453
  Ipv6Native?: boolean | undefined;
1452
1454
  PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | undefined;
1453
1455
  BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
1456
+ Type?: string | undefined;
1454
1457
  SubnetId?: string | undefined;
1455
1458
  State?: SubnetState | undefined;
1456
1459
  VpcId?: string | undefined;
@@ -768,6 +768,7 @@ export interface NetworkInterface {
768
768
  Ipv6Native?: boolean | undefined;
769
769
  Ipv6Address?: string | undefined;
770
770
  Operator?: OperatorResponse | undefined;
771
+ AssociatedSubnets?: string[] | undefined;
771
772
  }
772
773
  export interface CreateNetworkInterfaceResult {
773
774
  NetworkInterface?: NetworkInterface | undefined;
@@ -1017,6 +1017,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
1017
1017
  | ConnectionTrackingSpecificationRequest
1018
1018
  | undefined;
1019
1019
  AssociatePublicIpAddress?: boolean | undefined;
1020
+ AssociatedSubnetIds?: string[] | undefined;
1020
1021
  DryRun?: boolean | undefined;
1021
1022
  NetworkInterfaceId: string | undefined;
1022
1023
  Description?: AttributeValue | 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.826.0",
4
+ "version": "3.828.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",
@@ -21,17 +21,17 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.828.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.826.0",
29
- "@aws-sdk/middleware-user-agent": "3.826.0",
29
+ "@aws-sdk/middleware-user-agent": "3.828.0",
30
30
  "@aws-sdk/region-config-resolver": "3.821.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
- "@aws-sdk/util-endpoints": "3.821.0",
32
+ "@aws-sdk/util-endpoints": "3.828.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.821.0",
34
- "@aws-sdk/util-user-agent-node": "3.826.0",
34
+ "@aws-sdk/util-user-agent-node": "3.828.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
36
  "@smithy/core": "^3.5.3",
37
37
  "@smithy/fetch-http-handler": "^5.0.4",