@aws-sdk/client-elastic-load-balancing-v2 3.758.0 → 3.764.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/README.md CHANGED
@@ -511,6 +511,14 @@ ModifyCapacityReservation
511
511
 
512
512
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/ModifyCapacityReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyCapacityReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyCapacityReservationCommandOutput/)
513
513
 
514
+ </details>
515
+ <details>
516
+ <summary>
517
+ ModifyIpPools
518
+ </summary>
519
+
520
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/ModifyIpPoolsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyIpPoolsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyIpPoolsCommandOutput/)
521
+
514
522
  </details>
515
523
  <details>
516
524
  <summary>
package/dist-cjs/index.js CHANGED
@@ -100,6 +100,7 @@ __export(src_exports, {
100
100
  LoadBalancerTypeEnum: () => LoadBalancerTypeEnum,
101
101
  MitigationInEffectEnum: () => MitigationInEffectEnum,
102
102
  ModifyCapacityReservationCommand: () => ModifyCapacityReservationCommand,
103
+ ModifyIpPoolsCommand: () => ModifyIpPoolsCommand,
103
104
  ModifyListenerAttributesCommand: () => ModifyListenerAttributesCommand,
104
105
  ModifyListenerCommand: () => ModifyListenerCommand,
105
106
  ModifyLoadBalancerAttributesCommand: () => ModifyLoadBalancerAttributesCommand,
@@ -113,6 +114,7 @@ __export(src_exports, {
113
114
  ProtocolEnum: () => ProtocolEnum,
114
115
  RedirectActionStatusCodeEnum: () => RedirectActionStatusCodeEnum,
115
116
  RegisterTargetsCommand: () => RegisterTargetsCommand,
117
+ RemoveIpamPoolEnum: () => RemoveIpamPoolEnum,
116
118
  RemoveListenerCertificatesCommand: () => RemoveListenerCertificatesCommand,
117
119
  RemoveTagsCommand: () => RemoveTagsCommand,
118
120
  RemoveTrustStoreRevocationsCommand: () => RemoveTrustStoreRevocationsCommand,
@@ -1600,6 +1602,9 @@ var PriorRequestNotCompleteException = class _PriorRequestNotCompleteException e
1600
1602
  this.Message = opts.Message;
1601
1603
  }
1602
1604
  };
1605
+ var RemoveIpamPoolEnum = {
1606
+ ipv4: "ipv4"
1607
+ };
1603
1608
  var EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
1604
1609
  off: "off",
1605
1610
  on: "on"
@@ -1956,6 +1961,16 @@ var se_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (input, c
1956
1961
  });
1957
1962
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1958
1963
  }, "se_ModifyCapacityReservationCommand");
1964
+ var se_ModifyIpPoolsCommand = /* @__PURE__ */ __name(async (input, context) => {
1965
+ const headers = SHARED_HEADERS;
1966
+ let body;
1967
+ body = buildFormUrlencodedString({
1968
+ ...se_ModifyIpPoolsInput(input, context),
1969
+ [_A]: _MIP,
1970
+ [_V]: _
1971
+ });
1972
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1973
+ }, "se_ModifyIpPoolsCommand");
1959
1974
  var se_ModifyListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
1960
1975
  const headers = SHARED_HEADERS;
1961
1976
  let body;
@@ -2561,6 +2576,19 @@ var de_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (output,
2561
2576
  };
2562
2577
  return response;
2563
2578
  }, "de_ModifyCapacityReservationCommand");
2579
+ var de_ModifyIpPoolsCommand = /* @__PURE__ */ __name(async (output, context) => {
2580
+ if (output.statusCode >= 300) {
2581
+ return de_CommandError(output, context);
2582
+ }
2583
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2584
+ let contents = {};
2585
+ contents = de_ModifyIpPoolsOutput(data.ModifyIpPoolsResult, context);
2586
+ const response = {
2587
+ $metadata: deserializeMetadata(output),
2588
+ ...contents
2589
+ };
2590
+ return response;
2591
+ }, "de_ModifyIpPoolsCommand");
2564
2592
  var de_ModifyListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
2565
2593
  if (output.statusCode >= 300) {
2566
2594
  return de_CommandError(output, context);
@@ -3821,6 +3849,13 @@ var se_CreateLoadBalancerInput = /* @__PURE__ */ __name((input, context) => {
3821
3849
  if (input[_EPFISN] != null) {
3822
3850
  entries[_EPFISN] = input[_EPFISN];
3823
3851
  }
3852
+ if (input[_IP] != null) {
3853
+ const memberEntries = se_IpamPools(input[_IP], context);
3854
+ Object.entries(memberEntries).forEach(([key, value]) => {
3855
+ const loc = `IpamPools.${key}`;
3856
+ entries[loc] = value;
3857
+ });
3858
+ }
3824
3859
  return entries;
3825
3860
  }, "se_CreateLoadBalancerInput");
3826
3861
  var se_CreateRuleInput = /* @__PURE__ */ __name((input, context) => {
@@ -4410,6 +4445,13 @@ var se_HttpRequestMethodConditionConfig = /* @__PURE__ */ __name((input, context
4410
4445
  }
4411
4446
  return entries;
4412
4447
  }, "se_HttpRequestMethodConditionConfig");
4448
+ var se_IpamPools = /* @__PURE__ */ __name((input, context) => {
4449
+ const entries = {};
4450
+ if (input[_IIPI] != null) {
4451
+ entries[_IIPI] = input[_IIPI];
4452
+ }
4453
+ return entries;
4454
+ }, "se_IpamPools");
4413
4455
  var se_ListenerArns = /* @__PURE__ */ __name((input, context) => {
4414
4456
  const entries = {};
4415
4457
  let counter = 1;
@@ -4554,6 +4596,30 @@ var se_ModifyCapacityReservationInput = /* @__PURE__ */ __name((input, context)
4554
4596
  }
4555
4597
  return entries;
4556
4598
  }, "se_ModifyCapacityReservationInput");
4599
+ var se_ModifyIpPoolsInput = /* @__PURE__ */ __name((input, context) => {
4600
+ const entries = {};
4601
+ if (input[_LBA] != null) {
4602
+ entries[_LBA] = input[_LBA];
4603
+ }
4604
+ if (input[_IP] != null) {
4605
+ const memberEntries = se_IpamPools(input[_IP], context);
4606
+ Object.entries(memberEntries).forEach(([key, value]) => {
4607
+ const loc = `IpamPools.${key}`;
4608
+ entries[loc] = value;
4609
+ });
4610
+ }
4611
+ if (input[_RIP] != null) {
4612
+ const memberEntries = se_RemoveIpamPools(input[_RIP], context);
4613
+ if (input[_RIP]?.length === 0) {
4614
+ entries.RemoveIpamPools = [];
4615
+ }
4616
+ Object.entries(memberEntries).forEach(([key, value]) => {
4617
+ const loc = `RemoveIpamPools.${key}`;
4618
+ entries[loc] = value;
4619
+ });
4620
+ }
4621
+ return entries;
4622
+ }, "se_ModifyIpPoolsInput");
4557
4623
  var se_ModifyListenerAttributesInput = /* @__PURE__ */ __name((input, context) => {
4558
4624
  const entries = {};
4559
4625
  if (input[_LA] != null) {
@@ -4850,6 +4916,18 @@ var se_RegisterTargetsInput = /* @__PURE__ */ __name((input, context) => {
4850
4916
  }
4851
4917
  return entries;
4852
4918
  }, "se_RegisterTargetsInput");
4919
+ var se_RemoveIpamPools = /* @__PURE__ */ __name((input, context) => {
4920
+ const entries = {};
4921
+ let counter = 1;
4922
+ for (const entry of input) {
4923
+ if (entry === null) {
4924
+ continue;
4925
+ }
4926
+ entries[`member.${counter}`] = entry;
4927
+ counter++;
4928
+ }
4929
+ return entries;
4930
+ }, "se_RemoveIpamPools");
4853
4931
  var se_RemoveListenerCertificatesInput = /* @__PURE__ */ __name((input, context) => {
4854
4932
  const entries = {};
4855
4933
  if (input[_LA] != null) {
@@ -6183,6 +6261,13 @@ var de_InvalidTargetException = /* @__PURE__ */ __name((output, context) => {
6183
6261
  }
6184
6262
  return contents;
6185
6263
  }, "de_InvalidTargetException");
6264
+ var de_IpamPools = /* @__PURE__ */ __name((output, context) => {
6265
+ const contents = {};
6266
+ if (output[_IIPI] != null) {
6267
+ contents[_IIPI] = (0, import_smithy_client.expectString)(output[_IIPI]);
6268
+ }
6269
+ return contents;
6270
+ }, "de_IpamPools");
6186
6271
  var de_Limit = /* @__PURE__ */ __name((output, context) => {
6187
6272
  const contents = {};
6188
6273
  if (output[_N] != null) {
@@ -6318,6 +6403,9 @@ var de_LoadBalancer = /* @__PURE__ */ __name((output, context) => {
6318
6403
  if (output[_EPFISN] != null) {
6319
6404
  contents[_EPFISN] = (0, import_smithy_client.expectString)(output[_EPFISN]);
6320
6405
  }
6406
+ if (output[_IP] != null) {
6407
+ contents[_IP] = de_IpamPools(output[_IP], context);
6408
+ }
6321
6409
  return contents;
6322
6410
  }, "de_LoadBalancer");
6323
6411
  var de_LoadBalancerAddress = /* @__PURE__ */ __name((output, context) => {
@@ -6418,6 +6506,13 @@ var de_ModifyCapacityReservationOutput = /* @__PURE__ */ __name((output, context
6418
6506
  }
6419
6507
  return contents;
6420
6508
  }, "de_ModifyCapacityReservationOutput");
6509
+ var de_ModifyIpPoolsOutput = /* @__PURE__ */ __name((output, context) => {
6510
+ const contents = {};
6511
+ if (output[_IP] != null) {
6512
+ contents[_IP] = de_IpamPools(output[_IP], context);
6513
+ }
6514
+ return contents;
6515
+ }, "de_ModifyIpPoolsOutput");
6421
6516
  var de_ModifyListenerAttributesOutput = /* @__PURE__ */ __name((output, context) => {
6422
6517
  const contents = {};
6423
6518
  if (output.Attributes === "") {
@@ -7317,6 +7412,8 @@ var _IA = "IpAddress";
7317
7412
  var _IAT = "IpAddressType";
7318
7413
  var _ICCE = "IgnoreClientCertificateExpiry";
7319
7414
  var _ID = "IsDefault";
7415
+ var _IIPI = "Ipv4IpamPoolId";
7416
+ var _IP = "IpamPools";
7320
7417
  var _IPA = "IPv6Address";
7321
7418
  var _Id = "Id";
7322
7419
  var _In = "Include";
@@ -7338,6 +7435,7 @@ var _MA = "MutualAuthentication";
7338
7435
  var _MB = "MessageBody";
7339
7436
  var _MCR = "ModifyCapacityReservation";
7340
7437
  var _MIE = "MitigationInEffect";
7438
+ var _MIP = "ModifyIpPools";
7341
7439
  var _ML = "ModifyListener";
7342
7440
  var _MLA = "ModifyListenerAttributes";
7343
7441
  var _MLBA = "ModifyLoadBalancerAttributes";
@@ -7378,6 +7476,7 @@ var _RC = "RedirectConfig";
7378
7476
  var _RCR = "ResetCapacityReservation";
7379
7477
  var _RCe = "RevocationContents";
7380
7478
  var _RI = "RevocationIds";
7479
+ var _RIP = "RemoveIpamPools";
7381
7480
  var _RIe = "RevocationId";
7382
7481
  var _RLC = "RemoveListenerCertificates";
7383
7482
  var _RP = "RulePriorities";
@@ -7981,6 +8080,21 @@ var ModifyCapacityReservationCommand = class extends import_smithy_client.Comman
7981
8080
  }
7982
8081
  };
7983
8082
 
8083
+ // src/commands/ModifyIpPoolsCommand.ts
8084
+
8085
+
8086
+
8087
+ var ModifyIpPoolsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
8088
+ return [
8089
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
8090
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
8091
+ ];
8092
+ }).s("ElasticLoadBalancing_v10", "ModifyIpPools", {}).n("ElasticLoadBalancingV2Client", "ModifyIpPoolsCommand").f(void 0, void 0).ser(se_ModifyIpPoolsCommand).de(de_ModifyIpPoolsCommand).build() {
8093
+ static {
8094
+ __name(this, "ModifyIpPoolsCommand");
8095
+ }
8096
+ };
8097
+
7984
8098
  // src/commands/ModifyListenerAttributesCommand.ts
7985
8099
 
7986
8100
 
@@ -8243,6 +8357,7 @@ var commands = {
8243
8357
  GetTrustStoreCaCertificatesBundleCommand,
8244
8358
  GetTrustStoreRevocationContentCommand,
8245
8359
  ModifyCapacityReservationCommand,
8360
+ ModifyIpPoolsCommand,
8246
8361
  ModifyListenerCommand,
8247
8362
  ModifyListenerAttributesCommand,
8248
8363
  ModifyLoadBalancerAttributesCommand,
@@ -8549,6 +8664,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8549
8664
  GetTrustStoreCaCertificatesBundleCommand,
8550
8665
  GetTrustStoreRevocationContentCommand,
8551
8666
  ModifyCapacityReservationCommand,
8667
+ ModifyIpPoolsCommand,
8552
8668
  ModifyListenerAttributesCommand,
8553
8669
  ModifyListenerCommand,
8554
8670
  ModifyLoadBalancerAttributesCommand,
@@ -8662,6 +8778,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8662
8778
  ResourceNotFoundException,
8663
8779
  InsufficientCapacityException,
8664
8780
  PriorRequestNotCompleteException,
8781
+ RemoveIpamPoolEnum,
8665
8782
  EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
8666
8783
  });
8667
8784
 
@@ -34,6 +34,7 @@ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
34
34
  import { GetTrustStoreCaCertificatesBundleCommand, } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
35
35
  import { GetTrustStoreRevocationContentCommand, } from "./commands/GetTrustStoreRevocationContentCommand";
36
36
  import { ModifyCapacityReservationCommand, } from "./commands/ModifyCapacityReservationCommand";
37
+ import { ModifyIpPoolsCommand, } from "./commands/ModifyIpPoolsCommand";
37
38
  import { ModifyListenerAttributesCommand, } from "./commands/ModifyListenerAttributesCommand";
38
39
  import { ModifyListenerCommand, } from "./commands/ModifyListenerCommand";
39
40
  import { ModifyLoadBalancerAttributesCommand, } from "./commands/ModifyLoadBalancerAttributesCommand";
@@ -86,6 +87,7 @@ const commands = {
86
87
  GetTrustStoreCaCertificatesBundleCommand,
87
88
  GetTrustStoreRevocationContentCommand,
88
89
  ModifyCapacityReservationCommand,
90
+ ModifyIpPoolsCommand,
89
91
  ModifyListenerCommand,
90
92
  ModifyListenerAttributesCommand,
91
93
  ModifyLoadBalancerAttributesCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ModifyIpPoolsCommand, se_ModifyIpPoolsCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class ModifyIpPoolsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ElasticLoadBalancing_v10", "ModifyIpPools", {})
17
+ .n("ElasticLoadBalancingV2Client", "ModifyIpPoolsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ModifyIpPoolsCommand)
20
+ .de(de_ModifyIpPoolsCommand)
21
+ .build() {
22
+ }
@@ -33,6 +33,7 @@ export * from "./GetResourcePolicyCommand";
33
33
  export * from "./GetTrustStoreCaCertificatesBundleCommand";
34
34
  export * from "./GetTrustStoreRevocationContentCommand";
35
35
  export * from "./ModifyCapacityReservationCommand";
36
+ export * from "./ModifyIpPoolsCommand";
36
37
  export * from "./ModifyListenerAttributesCommand";
37
38
  export * from "./ModifyListenerCommand";
38
39
  export * from "./ModifyLoadBalancerAttributesCommand";
@@ -915,6 +915,9 @@ export class PriorRequestNotCompleteException extends __BaseException {
915
915
  this.Message = opts.Message;
916
916
  }
917
917
  }
918
+ export const RemoveIpamPoolEnum = {
919
+ ipv4: "ipv4",
920
+ };
918
921
  export const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
919
922
  off: "off",
920
923
  on: "on",
@@ -353,6 +353,16 @@ export const se_ModifyCapacityReservationCommand = async (input, context) => {
353
353
  });
354
354
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
355
355
  };
356
+ export const se_ModifyIpPoolsCommand = async (input, context) => {
357
+ const headers = SHARED_HEADERS;
358
+ let body;
359
+ body = buildFormUrlencodedString({
360
+ ...se_ModifyIpPoolsInput(input, context),
361
+ [_A]: _MIP,
362
+ [_V]: _,
363
+ });
364
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
365
+ };
356
366
  export const se_ModifyListenerCommand = async (input, context) => {
357
367
  const headers = SHARED_HEADERS;
358
368
  let body;
@@ -958,6 +968,19 @@ export const de_ModifyCapacityReservationCommand = async (output, context) => {
958
968
  };
959
969
  return response;
960
970
  };
971
+ export const de_ModifyIpPoolsCommand = async (output, context) => {
972
+ if (output.statusCode >= 300) {
973
+ return de_CommandError(output, context);
974
+ }
975
+ const data = await parseBody(output.body, context);
976
+ let contents = {};
977
+ contents = de_ModifyIpPoolsOutput(data.ModifyIpPoolsResult, context);
978
+ const response = {
979
+ $metadata: deserializeMetadata(output),
980
+ ...contents,
981
+ };
982
+ return response;
983
+ };
961
984
  export const de_ModifyListenerCommand = async (output, context) => {
962
985
  if (output.statusCode >= 300) {
963
986
  return de_CommandError(output, context);
@@ -2222,6 +2245,13 @@ const se_CreateLoadBalancerInput = (input, context) => {
2222
2245
  if (input[_EPFISN] != null) {
2223
2246
  entries[_EPFISN] = input[_EPFISN];
2224
2247
  }
2248
+ if (input[_IP] != null) {
2249
+ const memberEntries = se_IpamPools(input[_IP], context);
2250
+ Object.entries(memberEntries).forEach(([key, value]) => {
2251
+ const loc = `IpamPools.${key}`;
2252
+ entries[loc] = value;
2253
+ });
2254
+ }
2225
2255
  return entries;
2226
2256
  };
2227
2257
  const se_CreateRuleInput = (input, context) => {
@@ -2811,6 +2841,13 @@ const se_HttpRequestMethodConditionConfig = (input, context) => {
2811
2841
  }
2812
2842
  return entries;
2813
2843
  };
2844
+ const se_IpamPools = (input, context) => {
2845
+ const entries = {};
2846
+ if (input[_IIPI] != null) {
2847
+ entries[_IIPI] = input[_IIPI];
2848
+ }
2849
+ return entries;
2850
+ };
2814
2851
  const se_ListenerArns = (input, context) => {
2815
2852
  const entries = {};
2816
2853
  let counter = 1;
@@ -2955,6 +2992,30 @@ const se_ModifyCapacityReservationInput = (input, context) => {
2955
2992
  }
2956
2993
  return entries;
2957
2994
  };
2995
+ const se_ModifyIpPoolsInput = (input, context) => {
2996
+ const entries = {};
2997
+ if (input[_LBA] != null) {
2998
+ entries[_LBA] = input[_LBA];
2999
+ }
3000
+ if (input[_IP] != null) {
3001
+ const memberEntries = se_IpamPools(input[_IP], context);
3002
+ Object.entries(memberEntries).forEach(([key, value]) => {
3003
+ const loc = `IpamPools.${key}`;
3004
+ entries[loc] = value;
3005
+ });
3006
+ }
3007
+ if (input[_RIP] != null) {
3008
+ const memberEntries = se_RemoveIpamPools(input[_RIP], context);
3009
+ if (input[_RIP]?.length === 0) {
3010
+ entries.RemoveIpamPools = [];
3011
+ }
3012
+ Object.entries(memberEntries).forEach(([key, value]) => {
3013
+ const loc = `RemoveIpamPools.${key}`;
3014
+ entries[loc] = value;
3015
+ });
3016
+ }
3017
+ return entries;
3018
+ };
2958
3019
  const se_ModifyListenerAttributesInput = (input, context) => {
2959
3020
  const entries = {};
2960
3021
  if (input[_LA] != null) {
@@ -3251,6 +3312,18 @@ const se_RegisterTargetsInput = (input, context) => {
3251
3312
  }
3252
3313
  return entries;
3253
3314
  };
3315
+ const se_RemoveIpamPools = (input, context) => {
3316
+ const entries = {};
3317
+ let counter = 1;
3318
+ for (const entry of input) {
3319
+ if (entry === null) {
3320
+ continue;
3321
+ }
3322
+ entries[`member.${counter}`] = entry;
3323
+ counter++;
3324
+ }
3325
+ return entries;
3326
+ };
3254
3327
  const se_RemoveListenerCertificatesInput = (input, context) => {
3255
3328
  const entries = {};
3256
3329
  if (input[_LA] != null) {
@@ -4621,6 +4694,13 @@ const de_InvalidTargetException = (output, context) => {
4621
4694
  }
4622
4695
  return contents;
4623
4696
  };
4697
+ const de_IpamPools = (output, context) => {
4698
+ const contents = {};
4699
+ if (output[_IIPI] != null) {
4700
+ contents[_IIPI] = __expectString(output[_IIPI]);
4701
+ }
4702
+ return contents;
4703
+ };
4624
4704
  const de_Limit = (output, context) => {
4625
4705
  const contents = {};
4626
4706
  if (output[_N] != null) {
@@ -4769,6 +4849,9 @@ const de_LoadBalancer = (output, context) => {
4769
4849
  if (output[_EPFISN] != null) {
4770
4850
  contents[_EPFISN] = __expectString(output[_EPFISN]);
4771
4851
  }
4852
+ if (output[_IP] != null) {
4853
+ contents[_IP] = de_IpamPools(output[_IP], context);
4854
+ }
4772
4855
  return contents;
4773
4856
  };
4774
4857
  const de_LoadBalancerAddress = (output, context) => {
@@ -4878,6 +4961,13 @@ const de_ModifyCapacityReservationOutput = (output, context) => {
4878
4961
  }
4879
4962
  return contents;
4880
4963
  };
4964
+ const de_ModifyIpPoolsOutput = (output, context) => {
4965
+ const contents = {};
4966
+ if (output[_IP] != null) {
4967
+ contents[_IP] = de_IpamPools(output[_IP], context);
4968
+ }
4969
+ return contents;
4970
+ };
4881
4971
  const de_ModifyListenerAttributesOutput = (output, context) => {
4882
4972
  const contents = {};
4883
4973
  if (output.Attributes === "") {
@@ -5833,6 +5923,8 @@ const _IA = "IpAddress";
5833
5923
  const _IAT = "IpAddressType";
5834
5924
  const _ICCE = "IgnoreClientCertificateExpiry";
5835
5925
  const _ID = "IsDefault";
5926
+ const _IIPI = "Ipv4IpamPoolId";
5927
+ const _IP = "IpamPools";
5836
5928
  const _IPA = "IPv6Address";
5837
5929
  const _Id = "Id";
5838
5930
  const _In = "Include";
@@ -5854,6 +5946,7 @@ const _MA = "MutualAuthentication";
5854
5946
  const _MB = "MessageBody";
5855
5947
  const _MCR = "ModifyCapacityReservation";
5856
5948
  const _MIE = "MitigationInEffect";
5949
+ const _MIP = "ModifyIpPools";
5857
5950
  const _ML = "ModifyListener";
5858
5951
  const _MLA = "ModifyListenerAttributes";
5859
5952
  const _MLBA = "ModifyLoadBalancerAttributes";
@@ -5894,6 +5987,7 @@ const _RC = "RedirectConfig";
5894
5987
  const _RCR = "ResetCapacityReservation";
5895
5988
  const _RCe = "RevocationContents";
5896
5989
  const _RI = "RevocationIds";
5990
+ const _RIP = "RemoveIpamPools";
5897
5991
  const _RIe = "RevocationId";
5898
5992
  const _RLC = "RemoveListenerCertificates";
5899
5993
  const _RP = "RulePriorities";
@@ -34,6 +34,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
34
34
  import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
35
35
  import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
36
36
  import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "./commands/ModifyCapacityReservationCommand";
37
+ import { ModifyIpPoolsCommandInput, ModifyIpPoolsCommandOutput } from "./commands/ModifyIpPoolsCommand";
37
38
  import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "./commands/ModifyListenerAttributesCommand";
38
39
  import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
39
40
  import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "./commands/ModifyLoadBalancerAttributesCommand";
@@ -268,6 +269,12 @@ export interface ElasticLoadBalancingV2 {
268
269
  modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<ModifyCapacityReservationCommandOutput>;
269
270
  modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void): void;
270
271
  modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void): void;
272
+ /**
273
+ * @see {@link ModifyIpPoolsCommand}
274
+ */
275
+ modifyIpPools(args: ModifyIpPoolsCommandInput, options?: __HttpHandlerOptions): Promise<ModifyIpPoolsCommandOutput>;
276
+ modifyIpPools(args: ModifyIpPoolsCommandInput, cb: (err: any, data?: ModifyIpPoolsCommandOutput) => void): void;
277
+ modifyIpPools(args: ModifyIpPoolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyIpPoolsCommandOutput) => void): void;
271
278
  /**
272
279
  * @see {@link ModifyListenerCommand}
273
280
  */
@@ -42,6 +42,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
42
42
  import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
43
43
  import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
44
44
  import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "./commands/ModifyCapacityReservationCommand";
45
+ import { ModifyIpPoolsCommandInput, ModifyIpPoolsCommandOutput } from "./commands/ModifyIpPoolsCommand";
45
46
  import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "./commands/ModifyListenerAttributesCommand";
46
47
  import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
47
48
  import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "./commands/ModifyLoadBalancerAttributesCommand";
@@ -63,11 +64,11 @@ export { __Client };
63
64
  /**
64
65
  * @public
65
66
  */
66
- export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteSharedTrustStoreAssociationCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeCapacityReservationCommandInput | DescribeListenerAttributesCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetResourcePolicyCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyCapacityReservationCommandInput | ModifyListenerAttributesCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
67
+ export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteSharedTrustStoreAssociationCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeCapacityReservationCommandInput | DescribeListenerAttributesCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetResourcePolicyCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyCapacityReservationCommandInput | ModifyIpPoolsCommandInput | ModifyListenerAttributesCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
67
68
  /**
68
69
  * @public
69
70
  */
70
- export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteSharedTrustStoreAssociationCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeCapacityReservationCommandOutput | DescribeListenerAttributesCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetResourcePolicyCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyCapacityReservationCommandOutput | ModifyListenerAttributesCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
71
+ export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteSharedTrustStoreAssociationCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeCapacityReservationCommandOutput | DescribeListenerAttributesCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetResourcePolicyCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyCapacityReservationCommandOutput | ModifyIpPoolsCommandOutput | ModifyListenerAttributesCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
71
72
  /**
72
73
  * @public
73
74
  */
@@ -85,6 +85,9 @@ declare const CreateLoadBalancerCommand_base: {
85
85
  * IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
86
86
  * CustomerOwnedIpv4Pool: "STRING_VALUE",
87
87
  * EnablePrefixForIpv6SourceNat: "on" || "off",
88
+ * IpamPools: { // IpamPools
89
+ * Ipv4IpamPoolId: "STRING_VALUE",
90
+ * },
88
91
  * };
89
92
  * const command = new CreateLoadBalancerCommand(input);
90
93
  * const response = await client.send(command);
@@ -128,6 +131,9 @@ declare const CreateLoadBalancerCommand_base: {
128
131
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
129
132
  * // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
130
133
  * // EnablePrefixForIpv6SourceNat: "on" || "off",
134
+ * // IpamPools: { // IpamPools
135
+ * // Ipv4IpamPoolId: "STRING_VALUE",
136
+ * // },
131
137
  * // },
132
138
  * // ],
133
139
  * // };
@@ -86,6 +86,9 @@ declare const DescribeLoadBalancersCommand_base: {
86
86
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
87
87
  * // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
88
88
  * // EnablePrefixForIpv6SourceNat: "on" || "off",
89
+ * // IpamPools: { // IpamPools
90
+ * // Ipv4IpamPoolId: "STRING_VALUE",
91
+ * // },
89
92
  * // },
90
93
  * // ],
91
94
  * // NextMarker: "STRING_VALUE",
@@ -0,0 +1,82 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client";
4
+ import { ModifyIpPoolsInput, ModifyIpPoolsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyIpPoolsCommand}.
14
+ */
15
+ export interface ModifyIpPoolsCommandInput extends ModifyIpPoolsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyIpPoolsCommand}.
21
+ */
22
+ export interface ModifyIpPoolsCommandOutput extends ModifyIpPoolsOutput, __MetadataBearer {
23
+ }
24
+ declare const ModifyIpPoolsCommand_base: {
25
+ new (input: ModifyIpPoolsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyIpPoolsCommandInput, ModifyIpPoolsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyIpPoolsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyIpPoolsCommandInput, ModifyIpPoolsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>[Application Load Balancers] Modify the IP pool associated to a load balancer.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ElasticLoadBalancingV2Client, ModifyIpPoolsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
35
+ * // const { ElasticLoadBalancingV2Client, ModifyIpPoolsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
36
+ * const client = new ElasticLoadBalancingV2Client(config);
37
+ * const input = { // ModifyIpPoolsInput
38
+ * LoadBalancerArn: "STRING_VALUE", // required
39
+ * IpamPools: { // IpamPools
40
+ * Ipv4IpamPoolId: "STRING_VALUE",
41
+ * },
42
+ * RemoveIpamPools: [ // RemoveIpamPools
43
+ * "ipv4",
44
+ * ],
45
+ * };
46
+ * const command = new ModifyIpPoolsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ModifyIpPoolsOutput
49
+ * // IpamPools: { // IpamPools
50
+ * // Ipv4IpamPoolId: "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ModifyIpPoolsCommandInput - {@link ModifyIpPoolsCommandInput}
57
+ * @returns {@link ModifyIpPoolsCommandOutput}
58
+ * @see {@link ModifyIpPoolsCommandInput} for command's `input` shape.
59
+ * @see {@link ModifyIpPoolsCommandOutput} for command's `response` shape.
60
+ * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
61
+ *
62
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
63
+ * <p>The specified load balancer does not exist.</p>
64
+ *
65
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
66
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
67
+ *
68
+ * @public
69
+ */
70
+ export declare class ModifyIpPoolsCommand extends ModifyIpPoolsCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: ModifyIpPoolsInput;
75
+ output: ModifyIpPoolsOutput;
76
+ };
77
+ sdk: {
78
+ input: ModifyIpPoolsCommandInput;
79
+ output: ModifyIpPoolsCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -33,6 +33,7 @@ export * from "./GetResourcePolicyCommand";
33
33
  export * from "./GetTrustStoreCaCertificatesBundleCommand";
34
34
  export * from "./GetTrustStoreRevocationContentCommand";
35
35
  export * from "./ModifyCapacityReservationCommand";
36
+ export * from "./ModifyIpPoolsCommand";
36
37
  export * from "./ModifyListenerAttributesCommand";
37
38
  export * from "./ModifyListenerCommand";
38
39
  export * from "./ModifyLoadBalancerAttributesCommand";
@@ -1449,6 +1449,19 @@ export declare const IpAddressType: {
1449
1449
  * @public
1450
1450
  */
1451
1451
  export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
1452
+ /**
1453
+ * <p>An IPAM pool is a collection of IP address CIDRs.
1454
+ * IPAM pools enable you to organize your IP addresses
1455
+ * according to your routing and security needs.</p>
1456
+ * @public
1457
+ */
1458
+ export interface IpamPools {
1459
+ /**
1460
+ * <p>The ID of the IPv4 IPAM pool.</p>
1461
+ * @public
1462
+ */
1463
+ Ipv4IpamPoolId?: string | undefined;
1464
+ }
1452
1465
  /**
1453
1466
  * @public
1454
1467
  * @enum
@@ -1605,6 +1618,11 @@ export interface CreateLoadBalancerInput {
1605
1618
  * @public
1606
1619
  */
1607
1620
  EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum | undefined;
1621
+ /**
1622
+ * <p>[Application Load Balancers] The IPAM pools to use with the load balancer.</p>
1623
+ * @public
1624
+ */
1625
+ IpamPools?: IpamPools | undefined;
1608
1626
  }
1609
1627
  /**
1610
1628
  * @public
@@ -1736,6 +1754,11 @@ export interface LoadBalancer {
1736
1754
  * @public
1737
1755
  */
1738
1756
  EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum | undefined;
1757
+ /**
1758
+ * <p>[Application Load Balancers] The IPAM pool in use by the load balancer, if configured.</p>
1759
+ * @public
1760
+ */
1761
+ IpamPools?: IpamPools | undefined;
1739
1762
  }
1740
1763
  /**
1741
1764
  * @public
@@ -3912,7 +3935,8 @@ export interface TargetGroupAttribute {
3912
3935
  * <p>
3913
3936
  * <code>target_health_state.unhealthy.connection_termination.enabled</code> - Indicates whether
3914
3937
  * the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
3915
- * or <code>false</code>. The default is <code>true</code>.</p>
3938
+ * or <code>false</code>. The default is <code>true</code>. This attribute can't be enabled for UDP and
3939
+ * TCP_UDP target groups.</p>
3916
3940
  * </li>
3917
3941
  * <li>
3918
3942
  * <p>
@@ -4567,6 +4591,47 @@ export declare class PriorRequestNotCompleteException extends __BaseException {
4567
4591
  */
4568
4592
  constructor(opts: __ExceptionOptionType<PriorRequestNotCompleteException, __BaseException>);
4569
4593
  }
4594
+ /**
4595
+ * @public
4596
+ * @enum
4597
+ */
4598
+ export declare const RemoveIpamPoolEnum: {
4599
+ readonly ipv4: "ipv4";
4600
+ };
4601
+ /**
4602
+ * @public
4603
+ */
4604
+ export type RemoveIpamPoolEnum = (typeof RemoveIpamPoolEnum)[keyof typeof RemoveIpamPoolEnum];
4605
+ /**
4606
+ * @public
4607
+ */
4608
+ export interface ModifyIpPoolsInput {
4609
+ /**
4610
+ * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4611
+ * @public
4612
+ */
4613
+ LoadBalancerArn: string | undefined;
4614
+ /**
4615
+ * <p>The IPAM pools to be modified.</p>
4616
+ * @public
4617
+ */
4618
+ IpamPools?: IpamPools | undefined;
4619
+ /**
4620
+ * <p>Remove the IP pools in use by the load balancer.</p>
4621
+ * @public
4622
+ */
4623
+ RemoveIpamPools?: RemoveIpamPoolEnum[] | undefined;
4624
+ }
4625
+ /**
4626
+ * @public
4627
+ */
4628
+ export interface ModifyIpPoolsOutput {
4629
+ /**
4630
+ * <p>The IPAM pool ID.</p>
4631
+ * @public
4632
+ */
4633
+ IpamPools?: IpamPools | undefined;
4634
+ }
4570
4635
  /**
4571
4636
  * @public
4572
4637
  */
@@ -35,6 +35,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
35
35
  import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "../commands/GetTrustStoreCaCertificatesBundleCommand";
36
36
  import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "../commands/GetTrustStoreRevocationContentCommand";
37
37
  import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "../commands/ModifyCapacityReservationCommand";
38
+ import { ModifyIpPoolsCommandInput, ModifyIpPoolsCommandOutput } from "../commands/ModifyIpPoolsCommand";
38
39
  import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "../commands/ModifyListenerAttributesCommand";
39
40
  import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "../commands/ModifyListenerCommand";
40
41
  import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "../commands/ModifyLoadBalancerAttributesCommand";
@@ -190,6 +191,10 @@ export declare const se_GetTrustStoreRevocationContentCommand: (input: GetTrustS
190
191
  * serializeAws_queryModifyCapacityReservationCommand
191
192
  */
192
193
  export declare const se_ModifyCapacityReservationCommand: (input: ModifyCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
194
+ /**
195
+ * serializeAws_queryModifyIpPoolsCommand
196
+ */
197
+ export declare const se_ModifyIpPoolsCommand: (input: ModifyIpPoolsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
193
198
  /**
194
199
  * serializeAws_queryModifyListenerCommand
195
200
  */
@@ -390,6 +395,10 @@ export declare const de_GetTrustStoreRevocationContentCommand: (output: __HttpRe
390
395
  * deserializeAws_queryModifyCapacityReservationCommand
391
396
  */
392
397
  export declare const de_ModifyCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyCapacityReservationCommandOutput>;
398
+ /**
399
+ * deserializeAws_queryModifyIpPoolsCommand
400
+ */
401
+ export declare const de_ModifyIpPoolsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyIpPoolsCommandOutput>;
393
402
  /**
394
403
  * deserializeAws_queryModifyListenerCommand
395
404
  */
@@ -139,6 +139,10 @@ import {
139
139
  ModifyCapacityReservationCommandInput,
140
140
  ModifyCapacityReservationCommandOutput,
141
141
  } from "./commands/ModifyCapacityReservationCommand";
142
+ import {
143
+ ModifyIpPoolsCommandInput,
144
+ ModifyIpPoolsCommandOutput,
145
+ } from "./commands/ModifyIpPoolsCommand";
142
146
  import {
143
147
  ModifyListenerAttributesCommandInput,
144
148
  ModifyListenerAttributesCommandOutput,
@@ -675,6 +679,19 @@ export interface ElasticLoadBalancingV2 {
675
679
  options: __HttpHandlerOptions,
676
680
  cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void
677
681
  ): void;
682
+ modifyIpPools(
683
+ args: ModifyIpPoolsCommandInput,
684
+ options?: __HttpHandlerOptions
685
+ ): Promise<ModifyIpPoolsCommandOutput>;
686
+ modifyIpPools(
687
+ args: ModifyIpPoolsCommandInput,
688
+ cb: (err: any, data?: ModifyIpPoolsCommandOutput) => void
689
+ ): void;
690
+ modifyIpPools(
691
+ args: ModifyIpPoolsCommandInput,
692
+ options: __HttpHandlerOptions,
693
+ cb: (err: any, data?: ModifyIpPoolsCommandOutput) => void
694
+ ): void;
678
695
  modifyListener(
679
696
  args: ModifyListenerCommandInput,
680
697
  options?: __HttpHandlerOptions
@@ -185,6 +185,10 @@ import {
185
185
  ModifyCapacityReservationCommandInput,
186
186
  ModifyCapacityReservationCommandOutput,
187
187
  } from "./commands/ModifyCapacityReservationCommand";
188
+ import {
189
+ ModifyIpPoolsCommandInput,
190
+ ModifyIpPoolsCommandOutput,
191
+ } from "./commands/ModifyIpPoolsCommand";
188
192
  import {
189
193
  ModifyListenerAttributesCommandInput,
190
194
  ModifyListenerAttributesCommandOutput,
@@ -288,6 +292,7 @@ export type ServiceInputTypes =
288
292
  | GetTrustStoreCaCertificatesBundleCommandInput
289
293
  | GetTrustStoreRevocationContentCommandInput
290
294
  | ModifyCapacityReservationCommandInput
295
+ | ModifyIpPoolsCommandInput
291
296
  | ModifyListenerAttributesCommandInput
292
297
  | ModifyListenerCommandInput
293
298
  | ModifyLoadBalancerAttributesCommandInput
@@ -339,6 +344,7 @@ export type ServiceOutputTypes =
339
344
  | GetTrustStoreCaCertificatesBundleCommandOutput
340
345
  | GetTrustStoreRevocationContentCommandOutput
341
346
  | ModifyCapacityReservationCommandOutput
347
+ | ModifyIpPoolsCommandOutput
342
348
  | ModifyListenerAttributesCommandOutput
343
349
  | ModifyListenerCommandOutput
344
350
  | ModifyLoadBalancerAttributesCommandOutput
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ElasticLoadBalancingV2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ElasticLoadBalancingV2Client";
8
+ import { ModifyIpPoolsInput, ModifyIpPoolsOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ModifyIpPoolsCommandInput extends ModifyIpPoolsInput {}
12
+ export interface ModifyIpPoolsCommandOutput
13
+ extends ModifyIpPoolsOutput,
14
+ __MetadataBearer {}
15
+ declare const ModifyIpPoolsCommand_base: {
16
+ new (
17
+ input: ModifyIpPoolsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ModifyIpPoolsCommandInput,
20
+ ModifyIpPoolsCommandOutput,
21
+ ElasticLoadBalancingV2ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: ModifyIpPoolsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ModifyIpPoolsCommandInput,
29
+ ModifyIpPoolsCommandOutput,
30
+ ElasticLoadBalancingV2ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ModifyIpPoolsCommand extends ModifyIpPoolsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ModifyIpPoolsInput;
40
+ output: ModifyIpPoolsOutput;
41
+ };
42
+ sdk: {
43
+ input: ModifyIpPoolsCommandInput;
44
+ output: ModifyIpPoolsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -33,6 +33,7 @@ export * from "./GetResourcePolicyCommand";
33
33
  export * from "./GetTrustStoreCaCertificatesBundleCommand";
34
34
  export * from "./GetTrustStoreRevocationContentCommand";
35
35
  export * from "./ModifyCapacityReservationCommand";
36
+ export * from "./ModifyIpPoolsCommand";
36
37
  export * from "./ModifyListenerAttributesCommand";
37
38
  export * from "./ModifyListenerCommand";
38
39
  export * from "./ModifyLoadBalancerAttributesCommand";
@@ -566,6 +566,9 @@ export declare const IpAddressType: {
566
566
  readonly IPV4: "ipv4";
567
567
  };
568
568
  export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
569
+ export interface IpamPools {
570
+ Ipv4IpamPoolId?: string | undefined;
571
+ }
569
572
  export declare const LoadBalancerSchemeEnum: {
570
573
  readonly INTERNAL: "internal";
571
574
  readonly INTERNET_FACING: "internet-facing";
@@ -597,6 +600,7 @@ export interface CreateLoadBalancerInput {
597
600
  IpAddressType?: IpAddressType | undefined;
598
601
  CustomerOwnedIpv4Pool?: string | undefined;
599
602
  EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum | undefined;
603
+ IpamPools?: IpamPools | undefined;
600
604
  }
601
605
  export declare const LoadBalancerStateEnum: {
602
606
  readonly ACTIVE: "active";
@@ -626,6 +630,7 @@ export interface LoadBalancer {
626
630
  CustomerOwnedIpv4Pool?: string | undefined;
627
631
  EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string | undefined;
628
632
  EnablePrefixForIpv6SourceNat?: EnablePrefixForIpv6SourceNatEnum | undefined;
633
+ IpamPools?: IpamPools | undefined;
629
634
  }
630
635
  export interface CreateLoadBalancerOutput {
631
636
  LoadBalancers?: LoadBalancer[] | undefined;
@@ -1267,6 +1272,19 @@ export declare class PriorRequestNotCompleteException extends __BaseException {
1267
1272
  >
1268
1273
  );
1269
1274
  }
1275
+ export declare const RemoveIpamPoolEnum: {
1276
+ readonly ipv4: "ipv4";
1277
+ };
1278
+ export type RemoveIpamPoolEnum =
1279
+ (typeof RemoveIpamPoolEnum)[keyof typeof RemoveIpamPoolEnum];
1280
+ export interface ModifyIpPoolsInput {
1281
+ LoadBalancerArn: string | undefined;
1282
+ IpamPools?: IpamPools | undefined;
1283
+ RemoveIpamPools?: RemoveIpamPoolEnum[] | undefined;
1284
+ }
1285
+ export interface ModifyIpPoolsOutput {
1286
+ IpamPools?: IpamPools | undefined;
1287
+ }
1270
1288
  export interface ModifyListenerInput {
1271
1289
  ListenerArn: string | undefined;
1272
1290
  Port?: number | undefined;
@@ -143,6 +143,10 @@ import {
143
143
  ModifyCapacityReservationCommandInput,
144
144
  ModifyCapacityReservationCommandOutput,
145
145
  } from "../commands/ModifyCapacityReservationCommand";
146
+ import {
147
+ ModifyIpPoolsCommandInput,
148
+ ModifyIpPoolsCommandOutput,
149
+ } from "../commands/ModifyIpPoolsCommand";
146
150
  import {
147
151
  ModifyListenerAttributesCommandInput,
148
152
  ModifyListenerAttributesCommandOutput,
@@ -343,6 +347,10 @@ export declare const se_ModifyCapacityReservationCommand: (
343
347
  input: ModifyCapacityReservationCommandInput,
344
348
  context: __SerdeContext
345
349
  ) => Promise<__HttpRequest>;
350
+ export declare const se_ModifyIpPoolsCommand: (
351
+ input: ModifyIpPoolsCommandInput,
352
+ context: __SerdeContext
353
+ ) => Promise<__HttpRequest>;
346
354
  export declare const se_ModifyListenerCommand: (
347
355
  input: ModifyListenerCommandInput,
348
356
  context: __SerdeContext
@@ -543,6 +551,10 @@ export declare const de_ModifyCapacityReservationCommand: (
543
551
  output: __HttpResponse,
544
552
  context: __SerdeContext
545
553
  ) => Promise<ModifyCapacityReservationCommandOutput>;
554
+ export declare const de_ModifyIpPoolsCommand: (
555
+ output: __HttpResponse,
556
+ context: __SerdeContext
557
+ ) => Promise<ModifyIpPoolsCommandOutput>;
546
558
  export declare const de_ModifyListenerCommand: (
547
559
  output: __HttpResponse,
548
560
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elastic-load-balancing-v2",
3
3
  "description": "AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.764.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-elastic-load-balancing-v2",