@aws-sdk/client-waf 3.32.0 → 3.36.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 +44 -0
- package/dist-cjs/WAF.js +1175 -0
- package/dist-cjs/WAFClient.js +53 -0
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +91 -0
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +88 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +93 -0
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +153 -0
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +91 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +87 -0
- package/dist-cjs/commands/CreateRuleCommand.js +111 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +82 -0
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +91 -0
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +89 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +99 -0
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +67 -0
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +89 -0
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +83 -0
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +83 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +83 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +69 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +69 -0
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +87 -0
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +83 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +69 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +83 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +83 -0
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +83 -0
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +81 -0
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +84 -0
- package/dist-cjs/commands/GetByteMatchSetCommand.js +68 -0
- package/dist-cjs/commands/GetChangeTokenCommand.js +74 -0
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +84 -0
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +68 -0
- package/dist-cjs/commands/GetIPSetCommand.js +68 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +68 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +68 -0
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +70 -0
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +70 -0
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +68 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +68 -0
- package/dist-cjs/commands/GetRuleCommand.js +68 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +69 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +72 -0
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +68 -0
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +68 -0
- package/dist-cjs/commands/GetWebACLCommand.js +68 -0
- package/dist-cjs/commands/GetXssMatchSetCommand.js +68 -0
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +68 -0
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +68 -0
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +68 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +68 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +68 -0
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +68 -0
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +68 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +68 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +68 -0
- package/dist-cjs/commands/ListRulesCommand.js +68 -0
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +68 -0
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +68 -0
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +68 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +69 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +68 -0
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +68 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +85 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +100 -0
- package/dist-cjs/commands/TagResourceCommand.js +69 -0
- package/dist-cjs/commands/UntagResourceCommand.js +68 -0
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +106 -0
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +98 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +133 -0
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +114 -0
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +102 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +107 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +109 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +92 -0
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +110 -0
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +109 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +139 -0
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +111 -0
- package/dist-cjs/endpoints.js +67 -0
- package/dist-cjs/index.js +83 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +2436 -0
- package/dist-cjs/protocols/Aws_json1_1.js +9199 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +46 -0
- package/dist-cjs/runtimeConfig.native.js +19 -0
- package/dist-cjs/runtimeConfig.shared.js +20 -0
- package/dist-es/WAF.js +1165 -0
- package/dist-es/WAFClient.js +37 -0
- package/dist-es/commands/CreateByteMatchSetCommand.js +39 -0
- package/dist-es/commands/CreateGeoMatchSetCommand.js +39 -0
- package/dist-es/commands/CreateIPSetCommand.js +39 -0
- package/dist-es/commands/CreateRateBasedRuleCommand.js +39 -0
- package/dist-es/commands/CreateRegexMatchSetCommand.js +39 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +39 -0
- package/dist-es/commands/CreateRuleCommand.js +39 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +39 -0
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +39 -0
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +39 -0
- package/dist-es/commands/CreateWebACLCommand.js +39 -0
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +39 -0
- package/dist-es/commands/CreateXssMatchSetCommand.js +39 -0
- package/dist-es/commands/DeleteByteMatchSetCommand.js +39 -0
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +39 -0
- package/dist-es/commands/DeleteIPSetCommand.js +39 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +39 -0
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +39 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +39 -0
- package/dist-es/commands/DeleteRuleCommand.js +39 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +39 -0
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +39 -0
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +39 -0
- package/dist-es/commands/DeleteWebACLCommand.js +39 -0
- package/dist-es/commands/DeleteXssMatchSetCommand.js +39 -0
- package/dist-es/commands/GetByteMatchSetCommand.js +39 -0
- package/dist-es/commands/GetChangeTokenCommand.js +39 -0
- package/dist-es/commands/GetChangeTokenStatusCommand.js +39 -0
- package/dist-es/commands/GetGeoMatchSetCommand.js +39 -0
- package/dist-es/commands/GetIPSetCommand.js +39 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +39 -0
- package/dist-es/commands/GetRateBasedRuleCommand.js +39 -0
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +39 -0
- package/dist-es/commands/GetRegexMatchSetCommand.js +39 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +39 -0
- package/dist-es/commands/GetRuleCommand.js +39 -0
- package/dist-es/commands/GetRuleGroupCommand.js +39 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +39 -0
- package/dist-es/commands/GetSizeConstraintSetCommand.js +39 -0
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +39 -0
- package/dist-es/commands/GetWebACLCommand.js +39 -0
- package/dist-es/commands/GetXssMatchSetCommand.js +39 -0
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +39 -0
- package/dist-es/commands/ListByteMatchSetsCommand.js +39 -0
- package/dist-es/commands/ListGeoMatchSetsCommand.js +39 -0
- package/dist-es/commands/ListIPSetsCommand.js +39 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +39 -0
- package/dist-es/commands/ListRateBasedRulesCommand.js +39 -0
- package/dist-es/commands/ListRegexMatchSetsCommand.js +39 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +39 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +39 -0
- package/dist-es/commands/ListRulesCommand.js +39 -0
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +39 -0
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +39 -0
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListWebACLsCommand.js +39 -0
- package/dist-es/commands/ListXssMatchSetsCommand.js +39 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateByteMatchSetCommand.js +39 -0
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +39 -0
- package/dist-es/commands/UpdateIPSetCommand.js +39 -0
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +39 -0
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +39 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +39 -0
- package/dist-es/commands/UpdateRuleCommand.js +39 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +39 -0
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +39 -0
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +39 -0
- package/dist-es/commands/UpdateWebACLCommand.js +39 -0
- package/dist-es/commands/UpdateXssMatchSetCommand.js +39 -0
- package/dist-es/endpoints.js +63 -0
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/dist-es/models/models_0.js +1290 -0
- package/dist-es/protocols/Aws_json1_1.js +9604 -0
- package/dist-es/runtimeConfig.browser.js +16 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/WAF.d.ts +2287 -0
- package/dist-types/WAFClient.d.ts +219 -0
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +66 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +63 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +68 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +128 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +66 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +62 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +86 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +57 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +74 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +64 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +44 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +58 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +58 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +56 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +59 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +43 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +49 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +59 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +43 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +43 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +43 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +43 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +45 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +43 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +43 -0
- package/dist-types/commands/GetRuleCommand.d.ts +43 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +44 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +47 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +43 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +43 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +43 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +43 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +43 -0
- package/dist-types/commands/ListRulesCommand.d.ts +43 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +44 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +43 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +43 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +60 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +75 -0
- package/dist-types/commands/TagResourceCommand.d.ts +44 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +43 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +81 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +108 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +84 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +67 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +114 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +86 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +233 -0
- package/dist-types/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/dist-types/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/WAF.d.ts +2287 -0
- package/dist-types/ts3.4/WAFClient.d.ts +219 -0
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +63 -0
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +68 -0
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +128 -0
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +62 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +86 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +57 -0
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +64 -0
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +74 -0
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +64 -0
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +62 -0
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +56 -0
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +75 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +81 -0
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +73 -0
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +108 -0
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +89 -0
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +77 -0
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +82 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +84 -0
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +67 -0
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +85 -0
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +84 -0
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +114 -0
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +86 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +233 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/WAF.ts +0 -4455
- package/WAFClient.ts +0 -575
- package/commands/CreateByteMatchSetCommand.ts +0 -125
- package/commands/CreateGeoMatchSetCommand.ts +0 -122
- package/commands/CreateIPSetCommand.ts +0 -127
- package/commands/CreateRateBasedRuleCommand.ts +0 -187
- package/commands/CreateRegexMatchSetCommand.ts +0 -125
- package/commands/CreateRegexPatternSetCommand.ts +0 -121
- package/commands/CreateRuleCommand.ts +0 -145
- package/commands/CreateRuleGroupCommand.ts +0 -116
- package/commands/CreateSizeConstraintSetCommand.ts +0 -125
- package/commands/CreateSqlInjectionMatchSetCommand.ts +0 -126
- package/commands/CreateWebACLCommand.ts +0 -133
- package/commands/CreateWebACLMigrationStackCommand.ts +0 -104
- package/commands/CreateXssMatchSetCommand.ts +0 -123
- package/commands/DeleteByteMatchSetCommand.ts +0 -117
- package/commands/DeleteGeoMatchSetCommand.ts +0 -117
- package/commands/DeleteIPSetCommand.ts +0 -117
- package/commands/DeleteLoggingConfigurationCommand.ts +0 -106
- package/commands/DeletePermissionPolicyCommand.ts +0 -103
- package/commands/DeleteRateBasedRuleCommand.ts +0 -121
- package/commands/DeleteRegexMatchSetCommand.ts +0 -117
- package/commands/DeleteRegexPatternSetCommand.ts +0 -103
- package/commands/DeleteRuleCommand.ts +0 -117
- package/commands/DeleteRuleGroupCommand.ts +0 -117
- package/commands/DeleteSizeConstraintSetCommand.ts +0 -117
- package/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -121
- package/commands/DeleteWebACLCommand.ts +0 -115
- package/commands/DeleteXssMatchSetCommand.ts +0 -118
- package/commands/GetByteMatchSetCommand.ts +0 -102
- package/commands/GetChangeTokenCommand.ts +0 -108
- package/commands/GetChangeTokenStatusCommand.ts +0 -118
- package/commands/GetGeoMatchSetCommand.ts +0 -102
- package/commands/GetIPSetCommand.ts +0 -95
- package/commands/GetLoggingConfigurationCommand.ts +0 -102
- package/commands/GetPermissionPolicyCommand.ts +0 -102
- package/commands/GetRateBasedRuleCommand.ts +0 -104
- package/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -109
- package/commands/GetRegexMatchSetCommand.ts +0 -102
- package/commands/GetRegexPatternSetCommand.ts +0 -102
- package/commands/GetRuleCommand.ts +0 -95
- package/commands/GetRuleGroupCommand.ts +0 -103
- package/commands/GetSampledRequestsCommand.ts +0 -106
- package/commands/GetSizeConstraintSetCommand.ts +0 -102
- package/commands/GetSqlInjectionMatchSetCommand.ts +0 -102
- package/commands/GetWebACLCommand.ts +0 -95
- package/commands/GetXssMatchSetCommand.ts +0 -102
- package/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -107
- package/commands/ListByteMatchSetsCommand.ts +0 -102
- package/commands/ListGeoMatchSetsCommand.ts +0 -102
- package/commands/ListIPSetsCommand.ts +0 -102
- package/commands/ListLoggingConfigurationsCommand.ts +0 -105
- package/commands/ListRateBasedRulesCommand.ts +0 -102
- package/commands/ListRegexMatchSetsCommand.ts +0 -102
- package/commands/ListRegexPatternSetsCommand.ts +0 -102
- package/commands/ListRuleGroupsCommand.ts +0 -102
- package/commands/ListRulesCommand.ts +0 -95
- package/commands/ListSizeConstraintSetsCommand.ts +0 -102
- package/commands/ListSqlInjectionMatchSetsCommand.ts +0 -105
- package/commands/ListSubscribedRuleGroupsCommand.ts +0 -102
- package/commands/ListTagsForResourceCommand.ts +0 -103
- package/commands/ListWebACLsCommand.ts +0 -102
- package/commands/ListXssMatchSetsCommand.ts +0 -102
- package/commands/PutLoggingConfigurationCommand.ts +0 -119
- package/commands/PutPermissionPolicyCommand.ts +0 -134
- package/commands/TagResourceCommand.ts +0 -103
- package/commands/UntagResourceCommand.ts +0 -102
- package/commands/UpdateByteMatchSetCommand.ts +0 -140
- package/commands/UpdateGeoMatchSetCommand.ts +0 -132
- package/commands/UpdateIPSetCommand.ts +0 -167
- package/commands/UpdateRateBasedRuleCommand.ts +0 -148
- package/commands/UpdateRegexMatchSetCommand.ts +0 -136
- package/commands/UpdateRegexPatternSetCommand.ts +0 -141
- package/commands/UpdateRuleCommand.ts +0 -143
- package/commands/UpdateRuleGroupCommand.ts +0 -126
- package/commands/UpdateSizeConstraintSetCommand.ts +0 -144
- package/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -146
- package/commands/UpdateWebACLCommand.ts +0 -173
- package/commands/UpdateXssMatchSetCommand.ts +0 -145
- package/dist/cjs/WAF.js +0 -1176
- package/dist/cjs/WAF.js.map +0 -1
- package/dist/cjs/WAFClient.js +0 -54
- package/dist/cjs/WAFClient.js.map +0 -1
- package/dist/cjs/commands/CreateByteMatchSetCommand.js +0 -92
- package/dist/cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGeoMatchSetCommand.js +0 -89
- package/dist/cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIPSetCommand.js +0 -94
- package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRateBasedRuleCommand.js +0 -154
- package/dist/cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRegexMatchSetCommand.js +0 -92
- package/dist/cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRegexPatternSetCommand.js +0 -88
- package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleCommand.js +0 -112
- package/dist/cjs/commands/CreateRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleGroupCommand.js +0 -83
- package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSizeConstraintSetCommand.js +0 -92
- package/dist/cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -90
- package/dist/cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebACLCommand.js +0 -100
- package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js +0 -68
- package/dist/cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist/cjs/commands/CreateXssMatchSetCommand.js +0 -90
- package/dist/cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteByteMatchSetCommand.js +0 -84
- package/dist/cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGeoMatchSetCommand.js +0 -84
- package/dist/cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIPSetCommand.js +0 -84
- package/dist/cjs/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js +0 -70
- package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePermissionPolicyCommand.js +0 -70
- package/dist/cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRateBasedRuleCommand.js +0 -88
- package/dist/cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRegexMatchSetCommand.js +0 -84
- package/dist/cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRegexPatternSetCommand.js +0 -70
- package/dist/cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleCommand.js +0 -84
- package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleGroupCommand.js +0 -84
- package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js +0 -84
- package/dist/cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -85
- package/dist/cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWebACLCommand.js +0 -82
- package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteXssMatchSetCommand.js +0 -85
- package/dist/cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetByteMatchSetCommand.js +0 -69
- package/dist/cjs/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetChangeTokenCommand.js +0 -75
- package/dist/cjs/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist/cjs/commands/GetChangeTokenStatusCommand.js +0 -85
- package/dist/cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist/cjs/commands/GetGeoMatchSetCommand.js +0 -69
- package/dist/cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetIPSetCommand.js +0 -69
- package/dist/cjs/commands/GetIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetLoggingConfigurationCommand.js +0 -69
- package/dist/cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetPermissionPolicyCommand.js +0 -69
- package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetRateBasedRuleCommand.js +0 -71
- package/dist/cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -71
- package/dist/cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist/cjs/commands/GetRegexMatchSetCommand.js +0 -69
- package/dist/cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetRegexPatternSetCommand.js +0 -69
- package/dist/cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetRuleCommand.js +0 -69
- package/dist/cjs/commands/GetRuleCommand.js.map +0 -1
- package/dist/cjs/commands/GetRuleGroupCommand.js +0 -70
- package/dist/cjs/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetSampledRequestsCommand.js +0 -73
- package/dist/cjs/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/cjs/commands/GetSizeConstraintSetCommand.js +0 -69
- package/dist/cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -69
- package/dist/cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetWebACLCommand.js +0 -69
- package/dist/cjs/commands/GetWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/GetXssMatchSetCommand.js +0 -69
- package/dist/cjs/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -69
- package/dist/cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/ListByteMatchSetsCommand.js +0 -69
- package/dist/cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListGeoMatchSetsCommand.js +0 -69
- package/dist/cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListIPSetsCommand.js +0 -69
- package/dist/cjs/commands/ListIPSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLoggingConfigurationsCommand.js +0 -69
- package/dist/cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRateBasedRulesCommand.js +0 -69
- package/dist/cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListRegexMatchSetsCommand.js +0 -69
- package/dist/cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRegexPatternSetsCommand.js +0 -69
- package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRuleGroupsCommand.js +0 -69
- package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRulesCommand.js +0 -69
- package/dist/cjs/commands/ListRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListSizeConstraintSetsCommand.js +0 -69
- package/dist/cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -69
- package/dist/cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -69
- package/dist/cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -70
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWebACLsCommand.js +0 -69
- package/dist/cjs/commands/ListWebACLsCommand.js.map +0 -1
- package/dist/cjs/commands/ListXssMatchSetsCommand.js +0 -69
- package/dist/cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist/cjs/commands/PutLoggingConfigurationCommand.js +0 -86
- package/dist/cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/PutPermissionPolicyCommand.js +0 -101
- package/dist/cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -70
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -69
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateByteMatchSetCommand.js +0 -107
- package/dist/cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGeoMatchSetCommand.js +0 -99
- package/dist/cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateIPSetCommand.js +0 -134
- package/dist/cjs/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRateBasedRuleCommand.js +0 -115
- package/dist/cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRegexMatchSetCommand.js +0 -103
- package/dist/cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRegexPatternSetCommand.js +0 -108
- package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleCommand.js +0 -110
- package/dist/cjs/commands/UpdateRuleCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleGroupCommand.js +0 -93
- package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js +0 -111
- package/dist/cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -110
- package/dist/cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateWebACLCommand.js +0 -140
- package/dist/cjs/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateXssMatchSetCommand.js +0 -112
- package/dist/cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
- package/dist/cjs/endpoints.js +0 -68
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -84
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js +0 -5
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -2437
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js +0 -9200
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js +0 -20
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/WAF.js +0 -1179
- package/dist/es/WAF.js.map +0 -1
- package/dist/es/WAFClient.js +0 -56
- package/dist/es/WAFClient.js.map +0 -1
- package/dist/es/commands/CreateByteMatchSetCommand.js +0 -96
- package/dist/es/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateGeoMatchSetCommand.js +0 -93
- package/dist/es/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateIPSetCommand.js +0 -98
- package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRateBasedRuleCommand.js +0 -158
- package/dist/es/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexMatchSetCommand.js +0 -96
- package/dist/es/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexPatternSetCommand.js +0 -92
- package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleCommand.js +0 -116
- package/dist/es/commands/CreateRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js +0 -87
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateSizeConstraintSetCommand.js +0 -96
- package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +0 -94
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLCommand.js +0 -104
- package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js +0 -72
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist/es/commands/CreateXssMatchSetCommand.js +0 -94
- package/dist/es/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteByteMatchSetCommand.js +0 -88
- package/dist/es/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteGeoMatchSetCommand.js +0 -88
- package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteIPSetCommand.js +0 -88
- package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js +0 -74
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeletePermissionPolicyCommand.js +0 -74
- package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRateBasedRuleCommand.js +0 -92
- package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegexMatchSetCommand.js +0 -88
- package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegexPatternSetCommand.js +0 -74
- package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleCommand.js +0 -88
- package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js +0 -88
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js +0 -88
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -89
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebACLCommand.js +0 -86
- package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/es/commands/DeleteXssMatchSetCommand.js +0 -89
- package/dist/es/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetByteMatchSetCommand.js +0 -73
- package/dist/es/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetChangeTokenCommand.js +0 -79
- package/dist/es/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist/es/commands/GetChangeTokenStatusCommand.js +0 -89
- package/dist/es/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist/es/commands/GetGeoMatchSetCommand.js +0 -73
- package/dist/es/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetIPSetCommand.js +0 -73
- package/dist/es/commands/GetIPSetCommand.js.map +0 -1
- package/dist/es/commands/GetLoggingConfigurationCommand.js +0 -73
- package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionPolicyCommand.js +0 -73
- package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedRuleCommand.js +0 -75
- package/dist/es/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -75
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist/es/commands/GetRegexMatchSetCommand.js +0 -73
- package/dist/es/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetRegexPatternSetCommand.js +0 -73
- package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/GetRuleCommand.js +0 -73
- package/dist/es/commands/GetRuleCommand.js.map +0 -1
- package/dist/es/commands/GetRuleGroupCommand.js +0 -74
- package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/GetSampledRequestsCommand.js +0 -77
- package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/es/commands/GetSizeConstraintSetCommand.js +0 -73
- package/dist/es/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +0 -73
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLCommand.js +0 -73
- package/dist/es/commands/GetWebACLCommand.js.map +0 -1
- package/dist/es/commands/GetXssMatchSetCommand.js +0 -73
- package/dist/es/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -73
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/ListByteMatchSetsCommand.js +0 -73
- package/dist/es/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListGeoMatchSetsCommand.js +0 -73
- package/dist/es/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListIPSetsCommand.js +0 -73
- package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist/es/commands/ListLoggingConfigurationsCommand.js +0 -73
- package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListRateBasedRulesCommand.js +0 -73
- package/dist/es/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist/es/commands/ListRegexMatchSetsCommand.js +0 -73
- package/dist/es/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRegexPatternSetsCommand.js +0 -73
- package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRuleGroupsCommand.js +0 -73
- package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListRulesCommand.js +0 -73
- package/dist/es/commands/ListRulesCommand.js.map +0 -1
- package/dist/es/commands/ListSizeConstraintSetsCommand.js +0 -73
- package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +0 -73
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +0 -73
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -74
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWebACLsCommand.js +0 -73
- package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
- package/dist/es/commands/ListXssMatchSetsCommand.js +0 -73
- package/dist/es/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -90
- package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/PutPermissionPolicyCommand.js +0 -105
- package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -74
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -73
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateByteMatchSetCommand.js +0 -111
- package/dist/es/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateGeoMatchSetCommand.js +0 -103
- package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateIPSetCommand.js +0 -138
- package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRateBasedRuleCommand.js +0 -119
- package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexMatchSetCommand.js +0 -107
- package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexPatternSetCommand.js +0 -112
- package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleCommand.js +0 -114
- package/dist/es/commands/UpdateRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js +0 -97
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js +0 -115
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -114
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateWebACLCommand.js +0 -144
- package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/es/commands/UpdateXssMatchSetCommand.js +0 -116
- package/dist/es/commands/UpdateXssMatchSetCommand.js.map +0 -1
- package/dist/es/endpoints.js +0 -64
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -81
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -1975
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js +0 -9610
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -20
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -25
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js +0 -12
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -17
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/WAF.d.ts +0 -2287
- package/dist/types/WAFClient.d.ts +0 -219
- package/dist/types/commands/CreateByteMatchSetCommand.d.ts +0 -66
- package/dist/types/commands/CreateGeoMatchSetCommand.d.ts +0 -63
- package/dist/types/commands/CreateIPSetCommand.d.ts +0 -68
- package/dist/types/commands/CreateRateBasedRuleCommand.d.ts +0 -128
- package/dist/types/commands/CreateRegexMatchSetCommand.d.ts +0 -66
- package/dist/types/commands/CreateRegexPatternSetCommand.d.ts +0 -62
- package/dist/types/commands/CreateRuleCommand.d.ts +0 -86
- package/dist/types/commands/CreateRuleGroupCommand.d.ts +0 -57
- package/dist/types/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
- package/dist/types/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
- package/dist/types/commands/CreateWebACLCommand.d.ts +0 -74
- package/dist/types/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
- package/dist/types/commands/CreateXssMatchSetCommand.d.ts +0 -64
- package/dist/types/commands/DeleteByteMatchSetCommand.d.ts +0 -58
- package/dist/types/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
- package/dist/types/commands/DeleteIPSetCommand.d.ts +0 -58
- package/dist/types/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
- package/dist/types/commands/DeletePermissionPolicyCommand.d.ts +0 -44
- package/dist/types/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
- package/dist/types/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
- package/dist/types/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
- package/dist/types/commands/DeleteRuleCommand.d.ts +0 -58
- package/dist/types/commands/DeleteRuleGroupCommand.d.ts +0 -58
- package/dist/types/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
- package/dist/types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
- package/dist/types/commands/DeleteWebACLCommand.d.ts +0 -56
- package/dist/types/commands/DeleteXssMatchSetCommand.d.ts +0 -59
- package/dist/types/commands/GetByteMatchSetCommand.d.ts +0 -43
- package/dist/types/commands/GetChangeTokenCommand.d.ts +0 -49
- package/dist/types/commands/GetChangeTokenStatusCommand.d.ts +0 -59
- package/dist/types/commands/GetGeoMatchSetCommand.d.ts +0 -43
- package/dist/types/commands/GetIPSetCommand.d.ts +0 -43
- package/dist/types/commands/GetLoggingConfigurationCommand.d.ts +0 -43
- package/dist/types/commands/GetPermissionPolicyCommand.d.ts +0 -43
- package/dist/types/commands/GetRateBasedRuleCommand.d.ts +0 -45
- package/dist/types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
- package/dist/types/commands/GetRegexMatchSetCommand.d.ts +0 -43
- package/dist/types/commands/GetRegexPatternSetCommand.d.ts +0 -43
- package/dist/types/commands/GetRuleCommand.d.ts +0 -43
- package/dist/types/commands/GetRuleGroupCommand.d.ts +0 -44
- package/dist/types/commands/GetSampledRequestsCommand.d.ts +0 -47
- package/dist/types/commands/GetSizeConstraintSetCommand.d.ts +0 -43
- package/dist/types/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
- package/dist/types/commands/GetWebACLCommand.d.ts +0 -43
- package/dist/types/commands/GetXssMatchSetCommand.d.ts +0 -43
- package/dist/types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
- package/dist/types/commands/ListByteMatchSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListGeoMatchSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListIPSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
- package/dist/types/commands/ListRateBasedRulesCommand.d.ts +0 -43
- package/dist/types/commands/ListRegexMatchSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListRegexPatternSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListRuleGroupsCommand.d.ts +0 -43
- package/dist/types/commands/ListRulesCommand.d.ts +0 -43
- package/dist/types/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
- package/dist/types/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -44
- package/dist/types/commands/ListWebACLsCommand.d.ts +0 -43
- package/dist/types/commands/ListXssMatchSetsCommand.d.ts +0 -43
- package/dist/types/commands/PutLoggingConfigurationCommand.d.ts +0 -60
- package/dist/types/commands/PutPermissionPolicyCommand.d.ts +0 -75
- package/dist/types/commands/TagResourceCommand.d.ts +0 -44
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -43
- package/dist/types/commands/UpdateByteMatchSetCommand.d.ts +0 -81
- package/dist/types/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
- package/dist/types/commands/UpdateIPSetCommand.d.ts +0 -108
- package/dist/types/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
- package/dist/types/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
- package/dist/types/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
- package/dist/types/commands/UpdateRuleCommand.d.ts +0 -84
- package/dist/types/commands/UpdateRuleGroupCommand.d.ts +0 -67
- package/dist/types/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
- package/dist/types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
- package/dist/types/commands/UpdateWebACLCommand.d.ts +0 -114
- package/dist/types/commands/UpdateXssMatchSetCommand.d.ts +0 -86
- package/dist/types/protocols/Aws_json1_1.d.ts +0 -233
- package/dist/types/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/runtimeConfig.d.ts +0 -36
- package/dist/types/runtimeConfig.native.d.ts +0 -35
- package/dist/types/ts3.4/WAF.d.ts +0 -2287
- package/dist/types/ts3.4/WAFClient.d.ts +0 -219
- package/dist/types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +0 -63
- package/dist/types/ts3.4/commands/CreateIPSetCommand.d.ts +0 -68
- package/dist/types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +0 -128
- package/dist/types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/CreateRuleCommand.d.ts +0 -86
- package/dist/types/ts3.4/commands/CreateRuleGroupCommand.d.ts +0 -57
- package/dist/types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/CreateWebACLCommand.d.ts +0 -74
- package/dist/types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteIPSetCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/DeleteWebACLCommand.d.ts +0 -56
- package/dist/types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/GetByteMatchSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetChangeTokenCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetIPSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetRuleCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetRuleGroupCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/GetSampledRequestsCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetWebACLCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/GetXssMatchSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListIPSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListRuleGroupsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListRulesCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/ListWebACLsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +0 -60
- package/dist/types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +0 -75
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +0 -81
- package/dist/types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +0 -73
- package/dist/types/ts3.4/commands/UpdateIPSetCommand.d.ts +0 -108
- package/dist/types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +0 -89
- package/dist/types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +0 -77
- package/dist/types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +0 -82
- package/dist/types/ts3.4/commands/UpdateRuleCommand.d.ts +0 -84
- package/dist/types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +0 -67
- package/dist/types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +0 -85
- package/dist/types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +0 -84
- package/dist/types/ts3.4/commands/UpdateWebACLCommand.d.ts +0 -114
- package/dist/types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +0 -86
- package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
- package/endpoints.ts +0 -68
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -7494
- package/protocols/Aws_json1_1.ts +0 -11231
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
2
|
-
import { CreateRegexMatchSetRequest, CreateRegexMatchSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateRegexMatchSetCommand,
|
|
5
|
-
serializeAws_json1_1CreateRegexMatchSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateRegexMatchSetCommandInput extends CreateRegexMatchSetRequest {}
|
|
21
|
-
export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
26
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
27
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>For the latest version of AWS
|
|
30
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
33
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
34
|
-
* For example, you can create a <code>RegexMatchSet</code> that contains a <code>RegexMatchTuple</code> that looks for any requests with <code>User-Agent</code> headers
|
|
35
|
-
* that match a <code>RegexPatternSet</code> with pattern <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
36
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
37
|
-
* <ol>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
40
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
47
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
51
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* </ol>
|
|
54
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
55
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { WAFClient, CreateRegexMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
60
|
-
* // const { WAFClient, CreateRegexMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
61
|
-
* const client = new WAFClient(config);
|
|
62
|
-
* const command = new CreateRegexMatchSetCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CreateRegexMatchSetCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateRegexMatchSetCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export class CreateRegexMatchSetCommand extends $Command<
|
|
72
|
-
CreateRegexMatchSetCommandInput,
|
|
73
|
-
CreateRegexMatchSetCommandOutput,
|
|
74
|
-
WAFClientResolvedConfig
|
|
75
|
-
> {
|
|
76
|
-
// Start section: command_properties
|
|
77
|
-
// End section: command_properties
|
|
78
|
-
|
|
79
|
-
constructor(readonly input: CreateRegexMatchSetCommandInput) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
|
-
super();
|
|
82
|
-
// End section: command_constructor
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(
|
|
89
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
90
|
-
configuration: WAFClientResolvedConfig,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
92
|
-
): Handler<CreateRegexMatchSetCommandInput, CreateRegexMatchSetCommandOutput> {
|
|
93
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "WAFClient";
|
|
99
|
-
const commandName = "CreateRegexMatchSetCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: CreateRegexMatchSetRequest.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: CreateRegexMatchSetResponse.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: CreateRegexMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_json1_1CreateRegexMatchSetCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRegexMatchSetCommandOutput> {
|
|
120
|
-
return deserializeAws_json1_1CreateRegexMatchSetCommand(output, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Start section: command_body_extra
|
|
124
|
-
// End section: command_body_extra
|
|
125
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
2
|
-
import { CreateRegexPatternSetRequest, CreateRegexPatternSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateRegexPatternSetCommand,
|
|
5
|
-
serializeAws_json1_1CreateRegexPatternSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateRegexPatternSetCommandInput extends CreateRegexPatternSetRequest {}
|
|
21
|
-
export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
26
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
27
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>For the latest version of AWS
|
|
30
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>Creates a <code>RegexPatternSet</code>. You then use <a>UpdateRegexPatternSet</a> to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
33
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
34
|
-
* <ol>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
37
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
44
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* </ol>
|
|
50
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
51
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { WAFClient, CreateRegexPatternSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
56
|
-
* // const { WAFClient, CreateRegexPatternSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
57
|
-
* const client = new WAFClient(config);
|
|
58
|
-
* const command = new CreateRegexPatternSetCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link CreateRegexPatternSetCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link CreateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
export class CreateRegexPatternSetCommand extends $Command<
|
|
68
|
-
CreateRegexPatternSetCommandInput,
|
|
69
|
-
CreateRegexPatternSetCommandOutput,
|
|
70
|
-
WAFClientResolvedConfig
|
|
71
|
-
> {
|
|
72
|
-
// Start section: command_properties
|
|
73
|
-
// End section: command_properties
|
|
74
|
-
|
|
75
|
-
constructor(readonly input: CreateRegexPatternSetCommandInput) {
|
|
76
|
-
// Start section: command_constructor
|
|
77
|
-
super();
|
|
78
|
-
// End section: command_constructor
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(
|
|
85
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
86
|
-
configuration: WAFClientResolvedConfig,
|
|
87
|
-
options?: __HttpHandlerOptions
|
|
88
|
-
): Handler<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput> {
|
|
89
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
|
-
|
|
91
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
92
|
-
|
|
93
|
-
const { logger } = configuration;
|
|
94
|
-
const clientName = "WAFClient";
|
|
95
|
-
const commandName = "CreateRegexPatternSetCommand";
|
|
96
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
97
|
-
logger,
|
|
98
|
-
clientName,
|
|
99
|
-
commandName,
|
|
100
|
-
inputFilterSensitiveLog: CreateRegexPatternSetRequest.filterSensitiveLog,
|
|
101
|
-
outputFilterSensitiveLog: CreateRegexPatternSetResponse.filterSensitiveLog,
|
|
102
|
-
};
|
|
103
|
-
const { requestHandler } = configuration;
|
|
104
|
-
return stack.resolve(
|
|
105
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
106
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
107
|
-
handlerExecutionContext
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private serialize(input: CreateRegexPatternSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
112
|
-
return serializeAws_json1_1CreateRegexPatternSetCommand(input, context);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRegexPatternSetCommandOutput> {
|
|
116
|
-
return deserializeAws_json1_1CreateRegexPatternSetCommand(output, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// Start section: command_body_extra
|
|
120
|
-
// End section: command_body_extra
|
|
121
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
2
|
-
import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateRuleCommand,
|
|
5
|
-
serializeAws_json1_1CreateRuleCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateRuleCommandInput extends CreateRuleRequest {}
|
|
21
|
-
export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
26
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
27
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>For the latest version of AWS
|
|
30
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
|
|
33
|
-
* <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
|
|
34
|
-
* you want to block. If you add more than one predicate to a <code>Rule</code>, a request
|
|
35
|
-
* must match all of the specifications to be allowed or blocked. For example, suppose
|
|
36
|
-
* that
|
|
37
|
-
* you add the following to a <code>Rule</code>:</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
41
|
-
* </p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to blocks requests that satisfy the <code>Rule</code>.
|
|
48
|
-
* For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request
|
|
49
|
-
* must contain the value <code>BadBot</code>.</p>
|
|
50
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
51
|
-
* <ol>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
|
|
54
|
-
* <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
58
|
-
* <code>CreateRule</code> request.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>Submit a <code>CreateRule</code> request.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
65
|
-
* <a>UpdateRule</a> request.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* </ol>
|
|
74
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
75
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
76
|
-
* @example
|
|
77
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
78
|
-
* ```javascript
|
|
79
|
-
* import { WAFClient, CreateRuleCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
80
|
-
* // const { WAFClient, CreateRuleCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
81
|
-
* const client = new WAFClient(config);
|
|
82
|
-
* const command = new CreateRuleCommand(input);
|
|
83
|
-
* const response = await client.send(command);
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* @see {@link CreateRuleCommandInput} for command's `input` shape.
|
|
87
|
-
* @see {@link CreateRuleCommandOutput} for command's `response` shape.
|
|
88
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
export class CreateRuleCommand extends $Command<
|
|
92
|
-
CreateRuleCommandInput,
|
|
93
|
-
CreateRuleCommandOutput,
|
|
94
|
-
WAFClientResolvedConfig
|
|
95
|
-
> {
|
|
96
|
-
// Start section: command_properties
|
|
97
|
-
// End section: command_properties
|
|
98
|
-
|
|
99
|
-
constructor(readonly input: CreateRuleCommandInput) {
|
|
100
|
-
// Start section: command_constructor
|
|
101
|
-
super();
|
|
102
|
-
// End section: command_constructor
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
resolveMiddleware(
|
|
109
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
110
|
-
configuration: WAFClientResolvedConfig,
|
|
111
|
-
options?: __HttpHandlerOptions
|
|
112
|
-
): Handler<CreateRuleCommandInput, CreateRuleCommandOutput> {
|
|
113
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
114
|
-
|
|
115
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
116
|
-
|
|
117
|
-
const { logger } = configuration;
|
|
118
|
-
const clientName = "WAFClient";
|
|
119
|
-
const commandName = "CreateRuleCommand";
|
|
120
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
121
|
-
logger,
|
|
122
|
-
clientName,
|
|
123
|
-
commandName,
|
|
124
|
-
inputFilterSensitiveLog: CreateRuleRequest.filterSensitiveLog,
|
|
125
|
-
outputFilterSensitiveLog: CreateRuleResponse.filterSensitiveLog,
|
|
126
|
-
};
|
|
127
|
-
const { requestHandler } = configuration;
|
|
128
|
-
return stack.resolve(
|
|
129
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
130
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
131
|
-
handlerExecutionContext
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
private serialize(input: CreateRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
136
|
-
return serializeAws_json1_1CreateRuleCommand(input, context);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRuleCommandOutput> {
|
|
140
|
-
return deserializeAws_json1_1CreateRuleCommand(output, context);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Start section: command_body_extra
|
|
144
|
-
// End section: command_body_extra
|
|
145
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
2
|
-
import { CreateRuleGroupRequest, CreateRuleGroupResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateRuleGroupCommand,
|
|
5
|
-
serializeAws_json1_1CreateRuleGroupCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateRuleGroupCommandInput extends CreateRuleGroupRequest {}
|
|
21
|
-
export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
26
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
27
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>For the latest version of AWS
|
|
30
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>Creates a <code>RuleGroup</code>. A rule group is a collection of predefined rules that you add to a web ACL. You use <a>UpdateRuleGroup</a> to add rules to the rule group.</p>
|
|
33
|
-
* <p>Rule groups are subject to the following limits:</p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>One rule group per web ACL.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Ten rules per rule group.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
47
|
-
* @example
|
|
48
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
-
* ```javascript
|
|
50
|
-
* import { WAFClient, CreateRuleGroupCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
51
|
-
* // const { WAFClient, CreateRuleGroupCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
52
|
-
* const client = new WAFClient(config);
|
|
53
|
-
* const command = new CreateRuleGroupCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link CreateRuleGroupCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link CreateRuleGroupCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
export class CreateRuleGroupCommand extends $Command<
|
|
63
|
-
CreateRuleGroupCommandInput,
|
|
64
|
-
CreateRuleGroupCommandOutput,
|
|
65
|
-
WAFClientResolvedConfig
|
|
66
|
-
> {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
|
-
|
|
70
|
-
constructor(readonly input: CreateRuleGroupCommandInput) {
|
|
71
|
-
// Start section: command_constructor
|
|
72
|
-
super();
|
|
73
|
-
// End section: command_constructor
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
resolveMiddleware(
|
|
80
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
81
|
-
configuration: WAFClientResolvedConfig,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
83
|
-
): Handler<CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput> {
|
|
84
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
|
-
|
|
86
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
87
|
-
|
|
88
|
-
const { logger } = configuration;
|
|
89
|
-
const clientName = "WAFClient";
|
|
90
|
-
const commandName = "CreateRuleGroupCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: CreateRuleGroupRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: CreateRuleGroupResponse.filterSensitiveLog,
|
|
97
|
-
};
|
|
98
|
-
const { requestHandler } = configuration;
|
|
99
|
-
return stack.resolve(
|
|
100
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
101
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
102
|
-
handlerExecutionContext
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private serialize(input: CreateRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
107
|
-
return serializeAws_json1_1CreateRuleGroupCommand(input, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRuleGroupCommandOutput> {
|
|
111
|
-
return deserializeAws_json1_1CreateRuleGroupCommand(output, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Start section: command_body_extra
|
|
115
|
-
// End section: command_body_extra
|
|
116
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
2
|
-
import { CreateSizeConstraintSetRequest, CreateSizeConstraintSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateSizeConstraintSetCommand,
|
|
5
|
-
serializeAws_json1_1CreateSizeConstraintSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateSizeConstraintSetCommandInput extends CreateSizeConstraintSetRequest {}
|
|
21
|
-
export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstraintSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <note>
|
|
25
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
26
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
27
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>For the latest version of AWS
|
|
30
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
31
|
-
* </note>
|
|
32
|
-
* <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
|
|
33
|
-
* web request that you want AWS WAF to check for length, such as the length of the <code>User-Agent</code> header or the length of the query string.
|
|
34
|
-
* For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
|
|
35
|
-
* You can then configure AWS WAF to reject those requests.</p>
|
|
36
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
37
|
-
* <ol>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
40
|
-
* <code>CreateSizeConstraintSet</code> request.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
47
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
51
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* </ol>
|
|
54
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
55
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { WAFClient, CreateSizeConstraintSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
60
|
-
* // const { WAFClient, CreateSizeConstraintSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
61
|
-
* const client = new WAFClient(config);
|
|
62
|
-
* const command = new CreateSizeConstraintSetCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CreateSizeConstraintSetCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateSizeConstraintSetCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
export class CreateSizeConstraintSetCommand extends $Command<
|
|
72
|
-
CreateSizeConstraintSetCommandInput,
|
|
73
|
-
CreateSizeConstraintSetCommandOutput,
|
|
74
|
-
WAFClientResolvedConfig
|
|
75
|
-
> {
|
|
76
|
-
// Start section: command_properties
|
|
77
|
-
// End section: command_properties
|
|
78
|
-
|
|
79
|
-
constructor(readonly input: CreateSizeConstraintSetCommandInput) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
|
-
super();
|
|
82
|
-
// End section: command_constructor
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(
|
|
89
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
90
|
-
configuration: WAFClientResolvedConfig,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
92
|
-
): Handler<CreateSizeConstraintSetCommandInput, CreateSizeConstraintSetCommandOutput> {
|
|
93
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "WAFClient";
|
|
99
|
-
const commandName = "CreateSizeConstraintSetCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: CreateSizeConstraintSetRequest.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: CreateSizeConstraintSetResponse.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: CreateSizeConstraintSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_json1_1CreateSizeConstraintSetCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateSizeConstraintSetCommandOutput> {
|
|
120
|
-
return deserializeAws_json1_1CreateSizeConstraintSetCommand(output, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Start section: command_body_extra
|
|
124
|
-
// End section: command_body_extra
|
|
125
|
-
}
|