@aws-sdk/client-elastic-load-balancing-v2 3.910.0 → 3.913.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.
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const u = "required", v = "fn", w = "argv", x = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -769,6 +769,10 @@ class TooManyLoadBalancersException extends ElasticLoadBalancingV2ServiceExcepti
769
769
  this.Message = opts.Message;
770
770
  }
771
771
  }
772
+ const TransformTypeEnum = {
773
+ HOST_HEADER_REWRITE: "host-header-rewrite",
774
+ URL_REWRITE: "url-rewrite",
775
+ };
772
776
  class PriorityInUseException extends ElasticLoadBalancingV2ServiceException {
773
777
  name = "PriorityInUseException";
774
778
  $fault = "client";
@@ -3331,6 +3335,16 @@ const se_CreateRuleInput = (input, context) => {
3331
3335
  entries[loc] = value;
3332
3336
  });
3333
3337
  }
3338
+ if (input[_Tr] != null) {
3339
+ const memberEntries = se_RuleTransformList(input[_Tr]);
3340
+ if (input[_Tr]?.length === 0) {
3341
+ entries.Transforms = [];
3342
+ }
3343
+ Object.entries(memberEntries).forEach(([key, value]) => {
3344
+ const loc = `Transforms.${key}`;
3345
+ entries[loc] = value;
3346
+ });
3347
+ }
3334
3348
  return entries;
3335
3349
  };
3336
3350
  const se_CreateTargetGroupInput = (input, context) => {
@@ -3847,6 +3861,30 @@ const se_HostHeaderConditionConfig = (input, context) => {
3847
3861
  entries[loc] = value;
3848
3862
  });
3849
3863
  }
3864
+ if (input[_RV] != null) {
3865
+ const memberEntries = se_ListOfString(input[_RV]);
3866
+ if (input[_RV]?.length === 0) {
3867
+ entries.RegexValues = [];
3868
+ }
3869
+ Object.entries(memberEntries).forEach(([key, value]) => {
3870
+ const loc = `RegexValues.${key}`;
3871
+ entries[loc] = value;
3872
+ });
3873
+ }
3874
+ return entries;
3875
+ };
3876
+ const se_HostHeaderRewriteConfig = (input, context) => {
3877
+ const entries = {};
3878
+ if (input[_R] != null) {
3879
+ const memberEntries = se_RewriteConfigList(input[_R]);
3880
+ if (input[_R]?.length === 0) {
3881
+ entries.Rewrites = [];
3882
+ }
3883
+ Object.entries(memberEntries).forEach(([key, value]) => {
3884
+ const loc = `Rewrites.${key}`;
3885
+ entries[loc] = value;
3886
+ });
3887
+ }
3850
3888
  return entries;
3851
3889
  };
3852
3890
  const se_HttpHeaderConditionConfig = (input, context) => {
@@ -3864,6 +3902,16 @@ const se_HttpHeaderConditionConfig = (input, context) => {
3864
3902
  entries[loc] = value;
3865
3903
  });
3866
3904
  }
3905
+ if (input[_RV] != null) {
3906
+ const memberEntries = se_ListOfString(input[_RV]);
3907
+ if (input[_RV]?.length === 0) {
3908
+ entries.RegexValues = [];
3909
+ }
3910
+ Object.entries(memberEntries).forEach(([key, value]) => {
3911
+ const loc = `RegexValues.${key}`;
3912
+ entries[loc] = value;
3913
+ });
3914
+ }
3867
3915
  return entries;
3868
3916
  };
3869
3917
  const se_HttpRequestMethodConditionConfig = (input, context) => {
@@ -4167,6 +4215,19 @@ const se_ModifyRuleInput = (input, context) => {
4167
4215
  entries[loc] = value;
4168
4216
  });
4169
4217
  }
4218
+ if (input[_Tr] != null) {
4219
+ const memberEntries = se_RuleTransformList(input[_Tr]);
4220
+ if (input[_Tr]?.length === 0) {
4221
+ entries.Transforms = [];
4222
+ }
4223
+ Object.entries(memberEntries).forEach(([key, value]) => {
4224
+ const loc = `Transforms.${key}`;
4225
+ entries[loc] = value;
4226
+ });
4227
+ }
4228
+ if (input[_RTes] != null) {
4229
+ entries[_RTes] = input[_RTes];
4230
+ }
4170
4231
  return entries;
4171
4232
  };
4172
4233
  const se_ModifyTargetGroupAttributesInput = (input, context) => {
@@ -4271,6 +4332,16 @@ const se_PathPatternConditionConfig = (input, context) => {
4271
4332
  entries[loc] = value;
4272
4333
  });
4273
4334
  }
4335
+ if (input[_RV] != null) {
4336
+ const memberEntries = se_ListOfString(input[_RV]);
4337
+ if (input[_RV]?.length === 0) {
4338
+ entries.RegexValues = [];
4339
+ }
4340
+ Object.entries(memberEntries).forEach(([key, value]) => {
4341
+ const loc = `RegexValues.${key}`;
4342
+ entries[loc] = value;
4343
+ });
4344
+ }
4274
4345
  return entries;
4275
4346
  };
4276
4347
  const se_QueryStringConditionConfig = (input, context) => {
@@ -4476,6 +4547,31 @@ const se_RevocationIds = (input, context) => {
4476
4547
  }
4477
4548
  return entries;
4478
4549
  };
4550
+ const se_RewriteConfig = (input, context) => {
4551
+ const entries = {};
4552
+ if (input[_Re] != null) {
4553
+ entries[_Re] = input[_Re];
4554
+ }
4555
+ if (input[_Rep] != null) {
4556
+ entries[_Rep] = input[_Rep];
4557
+ }
4558
+ return entries;
4559
+ };
4560
+ const se_RewriteConfigList = (input, context) => {
4561
+ const entries = {};
4562
+ let counter = 1;
4563
+ for (const entry of input) {
4564
+ if (entry === null) {
4565
+ continue;
4566
+ }
4567
+ const memberEntries = se_RewriteConfig(entry);
4568
+ Object.entries(memberEntries).forEach(([key, value]) => {
4569
+ entries[`member.${counter}.${key}`] = value;
4570
+ });
4571
+ counter++;
4572
+ }
4573
+ return entries;
4574
+ };
4479
4575
  const se_RuleArns = (input, context) => {
4480
4576
  const entries = {};
4481
4577
  let counter = 1;
@@ -4545,6 +4641,16 @@ const se_RuleCondition = (input, context) => {
4545
4641
  entries[loc] = value;
4546
4642
  });
4547
4643
  }
4644
+ if (input[_RV] != null) {
4645
+ const memberEntries = se_ListOfString(input[_RV]);
4646
+ if (input[_RV]?.length === 0) {
4647
+ entries.RegexValues = [];
4648
+ }
4649
+ Object.entries(memberEntries).forEach(([key, value]) => {
4650
+ const loc = `RegexValues.${key}`;
4651
+ entries[loc] = value;
4652
+ });
4653
+ }
4548
4654
  return entries;
4549
4655
  };
4550
4656
  const se_RuleConditionList = (input, context) => {
@@ -4587,6 +4693,42 @@ const se_RulePriorityPair = (input, context) => {
4587
4693
  }
4588
4694
  return entries;
4589
4695
  };
4696
+ const se_RuleTransform = (input, context) => {
4697
+ const entries = {};
4698
+ if (input[_T] != null) {
4699
+ entries[_T] = input[_T];
4700
+ }
4701
+ if (input[_HHRC] != null) {
4702
+ const memberEntries = se_HostHeaderRewriteConfig(input[_HHRC]);
4703
+ Object.entries(memberEntries).forEach(([key, value]) => {
4704
+ const loc = `HostHeaderRewriteConfig.${key}`;
4705
+ entries[loc] = value;
4706
+ });
4707
+ }
4708
+ if (input[_URC] != null) {
4709
+ const memberEntries = se_UrlRewriteConfig(input[_URC]);
4710
+ Object.entries(memberEntries).forEach(([key, value]) => {
4711
+ const loc = `UrlRewriteConfig.${key}`;
4712
+ entries[loc] = value;
4713
+ });
4714
+ }
4715
+ return entries;
4716
+ };
4717
+ const se_RuleTransformList = (input, context) => {
4718
+ const entries = {};
4719
+ let counter = 1;
4720
+ for (const entry of input) {
4721
+ if (entry === null) {
4722
+ continue;
4723
+ }
4724
+ const memberEntries = se_RuleTransform(entry);
4725
+ Object.entries(memberEntries).forEach(([key, value]) => {
4726
+ entries[`member.${counter}.${key}`] = value;
4727
+ });
4728
+ counter++;
4729
+ }
4730
+ return entries;
4731
+ };
4590
4732
  const se_SecurityGroups = (input, context) => {
4591
4733
  const entries = {};
4592
4734
  let counter = 1;
@@ -4921,6 +5063,20 @@ const se_TrustStoreNames = (input, context) => {
4921
5063
  }
4922
5064
  return entries;
4923
5065
  };
5066
+ const se_UrlRewriteConfig = (input, context) => {
5067
+ const entries = {};
5068
+ if (input[_R] != null) {
5069
+ const memberEntries = se_RewriteConfigList(input[_R]);
5070
+ if (input[_R]?.length === 0) {
5071
+ entries.Rewrites = [];
5072
+ }
5073
+ Object.entries(memberEntries).forEach(([key, value]) => {
5074
+ const loc = `Rewrites.${key}`;
5075
+ entries[loc] = value;
5076
+ });
5077
+ }
5078
+ return entries;
5079
+ };
4924
5080
  const de_Action = (output, context) => {
4925
5081
  const contents = {};
4926
5082
  if (output[_T] != null) {
@@ -4985,8 +5141,8 @@ const de_AdministrativeOverride = (output, context) => {
4985
5141
  if (output[_St] != null) {
4986
5142
  contents[_St] = smithyClient.expectString(output[_St]);
4987
5143
  }
4988
- if (output[_R] != null) {
4989
- contents[_R] = smithyClient.expectString(output[_R]);
5144
+ if (output[_Rea] != null) {
5145
+ contents[_Rea] = smithyClient.expectString(output[_Rea]);
4990
5146
  }
4991
5147
  if (output[_D] != null) {
4992
5148
  contents[_D] = smithyClient.expectString(output[_D]);
@@ -5016,8 +5172,8 @@ const de_ALPNPolicyNotSupportedException = (output, context) => {
5016
5172
  };
5017
5173
  const de_AnomalyDetection = (output, context) => {
5018
5174
  const contents = {};
5019
- if (output[_Re] != null) {
5020
- contents[_Re] = smithyClient.expectString(output[_Re]);
5175
+ if (output[_Res] != null) {
5176
+ contents[_Res] = smithyClient.expectString(output[_Res]);
5021
5177
  }
5022
5178
  if (output[_MIE] != null) {
5023
5179
  contents[_MIE] = smithyClient.expectString(output[_MIE]);
@@ -5181,8 +5337,8 @@ const de_CapacityReservationStatus = (output, context) => {
5181
5337
  if (output[_Cod] != null) {
5182
5338
  contents[_Cod] = smithyClient.expectString(output[_Cod]);
5183
5339
  }
5184
- if (output[_R] != null) {
5185
- contents[_R] = smithyClient.expectString(output[_R]);
5340
+ if (output[_Rea] != null) {
5341
+ contents[_Rea] = smithyClient.expectString(output[_Rea]);
5186
5342
  }
5187
5343
  return contents;
5188
5344
  };
@@ -5638,6 +5794,22 @@ const de_HostHeaderConditionConfig = (output, context) => {
5638
5794
  else if (output[_Va] != null && output[_Va][_m] != null) {
5639
5795
  contents[_Va] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_Va][_m]));
5640
5796
  }
5797
+ if (String(output.RegexValues).trim() === "") {
5798
+ contents[_RV] = [];
5799
+ }
5800
+ else if (output[_RV] != null && output[_RV][_m] != null) {
5801
+ contents[_RV] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_RV][_m]));
5802
+ }
5803
+ return contents;
5804
+ };
5805
+ const de_HostHeaderRewriteConfig = (output, context) => {
5806
+ const contents = {};
5807
+ if (String(output.Rewrites).trim() === "") {
5808
+ contents[_R] = [];
5809
+ }
5810
+ else if (output[_R] != null && output[_R][_m] != null) {
5811
+ contents[_R] = de_RewriteConfigList(smithyClient.getArrayIfSingleItem(output[_R][_m]));
5812
+ }
5641
5813
  return contents;
5642
5814
  };
5643
5815
  const de_HttpHeaderConditionConfig = (output, context) => {
@@ -5651,6 +5823,12 @@ const de_HttpHeaderConditionConfig = (output, context) => {
5651
5823
  else if (output[_Va] != null && output[_Va][_m] != null) {
5652
5824
  contents[_Va] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_Va][_m]));
5653
5825
  }
5826
+ if (String(output.RegexValues).trim() === "") {
5827
+ contents[_RV] = [];
5828
+ }
5829
+ else if (output[_RV] != null && output[_RV][_m] != null) {
5830
+ contents[_RV] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_RV][_m]));
5831
+ }
5654
5832
  return contents;
5655
5833
  };
5656
5834
  const de_HttpRequestMethodConditionConfig = (output, context) => {
@@ -5959,8 +6137,8 @@ const de_LoadBalancerState = (output, context) => {
5959
6137
  if (output[_Cod] != null) {
5960
6138
  contents[_Cod] = smithyClient.expectString(output[_Cod]);
5961
6139
  }
5962
- if (output[_R] != null) {
5963
- contents[_R] = smithyClient.expectString(output[_R]);
6140
+ if (output[_Rea] != null) {
6141
+ contents[_Rea] = smithyClient.expectString(output[_Rea]);
5964
6142
  }
5965
6143
  return contents;
5966
6144
  };
@@ -6111,6 +6289,12 @@ const de_PathPatternConditionConfig = (output, context) => {
6111
6289
  else if (output[_Va] != null && output[_Va][_m] != null) {
6112
6290
  contents[_Va] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_Va][_m]));
6113
6291
  }
6292
+ if (String(output.RegexValues).trim() === "") {
6293
+ contents[_RV] = [];
6294
+ }
6295
+ else if (output[_RV] != null && output[_RV][_m] != null) {
6296
+ contents[_RV] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_RV][_m]));
6297
+ }
6114
6298
  return contents;
6115
6299
  };
6116
6300
  const de_PriorityInUseException = (output, context) => {
@@ -6220,6 +6404,23 @@ const de_RevocationIdNotFoundException = (output, context) => {
6220
6404
  }
6221
6405
  return contents;
6222
6406
  };
6407
+ const de_RewriteConfig = (output, context) => {
6408
+ const contents = {};
6409
+ if (output[_Re] != null) {
6410
+ contents[_Re] = smithyClient.expectString(output[_Re]);
6411
+ }
6412
+ if (output[_Rep] != null) {
6413
+ contents[_Rep] = smithyClient.expectString(output[_Rep]);
6414
+ }
6415
+ return contents;
6416
+ };
6417
+ const de_RewriteConfigList = (output, context) => {
6418
+ return (output || [])
6419
+ .filter((e) => e != null)
6420
+ .map((entry) => {
6421
+ return de_RewriteConfig(entry);
6422
+ });
6423
+ };
6223
6424
  const de_Rule = (output, context) => {
6224
6425
  const contents = {};
6225
6426
  if (output[_RAu] != null) {
@@ -6243,6 +6444,12 @@ const de_Rule = (output, context) => {
6243
6444
  if (output[_ID] != null) {
6244
6445
  contents[_ID] = smithyClient.parseBoolean(output[_ID]);
6245
6446
  }
6447
+ if (String(output.Transforms).trim() === "") {
6448
+ contents[_Tr] = [];
6449
+ }
6450
+ else if (output[_Tr] != null && output[_Tr][_m] != null) {
6451
+ contents[_Tr] = de_RuleTransformList(smithyClient.getArrayIfSingleItem(output[_Tr][_m]));
6452
+ }
6246
6453
  return contents;
6247
6454
  };
6248
6455
  const de_RuleCondition = (output, context) => {
@@ -6274,6 +6481,12 @@ const de_RuleCondition = (output, context) => {
6274
6481
  if (output[_SIC] != null) {
6275
6482
  contents[_SIC] = de_SourceIpConditionConfig(output[_SIC]);
6276
6483
  }
6484
+ if (String(output.RegexValues).trim() === "") {
6485
+ contents[_RV] = [];
6486
+ }
6487
+ else if (output[_RV] != null && output[_RV][_m] != null) {
6488
+ contents[_RV] = de_ListOfString(smithyClient.getArrayIfSingleItem(output[_RV][_m]));
6489
+ }
6277
6490
  return contents;
6278
6491
  };
6279
6492
  const de_RuleConditionList = (output, context) => {
@@ -6297,6 +6510,26 @@ const de_Rules = (output, context) => {
6297
6510
  return de_Rule(entry);
6298
6511
  });
6299
6512
  };
6513
+ const de_RuleTransform = (output, context) => {
6514
+ const contents = {};
6515
+ if (output[_T] != null) {
6516
+ contents[_T] = smithyClient.expectString(output[_T]);
6517
+ }
6518
+ if (output[_HHRC] != null) {
6519
+ contents[_HHRC] = de_HostHeaderRewriteConfig(output[_HHRC]);
6520
+ }
6521
+ if (output[_URC] != null) {
6522
+ contents[_URC] = de_UrlRewriteConfig(output[_URC]);
6523
+ }
6524
+ return contents;
6525
+ };
6526
+ const de_RuleTransformList = (output, context) => {
6527
+ return (output || [])
6528
+ .filter((e) => e != null)
6529
+ .map((entry) => {
6530
+ return de_RuleTransform(entry);
6531
+ });
6532
+ };
6300
6533
  const de_SecurityGroups = (output, context) => {
6301
6534
  return (output || [])
6302
6535
  .filter((e) => e != null)
@@ -6601,8 +6834,8 @@ const de_TargetHealth = (output, context) => {
6601
6834
  if (output[_St] != null) {
6602
6835
  contents[_St] = smithyClient.expectString(output[_St]);
6603
6836
  }
6604
- if (output[_R] != null) {
6605
- contents[_R] = smithyClient.expectString(output[_R]);
6837
+ if (output[_Rea] != null) {
6838
+ contents[_Rea] = smithyClient.expectString(output[_Rea]);
6606
6839
  }
6607
6840
  if (output[_D] != null) {
6608
6841
  contents[_D] = smithyClient.expectString(output[_D]);
@@ -6817,6 +7050,16 @@ const de_UnsupportedProtocolException = (output, context) => {
6817
7050
  }
6818
7051
  return contents;
6819
7052
  };
7053
+ const de_UrlRewriteConfig = (output, context) => {
7054
+ const contents = {};
7055
+ if (String(output.Rewrites).trim() === "") {
7056
+ contents[_R] = [];
7057
+ }
7058
+ else if (output[_R] != null && output[_R][_m] != null) {
7059
+ contents[_R] = de_RewriteConfigList(smithyClient.getArrayIfSingleItem(output[_R][_m]));
7060
+ }
7061
+ return contents;
7062
+ };
6820
7063
  const de_ZonalCapacityReservationState = (output, context) => {
6821
7064
  const contents = {};
6822
7065
  if (output[_St] != null) {
@@ -6951,6 +7194,7 @@ const _HCTS = "HealthCheckTimeoutSeconds";
6951
7194
  const _HHC = "HostHeaderConfig";
6952
7195
  const _HHCt = "HttpHeaderConfig";
6953
7196
  const _HHN = "HttpHeaderName";
7197
+ const _HHRC = "HostHeaderRewriteConfig";
6954
7198
  const _HRMC = "HttpRequestMethodConfig";
6955
7199
  const _HTC = "HealthyThresholdCount";
6956
7200
  const _I = "Issuer";
@@ -7013,7 +7257,7 @@ const _Pol = "Policy";
7013
7257
  const _Pr = "Priority";
7014
7258
  const _Q = "Query";
7015
7259
  const _QSC = "QueryStringConfig";
7016
- const _R = "Reason";
7260
+ const _R = "Rewrites";
7017
7261
  const _RA = "ResourceArns";
7018
7262
  const _RAe = "ResourceArn";
7019
7263
  const _RAu = "RuleArn";
@@ -7029,8 +7273,13 @@ const _RP = "RulePriorities";
7029
7273
  const _RT = "RegisterTargets";
7030
7274
  const _RTSR = "RemoveTrustStoreRevocations";
7031
7275
  const _RTe = "RemoveTags";
7276
+ const _RTes = "ResetTransforms";
7032
7277
  const _RTev = "RevocationType";
7033
- const _Re = "Result";
7278
+ const _RV = "RegexValues";
7279
+ const _Re = "Regex";
7280
+ const _Rea = "Reason";
7281
+ const _Rep = "Replace";
7282
+ const _Res = "Result";
7034
7283
  const _Ru = "Rules";
7035
7284
  const _S = "Scope";
7036
7285
  const _SB = "S3Bucket";
@@ -7080,11 +7329,13 @@ const _TT = "TargetType";
7080
7329
  const _Ta = "Tags";
7081
7330
  const _Tar = "Targets";
7082
7331
  const _Targ = "Target";
7332
+ const _Tr = "Transforms";
7083
7333
  const _UECS = "UseExistingClientSecret";
7084
7334
  const _UIE = "UserInfoEndpoint";
7085
7335
  const _UPA = "UserPoolArn";
7086
7336
  const _UPCI = "UserPoolClientId";
7087
7337
  const _UPD = "UserPoolDomain";
7338
+ const _URC = "UrlRewriteConfig";
7088
7339
  const _UTC = "UnhealthyThresholdCount";
7089
7340
  const _V = "Version";
7090
7341
  const _VI = "VpcId";
@@ -8389,6 +8640,7 @@ exports.TooManyTargetsException = TooManyTargetsException;
8389
8640
  exports.TooManyTrustStoreRevocationEntriesException = TooManyTrustStoreRevocationEntriesException;
8390
8641
  exports.TooManyTrustStoresException = TooManyTrustStoresException;
8391
8642
  exports.TooManyUniqueTargetGroupsPerLoadBalancerException = TooManyUniqueTargetGroupsPerLoadBalancerException;
8643
+ exports.TransformTypeEnum = TransformTypeEnum;
8392
8644
  exports.TrustStoreAssociationNotFoundException = TrustStoreAssociationNotFoundException;
8393
8645
  exports.TrustStoreAssociationStatusEnum = TrustStoreAssociationStatusEnum;
8394
8646
  exports.TrustStoreInUseException = TrustStoreInUseException;
@@ -1,4 +1,4 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -650,6 +650,10 @@ export class TooManyLoadBalancersException extends __BaseException {
650
650
  this.Message = opts.Message;
651
651
  }
652
652
  }
653
+ export const TransformTypeEnum = {
654
+ HOST_HEADER_REWRITE: "host-header-rewrite",
655
+ URL_REWRITE: "url-rewrite",
656
+ };
653
657
  export class PriorityInUseException extends __BaseException {
654
658
  name = "PriorityInUseException";
655
659
  $fault = "client";