@cloudsnorkel/cdk-github-runners 0.5.6 → 0.5.7

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.
@@ -178,7 +178,7 @@ var require_tslib = __commonJS({
178
178
  function step(op) {
179
179
  if (f)
180
180
  throw new TypeError("Generator is already executing.");
181
- while (_)
181
+ while (g && (g = 0, op[0] && (_ = 0)), _)
182
182
  try {
183
183
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
184
184
  return t;
@@ -1731,13 +1731,6 @@ var require_emitWarningIfUnsupportedVersion = __commonJS({
1731
1731
  var emitWarningIfUnsupportedVersion = (version) => {
1732
1732
  if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) {
1733
1733
  warningEmitted = true;
1734
- process.emitWarning(`The AWS SDK for JavaScript (v3) will
1735
- no longer support Node.js ${version} on November 1, 2022.
1736
-
1737
- To continue receiving updates to AWS services, bug fixes, and security
1738
- updates please upgrade to Node.js 14.x or later.
1739
-
1740
- For details, please refer our blog post: https://a.co/48dbdYz`, `NodeDeprecationWarning`);
1741
1734
  }
1742
1735
  };
1743
1736
  exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
@@ -3403,7 +3396,7 @@ var require_Aws_restJson1 = __commonJS({
3403
3396
  const headers = {
3404
3397
  "content-type": "application/json"
3405
3398
  };
3406
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy`;
3399
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy`;
3407
3400
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
3408
3401
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
3409
3402
  const query = map({
@@ -3433,7 +3426,7 @@ var require_Aws_restJson1 = __commonJS({
3433
3426
  const headers = {
3434
3427
  "content-type": "application/json"
3435
3428
  };
3436
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy`;
3429
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy`;
3437
3430
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3438
3431
  const query = map({
3439
3432
  Qualifier: [, input.Qualifier]
@@ -3467,7 +3460,7 @@ var require_Aws_restJson1 = __commonJS({
3467
3460
  const headers = {
3468
3461
  "content-type": "application/json"
3469
3462
  };
3470
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases`;
3463
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases`;
3471
3464
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3472
3465
  let body;
3473
3466
  body = JSON.stringify({
@@ -3494,7 +3487,7 @@ var require_Aws_restJson1 = __commonJS({
3494
3487
  const headers = {
3495
3488
  "content-type": "application/json"
3496
3489
  };
3497
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs`;
3490
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs`;
3498
3491
  let body;
3499
3492
  body = JSON.stringify({
3500
3493
  ...input.AllowedPublishers != null && {
@@ -3521,7 +3514,7 @@ var require_Aws_restJson1 = __commonJS({
3521
3514
  const headers = {
3522
3515
  "content-type": "application/json"
3523
3516
  };
3524
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings`;
3517
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings`;
3525
3518
  let body;
3526
3519
  body = JSON.stringify({
3527
3520
  ...input.AmazonManagedKafkaEventSourceConfig != null && {
@@ -3580,7 +3573,7 @@ var require_Aws_restJson1 = __commonJS({
3580
3573
  const headers = {
3581
3574
  "content-type": "application/json"
3582
3575
  };
3583
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions`;
3576
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions`;
3584
3577
  let body;
3585
3578
  body = JSON.stringify({
3586
3579
  ...input.Architectures != null && {
@@ -3632,7 +3625,7 @@ var require_Aws_restJson1 = __commonJS({
3632
3625
  const headers = {
3633
3626
  "content-type": "application/json"
3634
3627
  };
3635
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
3628
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
3636
3629
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3637
3630
  const query = map({
3638
3631
  Qualifier: [, input.Qualifier]
@@ -3657,7 +3650,7 @@ var require_Aws_restJson1 = __commonJS({
3657
3650
  var serializeAws_restJson1DeleteAliasCommand = async (input, context) => {
3658
3651
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3659
3652
  const headers = {};
3660
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
3653
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
3661
3654
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3662
3655
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
3663
3656
  let body;
@@ -3675,7 +3668,7 @@ var require_Aws_restJson1 = __commonJS({
3675
3668
  var serializeAws_restJson1DeleteCodeSigningConfigCommand = async (input, context) => {
3676
3669
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3677
3670
  const headers = {};
3678
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
3671
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
3679
3672
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
3680
3673
  let body;
3681
3674
  return new protocol_http_1.HttpRequest({
@@ -3692,7 +3685,7 @@ var require_Aws_restJson1 = __commonJS({
3692
3685
  var serializeAws_restJson1DeleteEventSourceMappingCommand = async (input, context) => {
3693
3686
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3694
3687
  const headers = {};
3695
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
3688
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
3696
3689
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
3697
3690
  let body;
3698
3691
  return new protocol_http_1.HttpRequest({
@@ -3709,7 +3702,7 @@ var require_Aws_restJson1 = __commonJS({
3709
3702
  var serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
3710
3703
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3711
3704
  const headers = {};
3712
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}`;
3705
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}`;
3713
3706
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3714
3707
  const query = map({
3715
3708
  Qualifier: [, input.Qualifier]
@@ -3730,7 +3723,7 @@ var require_Aws_restJson1 = __commonJS({
3730
3723
  var serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = async (input, context) => {
3731
3724
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3732
3725
  const headers = {};
3733
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
3726
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
3734
3727
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3735
3728
  let body;
3736
3729
  return new protocol_http_1.HttpRequest({
@@ -3747,7 +3740,7 @@ var require_Aws_restJson1 = __commonJS({
3747
3740
  var serializeAws_restJson1DeleteFunctionConcurrencyCommand = async (input, context) => {
3748
3741
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3749
3742
  const headers = {};
3750
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-10-31/functions/{FunctionName}/concurrency`;
3743
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-10-31/functions/{FunctionName}/concurrency`;
3751
3744
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3752
3745
  let body;
3753
3746
  return new protocol_http_1.HttpRequest({
@@ -3764,7 +3757,7 @@ var require_Aws_restJson1 = __commonJS({
3764
3757
  var serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = async (input, context) => {
3765
3758
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3766
3759
  const headers = {};
3767
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
3760
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
3768
3761
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3769
3762
  const query = map({
3770
3763
  Qualifier: [, input.Qualifier]
@@ -3785,7 +3778,7 @@ var require_Aws_restJson1 = __commonJS({
3785
3778
  var serializeAws_restJson1DeleteFunctionUrlConfigCommand = async (input, context) => {
3786
3779
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3787
3780
  const headers = {};
3788
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
3781
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
3789
3782
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3790
3783
  const query = map({
3791
3784
  Qualifier: [, input.Qualifier]
@@ -3806,7 +3799,7 @@ var require_Aws_restJson1 = __commonJS({
3806
3799
  var serializeAws_restJson1DeleteLayerVersionCommand = async (input, context) => {
3807
3800
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3808
3801
  const headers = {};
3809
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}`;
3802
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}`;
3810
3803
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
3811
3804
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
3812
3805
  let body;
@@ -3824,7 +3817,7 @@ var require_Aws_restJson1 = __commonJS({
3824
3817
  var serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = async (input, context) => {
3825
3818
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3826
3819
  const headers = {};
3827
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
3820
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
3828
3821
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3829
3822
  const query = map({
3830
3823
  Qualifier: [, input.Qualifier]
@@ -3847,7 +3840,7 @@ var require_Aws_restJson1 = __commonJS({
3847
3840
  const headers = {
3848
3841
  "content-type": "application/json"
3849
3842
  };
3850
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2016-08-19/account-settings`;
3843
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2016-08-19/account-settings`;
3851
3844
  let body;
3852
3845
  body = "";
3853
3846
  return new protocol_http_1.HttpRequest({
@@ -3864,7 +3857,7 @@ var require_Aws_restJson1 = __commonJS({
3864
3857
  var serializeAws_restJson1GetAliasCommand = async (input, context) => {
3865
3858
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3866
3859
  const headers = {};
3867
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
3860
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
3868
3861
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3869
3862
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
3870
3863
  let body;
@@ -3882,7 +3875,7 @@ var require_Aws_restJson1 = __commonJS({
3882
3875
  var serializeAws_restJson1GetCodeSigningConfigCommand = async (input, context) => {
3883
3876
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3884
3877
  const headers = {};
3885
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
3878
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
3886
3879
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
3887
3880
  let body;
3888
3881
  return new protocol_http_1.HttpRequest({
@@ -3899,7 +3892,7 @@ var require_Aws_restJson1 = __commonJS({
3899
3892
  var serializeAws_restJson1GetEventSourceMappingCommand = async (input, context) => {
3900
3893
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3901
3894
  const headers = {};
3902
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
3895
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
3903
3896
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
3904
3897
  let body;
3905
3898
  return new protocol_http_1.HttpRequest({
@@ -3916,7 +3909,7 @@ var require_Aws_restJson1 = __commonJS({
3916
3909
  var serializeAws_restJson1GetFunctionCommand = async (input, context) => {
3917
3910
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3918
3911
  const headers = {};
3919
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}`;
3912
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}`;
3920
3913
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3921
3914
  const query = map({
3922
3915
  Qualifier: [, input.Qualifier]
@@ -3937,7 +3930,7 @@ var require_Aws_restJson1 = __commonJS({
3937
3930
  var serializeAws_restJson1GetFunctionCodeSigningConfigCommand = async (input, context) => {
3938
3931
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3939
3932
  const headers = {};
3940
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
3933
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
3941
3934
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3942
3935
  let body;
3943
3936
  return new protocol_http_1.HttpRequest({
@@ -3954,7 +3947,7 @@ var require_Aws_restJson1 = __commonJS({
3954
3947
  var serializeAws_restJson1GetFunctionConcurrencyCommand = async (input, context) => {
3955
3948
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3956
3949
  const headers = {};
3957
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/concurrency`;
3950
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/concurrency`;
3958
3951
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3959
3952
  let body;
3960
3953
  return new protocol_http_1.HttpRequest({
@@ -3971,7 +3964,7 @@ var require_Aws_restJson1 = __commonJS({
3971
3964
  var serializeAws_restJson1GetFunctionConfigurationCommand = async (input, context) => {
3972
3965
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3973
3966
  const headers = {};
3974
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/configuration`;
3967
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/configuration`;
3975
3968
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3976
3969
  const query = map({
3977
3970
  Qualifier: [, input.Qualifier]
@@ -3992,7 +3985,7 @@ var require_Aws_restJson1 = __commonJS({
3992
3985
  var serializeAws_restJson1GetFunctionEventInvokeConfigCommand = async (input, context) => {
3993
3986
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3994
3987
  const headers = {};
3995
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
3988
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
3996
3989
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
3997
3990
  const query = map({
3998
3991
  Qualifier: [, input.Qualifier]
@@ -4013,7 +4006,7 @@ var require_Aws_restJson1 = __commonJS({
4013
4006
  var serializeAws_restJson1GetFunctionUrlConfigCommand = async (input, context) => {
4014
4007
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4015
4008
  const headers = {};
4016
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
4009
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
4017
4010
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4018
4011
  const query = map({
4019
4012
  Qualifier: [, input.Qualifier]
@@ -4034,7 +4027,7 @@ var require_Aws_restJson1 = __commonJS({
4034
4027
  var serializeAws_restJson1GetLayerVersionCommand = async (input, context) => {
4035
4028
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4036
4029
  const headers = {};
4037
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}`;
4030
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}`;
4038
4031
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
4039
4032
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
4040
4033
  let body;
@@ -4052,7 +4045,7 @@ var require_Aws_restJson1 = __commonJS({
4052
4045
  var serializeAws_restJson1GetLayerVersionByArnCommand = async (input, context) => {
4053
4046
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4054
4047
  const headers = {};
4055
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers`;
4048
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers`;
4056
4049
  const query = map({
4057
4050
  find: [, "LayerVersion"],
4058
4051
  Arn: [, input.Arn]
@@ -4073,7 +4066,7 @@ var require_Aws_restJson1 = __commonJS({
4073
4066
  var serializeAws_restJson1GetLayerVersionPolicyCommand = async (input, context) => {
4074
4067
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4075
4068
  const headers = {};
4076
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy`;
4069
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy`;
4077
4070
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
4078
4071
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
4079
4072
  let body;
@@ -4091,7 +4084,7 @@ var require_Aws_restJson1 = __commonJS({
4091
4084
  var serializeAws_restJson1GetPolicyCommand = async (input, context) => {
4092
4085
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4093
4086
  const headers = {};
4094
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy`;
4087
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy`;
4095
4088
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4096
4089
  const query = map({
4097
4090
  Qualifier: [, input.Qualifier]
@@ -4112,7 +4105,7 @@ var require_Aws_restJson1 = __commonJS({
4112
4105
  var serializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (input, context) => {
4113
4106
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4114
4107
  const headers = {};
4115
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4108
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4116
4109
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4117
4110
  const query = map({
4118
4111
  Qualifier: [, input.Qualifier]
@@ -4138,7 +4131,7 @@ var require_Aws_restJson1 = __commonJS({
4138
4131
  "x-amz-log-type": input.LogType,
4139
4132
  "x-amz-client-context": input.ClientContext
4140
4133
  });
4141
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/invocations`;
4134
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/invocations`;
4142
4135
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4143
4136
  const query = map({
4144
4137
  Qualifier: [, input.Qualifier]
@@ -4164,7 +4157,7 @@ var require_Aws_restJson1 = __commonJS({
4164
4157
  const headers = {
4165
4158
  "content-type": "application/octet-stream"
4166
4159
  };
4167
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2014-11-13/functions/{FunctionName}/invoke-async`;
4160
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2014-11-13/functions/{FunctionName}/invoke-async`;
4168
4161
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4169
4162
  let body;
4170
4163
  if (input.InvokeArgs !== void 0) {
@@ -4184,7 +4177,7 @@ var require_Aws_restJson1 = __commonJS({
4184
4177
  var serializeAws_restJson1ListAliasesCommand = async (input, context) => {
4185
4178
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4186
4179
  const headers = {};
4187
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases`;
4180
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases`;
4188
4181
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4189
4182
  const query = map({
4190
4183
  FunctionVersion: [, input.FunctionVersion],
@@ -4207,7 +4200,7 @@ var require_Aws_restJson1 = __commonJS({
4207
4200
  var serializeAws_restJson1ListCodeSigningConfigsCommand = async (input, context) => {
4208
4201
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4209
4202
  const headers = {};
4210
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs`;
4203
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs`;
4211
4204
  const query = map({
4212
4205
  Marker: [, input.Marker],
4213
4206
  MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()]
@@ -4228,7 +4221,7 @@ var require_Aws_restJson1 = __commonJS({
4228
4221
  var serializeAws_restJson1ListEventSourceMappingsCommand = async (input, context) => {
4229
4222
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4230
4223
  const headers = {};
4231
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings`;
4224
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings`;
4232
4225
  const query = map({
4233
4226
  EventSourceArn: [, input.EventSourceArn],
4234
4227
  FunctionName: [, input.FunctionName],
@@ -4251,7 +4244,7 @@ var require_Aws_restJson1 = __commonJS({
4251
4244
  var serializeAws_restJson1ListFunctionEventInvokeConfigsCommand = async (input, context) => {
4252
4245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4253
4246
  const headers = {};
4254
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config/list`;
4247
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config/list`;
4255
4248
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4256
4249
  const query = map({
4257
4250
  Marker: [, input.Marker],
@@ -4273,7 +4266,7 @@ var require_Aws_restJson1 = __commonJS({
4273
4266
  var serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
4274
4267
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4275
4268
  const headers = {};
4276
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions`;
4269
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions`;
4277
4270
  const query = map({
4278
4271
  MasterRegion: [, input.MasterRegion],
4279
4272
  FunctionVersion: [, input.FunctionVersion],
@@ -4296,7 +4289,7 @@ var require_Aws_restJson1 = __commonJS({
4296
4289
  var serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = async (input, context) => {
4297
4290
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4298
4291
  const headers = {};
4299
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions`;
4292
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions`;
4300
4293
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
4301
4294
  const query = map({
4302
4295
  Marker: [, input.Marker],
@@ -4318,7 +4311,7 @@ var require_Aws_restJson1 = __commonJS({
4318
4311
  var serializeAws_restJson1ListFunctionUrlConfigsCommand = async (input, context) => {
4319
4312
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4320
4313
  const headers = {};
4321
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/urls`;
4314
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/urls`;
4322
4315
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4323
4316
  const query = map({
4324
4317
  Marker: [, input.Marker],
@@ -4340,7 +4333,7 @@ var require_Aws_restJson1 = __commonJS({
4340
4333
  var serializeAws_restJson1ListLayersCommand = async (input, context) => {
4341
4334
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4342
4335
  const headers = {};
4343
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers`;
4336
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers`;
4344
4337
  const query = map({
4345
4338
  CompatibleRuntime: [, input.CompatibleRuntime],
4346
4339
  Marker: [, input.Marker],
@@ -4363,7 +4356,7 @@ var require_Aws_restJson1 = __commonJS({
4363
4356
  var serializeAws_restJson1ListLayerVersionsCommand = async (input, context) => {
4364
4357
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4365
4358
  const headers = {};
4366
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions`;
4359
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions`;
4367
4360
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
4368
4361
  const query = map({
4369
4362
  CompatibleRuntime: [, input.CompatibleRuntime],
@@ -4387,7 +4380,7 @@ var require_Aws_restJson1 = __commonJS({
4387
4380
  var serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = async (input, context) => {
4388
4381
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4389
4382
  const headers = {};
4390
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4383
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4391
4384
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4392
4385
  const query = map({
4393
4386
  List: [, "ALL"],
@@ -4410,7 +4403,7 @@ var require_Aws_restJson1 = __commonJS({
4410
4403
  var serializeAws_restJson1ListTagsCommand = async (input, context) => {
4411
4404
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4412
4405
  const headers = {};
4413
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4406
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4414
4407
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
4415
4408
  let body;
4416
4409
  return new protocol_http_1.HttpRequest({
@@ -4427,7 +4420,7 @@ var require_Aws_restJson1 = __commonJS({
4427
4420
  var serializeAws_restJson1ListVersionsByFunctionCommand = async (input, context) => {
4428
4421
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4429
4422
  const headers = {};
4430
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/versions`;
4423
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/versions`;
4431
4424
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4432
4425
  const query = map({
4433
4426
  Marker: [, input.Marker],
@@ -4451,7 +4444,7 @@ var require_Aws_restJson1 = __commonJS({
4451
4444
  const headers = {
4452
4445
  "content-type": "application/json"
4453
4446
  };
4454
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions`;
4447
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions`;
4455
4448
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
4456
4449
  let body;
4457
4450
  body = JSON.stringify({
@@ -4481,7 +4474,7 @@ var require_Aws_restJson1 = __commonJS({
4481
4474
  const headers = {
4482
4475
  "content-type": "application/json"
4483
4476
  };
4484
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/versions`;
4477
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/versions`;
4485
4478
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4486
4479
  let body;
4487
4480
  body = JSON.stringify({
@@ -4505,7 +4498,7 @@ var require_Aws_restJson1 = __commonJS({
4505
4498
  const headers = {
4506
4499
  "content-type": "application/json"
4507
4500
  };
4508
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
4501
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-06-30/functions/{FunctionName}/code-signing-config`;
4509
4502
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4510
4503
  let body;
4511
4504
  body = JSON.stringify({
@@ -4527,7 +4520,7 @@ var require_Aws_restJson1 = __commonJS({
4527
4520
  const headers = {
4528
4521
  "content-type": "application/json"
4529
4522
  };
4530
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-10-31/functions/{FunctionName}/concurrency`;
4523
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-10-31/functions/{FunctionName}/concurrency`;
4531
4524
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4532
4525
  let body;
4533
4526
  body = JSON.stringify({
@@ -4551,7 +4544,7 @@ var require_Aws_restJson1 = __commonJS({
4551
4544
  const headers = {
4552
4545
  "content-type": "application/json"
4553
4546
  };
4554
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
4547
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
4555
4548
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4556
4549
  const query = map({
4557
4550
  Qualifier: [, input.Qualifier]
@@ -4581,7 +4574,7 @@ var require_Aws_restJson1 = __commonJS({
4581
4574
  const headers = {
4582
4575
  "content-type": "application/json"
4583
4576
  };
4584
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4577
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
4585
4578
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4586
4579
  const query = map({
4587
4580
  Qualifier: [, input.Qualifier]
@@ -4607,7 +4600,7 @@ var require_Aws_restJson1 = __commonJS({
4607
4600
  var serializeAws_restJson1RemoveLayerVersionPermissionCommand = async (input, context) => {
4608
4601
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4609
4602
  const headers = {};
4610
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}`;
4603
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}`;
4611
4604
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
4612
4605
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
4613
4606
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
@@ -4630,7 +4623,7 @@ var require_Aws_restJson1 = __commonJS({
4630
4623
  var serializeAws_restJson1RemovePermissionCommand = async (input, context) => {
4631
4624
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4632
4625
  const headers = {};
4633
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy/{StatementId}`;
4626
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/policy/{StatementId}`;
4634
4627
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4635
4628
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
4636
4629
  const query = map({
@@ -4655,7 +4648,7 @@ var require_Aws_restJson1 = __commonJS({
4655
4648
  const headers = {
4656
4649
  "content-type": "application/json"
4657
4650
  };
4658
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4651
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4659
4652
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
4660
4653
  let body;
4661
4654
  body = JSON.stringify({
@@ -4675,7 +4668,7 @@ var require_Aws_restJson1 = __commonJS({
4675
4668
  var serializeAws_restJson1UntagResourceCommand = async (input, context) => {
4676
4669
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4677
4670
  const headers = {};
4678
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4671
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
4679
4672
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
4680
4673
  const query = map({
4681
4674
  tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)]
@@ -4698,7 +4691,7 @@ var require_Aws_restJson1 = __commonJS({
4698
4691
  const headers = {
4699
4692
  "content-type": "application/json"
4700
4693
  };
4701
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
4694
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/aliases/{Name}`;
4702
4695
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4703
4696
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
4704
4697
  let body;
@@ -4726,7 +4719,7 @@ var require_Aws_restJson1 = __commonJS({
4726
4719
  const headers = {
4727
4720
  "content-type": "application/json"
4728
4721
  };
4729
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
4722
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2020-04-22/code-signing-configs/{CodeSigningConfigArn}`;
4730
4723
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
4731
4724
  let body;
4732
4725
  body = JSON.stringify({
@@ -4754,7 +4747,7 @@ var require_Aws_restJson1 = __commonJS({
4754
4747
  const headers = {
4755
4748
  "content-type": "application/json"
4756
4749
  };
4757
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
4750
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/event-source-mappings/{UUID}`;
4758
4751
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
4759
4752
  let body;
4760
4753
  body = JSON.stringify({
@@ -4798,7 +4791,7 @@ var require_Aws_restJson1 = __commonJS({
4798
4791
  const headers = {
4799
4792
  "content-type": "application/json"
4800
4793
  };
4801
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/code`;
4794
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/code`;
4802
4795
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4803
4796
  let body;
4804
4797
  body = JSON.stringify({
@@ -4830,7 +4823,7 @@ var require_Aws_restJson1 = __commonJS({
4830
4823
  const headers = {
4831
4824
  "content-type": "application/json"
4832
4825
  };
4833
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/configuration`;
4826
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2015-03-31/functions/{FunctionName}/configuration`;
4834
4827
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4835
4828
  let body;
4836
4829
  body = JSON.stringify({
@@ -4875,7 +4868,7 @@ var require_Aws_restJson1 = __commonJS({
4875
4868
  const headers = {
4876
4869
  "content-type": "application/json"
4877
4870
  };
4878
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
4871
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-25/functions/{FunctionName}/event-invoke-config`;
4879
4872
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4880
4873
  const query = map({
4881
4874
  Qualifier: [, input.Qualifier]
@@ -4905,7 +4898,7 @@ var require_Aws_restJson1 = __commonJS({
4905
4898
  const headers = {
4906
4899
  "content-type": "application/json"
4907
4900
  };
4908
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
4901
+ let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2021-10-31/functions/{FunctionName}/url`;
4909
4902
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
4910
4903
  const query = map({
4911
4904
  Qualifier: [, input.Qualifier]
@@ -10241,15 +10234,12 @@ var require_Aws_restJson1 = __commonJS({
10241
10234
  VpcId: (0, smithy_client_1.expectString)(output.VpcId)
10242
10235
  };
10243
10236
  };
10244
- var deserializeMetadata = (output) => {
10245
- var _a, _b;
10246
- return {
10247
- httpStatusCode: output.statusCode,
10248
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
10249
- extendedRequestId: output.headers["x-amz-id-2"],
10250
- cfId: output.headers["x-amz-cf-id"]
10251
- };
10252
- };
10237
+ var deserializeMetadata = (output) => ({
10238
+ httpStatusCode: output.statusCode,
10239
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
10240
+ extendedRequestId: output.headers["x-amz-id-2"],
10241
+ cfId: output.headers["x-amz-cf-id"]
10242
+ });
10253
10243
  var collectBody = (streamBody = new Uint8Array(), context) => {
10254
10244
  if (streamBody instanceof Uint8Array) {
10255
10245
  return Promise.resolve(streamBody);
@@ -10265,9 +10255,8 @@ var require_Aws_restJson1 = __commonJS({
10265
10255
  return {};
10266
10256
  });
10267
10257
  var parseErrorBody = async (errorBody, context) => {
10268
- var _a;
10269
10258
  const value = await parseBody(errorBody, context);
10270
- value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
10259
+ value.message = value.message ?? value.Message;
10271
10260
  return value;
10272
10261
  };
10273
10262
  var loadRestJsonErrorCode = (output, data) => {
@@ -16288,11 +16277,10 @@ var require_EndpointParameters = __commonJS({
16288
16277
  Object.defineProperty(exports, "__esModule", { value: true });
16289
16278
  exports.resolveClientEndpointParameters = void 0;
16290
16279
  var resolveClientEndpointParameters = (options) => {
16291
- var _a, _b;
16292
16280
  return {
16293
16281
  ...options,
16294
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
16295
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
16282
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
16283
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
16296
16284
  defaultSigningName: "lambda"
16297
16285
  };
16298
16286
  };
@@ -16306,7 +16294,7 @@ var require_package = __commonJS({
16306
16294
  module2.exports = {
16307
16295
  name: "@aws-sdk/client-lambda",
16308
16296
  description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
16309
- version: "3.199.0",
16297
+ version: "3.204.0",
16310
16298
  scripts: {
16311
16299
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
16312
16300
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -16324,45 +16312,46 @@ var require_package = __commonJS({
16324
16312
  dependencies: {
16325
16313
  "@aws-crypto/sha256-browser": "2.0.0",
16326
16314
  "@aws-crypto/sha256-js": "2.0.0",
16327
- "@aws-sdk/client-sts": "3.199.0",
16328
- "@aws-sdk/config-resolver": "3.198.0",
16329
- "@aws-sdk/credential-provider-node": "3.199.0",
16330
- "@aws-sdk/fetch-http-handler": "3.199.0",
16331
- "@aws-sdk/hash-node": "3.198.0",
16332
- "@aws-sdk/invalid-dependency": "3.198.0",
16333
- "@aws-sdk/middleware-content-length": "3.199.0",
16334
- "@aws-sdk/middleware-endpoint": "3.198.0",
16335
- "@aws-sdk/middleware-host-header": "3.198.0",
16336
- "@aws-sdk/middleware-logger": "3.198.0",
16337
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
16338
- "@aws-sdk/middleware-retry": "3.198.0",
16339
- "@aws-sdk/middleware-serde": "3.198.0",
16340
- "@aws-sdk/middleware-signing": "3.198.0",
16341
- "@aws-sdk/middleware-stack": "3.198.0",
16342
- "@aws-sdk/middleware-user-agent": "3.198.0",
16343
- "@aws-sdk/node-config-provider": "3.198.0",
16344
- "@aws-sdk/node-http-handler": "3.199.0",
16345
- "@aws-sdk/protocol-http": "3.198.0",
16346
- "@aws-sdk/smithy-client": "3.198.0",
16347
- "@aws-sdk/types": "3.198.0",
16348
- "@aws-sdk/url-parser": "3.198.0",
16315
+ "@aws-sdk/client-sts": "3.204.0",
16316
+ "@aws-sdk/config-resolver": "3.201.0",
16317
+ "@aws-sdk/credential-provider-node": "3.204.0",
16318
+ "@aws-sdk/fetch-http-handler": "3.204.0",
16319
+ "@aws-sdk/hash-node": "3.201.0",
16320
+ "@aws-sdk/invalid-dependency": "3.201.0",
16321
+ "@aws-sdk/middleware-content-length": "3.201.0",
16322
+ "@aws-sdk/middleware-endpoint": "3.201.0",
16323
+ "@aws-sdk/middleware-host-header": "3.201.0",
16324
+ "@aws-sdk/middleware-logger": "3.201.0",
16325
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
16326
+ "@aws-sdk/middleware-retry": "3.201.0",
16327
+ "@aws-sdk/middleware-serde": "3.201.0",
16328
+ "@aws-sdk/middleware-signing": "3.201.0",
16329
+ "@aws-sdk/middleware-stack": "3.201.0",
16330
+ "@aws-sdk/middleware-user-agent": "3.201.0",
16331
+ "@aws-sdk/node-config-provider": "3.201.0",
16332
+ "@aws-sdk/node-http-handler": "3.201.0",
16333
+ "@aws-sdk/protocol-http": "3.201.0",
16334
+ "@aws-sdk/smithy-client": "3.201.0",
16335
+ "@aws-sdk/types": "3.201.0",
16336
+ "@aws-sdk/url-parser": "3.201.0",
16337
+ "@aws-sdk/util-base64": "3.202.0",
16349
16338
  "@aws-sdk/util-base64-browser": "3.188.0",
16350
- "@aws-sdk/util-base64-node": "3.188.0",
16339
+ "@aws-sdk/util-base64-node": "3.201.0",
16351
16340
  "@aws-sdk/util-body-length-browser": "3.188.0",
16352
- "@aws-sdk/util-body-length-node": "3.188.0",
16353
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
16354
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
16355
- "@aws-sdk/util-endpoints": "3.198.0",
16356
- "@aws-sdk/util-user-agent-browser": "3.198.0",
16357
- "@aws-sdk/util-user-agent-node": "3.198.0",
16341
+ "@aws-sdk/util-body-length-node": "3.201.0",
16342
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
16343
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
16344
+ "@aws-sdk/util-endpoints": "3.202.0",
16345
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
16346
+ "@aws-sdk/util-user-agent-node": "3.201.0",
16358
16347
  "@aws-sdk/util-utf8-browser": "3.188.0",
16359
- "@aws-sdk/util-utf8-node": "3.199.0",
16360
- "@aws-sdk/util-waiter": "3.198.0",
16348
+ "@aws-sdk/util-utf8-node": "3.201.0",
16349
+ "@aws-sdk/util-waiter": "3.201.0",
16361
16350
  tslib: "^2.3.1"
16362
16351
  },
16363
16352
  devDependencies: {
16364
16353
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
16365
- "@tsconfig/recommended": "1.0.1",
16354
+ "@tsconfig/node14": "1.0.3",
16366
16355
  "@types/node": "^12.7.5",
16367
16356
  concurrently: "7.0.0",
16368
16357
  "downlevel-dts": "0.10.1",
@@ -16376,7 +16365,7 @@ var require_package = __commonJS({
16376
16365
  }
16377
16366
  },
16378
16367
  engines: {
16379
- node: ">=12.0.0"
16368
+ node: ">=14.0.0"
16380
16369
  },
16381
16370
  typesVersions: {
16382
16371
  "<4.0": {
@@ -18678,6 +18667,7 @@ var require_Aws_query = __commonJS({
18678
18667
  return (0, smithy_client_1.decorateServiceException)(exception, body);
18679
18668
  };
18680
18669
  var serializeAws_queryAssumeRoleRequest = (input, context) => {
18670
+ var _a, _b, _c;
18681
18671
  const entries = {};
18682
18672
  if (input.RoleArn != null) {
18683
18673
  entries["RoleArn"] = input.RoleArn;
@@ -18687,6 +18677,9 @@ var require_Aws_query = __commonJS({
18687
18677
  }
18688
18678
  if (input.PolicyArns != null) {
18689
18679
  const memberEntries = serializeAws_querypolicyDescriptorListType(input.PolicyArns, context);
18680
+ if (((_a = input.PolicyArns) == null ? void 0 : _a.length) === 0) {
18681
+ entries.PolicyArns = [];
18682
+ }
18690
18683
  Object.entries(memberEntries).forEach(([key, value]) => {
18691
18684
  const loc = `PolicyArns.${key}`;
18692
18685
  entries[loc] = value;
@@ -18700,6 +18693,9 @@ var require_Aws_query = __commonJS({
18700
18693
  }
18701
18694
  if (input.Tags != null) {
18702
18695
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
18696
+ if (((_b = input.Tags) == null ? void 0 : _b.length) === 0) {
18697
+ entries.Tags = [];
18698
+ }
18703
18699
  Object.entries(memberEntries).forEach(([key, value]) => {
18704
18700
  const loc = `Tags.${key}`;
18705
18701
  entries[loc] = value;
@@ -18707,6 +18703,9 @@ var require_Aws_query = __commonJS({
18707
18703
  }
18708
18704
  if (input.TransitiveTagKeys != null) {
18709
18705
  const memberEntries = serializeAws_querytagKeyListType(input.TransitiveTagKeys, context);
18706
+ if (((_c = input.TransitiveTagKeys) == null ? void 0 : _c.length) === 0) {
18707
+ entries.TransitiveTagKeys = [];
18708
+ }
18710
18709
  Object.entries(memberEntries).forEach(([key, value]) => {
18711
18710
  const loc = `TransitiveTagKeys.${key}`;
18712
18711
  entries[loc] = value;
@@ -18727,6 +18726,7 @@ var require_Aws_query = __commonJS({
18727
18726
  return entries;
18728
18727
  };
18729
18728
  var serializeAws_queryAssumeRoleWithSAMLRequest = (input, context) => {
18729
+ var _a;
18730
18730
  const entries = {};
18731
18731
  if (input.RoleArn != null) {
18732
18732
  entries["RoleArn"] = input.RoleArn;
@@ -18739,6 +18739,9 @@ var require_Aws_query = __commonJS({
18739
18739
  }
18740
18740
  if (input.PolicyArns != null) {
18741
18741
  const memberEntries = serializeAws_querypolicyDescriptorListType(input.PolicyArns, context);
18742
+ if (((_a = input.PolicyArns) == null ? void 0 : _a.length) === 0) {
18743
+ entries.PolicyArns = [];
18744
+ }
18742
18745
  Object.entries(memberEntries).forEach(([key, value]) => {
18743
18746
  const loc = `PolicyArns.${key}`;
18744
18747
  entries[loc] = value;
@@ -18753,6 +18756,7 @@ var require_Aws_query = __commonJS({
18753
18756
  return entries;
18754
18757
  };
18755
18758
  var serializeAws_queryAssumeRoleWithWebIdentityRequest = (input, context) => {
18759
+ var _a;
18756
18760
  const entries = {};
18757
18761
  if (input.RoleArn != null) {
18758
18762
  entries["RoleArn"] = input.RoleArn;
@@ -18768,6 +18772,9 @@ var require_Aws_query = __commonJS({
18768
18772
  }
18769
18773
  if (input.PolicyArns != null) {
18770
18774
  const memberEntries = serializeAws_querypolicyDescriptorListType(input.PolicyArns, context);
18775
+ if (((_a = input.PolicyArns) == null ? void 0 : _a.length) === 0) {
18776
+ entries.PolicyArns = [];
18777
+ }
18771
18778
  Object.entries(memberEntries).forEach(([key, value]) => {
18772
18779
  const loc = `PolicyArns.${key}`;
18773
18780
  entries[loc] = value;
@@ -18800,6 +18807,7 @@ var require_Aws_query = __commonJS({
18800
18807
  return entries;
18801
18808
  };
18802
18809
  var serializeAws_queryGetFederationTokenRequest = (input, context) => {
18810
+ var _a, _b;
18803
18811
  const entries = {};
18804
18812
  if (input.Name != null) {
18805
18813
  entries["Name"] = input.Name;
@@ -18809,6 +18817,9 @@ var require_Aws_query = __commonJS({
18809
18817
  }
18810
18818
  if (input.PolicyArns != null) {
18811
18819
  const memberEntries = serializeAws_querypolicyDescriptorListType(input.PolicyArns, context);
18820
+ if (((_a = input.PolicyArns) == null ? void 0 : _a.length) === 0) {
18821
+ entries.PolicyArns = [];
18822
+ }
18812
18823
  Object.entries(memberEntries).forEach(([key, value]) => {
18813
18824
  const loc = `PolicyArns.${key}`;
18814
18825
  entries[loc] = value;
@@ -18819,6 +18830,9 @@ var require_Aws_query = __commonJS({
18819
18830
  }
18820
18831
  if (input.Tags != null) {
18821
18832
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
18833
+ if (((_b = input.Tags) == null ? void 0 : _b.length) === 0) {
18834
+ entries.Tags = [];
18835
+ }
18822
18836
  Object.entries(memberEntries).forEach(([key, value]) => {
18823
18837
  const loc = `Tags.${key}`;
18824
18838
  entries[loc] = value;
@@ -19173,15 +19187,12 @@ var require_Aws_query = __commonJS({
19173
19187
  }
19174
19188
  return contents;
19175
19189
  };
19176
- var deserializeMetadata = (output) => {
19177
- var _a, _b;
19178
- return {
19179
- httpStatusCode: output.statusCode,
19180
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
19181
- extendedRequestId: output.headers["x-amz-id-2"],
19182
- cfId: output.headers["x-amz-cf-id"]
19183
- };
19184
- };
19190
+ var deserializeMetadata = (output) => ({
19191
+ httpStatusCode: output.statusCode,
19192
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
19193
+ extendedRequestId: output.headers["x-amz-id-2"],
19194
+ cfId: output.headers["x-amz-cf-id"]
19195
+ });
19185
19196
  var collectBody = (streamBody = new Uint8Array(), context) => {
19186
19197
  if (streamBody instanceof Uint8Array) {
19187
19198
  return Promise.resolve(streamBody);
@@ -19233,10 +19244,9 @@ var require_Aws_query = __commonJS({
19233
19244
  return {};
19234
19245
  });
19235
19246
  var parseErrorBody = async (errorBody, context) => {
19236
- var _a;
19237
19247
  const value = await parseBody(errorBody, context);
19238
19248
  if (value.Error) {
19239
- value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
19249
+ value.Error.message = value.Error.message ?? value.Error.Message;
19240
19250
  }
19241
19251
  return value;
19242
19252
  };
@@ -19710,12 +19720,11 @@ var require_EndpointParameters2 = __commonJS({
19710
19720
  Object.defineProperty(exports, "__esModule", { value: true });
19711
19721
  exports.resolveClientEndpointParameters = void 0;
19712
19722
  var resolveClientEndpointParameters = (options) => {
19713
- var _a, _b, _c;
19714
19723
  return {
19715
19724
  ...options,
19716
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
19717
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
19718
- useGlobalEndpoint: (_c = options.useGlobalEndpoint) !== null && _c !== void 0 ? _c : false,
19725
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
19726
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
19727
+ useGlobalEndpoint: options.useGlobalEndpoint ?? false,
19719
19728
  defaultSigningName: "sts"
19720
19729
  };
19721
19730
  };
@@ -19729,7 +19738,7 @@ var require_package2 = __commonJS({
19729
19738
  module2.exports = {
19730
19739
  name: "@aws-sdk/client-sts",
19731
19740
  description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
19732
- version: "3.199.0",
19741
+ version: "3.204.0",
19733
19742
  scripts: {
19734
19743
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
19735
19744
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19749,45 +19758,46 @@ var require_package2 = __commonJS({
19749
19758
  dependencies: {
19750
19759
  "@aws-crypto/sha256-browser": "2.0.0",
19751
19760
  "@aws-crypto/sha256-js": "2.0.0",
19752
- "@aws-sdk/config-resolver": "3.198.0",
19753
- "@aws-sdk/credential-provider-node": "3.199.0",
19754
- "@aws-sdk/fetch-http-handler": "3.199.0",
19755
- "@aws-sdk/hash-node": "3.198.0",
19756
- "@aws-sdk/invalid-dependency": "3.198.0",
19757
- "@aws-sdk/middleware-content-length": "3.199.0",
19758
- "@aws-sdk/middleware-endpoint": "3.198.0",
19759
- "@aws-sdk/middleware-host-header": "3.198.0",
19760
- "@aws-sdk/middleware-logger": "3.198.0",
19761
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
19762
- "@aws-sdk/middleware-retry": "3.198.0",
19763
- "@aws-sdk/middleware-sdk-sts": "3.199.0",
19764
- "@aws-sdk/middleware-serde": "3.198.0",
19765
- "@aws-sdk/middleware-signing": "3.198.0",
19766
- "@aws-sdk/middleware-stack": "3.198.0",
19767
- "@aws-sdk/middleware-user-agent": "3.198.0",
19768
- "@aws-sdk/node-config-provider": "3.198.0",
19769
- "@aws-sdk/node-http-handler": "3.199.0",
19770
- "@aws-sdk/protocol-http": "3.198.0",
19771
- "@aws-sdk/smithy-client": "3.198.0",
19772
- "@aws-sdk/types": "3.198.0",
19773
- "@aws-sdk/url-parser": "3.198.0",
19761
+ "@aws-sdk/config-resolver": "3.201.0",
19762
+ "@aws-sdk/credential-provider-node": "3.204.0",
19763
+ "@aws-sdk/fetch-http-handler": "3.204.0",
19764
+ "@aws-sdk/hash-node": "3.201.0",
19765
+ "@aws-sdk/invalid-dependency": "3.201.0",
19766
+ "@aws-sdk/middleware-content-length": "3.201.0",
19767
+ "@aws-sdk/middleware-endpoint": "3.201.0",
19768
+ "@aws-sdk/middleware-host-header": "3.201.0",
19769
+ "@aws-sdk/middleware-logger": "3.201.0",
19770
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
19771
+ "@aws-sdk/middleware-retry": "3.201.0",
19772
+ "@aws-sdk/middleware-sdk-sts": "3.201.0",
19773
+ "@aws-sdk/middleware-serde": "3.201.0",
19774
+ "@aws-sdk/middleware-signing": "3.201.0",
19775
+ "@aws-sdk/middleware-stack": "3.201.0",
19776
+ "@aws-sdk/middleware-user-agent": "3.201.0",
19777
+ "@aws-sdk/node-config-provider": "3.201.0",
19778
+ "@aws-sdk/node-http-handler": "3.201.0",
19779
+ "@aws-sdk/protocol-http": "3.201.0",
19780
+ "@aws-sdk/smithy-client": "3.201.0",
19781
+ "@aws-sdk/types": "3.201.0",
19782
+ "@aws-sdk/url-parser": "3.201.0",
19783
+ "@aws-sdk/util-base64": "3.202.0",
19774
19784
  "@aws-sdk/util-base64-browser": "3.188.0",
19775
- "@aws-sdk/util-base64-node": "3.188.0",
19785
+ "@aws-sdk/util-base64-node": "3.201.0",
19776
19786
  "@aws-sdk/util-body-length-browser": "3.188.0",
19777
- "@aws-sdk/util-body-length-node": "3.188.0",
19778
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
19779
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
19780
- "@aws-sdk/util-endpoints": "3.198.0",
19781
- "@aws-sdk/util-user-agent-browser": "3.198.0",
19782
- "@aws-sdk/util-user-agent-node": "3.198.0",
19787
+ "@aws-sdk/util-body-length-node": "3.201.0",
19788
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
19789
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
19790
+ "@aws-sdk/util-endpoints": "3.202.0",
19791
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
19792
+ "@aws-sdk/util-user-agent-node": "3.201.0",
19783
19793
  "@aws-sdk/util-utf8-browser": "3.188.0",
19784
- "@aws-sdk/util-utf8-node": "3.199.0",
19794
+ "@aws-sdk/util-utf8-node": "3.201.0",
19785
19795
  "fast-xml-parser": "4.0.11",
19786
19796
  tslib: "^2.3.1"
19787
19797
  },
19788
19798
  devDependencies: {
19789
19799
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
19790
- "@tsconfig/recommended": "1.0.1",
19800
+ "@tsconfig/node14": "1.0.3",
19791
19801
  "@types/node": "^12.7.5",
19792
19802
  concurrently: "7.0.0",
19793
19803
  "downlevel-dts": "0.10.1",
@@ -19801,7 +19811,7 @@ var require_package2 = __commonJS({
19801
19811
  }
19802
19812
  },
19803
19813
  engines: {
19804
- node: ">=12.0.0"
19814
+ node: ">=14.0.0"
19805
19815
  },
19806
19816
  typesVersions: {
19807
19817
  "<4.0": {
@@ -20983,7 +20993,7 @@ var require_Aws_restJson12 = __commonJS({
20983
20993
  const headers = map({}, isSerializableHeaderValue, {
20984
20994
  "x-amz-sso_bearer_token": input.accessToken
20985
20995
  });
20986
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/federation/credentials`;
20996
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/federation/credentials`;
20987
20997
  const query = map({
20988
20998
  role_name: [, input.roleName],
20989
20999
  account_id: [, input.accountId]
@@ -21006,7 +21016,7 @@ var require_Aws_restJson12 = __commonJS({
21006
21016
  const headers = map({}, isSerializableHeaderValue, {
21007
21017
  "x-amz-sso_bearer_token": input.accessToken
21008
21018
  });
21009
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/assignment/roles`;
21019
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/assignment/roles`;
21010
21020
  const query = map({
21011
21021
  next_token: [, input.nextToken],
21012
21022
  max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -21030,7 +21040,7 @@ var require_Aws_restJson12 = __commonJS({
21030
21040
  const headers = map({}, isSerializableHeaderValue, {
21031
21041
  "x-amz-sso_bearer_token": input.accessToken
21032
21042
  });
21033
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/assignment/accounts`;
21043
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/assignment/accounts`;
21034
21044
  const query = map({
21035
21045
  next_token: [, input.nextToken],
21036
21046
  max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()]
@@ -21053,7 +21063,7 @@ var require_Aws_restJson12 = __commonJS({
21053
21063
  const headers = map({}, isSerializableHeaderValue, {
21054
21064
  "x-amz-sso_bearer_token": input.accessToken
21055
21065
  });
21056
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/logout`;
21066
+ const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/logout`;
21057
21067
  let body;
21058
21068
  return new protocol_http_1.HttpRequest({
21059
21069
  protocol,
@@ -21326,15 +21336,12 @@ var require_Aws_restJson12 = __commonJS({
21326
21336
  });
21327
21337
  return retVal;
21328
21338
  };
21329
- var deserializeMetadata = (output) => {
21330
- var _a, _b;
21331
- return {
21332
- httpStatusCode: output.statusCode,
21333
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
21334
- extendedRequestId: output.headers["x-amz-id-2"],
21335
- cfId: output.headers["x-amz-cf-id"]
21336
- };
21337
- };
21339
+ var deserializeMetadata = (output) => ({
21340
+ httpStatusCode: output.statusCode,
21341
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
21342
+ extendedRequestId: output.headers["x-amz-id-2"],
21343
+ cfId: output.headers["x-amz-cf-id"]
21344
+ });
21338
21345
  var collectBody = (streamBody = new Uint8Array(), context) => {
21339
21346
  if (streamBody instanceof Uint8Array) {
21340
21347
  return Promise.resolve(streamBody);
@@ -21350,9 +21357,8 @@ var require_Aws_restJson12 = __commonJS({
21350
21357
  return {};
21351
21358
  });
21352
21359
  var parseErrorBody = async (errorBody, context) => {
21353
- var _a;
21354
21360
  const value = await parseBody(errorBody, context);
21355
- value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
21361
+ value.message = value.message ?? value.Message;
21356
21362
  return value;
21357
21363
  };
21358
21364
  var loadRestJsonErrorCode = (output, data) => {
@@ -21602,11 +21608,10 @@ var require_EndpointParameters3 = __commonJS({
21602
21608
  Object.defineProperty(exports, "__esModule", { value: true });
21603
21609
  exports.resolveClientEndpointParameters = void 0;
21604
21610
  var resolveClientEndpointParameters = (options) => {
21605
- var _a, _b;
21606
21611
  return {
21607
21612
  ...options,
21608
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
21609
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
21613
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
21614
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
21610
21615
  defaultSigningName: "awsssoportal"
21611
21616
  };
21612
21617
  };
@@ -21620,7 +21625,7 @@ var require_package3 = __commonJS({
21620
21625
  module2.exports = {
21621
21626
  name: "@aws-sdk/client-sso",
21622
21627
  description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
21623
- version: "3.199.0",
21628
+ version: "3.204.0",
21624
21629
  scripts: {
21625
21630
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
21626
21631
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21638,41 +21643,42 @@ var require_package3 = __commonJS({
21638
21643
  dependencies: {
21639
21644
  "@aws-crypto/sha256-browser": "2.0.0",
21640
21645
  "@aws-crypto/sha256-js": "2.0.0",
21641
- "@aws-sdk/config-resolver": "3.198.0",
21642
- "@aws-sdk/fetch-http-handler": "3.199.0",
21643
- "@aws-sdk/hash-node": "3.198.0",
21644
- "@aws-sdk/invalid-dependency": "3.198.0",
21645
- "@aws-sdk/middleware-content-length": "3.199.0",
21646
- "@aws-sdk/middleware-endpoint": "3.198.0",
21647
- "@aws-sdk/middleware-host-header": "3.198.0",
21648
- "@aws-sdk/middleware-logger": "3.198.0",
21649
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
21650
- "@aws-sdk/middleware-retry": "3.198.0",
21651
- "@aws-sdk/middleware-serde": "3.198.0",
21652
- "@aws-sdk/middleware-stack": "3.198.0",
21653
- "@aws-sdk/middleware-user-agent": "3.198.0",
21654
- "@aws-sdk/node-config-provider": "3.198.0",
21655
- "@aws-sdk/node-http-handler": "3.199.0",
21656
- "@aws-sdk/protocol-http": "3.198.0",
21657
- "@aws-sdk/smithy-client": "3.198.0",
21658
- "@aws-sdk/types": "3.198.0",
21659
- "@aws-sdk/url-parser": "3.198.0",
21646
+ "@aws-sdk/config-resolver": "3.201.0",
21647
+ "@aws-sdk/fetch-http-handler": "3.204.0",
21648
+ "@aws-sdk/hash-node": "3.201.0",
21649
+ "@aws-sdk/invalid-dependency": "3.201.0",
21650
+ "@aws-sdk/middleware-content-length": "3.201.0",
21651
+ "@aws-sdk/middleware-endpoint": "3.201.0",
21652
+ "@aws-sdk/middleware-host-header": "3.201.0",
21653
+ "@aws-sdk/middleware-logger": "3.201.0",
21654
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
21655
+ "@aws-sdk/middleware-retry": "3.201.0",
21656
+ "@aws-sdk/middleware-serde": "3.201.0",
21657
+ "@aws-sdk/middleware-stack": "3.201.0",
21658
+ "@aws-sdk/middleware-user-agent": "3.201.0",
21659
+ "@aws-sdk/node-config-provider": "3.201.0",
21660
+ "@aws-sdk/node-http-handler": "3.201.0",
21661
+ "@aws-sdk/protocol-http": "3.201.0",
21662
+ "@aws-sdk/smithy-client": "3.201.0",
21663
+ "@aws-sdk/types": "3.201.0",
21664
+ "@aws-sdk/url-parser": "3.201.0",
21665
+ "@aws-sdk/util-base64": "3.202.0",
21660
21666
  "@aws-sdk/util-base64-browser": "3.188.0",
21661
- "@aws-sdk/util-base64-node": "3.188.0",
21667
+ "@aws-sdk/util-base64-node": "3.201.0",
21662
21668
  "@aws-sdk/util-body-length-browser": "3.188.0",
21663
- "@aws-sdk/util-body-length-node": "3.188.0",
21664
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
21665
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
21666
- "@aws-sdk/util-endpoints": "3.198.0",
21667
- "@aws-sdk/util-user-agent-browser": "3.198.0",
21668
- "@aws-sdk/util-user-agent-node": "3.198.0",
21669
+ "@aws-sdk/util-body-length-node": "3.201.0",
21670
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
21671
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
21672
+ "@aws-sdk/util-endpoints": "3.202.0",
21673
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
21674
+ "@aws-sdk/util-user-agent-node": "3.201.0",
21669
21675
  "@aws-sdk/util-utf8-browser": "3.188.0",
21670
- "@aws-sdk/util-utf8-node": "3.199.0",
21676
+ "@aws-sdk/util-utf8-node": "3.201.0",
21671
21677
  tslib: "^2.3.1"
21672
21678
  },
21673
21679
  devDependencies: {
21674
21680
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
21675
- "@tsconfig/recommended": "1.0.1",
21681
+ "@tsconfig/node14": "1.0.3",
21676
21682
  "@types/node": "^12.7.5",
21677
21683
  concurrently: "7.0.0",
21678
21684
  "downlevel-dts": "0.10.1",
@@ -21686,7 +21692,7 @@ var require_package3 = __commonJS({
21686
21692
  }
21687
21693
  },
21688
21694
  engines: {
21689
- node: ">=12.0.0"
21695
+ node: ">=14.0.0"
21690
21696
  },
21691
21697
  typesVersions: {
21692
21698
  "<4.0": {
@@ -22221,32 +22227,6 @@ var require_dist_cjs32 = __commonJS({
22221
22227
  }
22222
22228
  });
22223
22229
 
22224
- // node_modules/@aws-sdk/util-base64-node/dist-cjs/index.js
22225
- var require_dist_cjs33 = __commonJS({
22226
- "node_modules/@aws-sdk/util-base64-node/dist-cjs/index.js"(exports) {
22227
- "use strict";
22228
- Object.defineProperty(exports, "__esModule", { value: true });
22229
- exports.toBase64 = exports.fromBase64 = void 0;
22230
- var util_buffer_from_1 = require_dist_cjs29();
22231
- var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
22232
- function fromBase64(input) {
22233
- if (input.length * 3 % 4 !== 0) {
22234
- throw new TypeError(`Incorrect padding on base64 string.`);
22235
- }
22236
- if (!BASE64_REGEX.exec(input)) {
22237
- throw new TypeError(`Invalid base64 string.`);
22238
- }
22239
- const buffer = (0, util_buffer_from_1.fromString)(input, "base64");
22240
- return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
22241
- }
22242
- exports.fromBase64 = fromBase64;
22243
- function toBase64(input) {
22244
- return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64");
22245
- }
22246
- exports.toBase64 = toBase64;
22247
- }
22248
- });
22249
-
22250
22230
  // node_modules/@aws-sdk/util-body-length-node/dist-cjs/calculateBodyLength.js
22251
22231
  var require_calculateBodyLength = __commonJS({
22252
22232
  "node_modules/@aws-sdk/util-body-length-node/dist-cjs/calculateBodyLength.js"(exports) {
@@ -22276,7 +22256,7 @@ var require_calculateBodyLength = __commonJS({
22276
22256
  });
22277
22257
 
22278
22258
  // node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js
22279
- var require_dist_cjs34 = __commonJS({
22259
+ var require_dist_cjs33 = __commonJS({
22280
22260
  "node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js"(exports) {
22281
22261
  "use strict";
22282
22262
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -22306,7 +22286,7 @@ var require_is_crt_available = __commonJS({
22306
22286
  });
22307
22287
 
22308
22288
  // node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
22309
- var require_dist_cjs35 = __commonJS({
22289
+ var require_dist_cjs34 = __commonJS({
22310
22290
  "node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports) {
22311
22291
  "use strict";
22312
22292
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -22353,7 +22333,7 @@ var require_dist_cjs35 = __commonJS({
22353
22333
  });
22354
22334
 
22355
22335
  // node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js
22356
- var require_dist_cjs36 = __commonJS({
22336
+ var require_dist_cjs35 = __commonJS({
22357
22337
  "node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js"(exports) {
22358
22338
  "use strict";
22359
22339
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -22369,6 +22349,51 @@ var require_dist_cjs36 = __commonJS({
22369
22349
  }
22370
22350
  });
22371
22351
 
22352
+ // node_modules/@aws-sdk/util-base64/dist-cjs/fromBase64.js
22353
+ var require_fromBase64 = __commonJS({
22354
+ "node_modules/@aws-sdk/util-base64/dist-cjs/fromBase64.js"(exports) {
22355
+ "use strict";
22356
+ Object.defineProperty(exports, "__esModule", { value: true });
22357
+ exports.fromBase64 = void 0;
22358
+ var util_buffer_from_1 = require_dist_cjs29();
22359
+ var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
22360
+ var fromBase64 = (input) => {
22361
+ if (input.length * 3 % 4 !== 0) {
22362
+ throw new TypeError(`Incorrect padding on base64 string.`);
22363
+ }
22364
+ if (!BASE64_REGEX.exec(input)) {
22365
+ throw new TypeError(`Invalid base64 string.`);
22366
+ }
22367
+ const buffer = (0, util_buffer_from_1.fromString)(input, "base64");
22368
+ return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
22369
+ };
22370
+ exports.fromBase64 = fromBase64;
22371
+ }
22372
+ });
22373
+
22374
+ // node_modules/@aws-sdk/util-base64/dist-cjs/toBase64.js
22375
+ var require_toBase64 = __commonJS({
22376
+ "node_modules/@aws-sdk/util-base64/dist-cjs/toBase64.js"(exports) {
22377
+ "use strict";
22378
+ Object.defineProperty(exports, "__esModule", { value: true });
22379
+ exports.toBase64 = void 0;
22380
+ var util_buffer_from_1 = require_dist_cjs29();
22381
+ var toBase64 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64");
22382
+ exports.toBase64 = toBase64;
22383
+ }
22384
+ });
22385
+
22386
+ // node_modules/@aws-sdk/util-base64/dist-cjs/index.js
22387
+ var require_dist_cjs36 = __commonJS({
22388
+ "node_modules/@aws-sdk/util-base64/dist-cjs/index.js"(exports) {
22389
+ "use strict";
22390
+ Object.defineProperty(exports, "__esModule", { value: true });
22391
+ var tslib_1 = require_tslib();
22392
+ tslib_1.__exportStar(require_fromBase64(), exports);
22393
+ tslib_1.__exportStar(require_toBase64(), exports);
22394
+ }
22395
+ });
22396
+
22372
22397
  // node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json
22373
22398
  var require_partitions = __commonJS({
22374
22399
  "node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json"(exports, module2) {
@@ -23163,26 +23188,39 @@ var require_evaluateTemplate = __commonJS({
23163
23188
  Object.defineProperty(exports, "__esModule", { value: true });
23164
23189
  exports.evaluateTemplate = void 0;
23165
23190
  var lib_1 = require_lib();
23166
- var ATTR_SHORTHAND_REGEX = new RegExp("\\${([\\w]+)#([\\w]+)}", "g");
23167
23191
  var evaluateTemplate = (template, options) => {
23168
- const templateToEvaluate = template.replace(new RegExp(`{([^{}]+)}`, "g"), "${$1}").replace(new RegExp(`{\\\${([^{}]+)}}`, "g"), "{$1}");
23192
+ const evaluatedTemplateArr = [];
23169
23193
  const templateContext = {
23170
23194
  ...options.endpointParams,
23171
23195
  ...options.referenceRecord
23172
23196
  };
23173
- const attrShortHandList = templateToEvaluate.match(ATTR_SHORTHAND_REGEX) || [];
23174
- const attrShortHandMap = attrShortHandList.reduce((acc, attrShortHand) => {
23175
- const indexOfHash = attrShortHand.indexOf("#");
23176
- const refName = attrShortHand.substring(2, indexOfHash);
23177
- const attrName = attrShortHand.substring(indexOfHash + 1, attrShortHand.length - 1);
23178
- acc[attrShortHand] = (0, lib_1.getAttr)(templateContext[refName], attrName);
23179
- return acc;
23180
- }, {});
23181
- const templateWithAttr = Object.entries(attrShortHandMap).reduce((acc, [shortHand, value]) => acc.replace(shortHand, value), templateToEvaluate);
23182
- const templateContextNames = Object.keys(templateContext);
23183
- const templateContextValues = Object.values(templateContext);
23184
- const templateWithTildeEscaped = templateWithAttr.replace(/\`/g, "\\`");
23185
- return new Function(...templateContextNames, `return \`${templateWithTildeEscaped}\``)(...templateContextValues);
23197
+ let currentIndex = 0;
23198
+ while (currentIndex < template.length) {
23199
+ const openingBraceIndex = template.indexOf("{", currentIndex);
23200
+ if (openingBraceIndex === -1) {
23201
+ evaluatedTemplateArr.push(template.slice(currentIndex));
23202
+ break;
23203
+ }
23204
+ evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex));
23205
+ const closingBraceIndex = template.indexOf("}", openingBraceIndex);
23206
+ if (closingBraceIndex === -1) {
23207
+ evaluatedTemplateArr.push(template.slice(openingBraceIndex));
23208
+ break;
23209
+ }
23210
+ if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") {
23211
+ evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex));
23212
+ currentIndex = closingBraceIndex + 2;
23213
+ }
23214
+ const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex);
23215
+ if (parameterName.includes("#")) {
23216
+ const [refName, attrName] = parameterName.split("#");
23217
+ evaluatedTemplateArr.push((0, lib_1.getAttr)(templateContext[refName], attrName));
23218
+ } else {
23219
+ evaluatedTemplateArr.push(templateContext[parameterName]);
23220
+ }
23221
+ currentIndex = closingBraceIndex + 1;
23222
+ }
23223
+ return evaluatedTemplateArr.join("");
23186
23224
  };
23187
23225
  exports.evaluateTemplate = evaluateTemplate;
23188
23226
  }
@@ -23929,18 +23967,18 @@ var require_runtimeConfig_shared = __commonJS({
23929
23967
  Object.defineProperty(exports, "__esModule", { value: true });
23930
23968
  exports.getRuntimeConfig = void 0;
23931
23969
  var url_parser_1 = require_dist_cjs2();
23970
+ var util_base64_1 = require_dist_cjs36();
23932
23971
  var endpointResolver_1 = require_endpointResolver();
23933
- var getRuntimeConfig = (config) => {
23934
- var _a, _b, _c, _d, _e;
23935
- return {
23936
- apiVersion: "2019-06-10",
23937
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
23938
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
23939
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
23940
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "SSO",
23941
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl
23942
- };
23943
- };
23972
+ var getRuntimeConfig = (config) => ({
23973
+ apiVersion: "2019-06-10",
23974
+ base64Decoder: (config == null ? void 0 : config.base64Decoder) ?? util_base64_1.fromBase64,
23975
+ base64Encoder: (config == null ? void 0 : config.base64Encoder) ?? util_base64_1.toBase64,
23976
+ disableHostPrefix: (config == null ? void 0 : config.disableHostPrefix) ?? false,
23977
+ endpointProvider: (config == null ? void 0 : config.endpointProvider) ?? endpointResolver_1.defaultEndpointResolver,
23978
+ logger: (config == null ? void 0 : config.logger) ?? {},
23979
+ serviceId: (config == null ? void 0 : config.serviceId) ?? "SSO",
23980
+ urlParser: (config == null ? void 0 : config.urlParser) ?? url_parser_1.parseUrl
23981
+ });
23944
23982
  exports.getRuntimeConfig = getRuntimeConfig;
23945
23983
  }
23946
23984
  });
@@ -24064,16 +24102,14 @@ var require_runtimeConfig = __commonJS({
24064
24102
  var middleware_retry_1 = require_dist_cjs16();
24065
24103
  var node_config_provider_1 = require_dist_cjs27();
24066
24104
  var node_http_handler_1 = require_dist_cjs32();
24067
- var util_base64_node_1 = require_dist_cjs33();
24068
- var util_body_length_node_1 = require_dist_cjs34();
24069
- var util_user_agent_node_1 = require_dist_cjs35();
24070
- var util_utf8_node_1 = require_dist_cjs36();
24105
+ var util_body_length_node_1 = require_dist_cjs33();
24106
+ var util_user_agent_node_1 = require_dist_cjs34();
24107
+ var util_utf8_node_1 = require_dist_cjs35();
24071
24108
  var runtimeConfig_shared_1 = require_runtimeConfig_shared();
24072
24109
  var smithy_client_1 = require_dist_cjs7();
24073
24110
  var util_defaults_mode_node_1 = require_dist_cjs39();
24074
24111
  var smithy_client_2 = require_dist_cjs7();
24075
24112
  var getRuntimeConfig = (config) => {
24076
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
24077
24113
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
24078
24114
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
24079
24115
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -24083,23 +24119,21 @@ var require_runtimeConfig = __commonJS({
24083
24119
  ...config,
24084
24120
  runtime: "node",
24085
24121
  defaultsMode,
24086
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
24087
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
24088
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
24089
- defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
24090
- maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
24091
- region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
24092
- requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
24093
- retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)({
24122
+ bodyLengthChecker: (config == null ? void 0 : config.bodyLengthChecker) ?? util_body_length_node_1.calculateBodyLength,
24123
+ defaultUserAgentProvider: (config == null ? void 0 : config.defaultUserAgentProvider) ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
24124
+ maxAttempts: (config == null ? void 0 : config.maxAttempts) ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
24125
+ region: (config == null ? void 0 : config.region) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
24126
+ requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
24127
+ retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
24094
24128
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
24095
24129
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
24096
24130
  }),
24097
- sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"),
24098
- streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : node_http_handler_1.streamCollector,
24099
- useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
24100
- useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
24101
- utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.fromUtf8,
24102
- utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.toUtf8
24131
+ sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
24132
+ streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
24133
+ useDualstackEndpoint: (config == null ? void 0 : config.useDualstackEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
24134
+ useFipsEndpoint: (config == null ? void 0 : config.useFipsEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
24135
+ utf8Decoder: (config == null ? void 0 : config.utf8Decoder) ?? util_utf8_node_1.fromUtf8,
24136
+ utf8Encoder: (config == null ? void 0 : config.utf8Encoder) ?? util_utf8_node_1.toUtf8
24103
24137
  };
24104
24138
  };
24105
24139
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -25730,18 +25764,18 @@ var require_runtimeConfig_shared2 = __commonJS({
25730
25764
  Object.defineProperty(exports, "__esModule", { value: true });
25731
25765
  exports.getRuntimeConfig = void 0;
25732
25766
  var url_parser_1 = require_dist_cjs2();
25767
+ var util_base64_1 = require_dist_cjs36();
25733
25768
  var endpointResolver_1 = require_endpointResolver2();
25734
- var getRuntimeConfig = (config) => {
25735
- var _a, _b, _c, _d, _e;
25736
- return {
25737
- apiVersion: "2011-06-15",
25738
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
25739
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
25740
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
25741
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "STS",
25742
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl
25743
- };
25744
- };
25769
+ var getRuntimeConfig = (config) => ({
25770
+ apiVersion: "2011-06-15",
25771
+ base64Decoder: (config == null ? void 0 : config.base64Decoder) ?? util_base64_1.fromBase64,
25772
+ base64Encoder: (config == null ? void 0 : config.base64Encoder) ?? util_base64_1.toBase64,
25773
+ disableHostPrefix: (config == null ? void 0 : config.disableHostPrefix) ?? false,
25774
+ endpointProvider: (config == null ? void 0 : config.endpointProvider) ?? endpointResolver_1.defaultEndpointResolver,
25775
+ logger: (config == null ? void 0 : config.logger) ?? {},
25776
+ serviceId: (config == null ? void 0 : config.serviceId) ?? "STS",
25777
+ urlParser: (config == null ? void 0 : config.urlParser) ?? url_parser_1.parseUrl
25778
+ });
25745
25779
  exports.getRuntimeConfig = getRuntimeConfig;
25746
25780
  }
25747
25781
  });
@@ -25761,16 +25795,14 @@ var require_runtimeConfig2 = __commonJS({
25761
25795
  var middleware_retry_1 = require_dist_cjs16();
25762
25796
  var node_config_provider_1 = require_dist_cjs27();
25763
25797
  var node_http_handler_1 = require_dist_cjs32();
25764
- var util_base64_node_1 = require_dist_cjs33();
25765
- var util_body_length_node_1 = require_dist_cjs34();
25766
- var util_user_agent_node_1 = require_dist_cjs35();
25767
- var util_utf8_node_1 = require_dist_cjs36();
25798
+ var util_body_length_node_1 = require_dist_cjs33();
25799
+ var util_user_agent_node_1 = require_dist_cjs34();
25800
+ var util_utf8_node_1 = require_dist_cjs35();
25768
25801
  var runtimeConfig_shared_1 = require_runtimeConfig_shared2();
25769
25802
  var smithy_client_1 = require_dist_cjs7();
25770
25803
  var util_defaults_mode_node_1 = require_dist_cjs39();
25771
25804
  var smithy_client_2 = require_dist_cjs7();
25772
25805
  var getRuntimeConfig = (config) => {
25773
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
25774
25806
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
25775
25807
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
25776
25808
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -25780,24 +25812,22 @@ var require_runtimeConfig2 = __commonJS({
25780
25812
  ...config,
25781
25813
  runtime: "node",
25782
25814
  defaultsMode,
25783
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
25784
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
25785
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
25786
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, defaultStsRoleAssumers_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
25787
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
25788
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
25789
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
25790
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
25791
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
25815
+ bodyLengthChecker: (config == null ? void 0 : config.bodyLengthChecker) ?? util_body_length_node_1.calculateBodyLength,
25816
+ credentialDefaultProvider: (config == null ? void 0 : config.credentialDefaultProvider) ?? (0, defaultStsRoleAssumers_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
25817
+ defaultUserAgentProvider: (config == null ? void 0 : config.defaultUserAgentProvider) ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
25818
+ maxAttempts: (config == null ? void 0 : config.maxAttempts) ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
25819
+ region: (config == null ? void 0 : config.region) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
25820
+ requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
25821
+ retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
25792
25822
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
25793
25823
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
25794
25824
  }),
25795
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
25796
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
25797
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
25798
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
25799
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
25800
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8
25825
+ sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
25826
+ streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
25827
+ useDualstackEndpoint: (config == null ? void 0 : config.useDualstackEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
25828
+ useFipsEndpoint: (config == null ? void 0 : config.useFipsEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
25829
+ utf8Decoder: (config == null ? void 0 : config.utf8Decoder) ?? util_utf8_node_1.fromUtf8,
25830
+ utf8Encoder: (config == null ? void 0 : config.utf8Encoder) ?? util_utf8_node_1.toUtf8
25801
25831
  };
25802
25832
  };
25803
25833
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -26395,18 +26425,18 @@ var require_runtimeConfig_shared3 = __commonJS({
26395
26425
  Object.defineProperty(exports, "__esModule", { value: true });
26396
26426
  exports.getRuntimeConfig = void 0;
26397
26427
  var url_parser_1 = require_dist_cjs2();
26428
+ var util_base64_1 = require_dist_cjs36();
26398
26429
  var endpointResolver_1 = require_endpointResolver3();
26399
- var getRuntimeConfig = (config) => {
26400
- var _a, _b, _c, _d, _e;
26401
- return {
26402
- apiVersion: "2015-03-31",
26403
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
26404
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
26405
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
26406
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Lambda",
26407
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl
26408
- };
26409
- };
26430
+ var getRuntimeConfig = (config) => ({
26431
+ apiVersion: "2015-03-31",
26432
+ base64Decoder: (config == null ? void 0 : config.base64Decoder) ?? util_base64_1.fromBase64,
26433
+ base64Encoder: (config == null ? void 0 : config.base64Encoder) ?? util_base64_1.toBase64,
26434
+ disableHostPrefix: (config == null ? void 0 : config.disableHostPrefix) ?? false,
26435
+ endpointProvider: (config == null ? void 0 : config.endpointProvider) ?? endpointResolver_1.defaultEndpointResolver,
26436
+ logger: (config == null ? void 0 : config.logger) ?? {},
26437
+ serviceId: (config == null ? void 0 : config.serviceId) ?? "Lambda",
26438
+ urlParser: (config == null ? void 0 : config.urlParser) ?? url_parser_1.parseUrl
26439
+ });
26410
26440
  exports.getRuntimeConfig = getRuntimeConfig;
26411
26441
  }
26412
26442
  });
@@ -26426,16 +26456,14 @@ var require_runtimeConfig3 = __commonJS({
26426
26456
  var middleware_retry_1 = require_dist_cjs16();
26427
26457
  var node_config_provider_1 = require_dist_cjs27();
26428
26458
  var node_http_handler_1 = require_dist_cjs32();
26429
- var util_base64_node_1 = require_dist_cjs33();
26430
- var util_body_length_node_1 = require_dist_cjs34();
26431
- var util_user_agent_node_1 = require_dist_cjs35();
26432
- var util_utf8_node_1 = require_dist_cjs36();
26459
+ var util_body_length_node_1 = require_dist_cjs33();
26460
+ var util_user_agent_node_1 = require_dist_cjs34();
26461
+ var util_utf8_node_1 = require_dist_cjs35();
26433
26462
  var runtimeConfig_shared_1 = require_runtimeConfig_shared3();
26434
26463
  var smithy_client_1 = require_dist_cjs7();
26435
26464
  var util_defaults_mode_node_1 = require_dist_cjs39();
26436
26465
  var smithy_client_2 = require_dist_cjs7();
26437
26466
  var getRuntimeConfig = (config) => {
26438
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
26439
26467
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
26440
26468
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
26441
26469
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -26445,24 +26473,22 @@ var require_runtimeConfig3 = __commonJS({
26445
26473
  ...config,
26446
26474
  runtime: "node",
26447
26475
  defaultsMode,
26448
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26449
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
26450
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
26451
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
26452
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26453
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
26454
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
26455
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
26456
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
26476
+ bodyLengthChecker: (config == null ? void 0 : config.bodyLengthChecker) ?? util_body_length_node_1.calculateBodyLength,
26477
+ credentialDefaultProvider: (config == null ? void 0 : config.credentialDefaultProvider) ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
26478
+ defaultUserAgentProvider: (config == null ? void 0 : config.defaultUserAgentProvider) ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26479
+ maxAttempts: (config == null ? void 0 : config.maxAttempts) ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
26480
+ region: (config == null ? void 0 : config.region) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
26481
+ requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
26482
+ retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
26457
26483
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
26458
26484
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
26459
26485
  }),
26460
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
26461
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
26462
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
26463
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
26464
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
26465
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8
26486
+ sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
26487
+ streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
26488
+ useDualstackEndpoint: (config == null ? void 0 : config.useDualstackEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
26489
+ useFipsEndpoint: (config == null ? void 0 : config.useFipsEndpoint) ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
26490
+ utf8Decoder: (config == null ? void 0 : config.utf8Decoder) ?? util_utf8_node_1.fromUtf8,
26491
+ utf8Encoder: (config == null ? void 0 : config.utf8Encoder) ?? util_utf8_node_1.toUtf8
26466
26492
  };
26467
26493
  };
26468
26494
  exports.getRuntimeConfig = getRuntimeConfig;