@cloudsnorkel/cdk-github-runners 0.7.4 → 0.7.6

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.
Files changed (34) hide show
  1. package/.jsii +101 -45
  2. package/API.md +30 -1
  3. package/lib/lambdas/aws-image-builder-versioner/index.js +11 -1
  4. package/lib/lambdas/build-image/index.js +4 -0
  5. package/lib/lambdas/delete-ami/index.js +4 -0
  6. package/lib/lambdas/delete-runner/index.js +8626 -2144
  7. package/lib/lambdas/setup/index.html +4 -4
  8. package/lib/lambdas/setup/index.js +283 -4
  9. package/lib/lambdas/status/index.js +8637 -2155
  10. package/lib/lambdas/token-retriever/index.js +8626 -2144
  11. package/lib/lambdas/update-lambda/index.js +216 -1867
  12. package/lib/lambdas/webhook-handler/index.js +5 -0
  13. package/lib/providers/codebuild.js +1 -1
  14. package/lib/providers/common.d.ts +3 -3
  15. package/lib/providers/common.js +4 -4
  16. package/lib/providers/ec2.d.ts +1 -1
  17. package/lib/providers/ec2.js +71 -44
  18. package/lib/providers/fargate.js +1 -1
  19. package/lib/providers/image-builders/ami.d.ts +7 -1
  20. package/lib/providers/image-builders/ami.js +25 -21
  21. package/lib/providers/image-builders/codebuild.js +1 -1
  22. package/lib/providers/image-builders/common.js +1 -1
  23. package/lib/providers/image-builders/container.d.ts +1 -1
  24. package/lib/providers/image-builders/container.js +11 -11
  25. package/lib/providers/image-builders/linux-components.d.ts +1 -1
  26. package/lib/providers/image-builders/linux-components.js +21 -19
  27. package/lib/providers/image-builders/static.js +6 -6
  28. package/lib/providers/image-builders/windows-components.d.ts +1 -1
  29. package/lib/providers/image-builders/windows-components.js +14 -12
  30. package/lib/providers/lambda.js +3 -3
  31. package/lib/runner.d.ts +1 -0
  32. package/lib/runner.js +19 -2
  33. package/lib/secrets.js +1 -1
  34. package/package.json +10 -10
@@ -24,6 +24,10 @@ var __copyProps = (to, from, except, desc) => {
24
24
  return to;
25
25
  };
26
26
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
32
  mod
29
33
  ));
@@ -1659,10 +1663,10 @@ var require_default_error_handler = __commonJS({
1659
1663
  };
1660
1664
  exports.throwDefaultError = throwDefaultError;
1661
1665
  var deserializeMetadata = (output) => {
1662
- var _a;
1666
+ var _a, _b;
1663
1667
  return {
1664
1668
  httpStatusCode: output.statusCode,
1665
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1669
+ 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"],
1666
1670
  extendedRequestId: output.headers["x-amz-id-2"],
1667
1671
  cfId: output.headers["x-amz-cf-id"]
1668
1672
  };
@@ -2018,9 +2022,10 @@ var require_models_0 = __commonJS({
2018
2022
  "use strict";
2019
2023
  Object.defineProperty(exports, "__esModule", { value: true });
2020
2024
  exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.SnapStartOptimizationStatus = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.SnapStartApplyOn = exports.Runtime = exports.PackageType = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.CodeSigningPolicy = exports.Architecture = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0;
2021
- exports.TracingConfigResponseFilterSensitiveLog = exports.SnapStartResponseFilterSensitiveLog = exports.LayerFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.VpcConfigFilterSensitiveLog = exports.TracingConfigFilterSensitiveLog = exports.SnapStartFilterSensitiveLog = exports.ImageConfigFilterSensitiveLog = exports.FileSystemConfigFilterSensitiveLog = exports.EphemeralStorageFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.EventSourceMappingConfigurationFilterSensitiveLog = exports.CreateEventSourceMappingRequestFilterSensitiveLog = exports.SourceAccessConfigurationFilterSensitiveLog = exports.SelfManagedKafkaEventSourceConfigFilterSensitiveLog = exports.SelfManagedEventSourceFilterSensitiveLog = exports.FilterCriteriaFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DestinationConfigFilterSensitiveLog = exports.OnSuccessFilterSensitiveLog = exports.OnFailureFilterSensitiveLog = exports.CreateCodeSigningConfigResponseFilterSensitiveLog = exports.CodeSigningConfigFilterSensitiveLog = exports.CreateCodeSigningConfigRequestFilterSensitiveLog = exports.CodeSigningPoliciesFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = exports.AllowedPublishersFilterSensitiveLog = exports.AliasConfigurationFilterSensitiveLog = exports.AliasRoutingConfigurationFilterSensitiveLog = exports.AddPermissionResponseFilterSensitiveLog = exports.AddPermissionRequestFilterSensitiveLog = exports.AddLayerVersionPermissionResponseFilterSensitiveLog = exports.AddLayerVersionPermissionRequestFilterSensitiveLog = exports.AccountUsageFilterSensitiveLog = exports.AccountLimitFilterSensitiveLog = exports.FunctionVersion = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = void 0;
2022
- exports.ListAliasesRequestFilterSensitiveLog = exports.InvokeAsyncResponseFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.GetPolicyResponseFilterSensitiveLog = exports.GetPolicyRequestFilterSensitiveLog = exports.GetLayerVersionPolicyResponseFilterSensitiveLog = exports.GetLayerVersionPolicyRequestFilterSensitiveLog = exports.GetLayerVersionByArnRequestFilterSensitiveLog = exports.GetLayerVersionResponseFilterSensitiveLog = exports.LayerVersionContentOutputFilterSensitiveLog = exports.GetLayerVersionRequestFilterSensitiveLog = exports.GetFunctionUrlConfigResponseFilterSensitiveLog = exports.GetFunctionUrlConfigRequestFilterSensitiveLog = exports.GetFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.FunctionEventInvokeConfigFilterSensitiveLog = exports.GetFunctionConfigurationRequestFilterSensitiveLog = exports.GetFunctionConcurrencyResponseFilterSensitiveLog = exports.GetFunctionConcurrencyRequestFilterSensitiveLog = exports.GetFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.GetFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.ConcurrencyFilterSensitiveLog = exports.FunctionCodeLocationFilterSensitiveLog = exports.GetFunctionRequestFilterSensitiveLog = exports.GetEventSourceMappingRequestFilterSensitiveLog = exports.GetCodeSigningConfigResponseFilterSensitiveLog = exports.GetCodeSigningConfigRequestFilterSensitiveLog = exports.GetAliasRequestFilterSensitiveLog = exports.GetAccountSettingsResponseFilterSensitiveLog = exports.GetAccountSettingsRequestFilterSensitiveLog = exports.DeleteProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.DeleteLayerVersionRequestFilterSensitiveLog = exports.DeleteFunctionUrlConfigRequestFilterSensitiveLog = exports.DeleteFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.DeleteFunctionConcurrencyRequestFilterSensitiveLog = exports.DeleteFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteFunctionRequestFilterSensitiveLog = exports.DeleteEventSourceMappingRequestFilterSensitiveLog = exports.DeleteCodeSigningConfigResponseFilterSensitiveLog = exports.DeleteCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.CreateFunctionUrlConfigResponseFilterSensitiveLog = exports.CreateFunctionUrlConfigRequestFilterSensitiveLog = exports.CorsFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = void 0;
2023
- exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsResponseFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsRequestFilterSensitiveLog = exports.ListEventSourceMappingsResponseFilterSensitiveLog = exports.ListEventSourceMappingsRequestFilterSensitiveLog = exports.ListCodeSigningConfigsResponseFilterSensitiveLog = exports.ListCodeSigningConfigsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = void 0;
2025
+ exports.SnapStartResponseFilterSensitiveLog = exports.LayerFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.VpcConfigFilterSensitiveLog = exports.TracingConfigFilterSensitiveLog = exports.SnapStartFilterSensitiveLog = exports.ImageConfigFilterSensitiveLog = exports.FileSystemConfigFilterSensitiveLog = exports.EphemeralStorageFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.EventSourceMappingConfigurationFilterSensitiveLog = exports.CreateEventSourceMappingRequestFilterSensitiveLog = exports.SourceAccessConfigurationFilterSensitiveLog = exports.SelfManagedKafkaEventSourceConfigFilterSensitiveLog = exports.SelfManagedEventSourceFilterSensitiveLog = exports.ScalingConfigFilterSensitiveLog = exports.FilterCriteriaFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DestinationConfigFilterSensitiveLog = exports.OnSuccessFilterSensitiveLog = exports.OnFailureFilterSensitiveLog = exports.CreateCodeSigningConfigResponseFilterSensitiveLog = exports.CodeSigningConfigFilterSensitiveLog = exports.CreateCodeSigningConfigRequestFilterSensitiveLog = exports.CodeSigningPoliciesFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = exports.AllowedPublishersFilterSensitiveLog = exports.AliasConfigurationFilterSensitiveLog = exports.AliasRoutingConfigurationFilterSensitiveLog = exports.AddPermissionResponseFilterSensitiveLog = exports.AddPermissionRequestFilterSensitiveLog = exports.AddLayerVersionPermissionResponseFilterSensitiveLog = exports.AddLayerVersionPermissionRequestFilterSensitiveLog = exports.AccountUsageFilterSensitiveLog = exports.AccountLimitFilterSensitiveLog = exports.FunctionVersion = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = void 0;
2026
+ exports.InvokeAsyncResponseFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.GetPolicyResponseFilterSensitiveLog = exports.GetPolicyRequestFilterSensitiveLog = exports.GetLayerVersionPolicyResponseFilterSensitiveLog = exports.GetLayerVersionPolicyRequestFilterSensitiveLog = exports.GetLayerVersionByArnRequestFilterSensitiveLog = exports.GetLayerVersionResponseFilterSensitiveLog = exports.LayerVersionContentOutputFilterSensitiveLog = exports.GetLayerVersionRequestFilterSensitiveLog = exports.GetFunctionUrlConfigResponseFilterSensitiveLog = exports.GetFunctionUrlConfigRequestFilterSensitiveLog = exports.GetFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.FunctionEventInvokeConfigFilterSensitiveLog = exports.GetFunctionConfigurationRequestFilterSensitiveLog = exports.GetFunctionConcurrencyResponseFilterSensitiveLog = exports.GetFunctionConcurrencyRequestFilterSensitiveLog = exports.GetFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.GetFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.ConcurrencyFilterSensitiveLog = exports.FunctionCodeLocationFilterSensitiveLog = exports.GetFunctionRequestFilterSensitiveLog = exports.GetEventSourceMappingRequestFilterSensitiveLog = exports.GetCodeSigningConfigResponseFilterSensitiveLog = exports.GetCodeSigningConfigRequestFilterSensitiveLog = exports.GetAliasRequestFilterSensitiveLog = exports.GetAccountSettingsResponseFilterSensitiveLog = exports.GetAccountSettingsRequestFilterSensitiveLog = exports.DeleteProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.DeleteLayerVersionRequestFilterSensitiveLog = exports.DeleteFunctionUrlConfigRequestFilterSensitiveLog = exports.DeleteFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.DeleteFunctionConcurrencyRequestFilterSensitiveLog = exports.DeleteFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteFunctionRequestFilterSensitiveLog = exports.DeleteEventSourceMappingRequestFilterSensitiveLog = exports.DeleteCodeSigningConfigResponseFilterSensitiveLog = exports.DeleteCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.CreateFunctionUrlConfigResponseFilterSensitiveLog = exports.CreateFunctionUrlConfigRequestFilterSensitiveLog = exports.CorsFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = exports.TracingConfigResponseFilterSensitiveLog = void 0;
2027
+ exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsResponseFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsRequestFilterSensitiveLog = exports.ListEventSourceMappingsResponseFilterSensitiveLog = exports.ListEventSourceMappingsRequestFilterSensitiveLog = exports.ListCodeSigningConfigsResponseFilterSensitiveLog = exports.ListCodeSigningConfigsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = exports.ListAliasesRequestFilterSensitiveLog = void 0;
2028
+ exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = void 0;
2024
2029
  var smithy_client_1 = require_dist_cjs7();
2025
2030
  var LambdaServiceException_1 = require_LambdaServiceException();
2026
2031
  var InvalidParameterValueException = class extends LambdaServiceException_1.LambdaServiceException {
@@ -2835,6 +2840,10 @@ var require_models_0 = __commonJS({
2835
2840
  ...obj
2836
2841
  });
2837
2842
  exports.FilterCriteriaFilterSensitiveLog = FilterCriteriaFilterSensitiveLog;
2843
+ var ScalingConfigFilterSensitiveLog = (obj) => ({
2844
+ ...obj
2845
+ });
2846
+ exports.ScalingConfigFilterSensitiveLog = ScalingConfigFilterSensitiveLog;
2838
2847
  var SelfManagedEventSourceFilterSensitiveLog = (obj) => ({
2839
2848
  ...obj
2840
2849
  });
@@ -3614,6 +3623,9 @@ var require_Aws_restJson1 = __commonJS({
3614
3623
  ...input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts },
3615
3624
  ...input.ParallelizationFactor != null && { ParallelizationFactor: input.ParallelizationFactor },
3616
3625
  ...input.Queues != null && { Queues: serializeAws_restJson1Queues(input.Queues, context) },
3626
+ ...input.ScalingConfig != null && {
3627
+ ScalingConfig: serializeAws_restJson1ScalingConfig(input.ScalingConfig, context)
3628
+ },
3617
3629
  ...input.SelfManagedEventSource != null && {
3618
3630
  SelfManagedEventSource: serializeAws_restJson1SelfManagedEventSource(input.SelfManagedEventSource, context)
3619
3631
  },
@@ -3625,7 +3637,7 @@ var require_Aws_restJson1 = __commonJS({
3625
3637
  },
3626
3638
  ...input.StartingPosition != null && { StartingPosition: input.StartingPosition },
3627
3639
  ...input.StartingPositionTimestamp != null && {
3628
- StartingPositionTimestamp: Math.round(input.StartingPositionTimestamp.getTime() / 1e3)
3640
+ StartingPositionTimestamp: Math.round(input.StartingPositionTimestamp.getTime() / 1e3).toString()
3629
3641
  },
3630
3642
  ...input.Topics != null && { Topics: serializeAws_restJson1Topics(input.Topics, context) },
3631
3643
  ...input.TumblingWindowInSeconds != null && { TumblingWindowInSeconds: input.TumblingWindowInSeconds }
@@ -4847,6 +4859,9 @@ var require_Aws_restJson1 = __commonJS({
4847
4859
  ...input.MaximumRecordAgeInSeconds != null && { MaximumRecordAgeInSeconds: input.MaximumRecordAgeInSeconds },
4848
4860
  ...input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts },
4849
4861
  ...input.ParallelizationFactor != null && { ParallelizationFactor: input.ParallelizationFactor },
4862
+ ...input.ScalingConfig != null && {
4863
+ ScalingConfig: serializeAws_restJson1ScalingConfig(input.ScalingConfig, context)
4864
+ },
4850
4865
  ...input.SourceAccessConfigurations != null && {
4851
4866
  SourceAccessConfigurations: serializeAws_restJson1SourceAccessConfigurations(input.SourceAccessConfigurations, context)
4852
4867
  },
@@ -5256,6 +5271,9 @@ var require_Aws_restJson1 = __commonJS({
5256
5271
  if (data.Queues != null) {
5257
5272
  contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
5258
5273
  }
5274
+ if (data.ScalingConfig != null) {
5275
+ contents.ScalingConfig = deserializeAws_restJson1ScalingConfig(data.ScalingConfig, context);
5276
+ }
5259
5277
  if (data.SelfManagedEventSource != null) {
5260
5278
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
5261
5279
  }
@@ -5669,6 +5687,9 @@ var require_Aws_restJson1 = __commonJS({
5669
5687
  if (data.Queues != null) {
5670
5688
  contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
5671
5689
  }
5690
+ if (data.ScalingConfig != null) {
5691
+ contents.ScalingConfig = deserializeAws_restJson1ScalingConfig(data.ScalingConfig, context);
5692
+ }
5672
5693
  if (data.SelfManagedEventSource != null) {
5673
5694
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
5674
5695
  }
@@ -6217,6 +6238,9 @@ var require_Aws_restJson1 = __commonJS({
6217
6238
  if (data.Queues != null) {
6218
6239
  contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
6219
6240
  }
6241
+ if (data.ScalingConfig != null) {
6242
+ contents.ScalingConfig = deserializeAws_restJson1ScalingConfig(data.ScalingConfig, context);
6243
+ }
6220
6244
  if (data.SelfManagedEventSource != null) {
6221
6245
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
6222
6246
  }
@@ -8431,6 +8455,9 @@ var require_Aws_restJson1 = __commonJS({
8431
8455
  if (data.Queues != null) {
8432
8456
  contents.Queues = deserializeAws_restJson1Queues(data.Queues, context);
8433
8457
  }
8458
+ if (data.ScalingConfig != null) {
8459
+ contents.ScalingConfig = deserializeAws_restJson1ScalingConfig(data.ScalingConfig, context);
8460
+ }
8434
8461
  if (data.SelfManagedEventSource != null) {
8435
8462
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
8436
8463
  }
@@ -9699,6 +9726,11 @@ var require_Aws_restJson1 = __commonJS({
9699
9726
  return entry;
9700
9727
  });
9701
9728
  };
9729
+ var serializeAws_restJson1ScalingConfig = (input, context) => {
9730
+ return {
9731
+ ...input.MaximumConcurrency != null && { MaximumConcurrency: input.MaximumConcurrency }
9732
+ };
9733
+ };
9702
9734
  var serializeAws_restJson1SecurityGroupIds = (input, context) => {
9703
9735
  return input.filter((e) => e != null).map((entry) => {
9704
9736
  return entry;
@@ -9986,6 +10018,7 @@ var require_Aws_restJson1 = __commonJS({
9986
10018
  MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
9987
10019
  ParallelizationFactor: (0, smithy_client_1.expectInt32)(output.ParallelizationFactor),
9988
10020
  Queues: output.Queues != null ? deserializeAws_restJson1Queues(output.Queues, context) : void 0,
10021
+ ScalingConfig: output.ScalingConfig != null ? deserializeAws_restJson1ScalingConfig(output.ScalingConfig, context) : void 0,
9989
10022
  SelfManagedEventSource: output.SelfManagedEventSource != null ? deserializeAws_restJson1SelfManagedEventSource(output.SelfManagedEventSource, context) : void 0,
9990
10023
  SelfManagedKafkaEventSourceConfig: output.SelfManagedKafkaEventSourceConfig != null ? deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(output.SelfManagedKafkaEventSourceConfig, context) : void 0,
9991
10024
  SourceAccessConfigurations: output.SourceAccessConfigurations != null ? deserializeAws_restJson1SourceAccessConfigurations(output.SourceAccessConfigurations, context) : void 0,
@@ -10280,6 +10313,11 @@ var require_Aws_restJson1 = __commonJS({
10280
10313
  });
10281
10314
  return retVal;
10282
10315
  };
10316
+ var deserializeAws_restJson1ScalingConfig = (output, context) => {
10317
+ return {
10318
+ MaximumConcurrency: (0, smithy_client_1.expectInt32)(output.MaximumConcurrency)
10319
+ };
10320
+ };
10283
10321
  var deserializeAws_restJson1SecurityGroupIds = (output, context) => {
10284
10322
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
10285
10323
  if (entry === null) {
@@ -13936,10 +13974,7 @@ var require_resolveRegionConfig = __commonJS({
13936
13974
  if ((0, isFipsRegion_1.isFipsRegion)(providedRegion)) {
13937
13975
  return true;
13938
13976
  }
13939
- if (!useFipsEndpoint) {
13940
- return Promise.resolve(false);
13941
- }
13942
- return typeof useFipsEndpoint === "boolean" ? Promise.resolve(useFipsEndpoint) : useFipsEndpoint();
13977
+ return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
13943
13978
  }
13944
13979
  };
13945
13980
  };
@@ -16566,7 +16601,7 @@ var require_package = __commonJS({
16566
16601
  module2.exports = {
16567
16602
  name: "@aws-sdk/client-lambda",
16568
16603
  description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
16569
- version: "3.231.0",
16604
+ version: "3.250.0",
16570
16605
  scripts: {
16571
16606
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
16572
16607
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -16575,7 +16610,8 @@ var require_package = __commonJS({
16575
16610
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
16576
16611
  "build:types": "tsc -p tsconfig.types.json",
16577
16612
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
16578
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
16613
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
16614
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/lambda.json --keepFiles)"
16579
16615
  },
16580
16616
  main: "./dist-cjs/index.js",
16581
16617
  types: "./dist-types/index.d.ts",
@@ -16584,9 +16620,9 @@ var require_package = __commonJS({
16584
16620
  dependencies: {
16585
16621
  "@aws-crypto/sha256-browser": "2.0.0",
16586
16622
  "@aws-crypto/sha256-js": "2.0.0",
16587
- "@aws-sdk/client-sts": "3.231.0",
16588
- "@aws-sdk/config-resolver": "3.231.0",
16589
- "@aws-sdk/credential-provider-node": "3.231.0",
16623
+ "@aws-sdk/client-sts": "3.245.0",
16624
+ "@aws-sdk/config-resolver": "3.234.0",
16625
+ "@aws-sdk/credential-provider-node": "3.245.0",
16590
16626
  "@aws-sdk/fetch-http-handler": "3.226.0",
16591
16627
  "@aws-sdk/hash-node": "3.226.0",
16592
16628
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -16595,7 +16631,7 @@ var require_package = __commonJS({
16595
16631
  "@aws-sdk/middleware-host-header": "3.226.0",
16596
16632
  "@aws-sdk/middleware-logger": "3.226.0",
16597
16633
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
16598
- "@aws-sdk/middleware-retry": "3.229.0",
16634
+ "@aws-sdk/middleware-retry": "3.235.0",
16599
16635
  "@aws-sdk/middleware-serde": "3.226.0",
16600
16636
  "@aws-sdk/middleware-signing": "3.226.0",
16601
16637
  "@aws-sdk/middleware-stack": "3.226.0",
@@ -16603,15 +16639,15 @@ var require_package = __commonJS({
16603
16639
  "@aws-sdk/node-config-provider": "3.226.0",
16604
16640
  "@aws-sdk/node-http-handler": "3.226.0",
16605
16641
  "@aws-sdk/protocol-http": "3.226.0",
16606
- "@aws-sdk/smithy-client": "3.226.0",
16642
+ "@aws-sdk/smithy-client": "3.234.0",
16607
16643
  "@aws-sdk/types": "3.226.0",
16608
16644
  "@aws-sdk/url-parser": "3.226.0",
16609
16645
  "@aws-sdk/util-base64": "3.208.0",
16610
16646
  "@aws-sdk/util-body-length-browser": "3.188.0",
16611
16647
  "@aws-sdk/util-body-length-node": "3.208.0",
16612
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
16613
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
16614
- "@aws-sdk/util-endpoints": "3.226.0",
16648
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
16649
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
16650
+ "@aws-sdk/util-endpoints": "3.245.0",
16615
16651
  "@aws-sdk/util-retry": "3.229.0",
16616
16652
  "@aws-sdk/util-user-agent-browser": "3.226.0",
16617
16653
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -16950,6 +16986,7 @@ var require_validator = __commonJS({
16950
16986
  var util = require_util2();
16951
16987
  var defaultOptions = {
16952
16988
  allowBooleanAttributes: false,
16989
+ //A tag can have attributes without any value
16953
16990
  unpairedTags: []
16954
16991
  };
16955
16992
  exports.validate = function(xmlData, options) {
@@ -17244,6 +17281,7 @@ var require_validator = __commonJS({
17244
17281
  const lines = xmlData.substring(0, index).split(/\r?\n/);
17245
17282
  return {
17246
17283
  line: lines.length,
17284
+ // column number is last line's length + 1, because column numbering starts at 1:
17247
17285
  col: lines[lines.length - 1].length + 1
17248
17286
  };
17249
17287
  }
@@ -17263,10 +17301,14 @@ var require_OptionsBuilder = __commonJS({
17263
17301
  textNodeName: "#text",
17264
17302
  ignoreAttributes: true,
17265
17303
  removeNSPrefix: false,
17304
+ // remove NS from tag name or attribute name if true
17266
17305
  allowBooleanAttributes: false,
17306
+ //a tag can have attributes without any value
17307
+ //ignoreRootElement : false,
17267
17308
  parseTagValue: true,
17268
17309
  parseAttributeValue: false,
17269
17310
  trimValues: true,
17311
+ //Trim string values of tag and attributes
17270
17312
  cdataPropName: false,
17271
17313
  numberParseOptions: {
17272
17314
  hex: true,
@@ -17279,6 +17321,7 @@ var require_OptionsBuilder = __commonJS({
17279
17321
  return val;
17280
17322
  },
17281
17323
  stopNodes: [],
17324
+ //nested tags will not be parsed even for errors
17282
17325
  alwaysCreateTextNode: false,
17283
17326
  isArray: () => false,
17284
17327
  commentPropName: false,
@@ -17343,7 +17386,10 @@ var require_DocTypeReader = __commonJS({
17343
17386
  i += 8;
17344
17387
  } else if (hasBody && xmlData[i + 1] === "!" && xmlData[i + 2] === "N" && xmlData[i + 3] === "O" && xmlData[i + 4] === "T" && xmlData[i + 5] === "A" && xmlData[i + 6] === "T" && xmlData[i + 7] === "I" && xmlData[i + 8] === "O" && xmlData[i + 9] === "N") {
17345
17388
  i += 9;
17346
- } else if (xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") {
17389
+ } else if (
17390
+ //comment
17391
+ xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-"
17392
+ ) {
17347
17393
  comment = true;
17348
17394
  } else {
17349
17395
  throw new Error("Invalid DOCTYPE");
@@ -17409,6 +17455,7 @@ var require_strnum = __commonJS({
17409
17455
  leadingZeros: true,
17410
17456
  decimalPoint: ".",
17411
17457
  eNotation: true
17458
+ //skipLike: /regex/
17412
17459
  };
17413
17460
  function toNumber(str, options = {}) {
17414
17461
  options = Object.assign({}, consider, options);
@@ -17513,6 +17560,11 @@ var require_OrderedObjParser = __commonJS({
17513
17560
  this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" };
17514
17561
  this.htmlEntities = {
17515
17562
  "space": { regex: /&(nbsp|#160);/g, val: " " },
17563
+ // "lt" : { regex: /&(lt|#60);/g, val: "<" },
17564
+ // "gt" : { regex: /&(gt|#62);/g, val: ">" },
17565
+ // "amp" : { regex: /&(amp|#38);/g, val: "&" },
17566
+ // "quot" : { regex: /&(quot|#34);/g, val: "\"" },
17567
+ // "apos" : { regex: /&(apos|#39);/g, val: "'" },
17516
17568
  "cent": { regex: /&(cent|#162);/g, val: "\xA2" },
17517
17569
  "pound": { regex: /&(pound|#163);/g, val: "\xA3" },
17518
17570
  "yen": { regex: /&(yen|#165);/g, val: "\xA5" },
@@ -18049,6 +18101,11 @@ var require_XMLParser = __commonJS({
18049
18101
  this.externalEntities = {};
18050
18102
  this.options = buildOptions(options);
18051
18103
  }
18104
+ /**
18105
+ * Parse XML dats to JS object
18106
+ * @param {string|Buffer} xmlData
18107
+ * @param {boolean|Object} validationOption
18108
+ */
18052
18109
  parse(xmlData, validationOption) {
18053
18110
  if (typeof xmlData === "string") {
18054
18111
  } else if (xmlData.toString) {
@@ -18072,6 +18129,11 @@ var require_XMLParser = __commonJS({
18072
18129
  else
18073
18130
  return prettify(orderedResult, this.options);
18074
18131
  }
18132
+ /**
18133
+ * Add Entity which is not by default supported by this library
18134
+ * @param {string} key
18135
+ * @param {string} value
18136
+ */
18075
18137
  addEntity(key, value) {
18076
18138
  if (value.indexOf("&") !== -1) {
18077
18139
  throw new Error("Entity value can't have '&'");
@@ -18219,6 +18281,7 @@ var require_json2xml = __commonJS({
18219
18281
  unpairedTags: [],
18220
18282
  entities: [
18221
18283
  { regex: new RegExp("&", "g"), val: "&amp;" },
18284
+ //it must be on top
18222
18285
  { regex: new RegExp(">", "g"), val: "&gt;" },
18223
18286
  { regex: new RegExp("<", "g"), val: "&lt;" },
18224
18287
  { regex: new RegExp("'", "g"), val: "&apos;" },
@@ -20009,7 +20072,7 @@ var require_package2 = __commonJS({
20009
20072
  module2.exports = {
20010
20073
  name: "@aws-sdk/client-sts",
20011
20074
  description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
20012
- version: "3.231.0",
20075
+ version: "3.245.0",
20013
20076
  scripts: {
20014
20077
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
20015
20078
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20020,7 +20083,8 @@ var require_package2 = __commonJS({
20020
20083
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
20021
20084
  clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
20022
20085
  test: "yarn test:unit",
20023
- "test:unit": "jest"
20086
+ "test:unit": "jest",
20087
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sts.json --keepFiles)"
20024
20088
  },
20025
20089
  main: "./dist-cjs/index.js",
20026
20090
  types: "./dist-types/index.d.ts",
@@ -20029,8 +20093,8 @@ var require_package2 = __commonJS({
20029
20093
  dependencies: {
20030
20094
  "@aws-crypto/sha256-browser": "2.0.0",
20031
20095
  "@aws-crypto/sha256-js": "2.0.0",
20032
- "@aws-sdk/config-resolver": "3.231.0",
20033
- "@aws-sdk/credential-provider-node": "3.231.0",
20096
+ "@aws-sdk/config-resolver": "3.234.0",
20097
+ "@aws-sdk/credential-provider-node": "3.245.0",
20034
20098
  "@aws-sdk/fetch-http-handler": "3.226.0",
20035
20099
  "@aws-sdk/hash-node": "3.226.0",
20036
20100
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -20039,7 +20103,7 @@ var require_package2 = __commonJS({
20039
20103
  "@aws-sdk/middleware-host-header": "3.226.0",
20040
20104
  "@aws-sdk/middleware-logger": "3.226.0",
20041
20105
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
20042
- "@aws-sdk/middleware-retry": "3.229.0",
20106
+ "@aws-sdk/middleware-retry": "3.235.0",
20043
20107
  "@aws-sdk/middleware-sdk-sts": "3.226.0",
20044
20108
  "@aws-sdk/middleware-serde": "3.226.0",
20045
20109
  "@aws-sdk/middleware-signing": "3.226.0",
@@ -20048,15 +20112,15 @@ var require_package2 = __commonJS({
20048
20112
  "@aws-sdk/node-config-provider": "3.226.0",
20049
20113
  "@aws-sdk/node-http-handler": "3.226.0",
20050
20114
  "@aws-sdk/protocol-http": "3.226.0",
20051
- "@aws-sdk/smithy-client": "3.226.0",
20115
+ "@aws-sdk/smithy-client": "3.234.0",
20052
20116
  "@aws-sdk/types": "3.226.0",
20053
20117
  "@aws-sdk/url-parser": "3.226.0",
20054
20118
  "@aws-sdk/util-base64": "3.208.0",
20055
20119
  "@aws-sdk/util-body-length-browser": "3.188.0",
20056
20120
  "@aws-sdk/util-body-length-node": "3.208.0",
20057
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
20058
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
20059
- "@aws-sdk/util-endpoints": "3.226.0",
20121
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
20122
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
20123
+ "@aws-sdk/util-endpoints": "3.245.0",
20060
20124
  "@aws-sdk/util-retry": "3.229.0",
20061
20125
  "@aws-sdk/util-user-agent-browser": "3.226.0",
20062
20126
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -22008,7 +22072,7 @@ var require_package3 = __commonJS({
22008
22072
  module2.exports = {
22009
22073
  name: "@aws-sdk/client-sso",
22010
22074
  description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
22011
- version: "3.231.0",
22075
+ version: "3.245.0",
22012
22076
  scripts: {
22013
22077
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
22014
22078
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22017,7 +22081,8 @@ var require_package3 = __commonJS({
22017
22081
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
22018
22082
  "build:types": "tsc -p tsconfig.types.json",
22019
22083
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
22020
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
22084
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
22085
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso.json --keepFiles)"
22021
22086
  },
22022
22087
  main: "./dist-cjs/index.js",
22023
22088
  types: "./dist-types/index.d.ts",
@@ -22026,7 +22091,7 @@ var require_package3 = __commonJS({
22026
22091
  dependencies: {
22027
22092
  "@aws-crypto/sha256-browser": "2.0.0",
22028
22093
  "@aws-crypto/sha256-js": "2.0.0",
22029
- "@aws-sdk/config-resolver": "3.231.0",
22094
+ "@aws-sdk/config-resolver": "3.234.0",
22030
22095
  "@aws-sdk/fetch-http-handler": "3.226.0",
22031
22096
  "@aws-sdk/hash-node": "3.226.0",
22032
22097
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -22035,22 +22100,22 @@ var require_package3 = __commonJS({
22035
22100
  "@aws-sdk/middleware-host-header": "3.226.0",
22036
22101
  "@aws-sdk/middleware-logger": "3.226.0",
22037
22102
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
22038
- "@aws-sdk/middleware-retry": "3.229.0",
22103
+ "@aws-sdk/middleware-retry": "3.235.0",
22039
22104
  "@aws-sdk/middleware-serde": "3.226.0",
22040
22105
  "@aws-sdk/middleware-stack": "3.226.0",
22041
22106
  "@aws-sdk/middleware-user-agent": "3.226.0",
22042
22107
  "@aws-sdk/node-config-provider": "3.226.0",
22043
22108
  "@aws-sdk/node-http-handler": "3.226.0",
22044
22109
  "@aws-sdk/protocol-http": "3.226.0",
22045
- "@aws-sdk/smithy-client": "3.226.0",
22110
+ "@aws-sdk/smithy-client": "3.234.0",
22046
22111
  "@aws-sdk/types": "3.226.0",
22047
22112
  "@aws-sdk/url-parser": "3.226.0",
22048
22113
  "@aws-sdk/util-base64": "3.208.0",
22049
22114
  "@aws-sdk/util-body-length-browser": "3.188.0",
22050
22115
  "@aws-sdk/util-body-length-node": "3.208.0",
22051
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
22052
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
22053
- "@aws-sdk/util-endpoints": "3.226.0",
22116
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
22117
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
22118
+ "@aws-sdk/util-endpoints": "3.245.0",
22054
22119
  "@aws-sdk/util-retry": "3.229.0",
22055
22120
  "@aws-sdk/util-user-agent-browser": "3.226.0",
22056
22121
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -24156,321 +24221,27 @@ var require_ruleset = __commonJS({
24156
24221
  "use strict";
24157
24222
  Object.defineProperty(exports, "__esModule", { value: true });
24158
24223
  exports.ruleSet = void 0;
24159
- exports.ruleSet = {
24160
- version: "1.0",
24161
- parameters: {
24162
- Region: {
24163
- builtIn: "AWS::Region",
24164
- required: false,
24165
- documentation: "The AWS region used to dispatch the request.",
24166
- type: "String"
24167
- },
24168
- UseDualStack: {
24169
- builtIn: "AWS::UseDualStack",
24170
- required: true,
24171
- default: false,
24172
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
24173
- type: "Boolean"
24174
- },
24175
- UseFIPS: {
24176
- builtIn: "AWS::UseFIPS",
24177
- required: true,
24178
- default: false,
24179
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
24180
- type: "Boolean"
24181
- },
24182
- Endpoint: {
24183
- builtIn: "SDK::Endpoint",
24184
- required: false,
24185
- documentation: "Override the endpoint used to send this request",
24186
- type: "String"
24187
- }
24188
- },
24189
- rules: [
24190
- {
24191
- conditions: [
24192
- {
24193
- fn: "aws.partition",
24194
- argv: [
24195
- {
24196
- ref: "Region"
24197
- }
24198
- ],
24199
- assign: "PartitionResult"
24200
- }
24201
- ],
24202
- type: "tree",
24203
- rules: [
24204
- {
24205
- conditions: [
24206
- {
24207
- fn: "isSet",
24208
- argv: [
24209
- {
24210
- ref: "Endpoint"
24211
- }
24212
- ]
24213
- },
24214
- {
24215
- fn: "parseURL",
24216
- argv: [
24217
- {
24218
- ref: "Endpoint"
24219
- }
24220
- ],
24221
- assign: "url"
24222
- }
24223
- ],
24224
- type: "tree",
24225
- rules: [
24226
- {
24227
- conditions: [
24228
- {
24229
- fn: "booleanEquals",
24230
- argv: [
24231
- {
24232
- ref: "UseFIPS"
24233
- },
24234
- true
24235
- ]
24236
- }
24237
- ],
24238
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
24239
- type: "error"
24240
- },
24241
- {
24242
- conditions: [],
24243
- type: "tree",
24244
- rules: [
24245
- {
24246
- conditions: [
24247
- {
24248
- fn: "booleanEquals",
24249
- argv: [
24250
- {
24251
- ref: "UseDualStack"
24252
- },
24253
- true
24254
- ]
24255
- }
24256
- ],
24257
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
24258
- type: "error"
24259
- },
24260
- {
24261
- conditions: [],
24262
- endpoint: {
24263
- url: {
24264
- ref: "Endpoint"
24265
- },
24266
- properties: {},
24267
- headers: {}
24268
- },
24269
- type: "endpoint"
24270
- }
24271
- ]
24272
- }
24273
- ]
24274
- },
24275
- {
24276
- conditions: [
24277
- {
24278
- fn: "booleanEquals",
24279
- argv: [
24280
- {
24281
- ref: "UseFIPS"
24282
- },
24283
- true
24284
- ]
24285
- },
24286
- {
24287
- fn: "booleanEquals",
24288
- argv: [
24289
- {
24290
- ref: "UseDualStack"
24291
- },
24292
- true
24293
- ]
24294
- }
24295
- ],
24296
- type: "tree",
24297
- rules: [
24298
- {
24299
- conditions: [
24300
- {
24301
- fn: "booleanEquals",
24302
- argv: [
24303
- true,
24304
- {
24305
- fn: "getAttr",
24306
- argv: [
24307
- {
24308
- ref: "PartitionResult"
24309
- },
24310
- "supportsFIPS"
24311
- ]
24312
- }
24313
- ]
24314
- },
24315
- {
24316
- fn: "booleanEquals",
24317
- argv: [
24318
- true,
24319
- {
24320
- fn: "getAttr",
24321
- argv: [
24322
- {
24323
- ref: "PartitionResult"
24324
- },
24325
- "supportsDualStack"
24326
- ]
24327
- }
24328
- ]
24329
- }
24330
- ],
24331
- type: "tree",
24332
- rules: [
24333
- {
24334
- conditions: [],
24335
- endpoint: {
24336
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
24337
- properties: {},
24338
- headers: {}
24339
- },
24340
- type: "endpoint"
24341
- }
24342
- ]
24343
- },
24344
- {
24345
- conditions: [],
24346
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
24347
- type: "error"
24348
- }
24349
- ]
24350
- },
24351
- {
24352
- conditions: [
24353
- {
24354
- fn: "booleanEquals",
24355
- argv: [
24356
- {
24357
- ref: "UseFIPS"
24358
- },
24359
- true
24360
- ]
24361
- }
24362
- ],
24363
- type: "tree",
24364
- rules: [
24365
- {
24366
- conditions: [
24367
- {
24368
- fn: "booleanEquals",
24369
- argv: [
24370
- true,
24371
- {
24372
- fn: "getAttr",
24373
- argv: [
24374
- {
24375
- ref: "PartitionResult"
24376
- },
24377
- "supportsFIPS"
24378
- ]
24379
- }
24380
- ]
24381
- }
24382
- ],
24383
- type: "tree",
24384
- rules: [
24385
- {
24386
- conditions: [],
24387
- type: "tree",
24388
- rules: [
24389
- {
24390
- conditions: [],
24391
- endpoint: {
24392
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
24393
- properties: {},
24394
- headers: {}
24395
- },
24396
- type: "endpoint"
24397
- }
24398
- ]
24399
- }
24400
- ]
24401
- },
24402
- {
24403
- conditions: [],
24404
- error: "FIPS is enabled but this partition does not support FIPS",
24405
- type: "error"
24406
- }
24407
- ]
24408
- },
24409
- {
24410
- conditions: [
24411
- {
24412
- fn: "booleanEquals",
24413
- argv: [
24414
- {
24415
- ref: "UseDualStack"
24416
- },
24417
- true
24418
- ]
24419
- }
24420
- ],
24421
- type: "tree",
24422
- rules: [
24423
- {
24424
- conditions: [
24425
- {
24426
- fn: "booleanEquals",
24427
- argv: [
24428
- true,
24429
- {
24430
- fn: "getAttr",
24431
- argv: [
24432
- {
24433
- ref: "PartitionResult"
24434
- },
24435
- "supportsDualStack"
24436
- ]
24437
- }
24438
- ]
24439
- }
24440
- ],
24441
- type: "tree",
24442
- rules: [
24443
- {
24444
- conditions: [],
24445
- endpoint: {
24446
- url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
24447
- properties: {},
24448
- headers: {}
24449
- },
24450
- type: "endpoint"
24451
- }
24452
- ]
24453
- },
24454
- {
24455
- conditions: [],
24456
- error: "DualStack is enabled but this partition does not support DualStack",
24457
- type: "error"
24458
- }
24459
- ]
24460
- },
24461
- {
24462
- conditions: [],
24463
- endpoint: {
24464
- url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",
24465
- properties: {},
24466
- headers: {}
24467
- },
24468
- type: "endpoint"
24469
- }
24470
- ]
24471
- }
24472
- ]
24473
- };
24224
+ var p = "required";
24225
+ var q = "fn";
24226
+ var r = "argv";
24227
+ var s = "ref";
24228
+ var a = "PartitionResult";
24229
+ var b = "tree";
24230
+ var c = "error";
24231
+ var d = "endpoint";
24232
+ var e = { [p]: false, "type": "String" };
24233
+ var f = { [p]: true, "default": false, "type": "Boolean" };
24234
+ var g = { [s]: "Endpoint" };
24235
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
24236
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
24237
+ var j = {};
24238
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
24239
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
24240
+ var m = [g];
24241
+ var n = [h];
24242
+ var o = [i];
24243
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
24244
+ exports.ruleSet = _data;
24474
24245
  }
24475
24246
  });
24476
24247
 
@@ -25867,7 +25638,7 @@ var require_package4 = __commonJS({
25867
25638
  module2.exports = {
25868
25639
  name: "@aws-sdk/client-sso-oidc",
25869
25640
  description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
25870
- version: "3.231.0",
25641
+ version: "3.245.0",
25871
25642
  scripts: {
25872
25643
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
25873
25644
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -25876,7 +25647,8 @@ var require_package4 = __commonJS({
25876
25647
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
25877
25648
  "build:types": "tsc -p tsconfig.types.json",
25878
25649
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
25879
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
25650
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
25651
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso-oidc.json --keepFiles)"
25880
25652
  },
25881
25653
  main: "./dist-cjs/index.js",
25882
25654
  types: "./dist-types/index.d.ts",
@@ -25885,7 +25657,7 @@ var require_package4 = __commonJS({
25885
25657
  dependencies: {
25886
25658
  "@aws-crypto/sha256-browser": "2.0.0",
25887
25659
  "@aws-crypto/sha256-js": "2.0.0",
25888
- "@aws-sdk/config-resolver": "3.231.0",
25660
+ "@aws-sdk/config-resolver": "3.234.0",
25889
25661
  "@aws-sdk/fetch-http-handler": "3.226.0",
25890
25662
  "@aws-sdk/hash-node": "3.226.0",
25891
25663
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -25894,22 +25666,22 @@ var require_package4 = __commonJS({
25894
25666
  "@aws-sdk/middleware-host-header": "3.226.0",
25895
25667
  "@aws-sdk/middleware-logger": "3.226.0",
25896
25668
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
25897
- "@aws-sdk/middleware-retry": "3.229.0",
25669
+ "@aws-sdk/middleware-retry": "3.235.0",
25898
25670
  "@aws-sdk/middleware-serde": "3.226.0",
25899
25671
  "@aws-sdk/middleware-stack": "3.226.0",
25900
25672
  "@aws-sdk/middleware-user-agent": "3.226.0",
25901
25673
  "@aws-sdk/node-config-provider": "3.226.0",
25902
25674
  "@aws-sdk/node-http-handler": "3.226.0",
25903
25675
  "@aws-sdk/protocol-http": "3.226.0",
25904
- "@aws-sdk/smithy-client": "3.226.0",
25676
+ "@aws-sdk/smithy-client": "3.234.0",
25905
25677
  "@aws-sdk/types": "3.226.0",
25906
25678
  "@aws-sdk/url-parser": "3.226.0",
25907
25679
  "@aws-sdk/util-base64": "3.208.0",
25908
25680
  "@aws-sdk/util-body-length-browser": "3.188.0",
25909
25681
  "@aws-sdk/util-body-length-node": "3.208.0",
25910
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
25911
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
25912
- "@aws-sdk/util-endpoints": "3.226.0",
25682
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
25683
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
25684
+ "@aws-sdk/util-endpoints": "3.245.0",
25913
25685
  "@aws-sdk/util-retry": "3.229.0",
25914
25686
  "@aws-sdk/util-user-agent-browser": "3.226.0",
25915
25687
  "@aws-sdk/util-user-agent-node": "3.226.0",
@@ -25972,321 +25744,27 @@ var require_ruleset2 = __commonJS({
25972
25744
  "use strict";
25973
25745
  Object.defineProperty(exports, "__esModule", { value: true });
25974
25746
  exports.ruleSet = void 0;
25975
- exports.ruleSet = {
25976
- version: "1.0",
25977
- parameters: {
25978
- Region: {
25979
- builtIn: "AWS::Region",
25980
- required: false,
25981
- documentation: "The AWS region used to dispatch the request.",
25982
- type: "String"
25983
- },
25984
- UseDualStack: {
25985
- builtIn: "AWS::UseDualStack",
25986
- required: true,
25987
- default: false,
25988
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
25989
- type: "Boolean"
25990
- },
25991
- UseFIPS: {
25992
- builtIn: "AWS::UseFIPS",
25993
- required: true,
25994
- default: false,
25995
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
25996
- type: "Boolean"
25997
- },
25998
- Endpoint: {
25999
- builtIn: "SDK::Endpoint",
26000
- required: false,
26001
- documentation: "Override the endpoint used to send this request",
26002
- type: "String"
26003
- }
26004
- },
26005
- rules: [
26006
- {
26007
- conditions: [
26008
- {
26009
- fn: "aws.partition",
26010
- argv: [
26011
- {
26012
- ref: "Region"
26013
- }
26014
- ],
26015
- assign: "PartitionResult"
26016
- }
26017
- ],
26018
- type: "tree",
26019
- rules: [
26020
- {
26021
- conditions: [
26022
- {
26023
- fn: "isSet",
26024
- argv: [
26025
- {
26026
- ref: "Endpoint"
26027
- }
26028
- ]
26029
- },
26030
- {
26031
- fn: "parseURL",
26032
- argv: [
26033
- {
26034
- ref: "Endpoint"
26035
- }
26036
- ],
26037
- assign: "url"
26038
- }
26039
- ],
26040
- type: "tree",
26041
- rules: [
26042
- {
26043
- conditions: [
26044
- {
26045
- fn: "booleanEquals",
26046
- argv: [
26047
- {
26048
- ref: "UseFIPS"
26049
- },
26050
- true
26051
- ]
26052
- }
26053
- ],
26054
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
26055
- type: "error"
26056
- },
26057
- {
26058
- conditions: [],
26059
- type: "tree",
26060
- rules: [
26061
- {
26062
- conditions: [
26063
- {
26064
- fn: "booleanEquals",
26065
- argv: [
26066
- {
26067
- ref: "UseDualStack"
26068
- },
26069
- true
26070
- ]
26071
- }
26072
- ],
26073
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
26074
- type: "error"
26075
- },
26076
- {
26077
- conditions: [],
26078
- endpoint: {
26079
- url: {
26080
- ref: "Endpoint"
26081
- },
26082
- properties: {},
26083
- headers: {}
26084
- },
26085
- type: "endpoint"
26086
- }
26087
- ]
26088
- }
26089
- ]
26090
- },
26091
- {
26092
- conditions: [
26093
- {
26094
- fn: "booleanEquals",
26095
- argv: [
26096
- {
26097
- ref: "UseFIPS"
26098
- },
26099
- true
26100
- ]
26101
- },
26102
- {
26103
- fn: "booleanEquals",
26104
- argv: [
26105
- {
26106
- ref: "UseDualStack"
26107
- },
26108
- true
26109
- ]
26110
- }
26111
- ],
26112
- type: "tree",
26113
- rules: [
26114
- {
26115
- conditions: [
26116
- {
26117
- fn: "booleanEquals",
26118
- argv: [
26119
- true,
26120
- {
26121
- fn: "getAttr",
26122
- argv: [
26123
- {
26124
- ref: "PartitionResult"
26125
- },
26126
- "supportsFIPS"
26127
- ]
26128
- }
26129
- ]
26130
- },
26131
- {
26132
- fn: "booleanEquals",
26133
- argv: [
26134
- true,
26135
- {
26136
- fn: "getAttr",
26137
- argv: [
26138
- {
26139
- ref: "PartitionResult"
26140
- },
26141
- "supportsDualStack"
26142
- ]
26143
- }
26144
- ]
26145
- }
26146
- ],
26147
- type: "tree",
26148
- rules: [
26149
- {
26150
- conditions: [],
26151
- endpoint: {
26152
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
26153
- properties: {},
26154
- headers: {}
26155
- },
26156
- type: "endpoint"
26157
- }
26158
- ]
26159
- },
26160
- {
26161
- conditions: [],
26162
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
26163
- type: "error"
26164
- }
26165
- ]
26166
- },
26167
- {
26168
- conditions: [
26169
- {
26170
- fn: "booleanEquals",
26171
- argv: [
26172
- {
26173
- ref: "UseFIPS"
26174
- },
26175
- true
26176
- ]
26177
- }
26178
- ],
26179
- type: "tree",
26180
- rules: [
26181
- {
26182
- conditions: [
26183
- {
26184
- fn: "booleanEquals",
26185
- argv: [
26186
- true,
26187
- {
26188
- fn: "getAttr",
26189
- argv: [
26190
- {
26191
- ref: "PartitionResult"
26192
- },
26193
- "supportsFIPS"
26194
- ]
26195
- }
26196
- ]
26197
- }
26198
- ],
26199
- type: "tree",
26200
- rules: [
26201
- {
26202
- conditions: [],
26203
- type: "tree",
26204
- rules: [
26205
- {
26206
- conditions: [],
26207
- endpoint: {
26208
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
26209
- properties: {},
26210
- headers: {}
26211
- },
26212
- type: "endpoint"
26213
- }
26214
- ]
26215
- }
26216
- ]
26217
- },
26218
- {
26219
- conditions: [],
26220
- error: "FIPS is enabled but this partition does not support FIPS",
26221
- type: "error"
26222
- }
26223
- ]
26224
- },
26225
- {
26226
- conditions: [
26227
- {
26228
- fn: "booleanEquals",
26229
- argv: [
26230
- {
26231
- ref: "UseDualStack"
26232
- },
26233
- true
26234
- ]
26235
- }
26236
- ],
26237
- type: "tree",
26238
- rules: [
26239
- {
26240
- conditions: [
26241
- {
26242
- fn: "booleanEquals",
26243
- argv: [
26244
- true,
26245
- {
26246
- fn: "getAttr",
26247
- argv: [
26248
- {
26249
- ref: "PartitionResult"
26250
- },
26251
- "supportsDualStack"
26252
- ]
26253
- }
26254
- ]
26255
- }
26256
- ],
26257
- type: "tree",
26258
- rules: [
26259
- {
26260
- conditions: [],
26261
- endpoint: {
26262
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
26263
- properties: {},
26264
- headers: {}
26265
- },
26266
- type: "endpoint"
26267
- }
26268
- ]
26269
- },
26270
- {
26271
- conditions: [],
26272
- error: "DualStack is enabled but this partition does not support DualStack",
26273
- type: "error"
26274
- }
26275
- ]
26276
- },
26277
- {
26278
- conditions: [],
26279
- endpoint: {
26280
- url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
26281
- properties: {},
26282
- headers: {}
26283
- },
26284
- type: "endpoint"
26285
- }
26286
- ]
26287
- }
26288
- ]
26289
- };
25747
+ var p = "required";
25748
+ var q = "fn";
25749
+ var r = "argv";
25750
+ var s = "ref";
25751
+ var a = "PartitionResult";
25752
+ var b = "tree";
25753
+ var c = "error";
25754
+ var d = "endpoint";
25755
+ var e = { [p]: false, "type": "String" };
25756
+ var f = { [p]: true, "default": false, "type": "Boolean" };
25757
+ var g = { [s]: "Endpoint" };
25758
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
25759
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
25760
+ var j = {};
25761
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
25762
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
25763
+ var m = [g];
25764
+ var n = [h];
25765
+ var o = [i];
25766
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
25767
+ exports.ruleSet = _data;
26290
25768
  }
26291
25769
  });
26292
25770
 
@@ -27158,882 +26636,47 @@ var require_ruleset3 = __commonJS({
27158
26636
  "use strict";
27159
26637
  Object.defineProperty(exports, "__esModule", { value: true });
27160
26638
  exports.ruleSet = void 0;
27161
- exports.ruleSet = {
27162
- version: "1.0",
27163
- parameters: {
27164
- Region: {
27165
- builtIn: "AWS::Region",
27166
- required: false,
27167
- documentation: "The AWS region used to dispatch the request.",
27168
- type: "String"
27169
- },
27170
- UseDualStack: {
27171
- builtIn: "AWS::UseDualStack",
27172
- required: true,
27173
- default: false,
27174
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
27175
- type: "Boolean"
27176
- },
27177
- UseFIPS: {
27178
- builtIn: "AWS::UseFIPS",
27179
- required: true,
27180
- default: false,
27181
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
27182
- type: "Boolean"
27183
- },
27184
- Endpoint: {
27185
- builtIn: "SDK::Endpoint",
27186
- required: false,
27187
- documentation: "Override the endpoint used to send this request",
27188
- type: "String"
27189
- },
27190
- UseGlobalEndpoint: {
27191
- builtIn: "AWS::STS::UseGlobalEndpoint",
27192
- required: true,
27193
- default: false,
27194
- documentation: "Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.",
27195
- type: "Boolean"
27196
- }
27197
- },
27198
- rules: [
27199
- {
27200
- conditions: [
27201
- {
27202
- fn: "aws.partition",
27203
- argv: [
27204
- {
27205
- ref: "Region"
27206
- }
27207
- ],
27208
- assign: "PartitionResult"
27209
- }
27210
- ],
27211
- type: "tree",
27212
- rules: [
27213
- {
27214
- conditions: [
27215
- {
27216
- fn: "booleanEquals",
27217
- argv: [
27218
- {
27219
- ref: "UseGlobalEndpoint"
27220
- },
27221
- true
27222
- ]
27223
- },
27224
- {
27225
- fn: "booleanEquals",
27226
- argv: [
27227
- {
27228
- ref: "UseFIPS"
27229
- },
27230
- false
27231
- ]
27232
- },
27233
- {
27234
- fn: "booleanEquals",
27235
- argv: [
27236
- {
27237
- ref: "UseDualStack"
27238
- },
27239
- false
27240
- ]
27241
- },
27242
- {
27243
- fn: "not",
27244
- argv: [
27245
- {
27246
- fn: "isSet",
27247
- argv: [
27248
- {
27249
- ref: "Endpoint"
27250
- }
27251
- ]
27252
- }
27253
- ]
27254
- }
27255
- ],
27256
- type: "tree",
27257
- rules: [
27258
- {
27259
- conditions: [
27260
- {
27261
- fn: "stringEquals",
27262
- argv: [
27263
- {
27264
- ref: "Region"
27265
- },
27266
- "ap-northeast-1"
27267
- ]
27268
- }
27269
- ],
27270
- endpoint: {
27271
- url: "https://sts.amazonaws.com",
27272
- properties: {
27273
- authSchemes: [
27274
- {
27275
- name: "sigv4",
27276
- signingName: "sts",
27277
- signingRegion: "us-east-1"
27278
- }
27279
- ]
27280
- },
27281
- headers: {}
27282
- },
27283
- type: "endpoint"
27284
- },
27285
- {
27286
- conditions: [
27287
- {
27288
- fn: "stringEquals",
27289
- argv: [
27290
- {
27291
- ref: "Region"
27292
- },
27293
- "ap-south-1"
27294
- ]
27295
- }
27296
- ],
27297
- endpoint: {
27298
- url: "https://sts.amazonaws.com",
27299
- properties: {
27300
- authSchemes: [
27301
- {
27302
- name: "sigv4",
27303
- signingName: "sts",
27304
- signingRegion: "us-east-1"
27305
- }
27306
- ]
27307
- },
27308
- headers: {}
27309
- },
27310
- type: "endpoint"
27311
- },
27312
- {
27313
- conditions: [
27314
- {
27315
- fn: "stringEquals",
27316
- argv: [
27317
- {
27318
- ref: "Region"
27319
- },
27320
- "ap-southeast-1"
27321
- ]
27322
- }
27323
- ],
27324
- endpoint: {
27325
- url: "https://sts.amazonaws.com",
27326
- properties: {
27327
- authSchemes: [
27328
- {
27329
- name: "sigv4",
27330
- signingName: "sts",
27331
- signingRegion: "us-east-1"
27332
- }
27333
- ]
27334
- },
27335
- headers: {}
27336
- },
27337
- type: "endpoint"
27338
- },
27339
- {
27340
- conditions: [
27341
- {
27342
- fn: "stringEquals",
27343
- argv: [
27344
- {
27345
- ref: "Region"
27346
- },
27347
- "ap-southeast-2"
27348
- ]
27349
- }
27350
- ],
27351
- endpoint: {
27352
- url: "https://sts.amazonaws.com",
27353
- properties: {
27354
- authSchemes: [
27355
- {
27356
- name: "sigv4",
27357
- signingName: "sts",
27358
- signingRegion: "us-east-1"
27359
- }
27360
- ]
27361
- },
27362
- headers: {}
27363
- },
27364
- type: "endpoint"
27365
- },
27366
- {
27367
- conditions: [
27368
- {
27369
- fn: "stringEquals",
27370
- argv: [
27371
- {
27372
- ref: "Region"
27373
- },
27374
- "aws-global"
27375
- ]
27376
- }
27377
- ],
27378
- endpoint: {
27379
- url: "https://sts.amazonaws.com",
27380
- properties: {
27381
- authSchemes: [
27382
- {
27383
- name: "sigv4",
27384
- signingName: "sts",
27385
- signingRegion: "us-east-1"
27386
- }
27387
- ]
27388
- },
27389
- headers: {}
27390
- },
27391
- type: "endpoint"
27392
- },
27393
- {
27394
- conditions: [
27395
- {
27396
- fn: "stringEquals",
27397
- argv: [
27398
- {
27399
- ref: "Region"
27400
- },
27401
- "ca-central-1"
27402
- ]
27403
- }
27404
- ],
27405
- endpoint: {
27406
- url: "https://sts.amazonaws.com",
27407
- properties: {
27408
- authSchemes: [
27409
- {
27410
- name: "sigv4",
27411
- signingName: "sts",
27412
- signingRegion: "us-east-1"
27413
- }
27414
- ]
27415
- },
27416
- headers: {}
27417
- },
27418
- type: "endpoint"
27419
- },
27420
- {
27421
- conditions: [
27422
- {
27423
- fn: "stringEquals",
27424
- argv: [
27425
- {
27426
- ref: "Region"
27427
- },
27428
- "eu-central-1"
27429
- ]
27430
- }
27431
- ],
27432
- endpoint: {
27433
- url: "https://sts.amazonaws.com",
27434
- properties: {
27435
- authSchemes: [
27436
- {
27437
- name: "sigv4",
27438
- signingName: "sts",
27439
- signingRegion: "us-east-1"
27440
- }
27441
- ]
27442
- },
27443
- headers: {}
27444
- },
27445
- type: "endpoint"
27446
- },
27447
- {
27448
- conditions: [
27449
- {
27450
- fn: "stringEquals",
27451
- argv: [
27452
- {
27453
- ref: "Region"
27454
- },
27455
- "eu-north-1"
27456
- ]
27457
- }
27458
- ],
27459
- endpoint: {
27460
- url: "https://sts.amazonaws.com",
27461
- properties: {
27462
- authSchemes: [
27463
- {
27464
- name: "sigv4",
27465
- signingName: "sts",
27466
- signingRegion: "us-east-1"
27467
- }
27468
- ]
27469
- },
27470
- headers: {}
27471
- },
27472
- type: "endpoint"
27473
- },
27474
- {
27475
- conditions: [
27476
- {
27477
- fn: "stringEquals",
27478
- argv: [
27479
- {
27480
- ref: "Region"
27481
- },
27482
- "eu-west-1"
27483
- ]
27484
- }
27485
- ],
27486
- endpoint: {
27487
- url: "https://sts.amazonaws.com",
27488
- properties: {
27489
- authSchemes: [
27490
- {
27491
- name: "sigv4",
27492
- signingName: "sts",
27493
- signingRegion: "us-east-1"
27494
- }
27495
- ]
27496
- },
27497
- headers: {}
27498
- },
27499
- type: "endpoint"
27500
- },
27501
- {
27502
- conditions: [
27503
- {
27504
- fn: "stringEquals",
27505
- argv: [
27506
- {
27507
- ref: "Region"
27508
- },
27509
- "eu-west-2"
27510
- ]
27511
- }
27512
- ],
27513
- endpoint: {
27514
- url: "https://sts.amazonaws.com",
27515
- properties: {
27516
- authSchemes: [
27517
- {
27518
- name: "sigv4",
27519
- signingName: "sts",
27520
- signingRegion: "us-east-1"
27521
- }
27522
- ]
27523
- },
27524
- headers: {}
27525
- },
27526
- type: "endpoint"
27527
- },
27528
- {
27529
- conditions: [
27530
- {
27531
- fn: "stringEquals",
27532
- argv: [
27533
- {
27534
- ref: "Region"
27535
- },
27536
- "eu-west-3"
27537
- ]
27538
- }
27539
- ],
27540
- endpoint: {
27541
- url: "https://sts.amazonaws.com",
27542
- properties: {
27543
- authSchemes: [
27544
- {
27545
- name: "sigv4",
27546
- signingName: "sts",
27547
- signingRegion: "us-east-1"
27548
- }
27549
- ]
27550
- },
27551
- headers: {}
27552
- },
27553
- type: "endpoint"
27554
- },
27555
- {
27556
- conditions: [
27557
- {
27558
- fn: "stringEquals",
27559
- argv: [
27560
- {
27561
- ref: "Region"
27562
- },
27563
- "sa-east-1"
27564
- ]
27565
- }
27566
- ],
27567
- endpoint: {
27568
- url: "https://sts.amazonaws.com",
27569
- properties: {
27570
- authSchemes: [
27571
- {
27572
- name: "sigv4",
27573
- signingName: "sts",
27574
- signingRegion: "us-east-1"
27575
- }
27576
- ]
27577
- },
27578
- headers: {}
27579
- },
27580
- type: "endpoint"
27581
- },
27582
- {
27583
- conditions: [
27584
- {
27585
- fn: "stringEquals",
27586
- argv: [
27587
- {
27588
- ref: "Region"
27589
- },
27590
- "us-east-1"
27591
- ]
27592
- }
27593
- ],
27594
- endpoint: {
27595
- url: "https://sts.amazonaws.com",
27596
- properties: {
27597
- authSchemes: [
27598
- {
27599
- name: "sigv4",
27600
- signingName: "sts",
27601
- signingRegion: "us-east-1"
27602
- }
27603
- ]
27604
- },
27605
- headers: {}
27606
- },
27607
- type: "endpoint"
27608
- },
27609
- {
27610
- conditions: [
27611
- {
27612
- fn: "stringEquals",
27613
- argv: [
27614
- {
27615
- ref: "Region"
27616
- },
27617
- "us-east-2"
27618
- ]
27619
- }
27620
- ],
27621
- endpoint: {
27622
- url: "https://sts.amazonaws.com",
27623
- properties: {
27624
- authSchemes: [
27625
- {
27626
- name: "sigv4",
27627
- signingName: "sts",
27628
- signingRegion: "us-east-1"
27629
- }
27630
- ]
27631
- },
27632
- headers: {}
27633
- },
27634
- type: "endpoint"
27635
- },
27636
- {
27637
- conditions: [
27638
- {
27639
- fn: "stringEquals",
27640
- argv: [
27641
- {
27642
- ref: "Region"
27643
- },
27644
- "us-west-1"
27645
- ]
27646
- }
27647
- ],
27648
- endpoint: {
27649
- url: "https://sts.amazonaws.com",
27650
- properties: {
27651
- authSchemes: [
27652
- {
27653
- name: "sigv4",
27654
- signingName: "sts",
27655
- signingRegion: "us-east-1"
27656
- }
27657
- ]
27658
- },
27659
- headers: {}
27660
- },
27661
- type: "endpoint"
27662
- },
27663
- {
27664
- conditions: [
27665
- {
27666
- fn: "stringEquals",
27667
- argv: [
27668
- {
27669
- ref: "Region"
27670
- },
27671
- "us-west-2"
27672
- ]
27673
- }
27674
- ],
27675
- endpoint: {
27676
- url: "https://sts.amazonaws.com",
27677
- properties: {
27678
- authSchemes: [
27679
- {
27680
- name: "sigv4",
27681
- signingName: "sts",
27682
- signingRegion: "us-east-1"
27683
- }
27684
- ]
27685
- },
27686
- headers: {}
27687
- },
27688
- type: "endpoint"
27689
- },
27690
- {
27691
- conditions: [],
27692
- endpoint: {
27693
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27694
- properties: {
27695
- authSchemes: [
27696
- {
27697
- name: "sigv4",
27698
- signingName: "sts",
27699
- signingRegion: "{Region}"
27700
- }
27701
- ]
27702
- },
27703
- headers: {}
27704
- },
27705
- type: "endpoint"
27706
- }
27707
- ]
27708
- },
27709
- {
27710
- conditions: [
27711
- {
27712
- fn: "isSet",
27713
- argv: [
27714
- {
27715
- ref: "Endpoint"
27716
- }
27717
- ]
27718
- },
27719
- {
27720
- fn: "parseURL",
27721
- argv: [
27722
- {
27723
- ref: "Endpoint"
27724
- }
27725
- ],
27726
- assign: "url"
27727
- }
27728
- ],
27729
- type: "tree",
27730
- rules: [
27731
- {
27732
- conditions: [
27733
- {
27734
- fn: "booleanEquals",
27735
- argv: [
27736
- {
27737
- ref: "UseFIPS"
27738
- },
27739
- true
27740
- ]
27741
- }
27742
- ],
27743
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
27744
- type: "error"
27745
- },
27746
- {
27747
- conditions: [],
27748
- type: "tree",
27749
- rules: [
27750
- {
27751
- conditions: [
27752
- {
27753
- fn: "booleanEquals",
27754
- argv: [
27755
- {
27756
- ref: "UseDualStack"
27757
- },
27758
- true
27759
- ]
27760
- }
27761
- ],
27762
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
27763
- type: "error"
27764
- },
27765
- {
27766
- conditions: [],
27767
- endpoint: {
27768
- url: {
27769
- ref: "Endpoint"
27770
- },
27771
- properties: {},
27772
- headers: {}
27773
- },
27774
- type: "endpoint"
27775
- }
27776
- ]
27777
- }
27778
- ]
27779
- },
27780
- {
27781
- conditions: [
27782
- {
27783
- fn: "booleanEquals",
27784
- argv: [
27785
- {
27786
- ref: "UseFIPS"
27787
- },
27788
- true
27789
- ]
27790
- },
27791
- {
27792
- fn: "booleanEquals",
27793
- argv: [
27794
- {
27795
- ref: "UseDualStack"
27796
- },
27797
- true
27798
- ]
27799
- }
27800
- ],
27801
- type: "tree",
27802
- rules: [
27803
- {
27804
- conditions: [
27805
- {
27806
- fn: "booleanEquals",
27807
- argv: [
27808
- true,
27809
- {
27810
- fn: "getAttr",
27811
- argv: [
27812
- {
27813
- ref: "PartitionResult"
27814
- },
27815
- "supportsFIPS"
27816
- ]
27817
- }
27818
- ]
27819
- },
27820
- {
27821
- fn: "booleanEquals",
27822
- argv: [
27823
- true,
27824
- {
27825
- fn: "getAttr",
27826
- argv: [
27827
- {
27828
- ref: "PartitionResult"
27829
- },
27830
- "supportsDualStack"
27831
- ]
27832
- }
27833
- ]
27834
- }
27835
- ],
27836
- type: "tree",
27837
- rules: [
27838
- {
27839
- conditions: [],
27840
- endpoint: {
27841
- url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
27842
- properties: {},
27843
- headers: {}
27844
- },
27845
- type: "endpoint"
27846
- }
27847
- ]
27848
- },
27849
- {
27850
- conditions: [],
27851
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
27852
- type: "error"
27853
- }
27854
- ]
27855
- },
27856
- {
27857
- conditions: [
27858
- {
27859
- fn: "booleanEquals",
27860
- argv: [
27861
- {
27862
- ref: "UseFIPS"
27863
- },
27864
- true
27865
- ]
27866
- }
27867
- ],
27868
- type: "tree",
27869
- rules: [
27870
- {
27871
- conditions: [
27872
- {
27873
- fn: "booleanEquals",
27874
- argv: [
27875
- true,
27876
- {
27877
- fn: "getAttr",
27878
- argv: [
27879
- {
27880
- ref: "PartitionResult"
27881
- },
27882
- "supportsFIPS"
27883
- ]
27884
- }
27885
- ]
27886
- }
27887
- ],
27888
- type: "tree",
27889
- rules: [
27890
- {
27891
- conditions: [],
27892
- type: "tree",
27893
- rules: [
27894
- {
27895
- conditions: [
27896
- {
27897
- fn: "stringEquals",
27898
- argv: [
27899
- "aws-us-gov",
27900
- {
27901
- fn: "getAttr",
27902
- argv: [
27903
- {
27904
- ref: "PartitionResult"
27905
- },
27906
- "name"
27907
- ]
27908
- }
27909
- ]
27910
- }
27911
- ],
27912
- endpoint: {
27913
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27914
- properties: {},
27915
- headers: {}
27916
- },
27917
- type: "endpoint"
27918
- },
27919
- {
27920
- conditions: [],
27921
- endpoint: {
27922
- url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
27923
- properties: {},
27924
- headers: {}
27925
- },
27926
- type: "endpoint"
27927
- }
27928
- ]
27929
- }
27930
- ]
27931
- },
27932
- {
27933
- conditions: [],
27934
- error: "FIPS is enabled but this partition does not support FIPS",
27935
- type: "error"
27936
- }
27937
- ]
27938
- },
27939
- {
27940
- conditions: [
27941
- {
27942
- fn: "booleanEquals",
27943
- argv: [
27944
- {
27945
- ref: "UseDualStack"
27946
- },
27947
- true
27948
- ]
27949
- }
27950
- ],
27951
- type: "tree",
27952
- rules: [
27953
- {
27954
- conditions: [
27955
- {
27956
- fn: "booleanEquals",
27957
- argv: [
27958
- true,
27959
- {
27960
- fn: "getAttr",
27961
- argv: [
27962
- {
27963
- ref: "PartitionResult"
27964
- },
27965
- "supportsDualStack"
27966
- ]
27967
- }
27968
- ]
27969
- }
27970
- ],
27971
- type: "tree",
27972
- rules: [
27973
- {
27974
- conditions: [],
27975
- endpoint: {
27976
- url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
27977
- properties: {},
27978
- headers: {}
27979
- },
27980
- type: "endpoint"
27981
- }
27982
- ]
27983
- },
27984
- {
27985
- conditions: [],
27986
- error: "DualStack is enabled but this partition does not support DualStack",
27987
- type: "error"
27988
- }
27989
- ]
27990
- },
27991
- {
27992
- conditions: [],
27993
- type: "tree",
27994
- rules: [
27995
- {
27996
- conditions: [
27997
- {
27998
- fn: "stringEquals",
27999
- argv: [
28000
- {
28001
- ref: "Region"
28002
- },
28003
- "aws-global"
28004
- ]
28005
- }
28006
- ],
28007
- endpoint: {
28008
- url: "https://sts.amazonaws.com",
28009
- properties: {
28010
- authSchemes: [
28011
- {
28012
- name: "sigv4",
28013
- signingRegion: "us-east-1",
28014
- signingName: "sts"
28015
- }
28016
- ]
28017
- },
28018
- headers: {}
28019
- },
28020
- type: "endpoint"
28021
- },
28022
- {
28023
- conditions: [],
28024
- endpoint: {
28025
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
28026
- properties: {},
28027
- headers: {}
28028
- },
28029
- type: "endpoint"
28030
- }
28031
- ]
28032
- }
28033
- ]
28034
- }
28035
- ]
28036
- };
26639
+ var H = "required";
26640
+ var I = "fn";
26641
+ var J = "argv";
26642
+ var K = "ref";
26643
+ var L = "properties";
26644
+ var M = "headers";
26645
+ var a = false;
26646
+ var b = true;
26647
+ var c = "PartitionResult";
26648
+ var d = "tree";
26649
+ var e = "booleanEquals";
26650
+ var f = "stringEquals";
26651
+ var g = "https://sts.amazonaws.com";
26652
+ var h = "sigv4";
26653
+ var i = "sts";
26654
+ var j = "us-east-1";
26655
+ var k = "endpoint";
26656
+ var l = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
26657
+ var m = "error";
26658
+ var n = "getAttr";
26659
+ var o = { [H]: false, "type": "String" };
26660
+ var p = { [H]: true, "default": false, "type": "Boolean" };
26661
+ var q = { [K]: "Region" };
26662
+ var r = { [K]: "UseFIPS" };
26663
+ var s = { [K]: "UseDualStack" };
26664
+ var t = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] };
26665
+ var u = { [K]: "Endpoint" };
26666
+ var v = { "url": g, [L]: { "authSchemes": [{ "name": h, "signingName": i, "signingRegion": j }] }, [M]: {} };
26667
+ var w = {};
26668
+ var x = { [I]: e, [J]: [r, true] };
26669
+ var y = { [I]: e, [J]: [s, true] };
26670
+ var z = { [I]: e, [J]: [true, { [I]: n, [J]: [{ [K]: c }, "supportsFIPS"] }] };
26671
+ var A = { [K]: c };
26672
+ var B = { [I]: e, [J]: [true, { [I]: n, [J]: [A, "supportsDualStack"] }] };
26673
+ var C = { "url": l, [L]: {}, [M]: {} };
26674
+ var D = [u];
26675
+ var E = [{ [I]: f, [J]: [q, "aws-global"] }];
26676
+ var F = [x];
26677
+ var G = [y];
26678
+ var _data = { version: "1.0", parameters: { Region: o, UseDualStack: p, UseFIPS: p, Endpoint: o, UseGlobalEndpoint: p }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [q], assign: c }], type: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [r, a] }, { [I]: e, [J]: [s, a] }, { [I]: "not", [J]: [t] }], type: d, rules: [{ conditions: [{ [I]: f, [J]: [q, "ap-northeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-south-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-2"] }], endpoint: v, type: k }, { conditions: E, endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ca-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-north-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-3"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "sa-east-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, j] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-east-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-2"] }], endpoint: v, type: k }, { endpoint: { url: l, [L]: { authSchemes: [{ name: h, signingName: i, signingRegion: "{Region}" }] }, [M]: w }, type: k }] }, { conditions: [t, { [I]: "parseURL", [J]: D, assign: "url" }], type: d, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: m }, { type: d, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: m }, { endpoint: { url: u, [L]: w, [M]: w }, type: k }] }] }, { conditions: [x, y], type: d, rules: [{ conditions: [z, B], type: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: m }] }, { conditions: F, type: d, rules: [{ conditions: [z], type: d, rules: [{ type: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: n, [J]: [A, "name"] }] }], endpoint: C, type: k }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: w, [M]: w }, type: k }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: m }] }, { conditions: G, type: d, rules: [{ conditions: [B], type: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: m }] }, { type: d, rules: [{ conditions: E, endpoint: { url: g, [L]: { authSchemes: [{ name: h, signingRegion: j, signingName: i }] }, [M]: w }, type: k }, { endpoint: C, type: k }] }] }] };
26679
+ exports.ruleSet = _data;
28037
26680
  }
28038
26681
  });
28039
26682
 
@@ -28382,321 +27025,27 @@ var require_ruleset4 = __commonJS({
28382
27025
  "use strict";
28383
27026
  Object.defineProperty(exports, "__esModule", { value: true });
28384
27027
  exports.ruleSet = void 0;
28385
- exports.ruleSet = {
28386
- version: "1.0",
28387
- parameters: {
28388
- Region: {
28389
- builtIn: "AWS::Region",
28390
- required: true,
28391
- documentation: "The AWS region used to dispatch the request.",
28392
- type: "String"
28393
- },
28394
- UseDualStack: {
28395
- builtIn: "AWS::UseDualStack",
28396
- required: true,
28397
- default: false,
28398
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
28399
- type: "Boolean"
28400
- },
28401
- UseFIPS: {
28402
- builtIn: "AWS::UseFIPS",
28403
- required: true,
28404
- default: false,
28405
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
28406
- type: "Boolean"
28407
- },
28408
- Endpoint: {
28409
- builtIn: "SDK::Endpoint",
28410
- required: false,
28411
- documentation: "Override the endpoint used to send this request",
28412
- type: "String"
28413
- }
28414
- },
28415
- rules: [
28416
- {
28417
- conditions: [
28418
- {
28419
- fn: "aws.partition",
28420
- argv: [
28421
- {
28422
- ref: "Region"
28423
- }
28424
- ],
28425
- assign: "PartitionResult"
28426
- }
28427
- ],
28428
- type: "tree",
28429
- rules: [
28430
- {
28431
- conditions: [
28432
- {
28433
- fn: "isSet",
28434
- argv: [
28435
- {
28436
- ref: "Endpoint"
28437
- }
28438
- ]
28439
- },
28440
- {
28441
- fn: "parseURL",
28442
- argv: [
28443
- {
28444
- ref: "Endpoint"
28445
- }
28446
- ],
28447
- assign: "url"
28448
- }
28449
- ],
28450
- type: "tree",
28451
- rules: [
28452
- {
28453
- conditions: [
28454
- {
28455
- fn: "booleanEquals",
28456
- argv: [
28457
- {
28458
- ref: "UseFIPS"
28459
- },
28460
- true
28461
- ]
28462
- }
28463
- ],
28464
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
28465
- type: "error"
28466
- },
28467
- {
28468
- conditions: [],
28469
- type: "tree",
28470
- rules: [
28471
- {
28472
- conditions: [
28473
- {
28474
- fn: "booleanEquals",
28475
- argv: [
28476
- {
28477
- ref: "UseDualStack"
28478
- },
28479
- true
28480
- ]
28481
- }
28482
- ],
28483
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
28484
- type: "error"
28485
- },
28486
- {
28487
- conditions: [],
28488
- endpoint: {
28489
- url: {
28490
- ref: "Endpoint"
28491
- },
28492
- properties: {},
28493
- headers: {}
28494
- },
28495
- type: "endpoint"
28496
- }
28497
- ]
28498
- }
28499
- ]
28500
- },
28501
- {
28502
- conditions: [
28503
- {
28504
- fn: "booleanEquals",
28505
- argv: [
28506
- {
28507
- ref: "UseFIPS"
28508
- },
28509
- true
28510
- ]
28511
- },
28512
- {
28513
- fn: "booleanEquals",
28514
- argv: [
28515
- {
28516
- ref: "UseDualStack"
28517
- },
28518
- true
28519
- ]
28520
- }
28521
- ],
28522
- type: "tree",
28523
- rules: [
28524
- {
28525
- conditions: [
28526
- {
28527
- fn: "booleanEquals",
28528
- argv: [
28529
- true,
28530
- {
28531
- fn: "getAttr",
28532
- argv: [
28533
- {
28534
- ref: "PartitionResult"
28535
- },
28536
- "supportsFIPS"
28537
- ]
28538
- }
28539
- ]
28540
- },
28541
- {
28542
- fn: "booleanEquals",
28543
- argv: [
28544
- true,
28545
- {
28546
- fn: "getAttr",
28547
- argv: [
28548
- {
28549
- ref: "PartitionResult"
28550
- },
28551
- "supportsDualStack"
28552
- ]
28553
- }
28554
- ]
28555
- }
28556
- ],
28557
- type: "tree",
28558
- rules: [
28559
- {
28560
- conditions: [],
28561
- endpoint: {
28562
- url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
28563
- properties: {},
28564
- headers: {}
28565
- },
28566
- type: "endpoint"
28567
- }
28568
- ]
28569
- },
28570
- {
28571
- conditions: [],
28572
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
28573
- type: "error"
28574
- }
28575
- ]
28576
- },
28577
- {
28578
- conditions: [
28579
- {
28580
- fn: "booleanEquals",
28581
- argv: [
28582
- {
28583
- ref: "UseFIPS"
28584
- },
28585
- true
28586
- ]
28587
- }
28588
- ],
28589
- type: "tree",
28590
- rules: [
28591
- {
28592
- conditions: [
28593
- {
28594
- fn: "booleanEquals",
28595
- argv: [
28596
- true,
28597
- {
28598
- fn: "getAttr",
28599
- argv: [
28600
- {
28601
- ref: "PartitionResult"
28602
- },
28603
- "supportsFIPS"
28604
- ]
28605
- }
28606
- ]
28607
- }
28608
- ],
28609
- type: "tree",
28610
- rules: [
28611
- {
28612
- conditions: [],
28613
- type: "tree",
28614
- rules: [
28615
- {
28616
- conditions: [],
28617
- endpoint: {
28618
- url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",
28619
- properties: {},
28620
- headers: {}
28621
- },
28622
- type: "endpoint"
28623
- }
28624
- ]
28625
- }
28626
- ]
28627
- },
28628
- {
28629
- conditions: [],
28630
- error: "FIPS is enabled but this partition does not support FIPS",
28631
- type: "error"
28632
- }
28633
- ]
28634
- },
28635
- {
28636
- conditions: [
28637
- {
28638
- fn: "booleanEquals",
28639
- argv: [
28640
- {
28641
- ref: "UseDualStack"
28642
- },
28643
- true
28644
- ]
28645
- }
28646
- ],
28647
- type: "tree",
28648
- rules: [
28649
- {
28650
- conditions: [
28651
- {
28652
- fn: "booleanEquals",
28653
- argv: [
28654
- true,
28655
- {
28656
- fn: "getAttr",
28657
- argv: [
28658
- {
28659
- ref: "PartitionResult"
28660
- },
28661
- "supportsDualStack"
28662
- ]
28663
- }
28664
- ]
28665
- }
28666
- ],
28667
- type: "tree",
28668
- rules: [
28669
- {
28670
- conditions: [],
28671
- endpoint: {
28672
- url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",
28673
- properties: {},
28674
- headers: {}
28675
- },
28676
- type: "endpoint"
28677
- }
28678
- ]
28679
- },
28680
- {
28681
- conditions: [],
28682
- error: "DualStack is enabled but this partition does not support DualStack",
28683
- type: "error"
28684
- }
28685
- ]
28686
- },
28687
- {
28688
- conditions: [],
28689
- endpoint: {
28690
- url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}",
28691
- properties: {},
28692
- headers: {}
28693
- },
28694
- type: "endpoint"
28695
- }
28696
- ]
28697
- }
28698
- ]
28699
- };
27028
+ var q = "fn";
27029
+ var r = "argv";
27030
+ var s = "ref";
27031
+ var a = true;
27032
+ var b = false;
27033
+ var c = "String";
27034
+ var d = "PartitionResult";
27035
+ var e = "tree";
27036
+ var f = "error";
27037
+ var g = "endpoint";
27038
+ var h = { "required": true, "default": false, "type": "Boolean" };
27039
+ var i = { [s]: "Endpoint" };
27040
+ var j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
27041
+ var k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
27042
+ var l = {};
27043
+ var m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] };
27044
+ var n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] };
27045
+ var o = [j];
27046
+ var p = [k];
27047
+ var _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
27048
+ exports.ruleSet = _data;
28700
27049
  }
28701
27050
  });
28702
27051