@cdk8s/awscdk-resolver 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +4 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +5 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +4 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +12 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +2 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +2 -39
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +2 -7
- package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -37
- package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -15
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -7
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -19
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -12
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -29
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -15
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -7
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -19
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -10
- package/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -25
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -1
- package/node_modules/@smithy/util-endpoints/LICENSE +201 -0
- package/node_modules/@smithy/util-endpoints/README.md +10 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +25 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +8 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/index.js +0 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +6 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/parseURL.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +42 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +10 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +10 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +15 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +4 -0
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +15 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/index.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js +21 -0
- package/node_modules/@smithy/util-endpoints/dist-es/index.js +5 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js +2 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/parseURL.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +37 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js +6 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/index.js +7 -0
- package/node_modules/@smithy/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +11 -0
- package/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js +1 -0
- package/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js +12 -0
- package/node_modules/@smithy/util-endpoints/dist-es/utils/index.js +2 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/toDebugString.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +5 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/index.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts +4 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +6 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +1 -1
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/index.d.ts +2 -2
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +9 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +7 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +4 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/lib/index.d.ts +9 -11
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +7 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +7 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +7 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +25 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +11 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +8 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +8 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts +7 -0
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +25 -0
- package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +11 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +3 -0
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -1
- package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts +2 -0
- package/node_modules/@smithy/util-endpoints/package.json +67 -0
- package/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/callFunction.js +0 -11
- package/node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -11
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -4
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -13
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -13
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/utils/evaluateRules.d.ts +0 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-types/utils/index.d.ts +0 -1
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/debugId.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/index.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/debug/toDebugString.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/getAttr.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/isSet.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/not.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/stringEquals.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/substring.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/lib/uriEncode.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/debugId.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/index.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/debug/toDebugString.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/booleanEquals.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/getAttr.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/getAttrPathList.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/isSet.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/isValidHostLabel.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/not.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/stringEquals.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/substring.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/lib/uriEncode.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateCondition.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateConditions.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateEndpointRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateErrorRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateExpression.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateRules.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateTemplate.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/evaluateTreeRule.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointHeaders.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointProperties.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointProperty.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getEndpointUrl.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-es/utils/getReferenceValue.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/debugId.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/booleanEquals.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/getAttr.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/getAttrPathList.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/isSet.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/isValidHostLabel.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/not.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/stringEquals.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/substring.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/lib/uriEncode.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/callFunction.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateCondition.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateConditions.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateExpression.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/utils/getReferenceValue.d.ts +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./EndpointError"), exports);
|
5
|
+
tslib_1.__exportStar(require("./EndpointFunctions"), exports);
|
6
|
+
tslib_1.__exportStar(require("./EndpointRuleObject"), exports);
|
7
|
+
tslib_1.__exportStar(require("./ErrorRuleObject"), exports);
|
8
|
+
tslib_1.__exportStar(require("./RuleSetObject"), exports);
|
9
|
+
tslib_1.__exportStar(require("./TreeRuleObject"), exports);
|
10
|
+
tslib_1.__exportStar(require("./shared"), exports);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.callFunction = void 0;
|
4
|
+
const customEndpointFunctions_1 = require("./customEndpointFunctions");
|
5
|
+
const endpointFunctions_1 = require("./endpointFunctions");
|
6
|
+
const evaluateExpression_1 = require("./evaluateExpression");
|
7
|
+
const callFunction = ({ fn, argv }, options) => {
|
8
|
+
const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : (0, evaluateExpression_1.evaluateExpression)(arg, "arg", options));
|
9
|
+
const fnSegments = fn.split(".");
|
10
|
+
if (fnSegments[0] in customEndpointFunctions_1.customEndpointFunctions && fnSegments[1] != null) {
|
11
|
+
return customEndpointFunctions_1.customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
|
12
|
+
}
|
13
|
+
return endpointFunctions_1.endpointFunctions[fn](...evaluatedArgs);
|
14
|
+
};
|
15
|
+
exports.callFunction = callFunction;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.endpointFunctions = void 0;
|
4
|
+
const lib_1 = require("../lib");
|
5
|
+
exports.endpointFunctions = {
|
6
|
+
booleanEquals: lib_1.booleanEquals,
|
7
|
+
getAttr: lib_1.getAttr,
|
8
|
+
isSet: lib_1.isSet,
|
9
|
+
isValidHostLabel: lib_1.isValidHostLabel,
|
10
|
+
not: lib_1.not,
|
11
|
+
parseURL: lib_1.parseURL,
|
12
|
+
stringEquals: lib_1.stringEquals,
|
13
|
+
substring: lib_1.substring,
|
14
|
+
uriEncode: lib_1.uriEncode,
|
15
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
2
|
+
const CONFIG_ENDPOINT_URL = "endpoint_url";
|
3
|
+
export const getEndpointUrlConfig = (serviceId) => ({
|
4
|
+
environmentVariableSelector: (env) => {
|
5
|
+
const serviceEndpointUrlSections = [ENV_ENDPOINT_URL, ...serviceId.split(" ").map((w) => w.toUpperCase())];
|
6
|
+
const serviceEndpointUrl = env[serviceEndpointUrlSections.join("_")];
|
7
|
+
if (serviceEndpointUrl)
|
8
|
+
return serviceEndpointUrl;
|
9
|
+
const endpointUrl = env[ENV_ENDPOINT_URL];
|
10
|
+
if (endpointUrl)
|
11
|
+
return endpointUrl;
|
12
|
+
return undefined;
|
13
|
+
},
|
14
|
+
configFileSelector: (profile) => {
|
15
|
+
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
16
|
+
if (endpointUrl)
|
17
|
+
return endpointUrl;
|
18
|
+
return undefined;
|
19
|
+
},
|
20
|
+
default: undefined,
|
21
|
+
});
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { debugId, toDebugString } from "./debug";
|
2
|
+
import { EndpointError } from "./types";
|
3
|
+
import { evaluateRules } from "./utils";
|
4
|
+
export const resolveEndpoint = (ruleSetObject, options) => {
|
5
|
+
const { endpointParams, logger } = options;
|
6
|
+
const { parameters, rules } = ruleSetObject;
|
7
|
+
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
8
|
+
const paramsWithDefault = Object.entries(parameters)
|
9
|
+
.filter(([, v]) => v.default != null)
|
10
|
+
.map(([k, v]) => [k, v.default]);
|
11
|
+
if (paramsWithDefault.length > 0) {
|
12
|
+
for (const [paramKey, paramDefaultValue] of paramsWithDefault) {
|
13
|
+
endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
const requiredParams = Object.entries(parameters)
|
17
|
+
.filter(([, v]) => v.required)
|
18
|
+
.map(([k]) => k);
|
19
|
+
for (const requiredParam of requiredParams) {
|
20
|
+
if (endpointParams[requiredParam] == null) {
|
21
|
+
throw new EndpointError(`Missing required parameter: '${requiredParam}'`);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} });
|
25
|
+
if (options.endpointParams?.Endpoint) {
|
26
|
+
try {
|
27
|
+
const givenEndpoint = new URL(options.endpointParams.Endpoint);
|
28
|
+
const { protocol, port } = givenEndpoint;
|
29
|
+
endpoint.url.protocol = protocol;
|
30
|
+
endpoint.url.port = port;
|
31
|
+
}
|
32
|
+
catch (e) {
|
33
|
+
}
|
34
|
+
}
|
35
|
+
options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`);
|
36
|
+
return endpoint;
|
37
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { customEndpointFunctions } from "./customEndpointFunctions";
|
2
|
+
import { endpointFunctions } from "./endpointFunctions";
|
3
|
+
import { evaluateExpression } from "./evaluateExpression";
|
4
|
+
export const callFunction = ({ fn, argv }, options) => {
|
5
|
+
const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
|
6
|
+
const fnSegments = fn.split(".");
|
7
|
+
if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
|
8
|
+
return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
|
9
|
+
}
|
10
|
+
return endpointFunctions[fn](...evaluatedArgs);
|
11
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export const customEndpointFunctions = {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { booleanEquals, getAttr, isSet, isValidHostLabel, not, parseURL, stringEquals, substring, uriEncode, } from "../lib";
|
2
|
+
export const endpointFunctions = {
|
3
|
+
booleanEquals,
|
4
|
+
getAttr,
|
5
|
+
isSet,
|
6
|
+
isValidHostLabel,
|
7
|
+
not,
|
8
|
+
parseURL,
|
9
|
+
stringEquals,
|
10
|
+
substring,
|
11
|
+
uriEncode,
|
12
|
+
};
|
package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/debug/toDebugString.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EndpointParameters, EndpointV2 } from "@
|
1
|
+
import { EndpointParameters, EndpointV2 } from "@smithy/types";
|
2
2
|
import { GetAttrValue } from "../lib";
|
3
3
|
import { EndpointObject, FunctionObject, FunctionReturn } from "../types";
|
4
4
|
export declare function toDebugString(input: EndpointParameters): string;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { EndpointV2 } from "@smithy/types";
|
2
|
+
import { EndpointResolverOptions, RuleSetObject } from "./types";
|
3
|
+
/**
|
4
|
+
* Resolves an endpoint URL by processing the endpoints ruleset and options.
|
5
|
+
*/
|
6
|
+
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2;
|
package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts
RENAMED
@@ -1 +1 @@
|
|
1
|
-
export declare const debugId = "endpoints";
|
1
|
+
export declare const debugId = "endpoints";
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from "./debugId";
|
2
|
-
export * from "./toDebugString";
|
1
|
+
export * from "./debugId";
|
2
|
+
export * from "./toDebugString";
|
package/node_modules/{@aws-sdk → @smithy}/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { EndpointParameters, EndpointV2 } from "@
|
2
|
-
import { GetAttrValue } from "../lib";
|
3
|
-
import { EndpointObject, FunctionObject, FunctionReturn } from "../types";
|
4
|
-
export declare function toDebugString(input: EndpointParameters): string;
|
5
|
-
export declare function toDebugString(input: EndpointV2): string;
|
6
|
-
export declare function toDebugString(input: GetAttrValue): string;
|
7
|
-
export declare function toDebugString(input: FunctionObject): string;
|
8
|
-
export declare function toDebugString(input: FunctionReturn): string;
|
9
|
-
export declare function toDebugString(input: EndpointObject): string;
|
1
|
+
import { EndpointParameters, EndpointV2 } from "@smithy/types";
|
2
|
+
import { GetAttrValue } from "../lib";
|
3
|
+
import { EndpointObject, FunctionObject, FunctionReturn } from "../types";
|
4
|
+
export declare function toDebugString(input: EndpointParameters): string;
|
5
|
+
export declare function toDebugString(input: EndpointV2): string;
|
6
|
+
export declare function toDebugString(input: GetAttrValue): string;
|
7
|
+
export declare function toDebugString(input: FunctionObject): string;
|
8
|
+
export declare function toDebugString(input: FunctionReturn): string;
|
9
|
+
export declare function toDebugString(input: EndpointObject): string;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export type GetAttrValue = string | boolean | {
|
2
|
+
[key: string]: GetAttrValue;
|
3
|
+
} | Array<GetAttrValue>;
|
4
|
+
/**
|
5
|
+
* Returns value corresponding to pathing string for an array or object.
|
6
|
+
*/
|
7
|
+
export declare const getAttr: (value: GetAttrValue, path: string) => GetAttrValue;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
|
2
|
-
export
|
3
|
-
export * from "./
|
4
|
-
export * from "./
|
5
|
-
export * from "./
|
6
|
-
export * from "./
|
7
|
-
export * from "./
|
8
|
-
export * from "./
|
9
|
-
export * from "./
|
10
|
-
export * from "./substring";
|
11
|
-
export * from "./uriEncode";
|
1
|
+
export * from "./booleanEquals";
|
2
|
+
export * from "./getAttr";
|
3
|
+
export * from "./isSet";
|
4
|
+
export * from "./isValidHostLabel";
|
5
|
+
export * from "./not";
|
6
|
+
export * from "./parseURL";
|
7
|
+
export * from "./stringEquals";
|
8
|
+
export * from "./substring";
|
9
|
+
export * from "./uriEncode";
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Evaluates whether one or more string values are valid host labels per RFC 1123.
|
3
|
+
*
|
4
|
+
* If allowSubDomains is true, then the provided value may be zero or more dotted
|
5
|
+
* subdomains which are each validated per RFC 1123.
|
6
|
+
*/
|
7
|
+
export declare const isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Computes the substring of a given string, conditionally indexing from the end of the string.
|
3
|
+
* When the string is long enough to fully include the substring, return the substring.
|
4
|
+
* Otherwise, return None. The start index is inclusive and the stop index is exclusive.
|
5
|
+
* The length of the returned string will always be stop-start.
|
6
|
+
*/
|
7
|
+
export declare const substring: (input: string, start: number, stop: number, reverse: boolean) => string | null;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { EndpointV2 } from "@smithy/types";
|
2
|
+
import { EndpointResolverOptions, RuleSetObject } from "./types";
|
3
|
+
/**
|
4
|
+
* Resolves an endpoint URL by processing the endpoints ruleset and options.
|
5
|
+
*/
|
6
|
+
export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { EndpointObject as __EndpointObject, EndpointObjectHeaders as __EndpointObjectHeaders, EndpointObjectProperties as __EndpointObjectProperties, EndpointRuleObject as __EndpointRuleObject } from "@smithy/types";
|
2
|
+
export type EndpointObjectProperties = __EndpointObjectProperties;
|
3
|
+
export type EndpointObjectHeaders = __EndpointObjectHeaders;
|
4
|
+
export type EndpointObject = __EndpointObject;
|
5
|
+
export type EndpointRuleObject = __EndpointRuleObject;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { DeprecatedObject as __DeprecatedObject, ParameterObject as __ParameterObject, RuleSetObject as __RuleSetObject } from "@smithy/types";
|
2
|
+
export type DeprecatedObject = __DeprecatedObject;
|
3
|
+
export type ParameterObject = __ParameterObject;
|
4
|
+
export type RuleSetObject = __RuleSetObject;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { EndpointARN, EndpointPartition, Logger } from "@smithy/types";
|
2
|
+
export type ReferenceObject = {
|
3
|
+
ref: string;
|
4
|
+
};
|
5
|
+
export type FunctionObject = {
|
6
|
+
fn: string;
|
7
|
+
argv: FunctionArgv;
|
8
|
+
};
|
9
|
+
export type FunctionArgv = Array<Expression | boolean | number>;
|
10
|
+
export type FunctionReturn = string | boolean | number | EndpointARN | EndpointPartition | {
|
11
|
+
[key: string]: FunctionReturn;
|
12
|
+
} | null;
|
13
|
+
export type ConditionObject = FunctionObject & {
|
14
|
+
assign?: string;
|
15
|
+
};
|
16
|
+
export type Expression = string | ReferenceObject | FunctionObject;
|
17
|
+
export type EndpointParams = Record<string, string | boolean>;
|
18
|
+
export type EndpointResolverOptions = {
|
19
|
+
endpointParams: EndpointParams;
|
20
|
+
logger?: Logger;
|
21
|
+
};
|
22
|
+
export type ReferenceRecord = Record<string, FunctionReturn>;
|
23
|
+
export type EvaluateOptions = EndpointResolverOptions & {
|
24
|
+
referenceRecord: ReferenceRecord;
|
25
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare const endpointFunctions: {
|
2
|
+
booleanEquals: (value1: boolean, value2: boolean) => boolean;
|
3
|
+
getAttr: (value: import("../lib").GetAttrValue, path: string) => import("../lib").GetAttrValue;
|
4
|
+
isSet: (value: unknown) => boolean;
|
5
|
+
isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean;
|
6
|
+
not: (value: boolean) => boolean;
|
7
|
+
parseURL: (value: string | URL | import("@smithy/types").Endpoint) => import("@smithy/types").EndpointURL | null;
|
8
|
+
stringEquals: (value1: string, value2: string) => boolean;
|
9
|
+
substring: (input: string, start: number, stop: number, reverse: boolean) => string | null;
|
10
|
+
uriEncode: (value: string) => string;
|
11
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ConditionObject, EvaluateOptions } from "../types";
|
2
|
+
export declare const evaluateCondition: ({ assign, ...fnArgs }: ConditionObject, options: EvaluateOptions) => {
|
3
|
+
toAssign?: {
|
4
|
+
name: string;
|
5
|
+
value: import("../types").FunctionReturn;
|
6
|
+
} | undefined;
|
7
|
+
result: boolean;
|
8
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ConditionObject, EvaluateOptions, FunctionReturn } from "../types";
|
2
|
+
export declare const evaluateConditions: (conditions: ConditionObject[] | undefined, options: EvaluateOptions) => {
|
3
|
+
result: false;
|
4
|
+
referenceRecord?: undefined;
|
5
|
+
} | {
|
6
|
+
result: boolean;
|
7
|
+
referenceRecord: Record<string, FunctionReturn>;
|
8
|
+
};
|