@aws-sdk/client-waf 3.194.0 → 3.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/WAFClient.js +11 -8
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRuleCommand.js +10 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +10 -0
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +10 -0
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +10 -0
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetChangeTokenCommand.js +10 -0
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +10 -0
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetIPSetCommand.js +10 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/GetRuleCommand.js +10 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetWebACLCommand.js +10 -0
- package/dist-cjs/commands/GetXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +10 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +10 -0
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListRulesCommand.js +10 -0
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +10 -0
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +10 -0
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +10 -0
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +648 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/WAFClient.js +12 -9
- package/dist-es/commands/CreateByteMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateIPSetCommand.js +10 -0
- package/dist-es/commands/CreateRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/CreateRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/CreateRuleCommand.js +10 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateWebACLCommand.js +10 -0
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +10 -0
- package/dist-es/commands/CreateXssMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteByteMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteIPSetCommand.js +10 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/DeleteRuleCommand.js +10 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteWebACLCommand.js +10 -0
- package/dist-es/commands/DeleteXssMatchSetCommand.js +10 -0
- package/dist-es/commands/GetByteMatchSetCommand.js +10 -0
- package/dist-es/commands/GetChangeTokenCommand.js +10 -0
- package/dist-es/commands/GetChangeTokenStatusCommand.js +10 -0
- package/dist-es/commands/GetGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/GetIPSetCommand.js +10 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/GetRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
- package/dist-es/commands/GetRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/GetRuleCommand.js +10 -0
- package/dist-es/commands/GetRuleGroupCommand.js +10 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-es/commands/GetSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/GetWebACLCommand.js +10 -0
- package/dist-es/commands/GetXssMatchSetCommand.js +10 -0
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
- package/dist-es/commands/ListByteMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListGeoMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListIPSetsCommand.js +10 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListRateBasedRulesCommand.js +10 -0
- package/dist-es/commands/ListRegexMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListRulesCommand.js +10 -0
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +10 -0
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListWebACLsCommand.js +10 -0
- package/dist-es/commands/ListXssMatchSetsCommand.js +10 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateByteMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateIPSetCommand.js +10 -0
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/UpdateRuleCommand.js +10 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateWebACLCommand.js +10 -0
- package/dist-es/commands/UpdateXssMatchSetCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +645 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/WAFClient.d.ts +6 -9
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +2 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/GetRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/WAFClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -151
- package/dist-es/endpoints.js +0 -147
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -0,0 +1,645 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
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.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "stringEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
fn: "getAttr",
|
|
124
|
+
argv: [
|
|
125
|
+
{
|
|
126
|
+
ref: "PartitionResult",
|
|
127
|
+
},
|
|
128
|
+
"name",
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
"aws",
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
type: "tree",
|
|
136
|
+
rules: [
|
|
137
|
+
{
|
|
138
|
+
conditions: [
|
|
139
|
+
{
|
|
140
|
+
fn: "booleanEquals",
|
|
141
|
+
argv: [
|
|
142
|
+
{
|
|
143
|
+
ref: "UseFIPS",
|
|
144
|
+
},
|
|
145
|
+
true,
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
fn: "booleanEquals",
|
|
150
|
+
argv: [
|
|
151
|
+
{
|
|
152
|
+
ref: "UseDualStack",
|
|
153
|
+
},
|
|
154
|
+
true,
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
type: "tree",
|
|
159
|
+
rules: [
|
|
160
|
+
{
|
|
161
|
+
conditions: [
|
|
162
|
+
{
|
|
163
|
+
fn: "booleanEquals",
|
|
164
|
+
argv: [
|
|
165
|
+
true,
|
|
166
|
+
{
|
|
167
|
+
fn: "getAttr",
|
|
168
|
+
argv: [
|
|
169
|
+
{
|
|
170
|
+
ref: "PartitionResult",
|
|
171
|
+
},
|
|
172
|
+
"supportsFIPS",
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
fn: "booleanEquals",
|
|
179
|
+
argv: [
|
|
180
|
+
true,
|
|
181
|
+
{
|
|
182
|
+
fn: "getAttr",
|
|
183
|
+
argv: [
|
|
184
|
+
{
|
|
185
|
+
ref: "PartitionResult",
|
|
186
|
+
},
|
|
187
|
+
"supportsDualStack",
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
type: "tree",
|
|
194
|
+
rules: [
|
|
195
|
+
{
|
|
196
|
+
conditions: [],
|
|
197
|
+
endpoint: {
|
|
198
|
+
url: "https://waf-fips.{Region}.api.aws",
|
|
199
|
+
properties: {
|
|
200
|
+
authSchemes: [
|
|
201
|
+
{
|
|
202
|
+
name: "sigv4",
|
|
203
|
+
signingName: "waf",
|
|
204
|
+
signingRegion: "us-east-1",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
},
|
|
208
|
+
headers: {},
|
|
209
|
+
},
|
|
210
|
+
type: "endpoint",
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
conditions: [],
|
|
216
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
217
|
+
type: "error",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
conditions: [
|
|
223
|
+
{
|
|
224
|
+
fn: "booleanEquals",
|
|
225
|
+
argv: [
|
|
226
|
+
{
|
|
227
|
+
ref: "UseFIPS",
|
|
228
|
+
},
|
|
229
|
+
true,
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
type: "tree",
|
|
234
|
+
rules: [
|
|
235
|
+
{
|
|
236
|
+
conditions: [
|
|
237
|
+
{
|
|
238
|
+
fn: "booleanEquals",
|
|
239
|
+
argv: [
|
|
240
|
+
true,
|
|
241
|
+
{
|
|
242
|
+
fn: "getAttr",
|
|
243
|
+
argv: [
|
|
244
|
+
{
|
|
245
|
+
ref: "PartitionResult",
|
|
246
|
+
},
|
|
247
|
+
"supportsFIPS",
|
|
248
|
+
],
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
type: "tree",
|
|
254
|
+
rules: [
|
|
255
|
+
{
|
|
256
|
+
conditions: [],
|
|
257
|
+
endpoint: {
|
|
258
|
+
url: "https://waf-fips.amazonaws.com",
|
|
259
|
+
properties: {
|
|
260
|
+
authSchemes: [
|
|
261
|
+
{
|
|
262
|
+
name: "sigv4",
|
|
263
|
+
signingName: "waf",
|
|
264
|
+
signingRegion: "us-east-1",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
headers: {},
|
|
269
|
+
},
|
|
270
|
+
type: "endpoint",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
conditions: [],
|
|
276
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
277
|
+
type: "error",
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
conditions: [
|
|
283
|
+
{
|
|
284
|
+
fn: "booleanEquals",
|
|
285
|
+
argv: [
|
|
286
|
+
{
|
|
287
|
+
ref: "UseDualStack",
|
|
288
|
+
},
|
|
289
|
+
true,
|
|
290
|
+
],
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
type: "tree",
|
|
294
|
+
rules: [
|
|
295
|
+
{
|
|
296
|
+
conditions: [
|
|
297
|
+
{
|
|
298
|
+
fn: "booleanEquals",
|
|
299
|
+
argv: [
|
|
300
|
+
true,
|
|
301
|
+
{
|
|
302
|
+
fn: "getAttr",
|
|
303
|
+
argv: [
|
|
304
|
+
{
|
|
305
|
+
ref: "PartitionResult",
|
|
306
|
+
},
|
|
307
|
+
"supportsDualStack",
|
|
308
|
+
],
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
type: "tree",
|
|
314
|
+
rules: [
|
|
315
|
+
{
|
|
316
|
+
conditions: [],
|
|
317
|
+
endpoint: {
|
|
318
|
+
url: "https://waf.{Region}.api.aws",
|
|
319
|
+
properties: {
|
|
320
|
+
authSchemes: [
|
|
321
|
+
{
|
|
322
|
+
name: "sigv4",
|
|
323
|
+
signingName: "waf",
|
|
324
|
+
signingRegion: "us-east-1",
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
},
|
|
328
|
+
headers: {},
|
|
329
|
+
},
|
|
330
|
+
type: "endpoint",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
conditions: [],
|
|
336
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
337
|
+
type: "error",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
conditions: [],
|
|
343
|
+
endpoint: {
|
|
344
|
+
url: "https://waf.amazonaws.com",
|
|
345
|
+
properties: {
|
|
346
|
+
authSchemes: [
|
|
347
|
+
{
|
|
348
|
+
name: "sigv4",
|
|
349
|
+
signingName: "waf",
|
|
350
|
+
signingRegion: "us-east-1",
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
},
|
|
354
|
+
headers: {},
|
|
355
|
+
},
|
|
356
|
+
type: "endpoint",
|
|
357
|
+
},
|
|
358
|
+
],
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
conditions: [
|
|
362
|
+
{
|
|
363
|
+
fn: "booleanEquals",
|
|
364
|
+
argv: [
|
|
365
|
+
{
|
|
366
|
+
ref: "UseFIPS",
|
|
367
|
+
},
|
|
368
|
+
true,
|
|
369
|
+
],
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
fn: "booleanEquals",
|
|
373
|
+
argv: [
|
|
374
|
+
{
|
|
375
|
+
ref: "UseDualStack",
|
|
376
|
+
},
|
|
377
|
+
true,
|
|
378
|
+
],
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
type: "tree",
|
|
382
|
+
rules: [
|
|
383
|
+
{
|
|
384
|
+
conditions: [
|
|
385
|
+
{
|
|
386
|
+
fn: "booleanEquals",
|
|
387
|
+
argv: [
|
|
388
|
+
true,
|
|
389
|
+
{
|
|
390
|
+
fn: "getAttr",
|
|
391
|
+
argv: [
|
|
392
|
+
{
|
|
393
|
+
ref: "PartitionResult",
|
|
394
|
+
},
|
|
395
|
+
"supportsFIPS",
|
|
396
|
+
],
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
fn: "booleanEquals",
|
|
402
|
+
argv: [
|
|
403
|
+
true,
|
|
404
|
+
{
|
|
405
|
+
fn: "getAttr",
|
|
406
|
+
argv: [
|
|
407
|
+
{
|
|
408
|
+
ref: "PartitionResult",
|
|
409
|
+
},
|
|
410
|
+
"supportsDualStack",
|
|
411
|
+
],
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
type: "tree",
|
|
417
|
+
rules: [
|
|
418
|
+
{
|
|
419
|
+
conditions: [],
|
|
420
|
+
endpoint: {
|
|
421
|
+
url: "https://waf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
422
|
+
properties: {},
|
|
423
|
+
headers: {},
|
|
424
|
+
},
|
|
425
|
+
type: "endpoint",
|
|
426
|
+
},
|
|
427
|
+
],
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
conditions: [],
|
|
431
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
432
|
+
type: "error",
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
conditions: [
|
|
438
|
+
{
|
|
439
|
+
fn: "booleanEquals",
|
|
440
|
+
argv: [
|
|
441
|
+
{
|
|
442
|
+
ref: "UseFIPS",
|
|
443
|
+
},
|
|
444
|
+
true,
|
|
445
|
+
],
|
|
446
|
+
},
|
|
447
|
+
],
|
|
448
|
+
type: "tree",
|
|
449
|
+
rules: [
|
|
450
|
+
{
|
|
451
|
+
conditions: [
|
|
452
|
+
{
|
|
453
|
+
fn: "booleanEquals",
|
|
454
|
+
argv: [
|
|
455
|
+
true,
|
|
456
|
+
{
|
|
457
|
+
fn: "getAttr",
|
|
458
|
+
argv: [
|
|
459
|
+
{
|
|
460
|
+
ref: "PartitionResult",
|
|
461
|
+
},
|
|
462
|
+
"supportsFIPS",
|
|
463
|
+
],
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
type: "tree",
|
|
469
|
+
rules: [
|
|
470
|
+
{
|
|
471
|
+
conditions: [],
|
|
472
|
+
type: "tree",
|
|
473
|
+
rules: [
|
|
474
|
+
{
|
|
475
|
+
conditions: [
|
|
476
|
+
{
|
|
477
|
+
fn: "stringEquals",
|
|
478
|
+
argv: [
|
|
479
|
+
{
|
|
480
|
+
ref: "Region",
|
|
481
|
+
},
|
|
482
|
+
"aws",
|
|
483
|
+
],
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
endpoint: {
|
|
487
|
+
url: "https://waf-fips.amazonaws.com",
|
|
488
|
+
properties: {
|
|
489
|
+
authSchemes: [
|
|
490
|
+
{
|
|
491
|
+
name: "sigv4",
|
|
492
|
+
signingName: "waf",
|
|
493
|
+
signingRegion: "us-east-1",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
},
|
|
497
|
+
headers: {},
|
|
498
|
+
},
|
|
499
|
+
type: "endpoint",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
conditions: [
|
|
503
|
+
{
|
|
504
|
+
fn: "stringEquals",
|
|
505
|
+
argv: [
|
|
506
|
+
{
|
|
507
|
+
ref: "Region",
|
|
508
|
+
},
|
|
509
|
+
"aws-global",
|
|
510
|
+
],
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
endpoint: {
|
|
514
|
+
url: "https://waf-fips.amazonaws.com",
|
|
515
|
+
properties: {
|
|
516
|
+
authSchemes: [
|
|
517
|
+
{
|
|
518
|
+
name: "sigv4",
|
|
519
|
+
signingName: "waf",
|
|
520
|
+
signingRegion: "us-east-1",
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
},
|
|
524
|
+
headers: {},
|
|
525
|
+
},
|
|
526
|
+
type: "endpoint",
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
conditions: [],
|
|
530
|
+
endpoint: {
|
|
531
|
+
url: "https://waf-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
532
|
+
properties: {},
|
|
533
|
+
headers: {},
|
|
534
|
+
},
|
|
535
|
+
type: "endpoint",
|
|
536
|
+
},
|
|
537
|
+
],
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
conditions: [],
|
|
543
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
544
|
+
type: "error",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
conditions: [
|
|
550
|
+
{
|
|
551
|
+
fn: "booleanEquals",
|
|
552
|
+
argv: [
|
|
553
|
+
{
|
|
554
|
+
ref: "UseDualStack",
|
|
555
|
+
},
|
|
556
|
+
true,
|
|
557
|
+
],
|
|
558
|
+
},
|
|
559
|
+
],
|
|
560
|
+
type: "tree",
|
|
561
|
+
rules: [
|
|
562
|
+
{
|
|
563
|
+
conditions: [
|
|
564
|
+
{
|
|
565
|
+
fn: "booleanEquals",
|
|
566
|
+
argv: [
|
|
567
|
+
true,
|
|
568
|
+
{
|
|
569
|
+
fn: "getAttr",
|
|
570
|
+
argv: [
|
|
571
|
+
{
|
|
572
|
+
ref: "PartitionResult",
|
|
573
|
+
},
|
|
574
|
+
"supportsDualStack",
|
|
575
|
+
],
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
type: "tree",
|
|
581
|
+
rules: [
|
|
582
|
+
{
|
|
583
|
+
conditions: [],
|
|
584
|
+
endpoint: {
|
|
585
|
+
url: "https://waf.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
586
|
+
properties: {},
|
|
587
|
+
headers: {},
|
|
588
|
+
},
|
|
589
|
+
type: "endpoint",
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
conditions: [],
|
|
595
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
596
|
+
type: "error",
|
|
597
|
+
},
|
|
598
|
+
],
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
conditions: [],
|
|
602
|
+
type: "tree",
|
|
603
|
+
rules: [
|
|
604
|
+
{
|
|
605
|
+
conditions: [
|
|
606
|
+
{
|
|
607
|
+
fn: "stringEquals",
|
|
608
|
+
argv: [
|
|
609
|
+
{
|
|
610
|
+
ref: "Region",
|
|
611
|
+
},
|
|
612
|
+
"aws-global",
|
|
613
|
+
],
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
endpoint: {
|
|
617
|
+
url: "https://waf.amazonaws.com",
|
|
618
|
+
properties: {
|
|
619
|
+
authSchemes: [
|
|
620
|
+
{
|
|
621
|
+
name: "sigv4",
|
|
622
|
+
signingName: "waf",
|
|
623
|
+
signingRegion: "us-east-1",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
},
|
|
627
|
+
headers: {},
|
|
628
|
+
},
|
|
629
|
+
type: "endpoint",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
conditions: [],
|
|
633
|
+
endpoint: {
|
|
634
|
+
url: "https://waf.{Region}.{PartitionResult#dnsSuffix}",
|
|
635
|
+
properties: {},
|
|
636
|
+
headers: {},
|
|
637
|
+
},
|
|
638
|
+
type: "endpoint",
|
|
639
|
+
},
|
|
640
|
+
],
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
},
|
|
644
|
+
],
|
|
645
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2015-08-24",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "WAF",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|