@aws-sdk/client-waf 3.34.0 → 3.35.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 +12 -0
- package/dist-cjs/WAF.js +1176 -0
- package/dist-cjs/WAF.js.map +1 -0
- package/dist-cjs/WAFClient.js +54 -0
- package/dist-cjs/WAFClient.js.map +1 -0
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +92 -0
- package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +89 -0
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +94 -0
- package/dist-cjs/commands/CreateIPSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +154 -0
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +1 -0
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +92 -0
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +88 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateRuleCommand.js +112 -0
- package/dist-cjs/commands/CreateRuleCommand.js.map +1 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +83 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js.map +1 -0
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +92 -0
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +90 -0
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +100 -0
- package/dist-cjs/commands/CreateWebACLCommand.js.map +1 -0
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +68 -0
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +1 -0
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +90 -0
- package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +70 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +1 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +70 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +88 -0
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +70 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +84 -0
- package/dist-cjs/commands/DeleteRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +84 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +84 -0
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +85 -0
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +82 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +85 -0
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetByteMatchSetCommand.js +69 -0
- package/dist-cjs/commands/GetByteMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetChangeTokenCommand.js +75 -0
- package/dist-cjs/commands/GetChangeTokenCommand.js.map +1 -0
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +85 -0
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +1 -0
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +69 -0
- package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetIPSetCommand.js +69 -0
- package/dist-cjs/commands/GetIPSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +69 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +1 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +69 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +71 -0
- package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +1 -0
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +71 -0
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -0
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +69 -0
- package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +69 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetRuleCommand.js +69 -0
- package/dist-cjs/commands/GetRuleCommand.js.map +1 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +70 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js.map +1 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +73 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js.map +1 -0
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +69 -0
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +69 -0
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetWebACLCommand.js +69 -0
- package/dist-cjs/commands/GetWebACLCommand.js.map +1 -0
- package/dist-cjs/commands/GetXssMatchSetCommand.js +69 -0
- package/dist-cjs/commands/GetXssMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +69 -0
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -0
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +69 -0
- package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +69 -0
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +69 -0
- package/dist-cjs/commands/ListIPSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +69 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +1 -0
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +69 -0
- package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +69 -0
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +69 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +69 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js.map +1 -0
- package/dist-cjs/commands/ListRulesCommand.js +69 -0
- package/dist-cjs/commands/ListRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +69 -0
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +69 -0
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +69 -0
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +70 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +69 -0
- package/dist-cjs/commands/ListWebACLsCommand.js.map +1 -0
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +69 -0
- package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +1 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +86 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +1 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +101 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +70 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +69 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +107 -0
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +99 -0
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +134 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +115 -0
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +103 -0
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +108 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +110 -0
- package/dist-cjs/commands/UpdateRuleCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +93 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +111 -0
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +110 -0
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +140 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +112 -0
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +47 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-es/WAF.js +1166 -0
- package/dist-es/WAF.js.map +1 -0
- package/dist-es/WAFClient.js +38 -0
- package/dist-es/WAFClient.js.map +1 -0
- package/dist-es/commands/CreateByteMatchSetCommand.js +40 -0
- package/dist-es/commands/CreateByteMatchSetCommand.js.map +1 -0
- package/dist-es/commands/CreateGeoMatchSetCommand.js +40 -0
- package/dist-es/commands/CreateGeoMatchSetCommand.js.map +1 -0
- package/dist-es/commands/CreateIPSetCommand.js +40 -0
- package/dist-es/commands/CreateIPSetCommand.js.map +1 -0
- package/dist-es/commands/CreateRateBasedRuleCommand.js +40 -0
- package/dist-es/commands/CreateRateBasedRuleCommand.js.map +1 -0
- package/dist-es/commands/CreateRegexMatchSetCommand.js +40 -0
- package/dist-es/commands/CreateRegexMatchSetCommand.js.map +1 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +40 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js.map +1 -0
- package/dist-es/commands/CreateRuleCommand.js +40 -0
- package/dist-es/commands/CreateRuleCommand.js.map +1 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +40 -0
- package/dist-es/commands/CreateRuleGroupCommand.js.map +1 -0
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +40 -0
- package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +1 -0
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +40 -0
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-es/commands/CreateWebACLCommand.js +40 -0
- package/dist-es/commands/CreateWebACLCommand.js.map +1 -0
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +40 -0
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +1 -0
- package/dist-es/commands/CreateXssMatchSetCommand.js +40 -0
- package/dist-es/commands/CreateXssMatchSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteByteMatchSetCommand.js +40 -0
- package/dist-es/commands/DeleteByteMatchSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +40 -0
- package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteIPSetCommand.js +40 -0
- package/dist-es/commands/DeleteIPSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +40 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +1 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +40 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js.map +1 -0
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +40 -0
- package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +40 -0
- package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +40 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteRuleCommand.js +40 -0
- package/dist-es/commands/DeleteRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +40 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js.map +1 -0
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +40 -0
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +40 -0
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteWebACLCommand.js +40 -0
- package/dist-es/commands/DeleteWebACLCommand.js.map +1 -0
- package/dist-es/commands/DeleteXssMatchSetCommand.js +40 -0
- package/dist-es/commands/DeleteXssMatchSetCommand.js.map +1 -0
- package/dist-es/commands/GetByteMatchSetCommand.js +40 -0
- package/dist-es/commands/GetByteMatchSetCommand.js.map +1 -0
- package/dist-es/commands/GetChangeTokenCommand.js +40 -0
- package/dist-es/commands/GetChangeTokenCommand.js.map +1 -0
- package/dist-es/commands/GetChangeTokenStatusCommand.js +40 -0
- package/dist-es/commands/GetChangeTokenStatusCommand.js.map +1 -0
- package/dist-es/commands/GetGeoMatchSetCommand.js +40 -0
- package/dist-es/commands/GetGeoMatchSetCommand.js.map +1 -0
- package/dist-es/commands/GetIPSetCommand.js +40 -0
- package/dist-es/commands/GetIPSetCommand.js.map +1 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +40 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js.map +1 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +40 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js.map +1 -0
- package/dist-es/commands/GetRateBasedRuleCommand.js +40 -0
- package/dist-es/commands/GetRateBasedRuleCommand.js.map +1 -0
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +40 -0
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -0
- package/dist-es/commands/GetRegexMatchSetCommand.js +40 -0
- package/dist-es/commands/GetRegexMatchSetCommand.js.map +1 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +40 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js.map +1 -0
- package/dist-es/commands/GetRuleCommand.js +40 -0
- package/dist-es/commands/GetRuleCommand.js.map +1 -0
- package/dist-es/commands/GetRuleGroupCommand.js +40 -0
- package/dist-es/commands/GetRuleGroupCommand.js.map +1 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +40 -0
- package/dist-es/commands/GetSampledRequestsCommand.js.map +1 -0
- package/dist-es/commands/GetSizeConstraintSetCommand.js +40 -0
- package/dist-es/commands/GetSizeConstraintSetCommand.js.map +1 -0
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +40 -0
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-es/commands/GetWebACLCommand.js +40 -0
- package/dist-es/commands/GetWebACLCommand.js.map +1 -0
- package/dist-es/commands/GetXssMatchSetCommand.js +40 -0
- package/dist-es/commands/GetXssMatchSetCommand.js.map +1 -0
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +40 -0
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -0
- package/dist-es/commands/ListByteMatchSetsCommand.js +40 -0
- package/dist-es/commands/ListByteMatchSetsCommand.js.map +1 -0
- package/dist-es/commands/ListGeoMatchSetsCommand.js +40 -0
- package/dist-es/commands/ListGeoMatchSetsCommand.js.map +1 -0
- package/dist-es/commands/ListIPSetsCommand.js +40 -0
- package/dist-es/commands/ListIPSetsCommand.js.map +1 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +40 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +1 -0
- package/dist-es/commands/ListRateBasedRulesCommand.js +40 -0
- package/dist-es/commands/ListRateBasedRulesCommand.js.map +1 -0
- package/dist-es/commands/ListRegexMatchSetsCommand.js +40 -0
- package/dist-es/commands/ListRegexMatchSetsCommand.js.map +1 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +40 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js.map +1 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +40 -0
- package/dist-es/commands/ListRuleGroupsCommand.js.map +1 -0
- package/dist-es/commands/ListRulesCommand.js +40 -0
- package/dist-es/commands/ListRulesCommand.js.map +1 -0
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +40 -0
- package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +1 -0
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +40 -0
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -0
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +40 -0
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/ListWebACLsCommand.js +40 -0
- package/dist-es/commands/ListWebACLsCommand.js.map +1 -0
- package/dist-es/commands/ListXssMatchSetsCommand.js +40 -0
- package/dist-es/commands/ListXssMatchSetsCommand.js.map +1 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +40 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js.map +1 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +40 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/dist-es/commands/UpdateByteMatchSetCommand.js +40 -0
- package/dist-es/commands/UpdateByteMatchSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +40 -0
- package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateIPSetCommand.js +40 -0
- package/dist-es/commands/UpdateIPSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +40 -0
- package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +1 -0
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +40 -0
- package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +40 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateRuleCommand.js +40 -0
- package/dist-es/commands/UpdateRuleCommand.js.map +1 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +40 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js.map +1 -0
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +40 -0
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +40 -0
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateWebACLCommand.js +40 -0
- package/dist-es/commands/UpdateWebACLCommand.js.map +1 -0
- package/dist-es/commands/UpdateXssMatchSetCommand.js +40 -0
- package/dist-es/commands/UpdateXssMatchSetCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +22 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -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/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → 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 → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -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 → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/src/WAF.ts +4456 -0
- package/src/WAFClient.ts +576 -0
- package/src/commands/CreateByteMatchSetCommand.ts +126 -0
- package/src/commands/CreateGeoMatchSetCommand.ts +123 -0
- package/src/commands/CreateIPSetCommand.ts +128 -0
- package/src/commands/CreateRateBasedRuleCommand.ts +188 -0
- package/src/commands/CreateRegexMatchSetCommand.ts +126 -0
- package/src/commands/CreateRegexPatternSetCommand.ts +122 -0
- package/src/commands/CreateRuleCommand.ts +146 -0
- package/src/commands/CreateRuleGroupCommand.ts +117 -0
- package/src/commands/CreateSizeConstraintSetCommand.ts +126 -0
- package/src/commands/CreateSqlInjectionMatchSetCommand.ts +127 -0
- package/src/commands/CreateWebACLCommand.ts +134 -0
- package/src/commands/CreateWebACLMigrationStackCommand.ts +105 -0
- package/src/commands/CreateXssMatchSetCommand.ts +124 -0
- package/src/commands/DeleteByteMatchSetCommand.ts +118 -0
- package/src/commands/DeleteGeoMatchSetCommand.ts +118 -0
- package/src/commands/DeleteIPSetCommand.ts +118 -0
- package/src/commands/DeleteLoggingConfigurationCommand.ts +107 -0
- package/src/commands/DeletePermissionPolicyCommand.ts +104 -0
- package/src/commands/DeleteRateBasedRuleCommand.ts +122 -0
- package/src/commands/DeleteRegexMatchSetCommand.ts +118 -0
- package/src/commands/DeleteRegexPatternSetCommand.ts +104 -0
- package/src/commands/DeleteRuleCommand.ts +118 -0
- package/src/commands/DeleteRuleGroupCommand.ts +118 -0
- package/src/commands/DeleteSizeConstraintSetCommand.ts +118 -0
- package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +122 -0
- package/src/commands/DeleteWebACLCommand.ts +116 -0
- package/src/commands/DeleteXssMatchSetCommand.ts +119 -0
- package/src/commands/GetByteMatchSetCommand.ts +103 -0
- package/src/commands/GetChangeTokenCommand.ts +109 -0
- package/src/commands/GetChangeTokenStatusCommand.ts +119 -0
- package/src/commands/GetGeoMatchSetCommand.ts +103 -0
- package/src/commands/GetIPSetCommand.ts +96 -0
- package/src/commands/GetLoggingConfigurationCommand.ts +103 -0
- package/src/commands/GetPermissionPolicyCommand.ts +103 -0
- package/src/commands/GetRateBasedRuleCommand.ts +105 -0
- package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +110 -0
- package/src/commands/GetRegexMatchSetCommand.ts +103 -0
- package/src/commands/GetRegexPatternSetCommand.ts +103 -0
- package/src/commands/GetRuleCommand.ts +96 -0
- package/src/commands/GetRuleGroupCommand.ts +104 -0
- package/src/commands/GetSampledRequestsCommand.ts +107 -0
- package/src/commands/GetSizeConstraintSetCommand.ts +103 -0
- package/src/commands/GetSqlInjectionMatchSetCommand.ts +103 -0
- package/src/commands/GetWebACLCommand.ts +96 -0
- package/src/commands/GetXssMatchSetCommand.ts +103 -0
- package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +108 -0
- package/src/commands/ListByteMatchSetsCommand.ts +103 -0
- package/src/commands/ListGeoMatchSetsCommand.ts +103 -0
- package/src/commands/ListIPSetsCommand.ts +103 -0
- package/src/commands/ListLoggingConfigurationsCommand.ts +106 -0
- package/src/commands/ListRateBasedRulesCommand.ts +103 -0
- package/src/commands/ListRegexMatchSetsCommand.ts +103 -0
- package/src/commands/ListRegexPatternSetsCommand.ts +103 -0
- package/src/commands/ListRuleGroupsCommand.ts +103 -0
- package/src/commands/ListRulesCommand.ts +96 -0
- package/src/commands/ListSizeConstraintSetsCommand.ts +103 -0
- package/src/commands/ListSqlInjectionMatchSetsCommand.ts +106 -0
- package/src/commands/ListSubscribedRuleGroupsCommand.ts +103 -0
- package/src/commands/ListTagsForResourceCommand.ts +104 -0
- package/src/commands/ListWebACLsCommand.ts +103 -0
- package/src/commands/ListXssMatchSetsCommand.ts +103 -0
- package/src/commands/PutLoggingConfigurationCommand.ts +120 -0
- package/src/commands/PutPermissionPolicyCommand.ts +135 -0
- package/src/commands/TagResourceCommand.ts +104 -0
- package/src/commands/UntagResourceCommand.ts +103 -0
- package/src/commands/UpdateByteMatchSetCommand.ts +141 -0
- package/src/commands/UpdateGeoMatchSetCommand.ts +133 -0
- package/src/commands/UpdateIPSetCommand.ts +168 -0
- package/src/commands/UpdateRateBasedRuleCommand.ts +149 -0
- package/src/commands/UpdateRegexMatchSetCommand.ts +137 -0
- package/src/commands/UpdateRegexPatternSetCommand.ts +142 -0
- package/src/commands/UpdateRuleCommand.ts +144 -0
- package/src/commands/UpdateRuleGroupCommand.ts +127 -0
- package/src/commands/UpdateSizeConstraintSetCommand.ts +145 -0
- package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +147 -0
- package/src/commands/UpdateWebACLCommand.ts +174 -0
- package/src/commands/UpdateXssMatchSetCommand.ts +146 -0
- package/src/endpoints.ts +68 -0
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/src/protocols/Aws_json1_1.ts +11232 -0
- package/src/runtimeConfig.browser.ts +41 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +46 -0
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- 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.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- 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.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.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 -1166
- package/dist/es/WAF.js.map +0 -1
- package/dist/es/WAFClient.js +0 -38
- package/dist/es/WAFClient.js.map +0 -1
- package/dist/es/commands/CreateByteMatchSetCommand.js +0 -40
- package/dist/es/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateGeoMatchSetCommand.js +0 -40
- package/dist/es/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateIPSetCommand.js +0 -40
- package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRateBasedRuleCommand.js +0 -40
- package/dist/es/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexMatchSetCommand.js +0 -40
- package/dist/es/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexPatternSetCommand.js +0 -40
- package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleCommand.js +0 -40
- package/dist/es/commands/CreateRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js +0 -40
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateSizeConstraintSetCommand.js +0 -40
- package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +0 -40
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLCommand.js +0 -40
- package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js +0 -40
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist/es/commands/CreateXssMatchSetCommand.js +0 -40
- package/dist/es/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteByteMatchSetCommand.js +0 -40
- package/dist/es/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteGeoMatchSetCommand.js +0 -40
- package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteIPSetCommand.js +0 -40
- package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js +0 -40
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeletePermissionPolicyCommand.js +0 -40
- package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRateBasedRuleCommand.js +0 -40
- package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegexMatchSetCommand.js +0 -40
- package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegexPatternSetCommand.js +0 -40
- package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleCommand.js +0 -40
- package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js +0 -40
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js +0 -40
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -40
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebACLCommand.js +0 -40
- package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/es/commands/DeleteXssMatchSetCommand.js +0 -40
- package/dist/es/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetByteMatchSetCommand.js +0 -40
- package/dist/es/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetChangeTokenCommand.js +0 -40
- package/dist/es/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist/es/commands/GetChangeTokenStatusCommand.js +0 -40
- package/dist/es/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist/es/commands/GetGeoMatchSetCommand.js +0 -40
- package/dist/es/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetIPSetCommand.js +0 -40
- package/dist/es/commands/GetIPSetCommand.js.map +0 -1
- package/dist/es/commands/GetLoggingConfigurationCommand.js +0 -40
- package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionPolicyCommand.js +0 -40
- package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedRuleCommand.js +0 -40
- package/dist/es/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -40
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist/es/commands/GetRegexMatchSetCommand.js +0 -40
- package/dist/es/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetRegexPatternSetCommand.js +0 -40
- package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/GetRuleCommand.js +0 -40
- package/dist/es/commands/GetRuleCommand.js.map +0 -1
- package/dist/es/commands/GetRuleGroupCommand.js +0 -40
- package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/GetSampledRequestsCommand.js +0 -40
- package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/es/commands/GetSizeConstraintSetCommand.js +0 -40
- package/dist/es/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +0 -40
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLCommand.js +0 -40
- package/dist/es/commands/GetWebACLCommand.js.map +0 -1
- package/dist/es/commands/GetXssMatchSetCommand.js +0 -40
- package/dist/es/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -40
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/ListByteMatchSetsCommand.js +0 -40
- package/dist/es/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListGeoMatchSetsCommand.js +0 -40
- package/dist/es/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListIPSetsCommand.js +0 -40
- package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist/es/commands/ListLoggingConfigurationsCommand.js +0 -40
- package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListRateBasedRulesCommand.js +0 -40
- package/dist/es/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist/es/commands/ListRegexMatchSetsCommand.js +0 -40
- package/dist/es/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRegexPatternSetsCommand.js +0 -40
- package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRuleGroupsCommand.js +0 -40
- package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListRulesCommand.js +0 -40
- package/dist/es/commands/ListRulesCommand.js.map +0 -1
- package/dist/es/commands/ListSizeConstraintSetsCommand.js +0 -40
- package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +0 -40
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +0 -40
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWebACLsCommand.js +0 -40
- package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
- package/dist/es/commands/ListXssMatchSetsCommand.js +0 -40
- package/dist/es/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -40
- package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/PutPermissionPolicyCommand.js +0 -40
- package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -40
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -40
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateByteMatchSetCommand.js +0 -40
- package/dist/es/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateGeoMatchSetCommand.js +0 -40
- package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateIPSetCommand.js +0 -40
- package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRateBasedRuleCommand.js +0 -40
- package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexMatchSetCommand.js +0 -40
- package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexPatternSetCommand.js +0 -40
- package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleCommand.js +0 -40
- package/dist/es/commands/UpdateRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js +0 -40
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js +0 -40
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -40
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateWebACLCommand.js +0 -40
- package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/es/commands/UpdateXssMatchSetCommand.js +0 -40
- package/dist/es/commands/UpdateXssMatchSetCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- 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.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -22
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- 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.d.ts +0 -37
- 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.d.ts +0 -37
- package/endpoints.ts +0 -68
- 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/WAF.ts
DELETED
|
@@ -1,4455 +0,0 @@
|
|
|
1
|
-
import { WAFClient } from "./WAFClient";
|
|
2
|
-
import {
|
|
3
|
-
CreateByteMatchSetCommand,
|
|
4
|
-
CreateByteMatchSetCommandInput,
|
|
5
|
-
CreateByteMatchSetCommandOutput,
|
|
6
|
-
} from "./commands/CreateByteMatchSetCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateGeoMatchSetCommand,
|
|
9
|
-
CreateGeoMatchSetCommandInput,
|
|
10
|
-
CreateGeoMatchSetCommandOutput,
|
|
11
|
-
} from "./commands/CreateGeoMatchSetCommand";
|
|
12
|
-
import { CreateIPSetCommand, CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateRateBasedRuleCommand,
|
|
15
|
-
CreateRateBasedRuleCommandInput,
|
|
16
|
-
CreateRateBasedRuleCommandOutput,
|
|
17
|
-
} from "./commands/CreateRateBasedRuleCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateRegexMatchSetCommand,
|
|
20
|
-
CreateRegexMatchSetCommandInput,
|
|
21
|
-
CreateRegexMatchSetCommandOutput,
|
|
22
|
-
} from "./commands/CreateRegexMatchSetCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateRegexPatternSetCommand,
|
|
25
|
-
CreateRegexPatternSetCommandInput,
|
|
26
|
-
CreateRegexPatternSetCommandOutput,
|
|
27
|
-
} from "./commands/CreateRegexPatternSetCommand";
|
|
28
|
-
import { CreateRuleCommand, CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
|
|
29
|
-
import {
|
|
30
|
-
CreateRuleGroupCommand,
|
|
31
|
-
CreateRuleGroupCommandInput,
|
|
32
|
-
CreateRuleGroupCommandOutput,
|
|
33
|
-
} from "./commands/CreateRuleGroupCommand";
|
|
34
|
-
import {
|
|
35
|
-
CreateSizeConstraintSetCommand,
|
|
36
|
-
CreateSizeConstraintSetCommandInput,
|
|
37
|
-
CreateSizeConstraintSetCommandOutput,
|
|
38
|
-
} from "./commands/CreateSizeConstraintSetCommand";
|
|
39
|
-
import {
|
|
40
|
-
CreateSqlInjectionMatchSetCommand,
|
|
41
|
-
CreateSqlInjectionMatchSetCommandInput,
|
|
42
|
-
CreateSqlInjectionMatchSetCommandOutput,
|
|
43
|
-
} from "./commands/CreateSqlInjectionMatchSetCommand";
|
|
44
|
-
import {
|
|
45
|
-
CreateWebACLCommand,
|
|
46
|
-
CreateWebACLCommandInput,
|
|
47
|
-
CreateWebACLCommandOutput,
|
|
48
|
-
} from "./commands/CreateWebACLCommand";
|
|
49
|
-
import {
|
|
50
|
-
CreateWebACLMigrationStackCommand,
|
|
51
|
-
CreateWebACLMigrationStackCommandInput,
|
|
52
|
-
CreateWebACLMigrationStackCommandOutput,
|
|
53
|
-
} from "./commands/CreateWebACLMigrationStackCommand";
|
|
54
|
-
import {
|
|
55
|
-
CreateXssMatchSetCommand,
|
|
56
|
-
CreateXssMatchSetCommandInput,
|
|
57
|
-
CreateXssMatchSetCommandOutput,
|
|
58
|
-
} from "./commands/CreateXssMatchSetCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteByteMatchSetCommand,
|
|
61
|
-
DeleteByteMatchSetCommandInput,
|
|
62
|
-
DeleteByteMatchSetCommandOutput,
|
|
63
|
-
} from "./commands/DeleteByteMatchSetCommand";
|
|
64
|
-
import {
|
|
65
|
-
DeleteGeoMatchSetCommand,
|
|
66
|
-
DeleteGeoMatchSetCommandInput,
|
|
67
|
-
DeleteGeoMatchSetCommandOutput,
|
|
68
|
-
} from "./commands/DeleteGeoMatchSetCommand";
|
|
69
|
-
import { DeleteIPSetCommand, DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
70
|
-
import {
|
|
71
|
-
DeleteLoggingConfigurationCommand,
|
|
72
|
-
DeleteLoggingConfigurationCommandInput,
|
|
73
|
-
DeleteLoggingConfigurationCommandOutput,
|
|
74
|
-
} from "./commands/DeleteLoggingConfigurationCommand";
|
|
75
|
-
import {
|
|
76
|
-
DeletePermissionPolicyCommand,
|
|
77
|
-
DeletePermissionPolicyCommandInput,
|
|
78
|
-
DeletePermissionPolicyCommandOutput,
|
|
79
|
-
} from "./commands/DeletePermissionPolicyCommand";
|
|
80
|
-
import {
|
|
81
|
-
DeleteRateBasedRuleCommand,
|
|
82
|
-
DeleteRateBasedRuleCommandInput,
|
|
83
|
-
DeleteRateBasedRuleCommandOutput,
|
|
84
|
-
} from "./commands/DeleteRateBasedRuleCommand";
|
|
85
|
-
import {
|
|
86
|
-
DeleteRegexMatchSetCommand,
|
|
87
|
-
DeleteRegexMatchSetCommandInput,
|
|
88
|
-
DeleteRegexMatchSetCommandOutput,
|
|
89
|
-
} from "./commands/DeleteRegexMatchSetCommand";
|
|
90
|
-
import {
|
|
91
|
-
DeleteRegexPatternSetCommand,
|
|
92
|
-
DeleteRegexPatternSetCommandInput,
|
|
93
|
-
DeleteRegexPatternSetCommandOutput,
|
|
94
|
-
} from "./commands/DeleteRegexPatternSetCommand";
|
|
95
|
-
import { DeleteRuleCommand, DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
96
|
-
import {
|
|
97
|
-
DeleteRuleGroupCommand,
|
|
98
|
-
DeleteRuleGroupCommandInput,
|
|
99
|
-
DeleteRuleGroupCommandOutput,
|
|
100
|
-
} from "./commands/DeleteRuleGroupCommand";
|
|
101
|
-
import {
|
|
102
|
-
DeleteSizeConstraintSetCommand,
|
|
103
|
-
DeleteSizeConstraintSetCommandInput,
|
|
104
|
-
DeleteSizeConstraintSetCommandOutput,
|
|
105
|
-
} from "./commands/DeleteSizeConstraintSetCommand";
|
|
106
|
-
import {
|
|
107
|
-
DeleteSqlInjectionMatchSetCommand,
|
|
108
|
-
DeleteSqlInjectionMatchSetCommandInput,
|
|
109
|
-
DeleteSqlInjectionMatchSetCommandOutput,
|
|
110
|
-
} from "./commands/DeleteSqlInjectionMatchSetCommand";
|
|
111
|
-
import {
|
|
112
|
-
DeleteWebACLCommand,
|
|
113
|
-
DeleteWebACLCommandInput,
|
|
114
|
-
DeleteWebACLCommandOutput,
|
|
115
|
-
} from "./commands/DeleteWebACLCommand";
|
|
116
|
-
import {
|
|
117
|
-
DeleteXssMatchSetCommand,
|
|
118
|
-
DeleteXssMatchSetCommandInput,
|
|
119
|
-
DeleteXssMatchSetCommandOutput,
|
|
120
|
-
} from "./commands/DeleteXssMatchSetCommand";
|
|
121
|
-
import {
|
|
122
|
-
GetByteMatchSetCommand,
|
|
123
|
-
GetByteMatchSetCommandInput,
|
|
124
|
-
GetByteMatchSetCommandOutput,
|
|
125
|
-
} from "./commands/GetByteMatchSetCommand";
|
|
126
|
-
import {
|
|
127
|
-
GetChangeTokenCommand,
|
|
128
|
-
GetChangeTokenCommandInput,
|
|
129
|
-
GetChangeTokenCommandOutput,
|
|
130
|
-
} from "./commands/GetChangeTokenCommand";
|
|
131
|
-
import {
|
|
132
|
-
GetChangeTokenStatusCommand,
|
|
133
|
-
GetChangeTokenStatusCommandInput,
|
|
134
|
-
GetChangeTokenStatusCommandOutput,
|
|
135
|
-
} from "./commands/GetChangeTokenStatusCommand";
|
|
136
|
-
import {
|
|
137
|
-
GetGeoMatchSetCommand,
|
|
138
|
-
GetGeoMatchSetCommandInput,
|
|
139
|
-
GetGeoMatchSetCommandOutput,
|
|
140
|
-
} from "./commands/GetGeoMatchSetCommand";
|
|
141
|
-
import { GetIPSetCommand, GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
142
|
-
import {
|
|
143
|
-
GetLoggingConfigurationCommand,
|
|
144
|
-
GetLoggingConfigurationCommandInput,
|
|
145
|
-
GetLoggingConfigurationCommandOutput,
|
|
146
|
-
} from "./commands/GetLoggingConfigurationCommand";
|
|
147
|
-
import {
|
|
148
|
-
GetPermissionPolicyCommand,
|
|
149
|
-
GetPermissionPolicyCommandInput,
|
|
150
|
-
GetPermissionPolicyCommandOutput,
|
|
151
|
-
} from "./commands/GetPermissionPolicyCommand";
|
|
152
|
-
import {
|
|
153
|
-
GetRateBasedRuleCommand,
|
|
154
|
-
GetRateBasedRuleCommandInput,
|
|
155
|
-
GetRateBasedRuleCommandOutput,
|
|
156
|
-
} from "./commands/GetRateBasedRuleCommand";
|
|
157
|
-
import {
|
|
158
|
-
GetRateBasedRuleManagedKeysCommand,
|
|
159
|
-
GetRateBasedRuleManagedKeysCommandInput,
|
|
160
|
-
GetRateBasedRuleManagedKeysCommandOutput,
|
|
161
|
-
} from "./commands/GetRateBasedRuleManagedKeysCommand";
|
|
162
|
-
import {
|
|
163
|
-
GetRegexMatchSetCommand,
|
|
164
|
-
GetRegexMatchSetCommandInput,
|
|
165
|
-
GetRegexMatchSetCommandOutput,
|
|
166
|
-
} from "./commands/GetRegexMatchSetCommand";
|
|
167
|
-
import {
|
|
168
|
-
GetRegexPatternSetCommand,
|
|
169
|
-
GetRegexPatternSetCommandInput,
|
|
170
|
-
GetRegexPatternSetCommandOutput,
|
|
171
|
-
} from "./commands/GetRegexPatternSetCommand";
|
|
172
|
-
import { GetRuleCommand, GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
|
|
173
|
-
import {
|
|
174
|
-
GetRuleGroupCommand,
|
|
175
|
-
GetRuleGroupCommandInput,
|
|
176
|
-
GetRuleGroupCommandOutput,
|
|
177
|
-
} from "./commands/GetRuleGroupCommand";
|
|
178
|
-
import {
|
|
179
|
-
GetSampledRequestsCommand,
|
|
180
|
-
GetSampledRequestsCommandInput,
|
|
181
|
-
GetSampledRequestsCommandOutput,
|
|
182
|
-
} from "./commands/GetSampledRequestsCommand";
|
|
183
|
-
import {
|
|
184
|
-
GetSizeConstraintSetCommand,
|
|
185
|
-
GetSizeConstraintSetCommandInput,
|
|
186
|
-
GetSizeConstraintSetCommandOutput,
|
|
187
|
-
} from "./commands/GetSizeConstraintSetCommand";
|
|
188
|
-
import {
|
|
189
|
-
GetSqlInjectionMatchSetCommand,
|
|
190
|
-
GetSqlInjectionMatchSetCommandInput,
|
|
191
|
-
GetSqlInjectionMatchSetCommandOutput,
|
|
192
|
-
} from "./commands/GetSqlInjectionMatchSetCommand";
|
|
193
|
-
import { GetWebACLCommand, GetWebACLCommandInput, GetWebACLCommandOutput } from "./commands/GetWebACLCommand";
|
|
194
|
-
import {
|
|
195
|
-
GetXssMatchSetCommand,
|
|
196
|
-
GetXssMatchSetCommandInput,
|
|
197
|
-
GetXssMatchSetCommandOutput,
|
|
198
|
-
} from "./commands/GetXssMatchSetCommand";
|
|
199
|
-
import {
|
|
200
|
-
ListActivatedRulesInRuleGroupCommand,
|
|
201
|
-
ListActivatedRulesInRuleGroupCommandInput,
|
|
202
|
-
ListActivatedRulesInRuleGroupCommandOutput,
|
|
203
|
-
} from "./commands/ListActivatedRulesInRuleGroupCommand";
|
|
204
|
-
import {
|
|
205
|
-
ListByteMatchSetsCommand,
|
|
206
|
-
ListByteMatchSetsCommandInput,
|
|
207
|
-
ListByteMatchSetsCommandOutput,
|
|
208
|
-
} from "./commands/ListByteMatchSetsCommand";
|
|
209
|
-
import {
|
|
210
|
-
ListGeoMatchSetsCommand,
|
|
211
|
-
ListGeoMatchSetsCommandInput,
|
|
212
|
-
ListGeoMatchSetsCommandOutput,
|
|
213
|
-
} from "./commands/ListGeoMatchSetsCommand";
|
|
214
|
-
import { ListIPSetsCommand, ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
215
|
-
import {
|
|
216
|
-
ListLoggingConfigurationsCommand,
|
|
217
|
-
ListLoggingConfigurationsCommandInput,
|
|
218
|
-
ListLoggingConfigurationsCommandOutput,
|
|
219
|
-
} from "./commands/ListLoggingConfigurationsCommand";
|
|
220
|
-
import {
|
|
221
|
-
ListRateBasedRulesCommand,
|
|
222
|
-
ListRateBasedRulesCommandInput,
|
|
223
|
-
ListRateBasedRulesCommandOutput,
|
|
224
|
-
} from "./commands/ListRateBasedRulesCommand";
|
|
225
|
-
import {
|
|
226
|
-
ListRegexMatchSetsCommand,
|
|
227
|
-
ListRegexMatchSetsCommandInput,
|
|
228
|
-
ListRegexMatchSetsCommandOutput,
|
|
229
|
-
} from "./commands/ListRegexMatchSetsCommand";
|
|
230
|
-
import {
|
|
231
|
-
ListRegexPatternSetsCommand,
|
|
232
|
-
ListRegexPatternSetsCommandInput,
|
|
233
|
-
ListRegexPatternSetsCommandOutput,
|
|
234
|
-
} from "./commands/ListRegexPatternSetsCommand";
|
|
235
|
-
import {
|
|
236
|
-
ListRuleGroupsCommand,
|
|
237
|
-
ListRuleGroupsCommandInput,
|
|
238
|
-
ListRuleGroupsCommandOutput,
|
|
239
|
-
} from "./commands/ListRuleGroupsCommand";
|
|
240
|
-
import { ListRulesCommand, ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
|
|
241
|
-
import {
|
|
242
|
-
ListSizeConstraintSetsCommand,
|
|
243
|
-
ListSizeConstraintSetsCommandInput,
|
|
244
|
-
ListSizeConstraintSetsCommandOutput,
|
|
245
|
-
} from "./commands/ListSizeConstraintSetsCommand";
|
|
246
|
-
import {
|
|
247
|
-
ListSqlInjectionMatchSetsCommand,
|
|
248
|
-
ListSqlInjectionMatchSetsCommandInput,
|
|
249
|
-
ListSqlInjectionMatchSetsCommandOutput,
|
|
250
|
-
} from "./commands/ListSqlInjectionMatchSetsCommand";
|
|
251
|
-
import {
|
|
252
|
-
ListSubscribedRuleGroupsCommand,
|
|
253
|
-
ListSubscribedRuleGroupsCommandInput,
|
|
254
|
-
ListSubscribedRuleGroupsCommandOutput,
|
|
255
|
-
} from "./commands/ListSubscribedRuleGroupsCommand";
|
|
256
|
-
import {
|
|
257
|
-
ListTagsForResourceCommand,
|
|
258
|
-
ListTagsForResourceCommandInput,
|
|
259
|
-
ListTagsForResourceCommandOutput,
|
|
260
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
261
|
-
import { ListWebACLsCommand, ListWebACLsCommandInput, ListWebACLsCommandOutput } from "./commands/ListWebACLsCommand";
|
|
262
|
-
import {
|
|
263
|
-
ListXssMatchSetsCommand,
|
|
264
|
-
ListXssMatchSetsCommandInput,
|
|
265
|
-
ListXssMatchSetsCommandOutput,
|
|
266
|
-
} from "./commands/ListXssMatchSetsCommand";
|
|
267
|
-
import {
|
|
268
|
-
PutLoggingConfigurationCommand,
|
|
269
|
-
PutLoggingConfigurationCommandInput,
|
|
270
|
-
PutLoggingConfigurationCommandOutput,
|
|
271
|
-
} from "./commands/PutLoggingConfigurationCommand";
|
|
272
|
-
import {
|
|
273
|
-
PutPermissionPolicyCommand,
|
|
274
|
-
PutPermissionPolicyCommandInput,
|
|
275
|
-
PutPermissionPolicyCommandOutput,
|
|
276
|
-
} from "./commands/PutPermissionPolicyCommand";
|
|
277
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
278
|
-
import {
|
|
279
|
-
UntagResourceCommand,
|
|
280
|
-
UntagResourceCommandInput,
|
|
281
|
-
UntagResourceCommandOutput,
|
|
282
|
-
} from "./commands/UntagResourceCommand";
|
|
283
|
-
import {
|
|
284
|
-
UpdateByteMatchSetCommand,
|
|
285
|
-
UpdateByteMatchSetCommandInput,
|
|
286
|
-
UpdateByteMatchSetCommandOutput,
|
|
287
|
-
} from "./commands/UpdateByteMatchSetCommand";
|
|
288
|
-
import {
|
|
289
|
-
UpdateGeoMatchSetCommand,
|
|
290
|
-
UpdateGeoMatchSetCommandInput,
|
|
291
|
-
UpdateGeoMatchSetCommandOutput,
|
|
292
|
-
} from "./commands/UpdateGeoMatchSetCommand";
|
|
293
|
-
import { UpdateIPSetCommand, UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
|
|
294
|
-
import {
|
|
295
|
-
UpdateRateBasedRuleCommand,
|
|
296
|
-
UpdateRateBasedRuleCommandInput,
|
|
297
|
-
UpdateRateBasedRuleCommandOutput,
|
|
298
|
-
} from "./commands/UpdateRateBasedRuleCommand";
|
|
299
|
-
import {
|
|
300
|
-
UpdateRegexMatchSetCommand,
|
|
301
|
-
UpdateRegexMatchSetCommandInput,
|
|
302
|
-
UpdateRegexMatchSetCommandOutput,
|
|
303
|
-
} from "./commands/UpdateRegexMatchSetCommand";
|
|
304
|
-
import {
|
|
305
|
-
UpdateRegexPatternSetCommand,
|
|
306
|
-
UpdateRegexPatternSetCommandInput,
|
|
307
|
-
UpdateRegexPatternSetCommandOutput,
|
|
308
|
-
} from "./commands/UpdateRegexPatternSetCommand";
|
|
309
|
-
import { UpdateRuleCommand, UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
|
|
310
|
-
import {
|
|
311
|
-
UpdateRuleGroupCommand,
|
|
312
|
-
UpdateRuleGroupCommandInput,
|
|
313
|
-
UpdateRuleGroupCommandOutput,
|
|
314
|
-
} from "./commands/UpdateRuleGroupCommand";
|
|
315
|
-
import {
|
|
316
|
-
UpdateSizeConstraintSetCommand,
|
|
317
|
-
UpdateSizeConstraintSetCommandInput,
|
|
318
|
-
UpdateSizeConstraintSetCommandOutput,
|
|
319
|
-
} from "./commands/UpdateSizeConstraintSetCommand";
|
|
320
|
-
import {
|
|
321
|
-
UpdateSqlInjectionMatchSetCommand,
|
|
322
|
-
UpdateSqlInjectionMatchSetCommandInput,
|
|
323
|
-
UpdateSqlInjectionMatchSetCommandOutput,
|
|
324
|
-
} from "./commands/UpdateSqlInjectionMatchSetCommand";
|
|
325
|
-
import {
|
|
326
|
-
UpdateWebACLCommand,
|
|
327
|
-
UpdateWebACLCommandInput,
|
|
328
|
-
UpdateWebACLCommandOutput,
|
|
329
|
-
} from "./commands/UpdateWebACLCommand";
|
|
330
|
-
import {
|
|
331
|
-
UpdateXssMatchSetCommand,
|
|
332
|
-
UpdateXssMatchSetCommandInput,
|
|
333
|
-
UpdateXssMatchSetCommandOutput,
|
|
334
|
-
} from "./commands/UpdateXssMatchSetCommand";
|
|
335
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* <note>
|
|
339
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
340
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
341
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
342
|
-
* <p>
|
|
343
|
-
* <b>For the latest version of AWS
|
|
344
|
-
* 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>
|
|
345
|
-
* </note>
|
|
346
|
-
* <p>This is the <i>AWS WAF Classic API Reference</i> for using AWS WAF Classic with Amazon CloudFront. The AWS WAF Classic actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF Classic API actions,
|
|
347
|
-
* data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
|
|
348
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
|
|
349
|
-
*/
|
|
350
|
-
export class WAF extends WAFClient {
|
|
351
|
-
/**
|
|
352
|
-
* <note>
|
|
353
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
354
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
355
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
356
|
-
* <p>
|
|
357
|
-
* <b>For the latest version of AWS
|
|
358
|
-
* 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>
|
|
359
|
-
* </note>
|
|
360
|
-
* <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
|
|
361
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
362
|
-
* For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
363
|
-
* that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
364
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
365
|
-
* <ol>
|
|
366
|
-
* <li>
|
|
367
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
368
|
-
* <code>CreateByteMatchSet</code> request.</p>
|
|
369
|
-
* </li>
|
|
370
|
-
* <li>
|
|
371
|
-
* <p>Submit a <code>CreateByteMatchSet</code> request.</p>
|
|
372
|
-
* </li>
|
|
373
|
-
* <li>
|
|
374
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
375
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
376
|
-
* </li>
|
|
377
|
-
* <li>
|
|
378
|
-
* <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
379
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
380
|
-
* </li>
|
|
381
|
-
* </ol>
|
|
382
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
383
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
384
|
-
*/
|
|
385
|
-
public createByteMatchSet(
|
|
386
|
-
args: CreateByteMatchSetCommandInput,
|
|
387
|
-
options?: __HttpHandlerOptions
|
|
388
|
-
): Promise<CreateByteMatchSetCommandOutput>;
|
|
389
|
-
public createByteMatchSet(
|
|
390
|
-
args: CreateByteMatchSetCommandInput,
|
|
391
|
-
cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void
|
|
392
|
-
): void;
|
|
393
|
-
public createByteMatchSet(
|
|
394
|
-
args: CreateByteMatchSetCommandInput,
|
|
395
|
-
options: __HttpHandlerOptions,
|
|
396
|
-
cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void
|
|
397
|
-
): void;
|
|
398
|
-
public createByteMatchSet(
|
|
399
|
-
args: CreateByteMatchSetCommandInput,
|
|
400
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateByteMatchSetCommandOutput) => void),
|
|
401
|
-
cb?: (err: any, data?: CreateByteMatchSetCommandOutput) => void
|
|
402
|
-
): Promise<CreateByteMatchSetCommandOutput> | void {
|
|
403
|
-
const command = new CreateByteMatchSetCommand(args);
|
|
404
|
-
if (typeof optionsOrCb === "function") {
|
|
405
|
-
this.send(command, optionsOrCb);
|
|
406
|
-
} else if (typeof cb === "function") {
|
|
407
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
408
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
409
|
-
} else {
|
|
410
|
-
return this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* <note>
|
|
416
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
417
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
418
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
419
|
-
* <p>
|
|
420
|
-
* <b>For the latest version of AWS
|
|
421
|
-
* 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>
|
|
422
|
-
* </note>
|
|
423
|
-
* <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
|
|
424
|
-
* that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an <code>GeoMatchSet</code> that contains those countries and then configure AWS WAF to block the requests. </p>
|
|
425
|
-
* <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
426
|
-
* <ol>
|
|
427
|
-
* <li>
|
|
428
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
429
|
-
* <code>CreateGeoMatchSet</code> request.</p>
|
|
430
|
-
* </li>
|
|
431
|
-
* <li>
|
|
432
|
-
* <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
|
|
433
|
-
* </li>
|
|
434
|
-
* <li>
|
|
435
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
436
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
437
|
-
* </li>
|
|
438
|
-
* <li>
|
|
439
|
-
* <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
|
|
440
|
-
* </li>
|
|
441
|
-
* </ol>
|
|
442
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
443
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
444
|
-
*/
|
|
445
|
-
public createGeoMatchSet(
|
|
446
|
-
args: CreateGeoMatchSetCommandInput,
|
|
447
|
-
options?: __HttpHandlerOptions
|
|
448
|
-
): Promise<CreateGeoMatchSetCommandOutput>;
|
|
449
|
-
public createGeoMatchSet(
|
|
450
|
-
args: CreateGeoMatchSetCommandInput,
|
|
451
|
-
cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
|
|
452
|
-
): void;
|
|
453
|
-
public createGeoMatchSet(
|
|
454
|
-
args: CreateGeoMatchSetCommandInput,
|
|
455
|
-
options: __HttpHandlerOptions,
|
|
456
|
-
cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
|
|
457
|
-
): void;
|
|
458
|
-
public createGeoMatchSet(
|
|
459
|
-
args: CreateGeoMatchSetCommandInput,
|
|
460
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGeoMatchSetCommandOutput) => void),
|
|
461
|
-
cb?: (err: any, data?: CreateGeoMatchSetCommandOutput) => void
|
|
462
|
-
): Promise<CreateGeoMatchSetCommandOutput> | void {
|
|
463
|
-
const command = new CreateGeoMatchSetCommand(args);
|
|
464
|
-
if (typeof optionsOrCb === "function") {
|
|
465
|
-
this.send(command, optionsOrCb);
|
|
466
|
-
} else if (typeof cb === "function") {
|
|
467
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
468
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
469
|
-
} else {
|
|
470
|
-
return this.send(command, optionsOrCb);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* <note>
|
|
476
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
477
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
478
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
479
|
-
* <p>
|
|
480
|
-
* <b>For the latest version of AWS
|
|
481
|
-
* 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>
|
|
482
|
-
* </note>
|
|
483
|
-
* <p>Creates an <a>IPSet</a>, which you use to specify which web requests
|
|
484
|
-
* that
|
|
485
|
-
* you want to allow or block based on the IP addresses that the requests
|
|
486
|
-
* originate from. For example, if you're receiving a lot of requests from one or more
|
|
487
|
-
* individual IP addresses or one or more ranges of IP addresses and you want to block the
|
|
488
|
-
* requests, you can create an <code>IPSet</code> that contains those IP addresses and then
|
|
489
|
-
* configure AWS WAF to block the requests. </p>
|
|
490
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
491
|
-
* <ol>
|
|
492
|
-
* <li>
|
|
493
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
494
|
-
* <code>CreateIPSet</code> request.</p>
|
|
495
|
-
* </li>
|
|
496
|
-
* <li>
|
|
497
|
-
* <p>Submit a <code>CreateIPSet</code> request.</p>
|
|
498
|
-
* </li>
|
|
499
|
-
* <li>
|
|
500
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
501
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
502
|
-
* </li>
|
|
503
|
-
* <li>
|
|
504
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
|
|
505
|
-
* </li>
|
|
506
|
-
* </ol>
|
|
507
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
508
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
509
|
-
*/
|
|
510
|
-
public createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
|
|
511
|
-
public createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
512
|
-
public createIPSet(
|
|
513
|
-
args: CreateIPSetCommandInput,
|
|
514
|
-
options: __HttpHandlerOptions,
|
|
515
|
-
cb: (err: any, data?: CreateIPSetCommandOutput) => void
|
|
516
|
-
): void;
|
|
517
|
-
public createIPSet(
|
|
518
|
-
args: CreateIPSetCommandInput,
|
|
519
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIPSetCommandOutput) => void),
|
|
520
|
-
cb?: (err: any, data?: CreateIPSetCommandOutput) => void
|
|
521
|
-
): Promise<CreateIPSetCommandOutput> | void {
|
|
522
|
-
const command = new CreateIPSetCommand(args);
|
|
523
|
-
if (typeof optionsOrCb === "function") {
|
|
524
|
-
this.send(command, optionsOrCb);
|
|
525
|
-
} else if (typeof cb === "function") {
|
|
526
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
527
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
528
|
-
} else {
|
|
529
|
-
return this.send(command, optionsOrCb);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* <note>
|
|
535
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
536
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
537
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
538
|
-
* <p>
|
|
539
|
-
* <b>For the latest version of AWS
|
|
540
|
-
* 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>
|
|
541
|
-
* </note>
|
|
542
|
-
* <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
|
|
543
|
-
* <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
|
|
544
|
-
* from a specified IP address in a five-minute period.
|
|
545
|
-
* The <code>RateBasedRule</code> also
|
|
546
|
-
* contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
|
|
547
|
-
* predicates that identify the requests that you want to count or block if these requests
|
|
548
|
-
* exceed the <code>RateLimit</code>.</p>
|
|
549
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
|
|
550
|
-
* only must exceed the <code>RateLimit</code>, but it also must match all the
|
|
551
|
-
* conditions to be counted or blocked. For example, suppose you add the following to a
|
|
552
|
-
* <code>RateBasedRule</code>:</p>
|
|
553
|
-
* <ul>
|
|
554
|
-
* <li>
|
|
555
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
556
|
-
* </p>
|
|
557
|
-
* </li>
|
|
558
|
-
* <li>
|
|
559
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
560
|
-
* <code>User-Agent</code> header</p>
|
|
561
|
-
* </li>
|
|
562
|
-
* </ul>
|
|
563
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
564
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
565
|
-
* you want to block requests that meet the conditions in the rule. For a request to be
|
|
566
|
-
* blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
|
|
567
|
-
* <code>User-Agent</code> header in the request must contain the value
|
|
568
|
-
* <code>BadBot</code>. Further, requests that match these two conditions must be received at
|
|
569
|
-
* a rate of more than 1,000 requests every five minutes. If both conditions are met and the
|
|
570
|
-
* rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
|
|
571
|
-
* five-minute period, AWS WAF no longer blocks the requests.</p>
|
|
572
|
-
*
|
|
573
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
574
|
-
* <code>RateBasedRule</code>:</p>
|
|
575
|
-
*
|
|
576
|
-
*
|
|
577
|
-
* <ul>
|
|
578
|
-
* <li>
|
|
579
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
580
|
-
* </p>
|
|
581
|
-
* </li>
|
|
582
|
-
* <li>
|
|
583
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
584
|
-
* </p>
|
|
585
|
-
* </li>
|
|
586
|
-
* <li>
|
|
587
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
588
|
-
* </p>
|
|
589
|
-
* </li>
|
|
590
|
-
* </ul>
|
|
591
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
592
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
* <p>To create and configure a <code>RateBasedRule</code>, perform the following
|
|
596
|
-
* steps:</p>
|
|
597
|
-
* <ol>
|
|
598
|
-
* <li>
|
|
599
|
-
* <p>Create and update the predicates that you want to include in the rule. For more
|
|
600
|
-
* information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
|
|
601
|
-
* and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
602
|
-
* </li>
|
|
603
|
-
* <li>
|
|
604
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
605
|
-
* in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
|
|
606
|
-
* request.</p>
|
|
607
|
-
* </li>
|
|
608
|
-
* <li>
|
|
609
|
-
* <p>Submit a <code>CreateRateBasedRule</code> request.</p>
|
|
610
|
-
* </li>
|
|
611
|
-
* <li>
|
|
612
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
|
|
613
|
-
* <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
|
|
614
|
-
* request.</p>
|
|
615
|
-
* </li>
|
|
616
|
-
* <li>
|
|
617
|
-
* <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
|
|
618
|
-
* that you want to include in the rule.</p>
|
|
619
|
-
* </li>
|
|
620
|
-
* <li>
|
|
621
|
-
* <p>Create and update a <code>WebACL</code> that contains the
|
|
622
|
-
* <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
623
|
-
* </li>
|
|
624
|
-
* </ol>
|
|
625
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
|
|
626
|
-
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
|
|
627
|
-
* Guide</a>.</p>
|
|
628
|
-
*/
|
|
629
|
-
public createRateBasedRule(
|
|
630
|
-
args: CreateRateBasedRuleCommandInput,
|
|
631
|
-
options?: __HttpHandlerOptions
|
|
632
|
-
): Promise<CreateRateBasedRuleCommandOutput>;
|
|
633
|
-
public createRateBasedRule(
|
|
634
|
-
args: CreateRateBasedRuleCommandInput,
|
|
635
|
-
cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
|
|
636
|
-
): void;
|
|
637
|
-
public createRateBasedRule(
|
|
638
|
-
args: CreateRateBasedRuleCommandInput,
|
|
639
|
-
options: __HttpHandlerOptions,
|
|
640
|
-
cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
|
|
641
|
-
): void;
|
|
642
|
-
public createRateBasedRule(
|
|
643
|
-
args: CreateRateBasedRuleCommandInput,
|
|
644
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRateBasedRuleCommandOutput) => void),
|
|
645
|
-
cb?: (err: any, data?: CreateRateBasedRuleCommandOutput) => void
|
|
646
|
-
): Promise<CreateRateBasedRuleCommandOutput> | void {
|
|
647
|
-
const command = new CreateRateBasedRuleCommand(args);
|
|
648
|
-
if (typeof optionsOrCb === "function") {
|
|
649
|
-
this.send(command, optionsOrCb);
|
|
650
|
-
} else if (typeof cb === "function") {
|
|
651
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
652
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
653
|
-
} else {
|
|
654
|
-
return this.send(command, optionsOrCb);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* <note>
|
|
660
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
661
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
662
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
663
|
-
* <p>
|
|
664
|
-
* <b>For the latest version of AWS
|
|
665
|
-
* 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>
|
|
666
|
-
* </note>
|
|
667
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
668
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
669
|
-
* 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
|
|
670
|
-
* 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>
|
|
671
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
672
|
-
* <ol>
|
|
673
|
-
* <li>
|
|
674
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
675
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
676
|
-
* </li>
|
|
677
|
-
* <li>
|
|
678
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
679
|
-
* </li>
|
|
680
|
-
* <li>
|
|
681
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
682
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
683
|
-
* </li>
|
|
684
|
-
* <li>
|
|
685
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
686
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
687
|
-
* </li>
|
|
688
|
-
* </ol>
|
|
689
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
690
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
691
|
-
*/
|
|
692
|
-
public createRegexMatchSet(
|
|
693
|
-
args: CreateRegexMatchSetCommandInput,
|
|
694
|
-
options?: __HttpHandlerOptions
|
|
695
|
-
): Promise<CreateRegexMatchSetCommandOutput>;
|
|
696
|
-
public createRegexMatchSet(
|
|
697
|
-
args: CreateRegexMatchSetCommandInput,
|
|
698
|
-
cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
|
|
699
|
-
): void;
|
|
700
|
-
public createRegexMatchSet(
|
|
701
|
-
args: CreateRegexMatchSetCommandInput,
|
|
702
|
-
options: __HttpHandlerOptions,
|
|
703
|
-
cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
|
|
704
|
-
): void;
|
|
705
|
-
public createRegexMatchSet(
|
|
706
|
-
args: CreateRegexMatchSetCommandInput,
|
|
707
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRegexMatchSetCommandOutput) => void),
|
|
708
|
-
cb?: (err: any, data?: CreateRegexMatchSetCommandOutput) => void
|
|
709
|
-
): Promise<CreateRegexMatchSetCommandOutput> | void {
|
|
710
|
-
const command = new CreateRegexMatchSetCommand(args);
|
|
711
|
-
if (typeof optionsOrCb === "function") {
|
|
712
|
-
this.send(command, optionsOrCb);
|
|
713
|
-
} else if (typeof cb === "function") {
|
|
714
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
715
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
716
|
-
} else {
|
|
717
|
-
return this.send(command, optionsOrCb);
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* <note>
|
|
723
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
724
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
725
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
726
|
-
* <p>
|
|
727
|
-
* <b>For the latest version of AWS
|
|
728
|
-
* 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>
|
|
729
|
-
* </note>
|
|
730
|
-
* <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>
|
|
731
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
732
|
-
* <ol>
|
|
733
|
-
* <li>
|
|
734
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
735
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
736
|
-
* </li>
|
|
737
|
-
* <li>
|
|
738
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
739
|
-
* </li>
|
|
740
|
-
* <li>
|
|
741
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
742
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
743
|
-
* </li>
|
|
744
|
-
* <li>
|
|
745
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
746
|
-
* </li>
|
|
747
|
-
* </ol>
|
|
748
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
749
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
750
|
-
*/
|
|
751
|
-
public createRegexPatternSet(
|
|
752
|
-
args: CreateRegexPatternSetCommandInput,
|
|
753
|
-
options?: __HttpHandlerOptions
|
|
754
|
-
): Promise<CreateRegexPatternSetCommandOutput>;
|
|
755
|
-
public createRegexPatternSet(
|
|
756
|
-
args: CreateRegexPatternSetCommandInput,
|
|
757
|
-
cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
|
|
758
|
-
): void;
|
|
759
|
-
public createRegexPatternSet(
|
|
760
|
-
args: CreateRegexPatternSetCommandInput,
|
|
761
|
-
options: __HttpHandlerOptions,
|
|
762
|
-
cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
|
|
763
|
-
): void;
|
|
764
|
-
public createRegexPatternSet(
|
|
765
|
-
args: CreateRegexPatternSetCommandInput,
|
|
766
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRegexPatternSetCommandOutput) => void),
|
|
767
|
-
cb?: (err: any, data?: CreateRegexPatternSetCommandOutput) => void
|
|
768
|
-
): Promise<CreateRegexPatternSetCommandOutput> | void {
|
|
769
|
-
const command = new CreateRegexPatternSetCommand(args);
|
|
770
|
-
if (typeof optionsOrCb === "function") {
|
|
771
|
-
this.send(command, optionsOrCb);
|
|
772
|
-
} else if (typeof cb === "function") {
|
|
773
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
774
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
775
|
-
} else {
|
|
776
|
-
return this.send(command, optionsOrCb);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* <note>
|
|
782
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
783
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
784
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
785
|
-
* <p>
|
|
786
|
-
* <b>For the latest version of AWS
|
|
787
|
-
* 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>
|
|
788
|
-
* </note>
|
|
789
|
-
* <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
|
|
790
|
-
* <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
|
|
791
|
-
* you want to block. If you add more than one predicate to a <code>Rule</code>, a request
|
|
792
|
-
* must match all of the specifications to be allowed or blocked. For example, suppose
|
|
793
|
-
* that
|
|
794
|
-
* you add the following to a <code>Rule</code>:</p>
|
|
795
|
-
* <ul>
|
|
796
|
-
* <li>
|
|
797
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
798
|
-
* </p>
|
|
799
|
-
* </li>
|
|
800
|
-
* <li>
|
|
801
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
802
|
-
* </li>
|
|
803
|
-
* </ul>
|
|
804
|
-
* <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>.
|
|
805
|
-
* 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
|
|
806
|
-
* must contain the value <code>BadBot</code>.</p>
|
|
807
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
808
|
-
* <ol>
|
|
809
|
-
* <li>
|
|
810
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
|
|
811
|
-
* <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
812
|
-
* </li>
|
|
813
|
-
* <li>
|
|
814
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
815
|
-
* <code>CreateRule</code> request.</p>
|
|
816
|
-
* </li>
|
|
817
|
-
* <li>
|
|
818
|
-
* <p>Submit a <code>CreateRule</code> request.</p>
|
|
819
|
-
* </li>
|
|
820
|
-
* <li>
|
|
821
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
822
|
-
* <a>UpdateRule</a> request.</p>
|
|
823
|
-
* </li>
|
|
824
|
-
* <li>
|
|
825
|
-
* <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
|
|
826
|
-
* </li>
|
|
827
|
-
* <li>
|
|
828
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
829
|
-
* </li>
|
|
830
|
-
* </ol>
|
|
831
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
832
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
833
|
-
*/
|
|
834
|
-
public createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
|
|
835
|
-
public createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
836
|
-
public createRule(
|
|
837
|
-
args: CreateRuleCommandInput,
|
|
838
|
-
options: __HttpHandlerOptions,
|
|
839
|
-
cb: (err: any, data?: CreateRuleCommandOutput) => void
|
|
840
|
-
): void;
|
|
841
|
-
public createRule(
|
|
842
|
-
args: CreateRuleCommandInput,
|
|
843
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleCommandOutput) => void),
|
|
844
|
-
cb?: (err: any, data?: CreateRuleCommandOutput) => void
|
|
845
|
-
): Promise<CreateRuleCommandOutput> | void {
|
|
846
|
-
const command = new CreateRuleCommand(args);
|
|
847
|
-
if (typeof optionsOrCb === "function") {
|
|
848
|
-
this.send(command, optionsOrCb);
|
|
849
|
-
} else if (typeof cb === "function") {
|
|
850
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
851
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
852
|
-
} else {
|
|
853
|
-
return this.send(command, optionsOrCb);
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* <note>
|
|
859
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
860
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
861
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
862
|
-
* <p>
|
|
863
|
-
* <b>For the latest version of AWS
|
|
864
|
-
* 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>
|
|
865
|
-
* </note>
|
|
866
|
-
* <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>
|
|
867
|
-
* <p>Rule groups are subject to the following limits:</p>
|
|
868
|
-
* <ul>
|
|
869
|
-
* <li>
|
|
870
|
-
* <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
|
|
871
|
-
* </li>
|
|
872
|
-
* <li>
|
|
873
|
-
* <p>One rule group per web ACL.</p>
|
|
874
|
-
* </li>
|
|
875
|
-
* <li>
|
|
876
|
-
* <p>Ten rules per rule group.</p>
|
|
877
|
-
* </li>
|
|
878
|
-
* </ul>
|
|
879
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
880
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
881
|
-
*/
|
|
882
|
-
public createRuleGroup(
|
|
883
|
-
args: CreateRuleGroupCommandInput,
|
|
884
|
-
options?: __HttpHandlerOptions
|
|
885
|
-
): Promise<CreateRuleGroupCommandOutput>;
|
|
886
|
-
public createRuleGroup(
|
|
887
|
-
args: CreateRuleGroupCommandInput,
|
|
888
|
-
cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
889
|
-
): void;
|
|
890
|
-
public createRuleGroup(
|
|
891
|
-
args: CreateRuleGroupCommandInput,
|
|
892
|
-
options: __HttpHandlerOptions,
|
|
893
|
-
cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
894
|
-
): void;
|
|
895
|
-
public createRuleGroup(
|
|
896
|
-
args: CreateRuleGroupCommandInput,
|
|
897
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleGroupCommandOutput) => void),
|
|
898
|
-
cb?: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
899
|
-
): Promise<CreateRuleGroupCommandOutput> | void {
|
|
900
|
-
const command = new CreateRuleGroupCommand(args);
|
|
901
|
-
if (typeof optionsOrCb === "function") {
|
|
902
|
-
this.send(command, optionsOrCb);
|
|
903
|
-
} else if (typeof cb === "function") {
|
|
904
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
905
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
906
|
-
} else {
|
|
907
|
-
return this.send(command, optionsOrCb);
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* <note>
|
|
913
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
914
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
915
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
916
|
-
* <p>
|
|
917
|
-
* <b>For the latest version of AWS
|
|
918
|
-
* 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>
|
|
919
|
-
* </note>
|
|
920
|
-
* <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
|
|
921
|
-
* 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.
|
|
922
|
-
* For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
|
|
923
|
-
* You can then configure AWS WAF to reject those requests.</p>
|
|
924
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
925
|
-
* <ol>
|
|
926
|
-
* <li>
|
|
927
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
928
|
-
* <code>CreateSizeConstraintSet</code> request.</p>
|
|
929
|
-
* </li>
|
|
930
|
-
* <li>
|
|
931
|
-
* <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
|
|
932
|
-
* </li>
|
|
933
|
-
* <li>
|
|
934
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
935
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
936
|
-
* </li>
|
|
937
|
-
* <li>
|
|
938
|
-
* <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
939
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
940
|
-
* </li>
|
|
941
|
-
* </ol>
|
|
942
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
943
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
944
|
-
*/
|
|
945
|
-
public createSizeConstraintSet(
|
|
946
|
-
args: CreateSizeConstraintSetCommandInput,
|
|
947
|
-
options?: __HttpHandlerOptions
|
|
948
|
-
): Promise<CreateSizeConstraintSetCommandOutput>;
|
|
949
|
-
public createSizeConstraintSet(
|
|
950
|
-
args: CreateSizeConstraintSetCommandInput,
|
|
951
|
-
cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
|
|
952
|
-
): void;
|
|
953
|
-
public createSizeConstraintSet(
|
|
954
|
-
args: CreateSizeConstraintSetCommandInput,
|
|
955
|
-
options: __HttpHandlerOptions,
|
|
956
|
-
cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
|
|
957
|
-
): void;
|
|
958
|
-
public createSizeConstraintSet(
|
|
959
|
-
args: CreateSizeConstraintSetCommandInput,
|
|
960
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSizeConstraintSetCommandOutput) => void),
|
|
961
|
-
cb?: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void
|
|
962
|
-
): Promise<CreateSizeConstraintSetCommandOutput> | void {
|
|
963
|
-
const command = new CreateSizeConstraintSetCommand(args);
|
|
964
|
-
if (typeof optionsOrCb === "function") {
|
|
965
|
-
this.send(command, optionsOrCb);
|
|
966
|
-
} else if (typeof cb === "function") {
|
|
967
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
968
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
969
|
-
} else {
|
|
970
|
-
return this.send(command, optionsOrCb);
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* <note>
|
|
976
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
977
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
978
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
979
|
-
* <p>
|
|
980
|
-
* <b>For the latest version of AWS
|
|
981
|
-
* 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>
|
|
982
|
-
* </note>
|
|
983
|
-
* <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
|
|
984
|
-
* specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
985
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
986
|
-
* <ol>
|
|
987
|
-
* <li>
|
|
988
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
989
|
-
* <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
990
|
-
* </li>
|
|
991
|
-
* <li>
|
|
992
|
-
* <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
993
|
-
* </li>
|
|
994
|
-
* <li>
|
|
995
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
996
|
-
* <a>UpdateSqlInjectionMatchSet</a> request.</p>
|
|
997
|
-
* </li>
|
|
998
|
-
* <li>
|
|
999
|
-
* <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
|
|
1000
|
-
* allow, block, or count malicious SQL code.</p>
|
|
1001
|
-
* </li>
|
|
1002
|
-
* </ol>
|
|
1003
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1004
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1005
|
-
*/
|
|
1006
|
-
public createSqlInjectionMatchSet(
|
|
1007
|
-
args: CreateSqlInjectionMatchSetCommandInput,
|
|
1008
|
-
options?: __HttpHandlerOptions
|
|
1009
|
-
): Promise<CreateSqlInjectionMatchSetCommandOutput>;
|
|
1010
|
-
public createSqlInjectionMatchSet(
|
|
1011
|
-
args: CreateSqlInjectionMatchSetCommandInput,
|
|
1012
|
-
cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
|
|
1013
|
-
): void;
|
|
1014
|
-
public createSqlInjectionMatchSet(
|
|
1015
|
-
args: CreateSqlInjectionMatchSetCommandInput,
|
|
1016
|
-
options: __HttpHandlerOptions,
|
|
1017
|
-
cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
|
|
1018
|
-
): void;
|
|
1019
|
-
public createSqlInjectionMatchSet(
|
|
1020
|
-
args: CreateSqlInjectionMatchSetCommandInput,
|
|
1021
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void),
|
|
1022
|
-
cb?: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void
|
|
1023
|
-
): Promise<CreateSqlInjectionMatchSetCommandOutput> | void {
|
|
1024
|
-
const command = new CreateSqlInjectionMatchSetCommand(args);
|
|
1025
|
-
if (typeof optionsOrCb === "function") {
|
|
1026
|
-
this.send(command, optionsOrCb);
|
|
1027
|
-
} else if (typeof cb === "function") {
|
|
1028
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1029
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1030
|
-
} else {
|
|
1031
|
-
return this.send(command, optionsOrCb);
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* <note>
|
|
1037
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1038
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1039
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1040
|
-
* <p>
|
|
1041
|
-
* <b>For the latest version of AWS
|
|
1042
|
-
* 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>
|
|
1043
|
-
* </note>
|
|
1044
|
-
* <p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count.
|
|
1045
|
-
* AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
|
|
1046
|
-
* <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
|
|
1047
|
-
* any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
|
|
1048
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
1049
|
-
* <ol>
|
|
1050
|
-
* <li>
|
|
1051
|
-
* <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
|
|
1052
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
1053
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
1054
|
-
* </li>
|
|
1055
|
-
* <li>
|
|
1056
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
1057
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
1058
|
-
* </li>
|
|
1059
|
-
* <li>
|
|
1060
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1061
|
-
* <code>CreateWebACL</code> request.</p>
|
|
1062
|
-
* </li>
|
|
1063
|
-
* <li>
|
|
1064
|
-
* <p>Submit a <code>CreateWebACL</code> request.</p>
|
|
1065
|
-
* </li>
|
|
1066
|
-
* <li>
|
|
1067
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1068
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
1069
|
-
* </li>
|
|
1070
|
-
* <li>
|
|
1071
|
-
* <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
|
|
1072
|
-
* to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
|
|
1073
|
-
* </li>
|
|
1074
|
-
* </ol>
|
|
1075
|
-
* <p>For more information about how to use the AWS WAF API, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1076
|
-
*/
|
|
1077
|
-
public createWebACL(
|
|
1078
|
-
args: CreateWebACLCommandInput,
|
|
1079
|
-
options?: __HttpHandlerOptions
|
|
1080
|
-
): Promise<CreateWebACLCommandOutput>;
|
|
1081
|
-
public createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
1082
|
-
public createWebACL(
|
|
1083
|
-
args: CreateWebACLCommandInput,
|
|
1084
|
-
options: __HttpHandlerOptions,
|
|
1085
|
-
cb: (err: any, data?: CreateWebACLCommandOutput) => void
|
|
1086
|
-
): void;
|
|
1087
|
-
public createWebACL(
|
|
1088
|
-
args: CreateWebACLCommandInput,
|
|
1089
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWebACLCommandOutput) => void),
|
|
1090
|
-
cb?: (err: any, data?: CreateWebACLCommandOutput) => void
|
|
1091
|
-
): Promise<CreateWebACLCommandOutput> | void {
|
|
1092
|
-
const command = new CreateWebACLCommand(args);
|
|
1093
|
-
if (typeof optionsOrCb === "function") {
|
|
1094
|
-
this.send(command, optionsOrCb);
|
|
1095
|
-
} else if (typeof cb === "function") {
|
|
1096
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1097
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1098
|
-
} else {
|
|
1099
|
-
return this.send(command, optionsOrCb);
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
|
|
1105
|
-
* Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
|
|
1106
|
-
* Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
|
|
1107
|
-
* <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
|
|
1108
|
-
* For the full procedure, including caveats and manual steps to complete
|
|
1109
|
-
* the migration and switch over to the new web ACL, see
|
|
1110
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html">Migrating your AWS WAF Classic resources to AWS WAF</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF
|
|
1111
|
-
* Developer Guide</a>. </p>
|
|
1112
|
-
*/
|
|
1113
|
-
public createWebACLMigrationStack(
|
|
1114
|
-
args: CreateWebACLMigrationStackCommandInput,
|
|
1115
|
-
options?: __HttpHandlerOptions
|
|
1116
|
-
): Promise<CreateWebACLMigrationStackCommandOutput>;
|
|
1117
|
-
public createWebACLMigrationStack(
|
|
1118
|
-
args: CreateWebACLMigrationStackCommandInput,
|
|
1119
|
-
cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
|
|
1120
|
-
): void;
|
|
1121
|
-
public createWebACLMigrationStack(
|
|
1122
|
-
args: CreateWebACLMigrationStackCommandInput,
|
|
1123
|
-
options: __HttpHandlerOptions,
|
|
1124
|
-
cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
|
|
1125
|
-
): void;
|
|
1126
|
-
public createWebACLMigrationStack(
|
|
1127
|
-
args: CreateWebACLMigrationStackCommandInput,
|
|
1128
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWebACLMigrationStackCommandOutput) => void),
|
|
1129
|
-
cb?: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void
|
|
1130
|
-
): Promise<CreateWebACLMigrationStackCommandOutput> | void {
|
|
1131
|
-
const command = new CreateWebACLMigrationStackCommand(args);
|
|
1132
|
-
if (typeof optionsOrCb === "function") {
|
|
1133
|
-
this.send(command, optionsOrCb);
|
|
1134
|
-
} else if (typeof cb === "function") {
|
|
1135
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1137
|
-
} else {
|
|
1138
|
-
return this.send(command, optionsOrCb);
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* <note>
|
|
1144
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1145
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1146
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1147
|
-
* <p>
|
|
1148
|
-
* <b>For the latest version of AWS
|
|
1149
|
-
* 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>
|
|
1150
|
-
* </note>
|
|
1151
|
-
* <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
|
|
1152
|
-
* in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
1153
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
1154
|
-
* <ol>
|
|
1155
|
-
* <li>
|
|
1156
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1157
|
-
* <code>CreateXssMatchSet</code> request.</p>
|
|
1158
|
-
* </li>
|
|
1159
|
-
* <li>
|
|
1160
|
-
* <p>Submit a <code>CreateXssMatchSet</code> request.</p>
|
|
1161
|
-
* </li>
|
|
1162
|
-
* <li>
|
|
1163
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1164
|
-
* <a>UpdateXssMatchSet</a> request.</p>
|
|
1165
|
-
* </li>
|
|
1166
|
-
* <li>
|
|
1167
|
-
* <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
|
|
1168
|
-
* allow, block, or count cross-site scripting attacks.</p>
|
|
1169
|
-
* </li>
|
|
1170
|
-
* </ol>
|
|
1171
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1172
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1173
|
-
*/
|
|
1174
|
-
public createXssMatchSet(
|
|
1175
|
-
args: CreateXssMatchSetCommandInput,
|
|
1176
|
-
options?: __HttpHandlerOptions
|
|
1177
|
-
): Promise<CreateXssMatchSetCommandOutput>;
|
|
1178
|
-
public createXssMatchSet(
|
|
1179
|
-
args: CreateXssMatchSetCommandInput,
|
|
1180
|
-
cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void
|
|
1181
|
-
): void;
|
|
1182
|
-
public createXssMatchSet(
|
|
1183
|
-
args: CreateXssMatchSetCommandInput,
|
|
1184
|
-
options: __HttpHandlerOptions,
|
|
1185
|
-
cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void
|
|
1186
|
-
): void;
|
|
1187
|
-
public createXssMatchSet(
|
|
1188
|
-
args: CreateXssMatchSetCommandInput,
|
|
1189
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateXssMatchSetCommandOutput) => void),
|
|
1190
|
-
cb?: (err: any, data?: CreateXssMatchSetCommandOutput) => void
|
|
1191
|
-
): Promise<CreateXssMatchSetCommandOutput> | void {
|
|
1192
|
-
const command = new CreateXssMatchSetCommand(args);
|
|
1193
|
-
if (typeof optionsOrCb === "function") {
|
|
1194
|
-
this.send(command, optionsOrCb);
|
|
1195
|
-
} else if (typeof cb === "function") {
|
|
1196
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1198
|
-
} else {
|
|
1199
|
-
return this.send(command, optionsOrCb);
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* <note>
|
|
1205
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1206
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1207
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1208
|
-
* <p>
|
|
1209
|
-
* <b>For the latest version of AWS
|
|
1210
|
-
* 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>
|
|
1211
|
-
* </note>
|
|
1212
|
-
* <p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code>
|
|
1213
|
-
* or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
|
|
1214
|
-
* <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1215
|
-
* <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
1216
|
-
* <ol>
|
|
1217
|
-
* <li>
|
|
1218
|
-
* <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
|
|
1219
|
-
* </li>
|
|
1220
|
-
* <li>
|
|
1221
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1222
|
-
* <code>DeleteByteMatchSet</code> request.</p>
|
|
1223
|
-
* </li>
|
|
1224
|
-
* <li>
|
|
1225
|
-
* <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
|
|
1226
|
-
* </li>
|
|
1227
|
-
* </ol>
|
|
1228
|
-
*/
|
|
1229
|
-
public deleteByteMatchSet(
|
|
1230
|
-
args: DeleteByteMatchSetCommandInput,
|
|
1231
|
-
options?: __HttpHandlerOptions
|
|
1232
|
-
): Promise<DeleteByteMatchSetCommandOutput>;
|
|
1233
|
-
public deleteByteMatchSet(
|
|
1234
|
-
args: DeleteByteMatchSetCommandInput,
|
|
1235
|
-
cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
|
|
1236
|
-
): void;
|
|
1237
|
-
public deleteByteMatchSet(
|
|
1238
|
-
args: DeleteByteMatchSetCommandInput,
|
|
1239
|
-
options: __HttpHandlerOptions,
|
|
1240
|
-
cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
|
|
1241
|
-
): void;
|
|
1242
|
-
public deleteByteMatchSet(
|
|
1243
|
-
args: DeleteByteMatchSetCommandInput,
|
|
1244
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteByteMatchSetCommandOutput) => void),
|
|
1245
|
-
cb?: (err: any, data?: DeleteByteMatchSetCommandOutput) => void
|
|
1246
|
-
): Promise<DeleteByteMatchSetCommandOutput> | void {
|
|
1247
|
-
const command = new DeleteByteMatchSetCommand(args);
|
|
1248
|
-
if (typeof optionsOrCb === "function") {
|
|
1249
|
-
this.send(command, optionsOrCb);
|
|
1250
|
-
} else if (typeof cb === "function") {
|
|
1251
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1253
|
-
} else {
|
|
1254
|
-
return this.send(command, optionsOrCb);
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* <note>
|
|
1260
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1261
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1262
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1263
|
-
* <p>
|
|
1264
|
-
* <b>For the latest version of AWS
|
|
1265
|
-
* 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>
|
|
1266
|
-
* </note>
|
|
1267
|
-
* <p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or
|
|
1268
|
-
* if it still includes any countries.</p>
|
|
1269
|
-
* <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1270
|
-
* <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
1271
|
-
* <ol>
|
|
1272
|
-
* <li>
|
|
1273
|
-
* <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
|
|
1274
|
-
* </li>
|
|
1275
|
-
* <li>
|
|
1276
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1277
|
-
* <code>DeleteGeoMatchSet</code> request.</p>
|
|
1278
|
-
* </li>
|
|
1279
|
-
* <li>
|
|
1280
|
-
* <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
|
|
1281
|
-
* </li>
|
|
1282
|
-
* </ol>
|
|
1283
|
-
*/
|
|
1284
|
-
public deleteGeoMatchSet(
|
|
1285
|
-
args: DeleteGeoMatchSetCommandInput,
|
|
1286
|
-
options?: __HttpHandlerOptions
|
|
1287
|
-
): Promise<DeleteGeoMatchSetCommandOutput>;
|
|
1288
|
-
public deleteGeoMatchSet(
|
|
1289
|
-
args: DeleteGeoMatchSetCommandInput,
|
|
1290
|
-
cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
|
|
1291
|
-
): void;
|
|
1292
|
-
public deleteGeoMatchSet(
|
|
1293
|
-
args: DeleteGeoMatchSetCommandInput,
|
|
1294
|
-
options: __HttpHandlerOptions,
|
|
1295
|
-
cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
|
|
1296
|
-
): void;
|
|
1297
|
-
public deleteGeoMatchSet(
|
|
1298
|
-
args: DeleteGeoMatchSetCommandInput,
|
|
1299
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGeoMatchSetCommandOutput) => void),
|
|
1300
|
-
cb?: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void
|
|
1301
|
-
): Promise<DeleteGeoMatchSetCommandOutput> | void {
|
|
1302
|
-
const command = new DeleteGeoMatchSetCommand(args);
|
|
1303
|
-
if (typeof optionsOrCb === "function") {
|
|
1304
|
-
this.send(command, optionsOrCb);
|
|
1305
|
-
} else if (typeof cb === "function") {
|
|
1306
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1307
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1308
|
-
} else {
|
|
1309
|
-
return this.send(command, optionsOrCb);
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
/**
|
|
1314
|
-
* <note>
|
|
1315
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1316
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1317
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1318
|
-
* <p>
|
|
1319
|
-
* <b>For the latest version of AWS
|
|
1320
|
-
* 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>
|
|
1321
|
-
* </note>
|
|
1322
|
-
* <p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or
|
|
1323
|
-
* if it still includes any IP addresses.</p>
|
|
1324
|
-
* <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1325
|
-
* <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
|
|
1326
|
-
* <ol>
|
|
1327
|
-
* <li>
|
|
1328
|
-
* <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
|
|
1329
|
-
* </li>
|
|
1330
|
-
* <li>
|
|
1331
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1332
|
-
* <code>DeleteIPSet</code> request.</p>
|
|
1333
|
-
* </li>
|
|
1334
|
-
* <li>
|
|
1335
|
-
* <p>Submit a <code>DeleteIPSet</code> request.</p>
|
|
1336
|
-
* </li>
|
|
1337
|
-
* </ol>
|
|
1338
|
-
*/
|
|
1339
|
-
public deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
1340
|
-
public deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
1341
|
-
public deleteIPSet(
|
|
1342
|
-
args: DeleteIPSetCommandInput,
|
|
1343
|
-
options: __HttpHandlerOptions,
|
|
1344
|
-
cb: (err: any, data?: DeleteIPSetCommandOutput) => void
|
|
1345
|
-
): void;
|
|
1346
|
-
public deleteIPSet(
|
|
1347
|
-
args: DeleteIPSetCommandInput,
|
|
1348
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIPSetCommandOutput) => void),
|
|
1349
|
-
cb?: (err: any, data?: DeleteIPSetCommandOutput) => void
|
|
1350
|
-
): Promise<DeleteIPSetCommandOutput> | void {
|
|
1351
|
-
const command = new DeleteIPSetCommand(args);
|
|
1352
|
-
if (typeof optionsOrCb === "function") {
|
|
1353
|
-
this.send(command, optionsOrCb);
|
|
1354
|
-
} else if (typeof cb === "function") {
|
|
1355
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1356
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1357
|
-
} else {
|
|
1358
|
-
return this.send(command, optionsOrCb);
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
/**
|
|
1363
|
-
* <note>
|
|
1364
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1365
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1366
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1367
|
-
* <p>
|
|
1368
|
-
* <b>For the latest version of AWS
|
|
1369
|
-
* 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>
|
|
1370
|
-
* </note>
|
|
1371
|
-
* <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
|
|
1372
|
-
* ACL.</p>
|
|
1373
|
-
*/
|
|
1374
|
-
public deleteLoggingConfiguration(
|
|
1375
|
-
args: DeleteLoggingConfigurationCommandInput,
|
|
1376
|
-
options?: __HttpHandlerOptions
|
|
1377
|
-
): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
1378
|
-
public deleteLoggingConfiguration(
|
|
1379
|
-
args: DeleteLoggingConfigurationCommandInput,
|
|
1380
|
-
cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
|
|
1381
|
-
): void;
|
|
1382
|
-
public deleteLoggingConfiguration(
|
|
1383
|
-
args: DeleteLoggingConfigurationCommandInput,
|
|
1384
|
-
options: __HttpHandlerOptions,
|
|
1385
|
-
cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
|
|
1386
|
-
): void;
|
|
1387
|
-
public deleteLoggingConfiguration(
|
|
1388
|
-
args: DeleteLoggingConfigurationCommandInput,
|
|
1389
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoggingConfigurationCommandOutput) => void),
|
|
1390
|
-
cb?: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void
|
|
1391
|
-
): Promise<DeleteLoggingConfigurationCommandOutput> | void {
|
|
1392
|
-
const command = new DeleteLoggingConfigurationCommand(args);
|
|
1393
|
-
if (typeof optionsOrCb === "function") {
|
|
1394
|
-
this.send(command, optionsOrCb);
|
|
1395
|
-
} else if (typeof cb === "function") {
|
|
1396
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1398
|
-
} else {
|
|
1399
|
-
return this.send(command, optionsOrCb);
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* <note>
|
|
1405
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1406
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1407
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1408
|
-
* <p>
|
|
1409
|
-
* <b>For the latest version of AWS
|
|
1410
|
-
* 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>
|
|
1411
|
-
* </note>
|
|
1412
|
-
* <p>Permanently deletes an IAM policy from the specified RuleGroup.</p>
|
|
1413
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
1414
|
-
*/
|
|
1415
|
-
public deletePermissionPolicy(
|
|
1416
|
-
args: DeletePermissionPolicyCommandInput,
|
|
1417
|
-
options?: __HttpHandlerOptions
|
|
1418
|
-
): Promise<DeletePermissionPolicyCommandOutput>;
|
|
1419
|
-
public deletePermissionPolicy(
|
|
1420
|
-
args: DeletePermissionPolicyCommandInput,
|
|
1421
|
-
cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
|
|
1422
|
-
): void;
|
|
1423
|
-
public deletePermissionPolicy(
|
|
1424
|
-
args: DeletePermissionPolicyCommandInput,
|
|
1425
|
-
options: __HttpHandlerOptions,
|
|
1426
|
-
cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
|
|
1427
|
-
): void;
|
|
1428
|
-
public deletePermissionPolicy(
|
|
1429
|
-
args: DeletePermissionPolicyCommandInput,
|
|
1430
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePermissionPolicyCommandOutput) => void),
|
|
1431
|
-
cb?: (err: any, data?: DeletePermissionPolicyCommandOutput) => void
|
|
1432
|
-
): Promise<DeletePermissionPolicyCommandOutput> | void {
|
|
1433
|
-
const command = new DeletePermissionPolicyCommand(args);
|
|
1434
|
-
if (typeof optionsOrCb === "function") {
|
|
1435
|
-
this.send(command, optionsOrCb);
|
|
1436
|
-
} else if (typeof cb === "function") {
|
|
1437
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1438
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1439
|
-
} else {
|
|
1440
|
-
return this.send(command, optionsOrCb);
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* <note>
|
|
1446
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1447
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1448
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1449
|
-
* <p>
|
|
1450
|
-
* <b>For the latest version of AWS
|
|
1451
|
-
* 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>
|
|
1452
|
-
* </note>
|
|
1453
|
-
* <p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if
|
|
1454
|
-
* it's still used in any <code>WebACL</code> objects or if it still includes any predicates,
|
|
1455
|
-
* such as <code>ByteMatchSet</code> objects.</p>
|
|
1456
|
-
* <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
1457
|
-
* <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following
|
|
1458
|
-
* steps:</p>
|
|
1459
|
-
* <ol>
|
|
1460
|
-
* <li>
|
|
1461
|
-
* <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more
|
|
1462
|
-
* information, see <a>UpdateRateBasedRule</a>.</p>
|
|
1463
|
-
* </li>
|
|
1464
|
-
* <li>
|
|
1465
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
1466
|
-
* in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code>
|
|
1467
|
-
* request.</p>
|
|
1468
|
-
* </li>
|
|
1469
|
-
* <li>
|
|
1470
|
-
* <p>Submit a <code>DeleteRateBasedRule</code> request.</p>
|
|
1471
|
-
* </li>
|
|
1472
|
-
* </ol>
|
|
1473
|
-
*/
|
|
1474
|
-
public deleteRateBasedRule(
|
|
1475
|
-
args: DeleteRateBasedRuleCommandInput,
|
|
1476
|
-
options?: __HttpHandlerOptions
|
|
1477
|
-
): Promise<DeleteRateBasedRuleCommandOutput>;
|
|
1478
|
-
public deleteRateBasedRule(
|
|
1479
|
-
args: DeleteRateBasedRuleCommandInput,
|
|
1480
|
-
cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
|
|
1481
|
-
): void;
|
|
1482
|
-
public deleteRateBasedRule(
|
|
1483
|
-
args: DeleteRateBasedRuleCommandInput,
|
|
1484
|
-
options: __HttpHandlerOptions,
|
|
1485
|
-
cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
|
|
1486
|
-
): void;
|
|
1487
|
-
public deleteRateBasedRule(
|
|
1488
|
-
args: DeleteRateBasedRuleCommandInput,
|
|
1489
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRateBasedRuleCommandOutput) => void),
|
|
1490
|
-
cb?: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void
|
|
1491
|
-
): Promise<DeleteRateBasedRuleCommandOutput> | void {
|
|
1492
|
-
const command = new DeleteRateBasedRuleCommand(args);
|
|
1493
|
-
if (typeof optionsOrCb === "function") {
|
|
1494
|
-
this.send(command, optionsOrCb);
|
|
1495
|
-
} else if (typeof cb === "function") {
|
|
1496
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1497
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1498
|
-
} else {
|
|
1499
|
-
return this.send(command, optionsOrCb);
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* <note>
|
|
1505
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1506
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1507
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1508
|
-
* <p>
|
|
1509
|
-
* <b>For the latest version of AWS
|
|
1510
|
-
* 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>
|
|
1511
|
-
* </note>
|
|
1512
|
-
* <p>Permanently deletes a <a>RegexMatchSet</a>. You can't delete a <code>RegexMatchSet</code> if it's still used in any <code>Rules</code>
|
|
1513
|
-
* or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p>
|
|
1514
|
-
* <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1515
|
-
* <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
1516
|
-
* <ol>
|
|
1517
|
-
* <li>
|
|
1518
|
-
* <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p>
|
|
1519
|
-
* </li>
|
|
1520
|
-
* <li>
|
|
1521
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1522
|
-
* <code>DeleteRegexMatchSet</code> request.</p>
|
|
1523
|
-
* </li>
|
|
1524
|
-
* <li>
|
|
1525
|
-
* <p>Submit a <code>DeleteRegexMatchSet</code> request.</p>
|
|
1526
|
-
* </li>
|
|
1527
|
-
* </ol>
|
|
1528
|
-
*/
|
|
1529
|
-
public deleteRegexMatchSet(
|
|
1530
|
-
args: DeleteRegexMatchSetCommandInput,
|
|
1531
|
-
options?: __HttpHandlerOptions
|
|
1532
|
-
): Promise<DeleteRegexMatchSetCommandOutput>;
|
|
1533
|
-
public deleteRegexMatchSet(
|
|
1534
|
-
args: DeleteRegexMatchSetCommandInput,
|
|
1535
|
-
cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
|
|
1536
|
-
): void;
|
|
1537
|
-
public deleteRegexMatchSet(
|
|
1538
|
-
args: DeleteRegexMatchSetCommandInput,
|
|
1539
|
-
options: __HttpHandlerOptions,
|
|
1540
|
-
cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
|
|
1541
|
-
): void;
|
|
1542
|
-
public deleteRegexMatchSet(
|
|
1543
|
-
args: DeleteRegexMatchSetCommandInput,
|
|
1544
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRegexMatchSetCommandOutput) => void),
|
|
1545
|
-
cb?: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void
|
|
1546
|
-
): Promise<DeleteRegexMatchSetCommandOutput> | void {
|
|
1547
|
-
const command = new DeleteRegexMatchSetCommand(args);
|
|
1548
|
-
if (typeof optionsOrCb === "function") {
|
|
1549
|
-
this.send(command, optionsOrCb);
|
|
1550
|
-
} else if (typeof cb === "function") {
|
|
1551
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1552
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1553
|
-
} else {
|
|
1554
|
-
return this.send(command, optionsOrCb);
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
/**
|
|
1559
|
-
* <note>
|
|
1560
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1561
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1562
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1563
|
-
* <p>
|
|
1564
|
-
* <b>For the latest version of AWS
|
|
1565
|
-
* 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>
|
|
1566
|
-
* </note>
|
|
1567
|
-
* <p>Permanently deletes a <a>RegexPatternSet</a>. You can't delete a <code>RegexPatternSet</code> if it's still used in any <code>RegexMatchSet</code>
|
|
1568
|
-
* or if the <code>RegexPatternSet</code> is not empty. </p>
|
|
1569
|
-
*/
|
|
1570
|
-
public deleteRegexPatternSet(
|
|
1571
|
-
args: DeleteRegexPatternSetCommandInput,
|
|
1572
|
-
options?: __HttpHandlerOptions
|
|
1573
|
-
): Promise<DeleteRegexPatternSetCommandOutput>;
|
|
1574
|
-
public deleteRegexPatternSet(
|
|
1575
|
-
args: DeleteRegexPatternSetCommandInput,
|
|
1576
|
-
cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
|
|
1577
|
-
): void;
|
|
1578
|
-
public deleteRegexPatternSet(
|
|
1579
|
-
args: DeleteRegexPatternSetCommandInput,
|
|
1580
|
-
options: __HttpHandlerOptions,
|
|
1581
|
-
cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
|
|
1582
|
-
): void;
|
|
1583
|
-
public deleteRegexPatternSet(
|
|
1584
|
-
args: DeleteRegexPatternSetCommandInput,
|
|
1585
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRegexPatternSetCommandOutput) => void),
|
|
1586
|
-
cb?: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void
|
|
1587
|
-
): Promise<DeleteRegexPatternSetCommandOutput> | void {
|
|
1588
|
-
const command = new DeleteRegexPatternSetCommand(args);
|
|
1589
|
-
if (typeof optionsOrCb === "function") {
|
|
1590
|
-
this.send(command, optionsOrCb);
|
|
1591
|
-
} else if (typeof cb === "function") {
|
|
1592
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1594
|
-
} else {
|
|
1595
|
-
return this.send(command, optionsOrCb);
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
* <note>
|
|
1601
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1602
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1603
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1604
|
-
* <p>
|
|
1605
|
-
* <b>For the latest version of AWS
|
|
1606
|
-
* 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>
|
|
1607
|
-
* </note>
|
|
1608
|
-
* <p>Permanently deletes a <a>Rule</a>. You can't delete a <code>Rule</code> if it's still used in any <code>WebACL</code>
|
|
1609
|
-
* objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p>
|
|
1610
|
-
* <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
1611
|
-
* <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p>
|
|
1612
|
-
* <ol>
|
|
1613
|
-
* <li>
|
|
1614
|
-
* <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p>
|
|
1615
|
-
* </li>
|
|
1616
|
-
* <li>
|
|
1617
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1618
|
-
* <code>DeleteRule</code> request.</p>
|
|
1619
|
-
* </li>
|
|
1620
|
-
* <li>
|
|
1621
|
-
* <p>Submit a <code>DeleteRule</code> request.</p>
|
|
1622
|
-
* </li>
|
|
1623
|
-
* </ol>
|
|
1624
|
-
*/
|
|
1625
|
-
public deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
1626
|
-
public deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
1627
|
-
public deleteRule(
|
|
1628
|
-
args: DeleteRuleCommandInput,
|
|
1629
|
-
options: __HttpHandlerOptions,
|
|
1630
|
-
cb: (err: any, data?: DeleteRuleCommandOutput) => void
|
|
1631
|
-
): void;
|
|
1632
|
-
public deleteRule(
|
|
1633
|
-
args: DeleteRuleCommandInput,
|
|
1634
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleCommandOutput) => void),
|
|
1635
|
-
cb?: (err: any, data?: DeleteRuleCommandOutput) => void
|
|
1636
|
-
): Promise<DeleteRuleCommandOutput> | void {
|
|
1637
|
-
const command = new DeleteRuleCommand(args);
|
|
1638
|
-
if (typeof optionsOrCb === "function") {
|
|
1639
|
-
this.send(command, optionsOrCb);
|
|
1640
|
-
} else if (typeof cb === "function") {
|
|
1641
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1642
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1643
|
-
} else {
|
|
1644
|
-
return this.send(command, optionsOrCb);
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* <note>
|
|
1650
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1651
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1652
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1653
|
-
* <p>
|
|
1654
|
-
* <b>For the latest version of AWS
|
|
1655
|
-
* 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>
|
|
1656
|
-
* </note>
|
|
1657
|
-
* <p>Permanently deletes a <a>RuleGroup</a>. You can't delete a <code>RuleGroup</code> if it's still used in any <code>WebACL</code>
|
|
1658
|
-
* objects or if it still includes any rules.</p>
|
|
1659
|
-
* <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
1660
|
-
* <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p>
|
|
1661
|
-
* <ol>
|
|
1662
|
-
* <li>
|
|
1663
|
-
* <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p>
|
|
1664
|
-
* </li>
|
|
1665
|
-
* <li>
|
|
1666
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1667
|
-
* <code>DeleteRuleGroup</code> request.</p>
|
|
1668
|
-
* </li>
|
|
1669
|
-
* <li>
|
|
1670
|
-
* <p>Submit a <code>DeleteRuleGroup</code> request.</p>
|
|
1671
|
-
* </li>
|
|
1672
|
-
* </ol>
|
|
1673
|
-
*/
|
|
1674
|
-
public deleteRuleGroup(
|
|
1675
|
-
args: DeleteRuleGroupCommandInput,
|
|
1676
|
-
options?: __HttpHandlerOptions
|
|
1677
|
-
): Promise<DeleteRuleGroupCommandOutput>;
|
|
1678
|
-
public deleteRuleGroup(
|
|
1679
|
-
args: DeleteRuleGroupCommandInput,
|
|
1680
|
-
cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
1681
|
-
): void;
|
|
1682
|
-
public deleteRuleGroup(
|
|
1683
|
-
args: DeleteRuleGroupCommandInput,
|
|
1684
|
-
options: __HttpHandlerOptions,
|
|
1685
|
-
cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
1686
|
-
): void;
|
|
1687
|
-
public deleteRuleGroup(
|
|
1688
|
-
args: DeleteRuleGroupCommandInput,
|
|
1689
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleGroupCommandOutput) => void),
|
|
1690
|
-
cb?: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
1691
|
-
): Promise<DeleteRuleGroupCommandOutput> | void {
|
|
1692
|
-
const command = new DeleteRuleGroupCommand(args);
|
|
1693
|
-
if (typeof optionsOrCb === "function") {
|
|
1694
|
-
this.send(command, optionsOrCb);
|
|
1695
|
-
} else if (typeof cb === "function") {
|
|
1696
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1697
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1698
|
-
} else {
|
|
1699
|
-
return this.send(command, optionsOrCb);
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
* <note>
|
|
1705
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1706
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1707
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1708
|
-
* <p>
|
|
1709
|
-
* <b>For the latest version of AWS
|
|
1710
|
-
* 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>
|
|
1711
|
-
* </note>
|
|
1712
|
-
* <p>Permanently deletes a <a>SizeConstraintSet</a>. You can't delete a <code>SizeConstraintSet</code> if it's still used in any <code>Rules</code>
|
|
1713
|
-
* or if it still includes any <a>SizeConstraint</a> objects (any filters).</p>
|
|
1714
|
-
* <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1715
|
-
* <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
1716
|
-
* <ol>
|
|
1717
|
-
* <li>
|
|
1718
|
-
* <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p>
|
|
1719
|
-
* </li>
|
|
1720
|
-
* <li>
|
|
1721
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1722
|
-
* <code>DeleteSizeConstraintSet</code> request.</p>
|
|
1723
|
-
* </li>
|
|
1724
|
-
* <li>
|
|
1725
|
-
* <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p>
|
|
1726
|
-
* </li>
|
|
1727
|
-
* </ol>
|
|
1728
|
-
*/
|
|
1729
|
-
public deleteSizeConstraintSet(
|
|
1730
|
-
args: DeleteSizeConstraintSetCommandInput,
|
|
1731
|
-
options?: __HttpHandlerOptions
|
|
1732
|
-
): Promise<DeleteSizeConstraintSetCommandOutput>;
|
|
1733
|
-
public deleteSizeConstraintSet(
|
|
1734
|
-
args: DeleteSizeConstraintSetCommandInput,
|
|
1735
|
-
cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
|
|
1736
|
-
): void;
|
|
1737
|
-
public deleteSizeConstraintSet(
|
|
1738
|
-
args: DeleteSizeConstraintSetCommandInput,
|
|
1739
|
-
options: __HttpHandlerOptions,
|
|
1740
|
-
cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
|
|
1741
|
-
): void;
|
|
1742
|
-
public deleteSizeConstraintSet(
|
|
1743
|
-
args: DeleteSizeConstraintSetCommandInput,
|
|
1744
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSizeConstraintSetCommandOutput) => void),
|
|
1745
|
-
cb?: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void
|
|
1746
|
-
): Promise<DeleteSizeConstraintSetCommandOutput> | void {
|
|
1747
|
-
const command = new DeleteSizeConstraintSetCommand(args);
|
|
1748
|
-
if (typeof optionsOrCb === "function") {
|
|
1749
|
-
this.send(command, optionsOrCb);
|
|
1750
|
-
} else if (typeof cb === "function") {
|
|
1751
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1752
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1753
|
-
} else {
|
|
1754
|
-
return this.send(command, optionsOrCb);
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* <note>
|
|
1760
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1761
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1762
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1763
|
-
* <p>
|
|
1764
|
-
* <b>For the latest version of AWS
|
|
1765
|
-
* 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>
|
|
1766
|
-
* </note>
|
|
1767
|
-
* <p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's
|
|
1768
|
-
* still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p>
|
|
1769
|
-
* <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1770
|
-
* <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
1771
|
-
* <ol>
|
|
1772
|
-
* <li>
|
|
1773
|
-
* <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see
|
|
1774
|
-
* <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
1775
|
-
* </li>
|
|
1776
|
-
* <li>
|
|
1777
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1778
|
-
* <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
1779
|
-
* </li>
|
|
1780
|
-
* <li>
|
|
1781
|
-
* <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
1782
|
-
* </li>
|
|
1783
|
-
* </ol>
|
|
1784
|
-
*/
|
|
1785
|
-
public deleteSqlInjectionMatchSet(
|
|
1786
|
-
args: DeleteSqlInjectionMatchSetCommandInput,
|
|
1787
|
-
options?: __HttpHandlerOptions
|
|
1788
|
-
): Promise<DeleteSqlInjectionMatchSetCommandOutput>;
|
|
1789
|
-
public deleteSqlInjectionMatchSet(
|
|
1790
|
-
args: DeleteSqlInjectionMatchSetCommandInput,
|
|
1791
|
-
cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
|
|
1792
|
-
): void;
|
|
1793
|
-
public deleteSqlInjectionMatchSet(
|
|
1794
|
-
args: DeleteSqlInjectionMatchSetCommandInput,
|
|
1795
|
-
options: __HttpHandlerOptions,
|
|
1796
|
-
cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
|
|
1797
|
-
): void;
|
|
1798
|
-
public deleteSqlInjectionMatchSet(
|
|
1799
|
-
args: DeleteSqlInjectionMatchSetCommandInput,
|
|
1800
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void),
|
|
1801
|
-
cb?: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void
|
|
1802
|
-
): Promise<DeleteSqlInjectionMatchSetCommandOutput> | void {
|
|
1803
|
-
const command = new DeleteSqlInjectionMatchSetCommand(args);
|
|
1804
|
-
if (typeof optionsOrCb === "function") {
|
|
1805
|
-
this.send(command, optionsOrCb);
|
|
1806
|
-
} else if (typeof cb === "function") {
|
|
1807
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1808
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1809
|
-
} else {
|
|
1810
|
-
return this.send(command, optionsOrCb);
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
/**
|
|
1815
|
-
* <note>
|
|
1816
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1817
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1818
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1819
|
-
* <p>
|
|
1820
|
-
* <b>For the latest version of AWS
|
|
1821
|
-
* 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>
|
|
1822
|
-
* </note>
|
|
1823
|
-
* <p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p>
|
|
1824
|
-
* <p>To delete a <code>WebACL</code>, perform the following steps:</p>
|
|
1825
|
-
* <ol>
|
|
1826
|
-
* <li>
|
|
1827
|
-
* <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p>
|
|
1828
|
-
* </li>
|
|
1829
|
-
* <li>
|
|
1830
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1831
|
-
* <code>DeleteWebACL</code> request.</p>
|
|
1832
|
-
* </li>
|
|
1833
|
-
* <li>
|
|
1834
|
-
* <p>Submit a <code>DeleteWebACL</code> request.</p>
|
|
1835
|
-
* </li>
|
|
1836
|
-
* </ol>
|
|
1837
|
-
*/
|
|
1838
|
-
public deleteWebACL(
|
|
1839
|
-
args: DeleteWebACLCommandInput,
|
|
1840
|
-
options?: __HttpHandlerOptions
|
|
1841
|
-
): Promise<DeleteWebACLCommandOutput>;
|
|
1842
|
-
public deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
1843
|
-
public deleteWebACL(
|
|
1844
|
-
args: DeleteWebACLCommandInput,
|
|
1845
|
-
options: __HttpHandlerOptions,
|
|
1846
|
-
cb: (err: any, data?: DeleteWebACLCommandOutput) => void
|
|
1847
|
-
): void;
|
|
1848
|
-
public deleteWebACL(
|
|
1849
|
-
args: DeleteWebACLCommandInput,
|
|
1850
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWebACLCommandOutput) => void),
|
|
1851
|
-
cb?: (err: any, data?: DeleteWebACLCommandOutput) => void
|
|
1852
|
-
): Promise<DeleteWebACLCommandOutput> | void {
|
|
1853
|
-
const command = new DeleteWebACLCommand(args);
|
|
1854
|
-
if (typeof optionsOrCb === "function") {
|
|
1855
|
-
this.send(command, optionsOrCb);
|
|
1856
|
-
} else if (typeof cb === "function") {
|
|
1857
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1858
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1859
|
-
} else {
|
|
1860
|
-
return this.send(command, optionsOrCb);
|
|
1861
|
-
}
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
/**
|
|
1865
|
-
* <note>
|
|
1866
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1867
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1868
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1869
|
-
* <p>
|
|
1870
|
-
* <b>For the latest version of AWS
|
|
1871
|
-
* 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>
|
|
1872
|
-
* </note>
|
|
1873
|
-
* <p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's
|
|
1874
|
-
* still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p>
|
|
1875
|
-
* <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1876
|
-
* <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
1877
|
-
* <ol>
|
|
1878
|
-
* <li>
|
|
1879
|
-
* <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see
|
|
1880
|
-
* <a>UpdateXssMatchSet</a>.</p>
|
|
1881
|
-
* </li>
|
|
1882
|
-
* <li>
|
|
1883
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1884
|
-
* <code>DeleteXssMatchSet</code> request.</p>
|
|
1885
|
-
* </li>
|
|
1886
|
-
* <li>
|
|
1887
|
-
* <p>Submit a <code>DeleteXssMatchSet</code> request.</p>
|
|
1888
|
-
* </li>
|
|
1889
|
-
* </ol>
|
|
1890
|
-
*/
|
|
1891
|
-
public deleteXssMatchSet(
|
|
1892
|
-
args: DeleteXssMatchSetCommandInput,
|
|
1893
|
-
options?: __HttpHandlerOptions
|
|
1894
|
-
): Promise<DeleteXssMatchSetCommandOutput>;
|
|
1895
|
-
public deleteXssMatchSet(
|
|
1896
|
-
args: DeleteXssMatchSetCommandInput,
|
|
1897
|
-
cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
|
|
1898
|
-
): void;
|
|
1899
|
-
public deleteXssMatchSet(
|
|
1900
|
-
args: DeleteXssMatchSetCommandInput,
|
|
1901
|
-
options: __HttpHandlerOptions,
|
|
1902
|
-
cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
|
|
1903
|
-
): void;
|
|
1904
|
-
public deleteXssMatchSet(
|
|
1905
|
-
args: DeleteXssMatchSetCommandInput,
|
|
1906
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteXssMatchSetCommandOutput) => void),
|
|
1907
|
-
cb?: (err: any, data?: DeleteXssMatchSetCommandOutput) => void
|
|
1908
|
-
): Promise<DeleteXssMatchSetCommandOutput> | void {
|
|
1909
|
-
const command = new DeleteXssMatchSetCommand(args);
|
|
1910
|
-
if (typeof optionsOrCb === "function") {
|
|
1911
|
-
this.send(command, optionsOrCb);
|
|
1912
|
-
} else if (typeof cb === "function") {
|
|
1913
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1914
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1915
|
-
} else {
|
|
1916
|
-
return this.send(command, optionsOrCb);
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
/**
|
|
1921
|
-
* <note>
|
|
1922
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1923
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1924
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1925
|
-
* <p>
|
|
1926
|
-
* <b>For the latest version of AWS
|
|
1927
|
-
* 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>
|
|
1928
|
-
* </note>
|
|
1929
|
-
* <p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>
|
|
1930
|
-
*/
|
|
1931
|
-
public getByteMatchSet(
|
|
1932
|
-
args: GetByteMatchSetCommandInput,
|
|
1933
|
-
options?: __HttpHandlerOptions
|
|
1934
|
-
): Promise<GetByteMatchSetCommandOutput>;
|
|
1935
|
-
public getByteMatchSet(
|
|
1936
|
-
args: GetByteMatchSetCommandInput,
|
|
1937
|
-
cb: (err: any, data?: GetByteMatchSetCommandOutput) => void
|
|
1938
|
-
): void;
|
|
1939
|
-
public getByteMatchSet(
|
|
1940
|
-
args: GetByteMatchSetCommandInput,
|
|
1941
|
-
options: __HttpHandlerOptions,
|
|
1942
|
-
cb: (err: any, data?: GetByteMatchSetCommandOutput) => void
|
|
1943
|
-
): void;
|
|
1944
|
-
public getByteMatchSet(
|
|
1945
|
-
args: GetByteMatchSetCommandInput,
|
|
1946
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetByteMatchSetCommandOutput) => void),
|
|
1947
|
-
cb?: (err: any, data?: GetByteMatchSetCommandOutput) => void
|
|
1948
|
-
): Promise<GetByteMatchSetCommandOutput> | void {
|
|
1949
|
-
const command = new GetByteMatchSetCommand(args);
|
|
1950
|
-
if (typeof optionsOrCb === "function") {
|
|
1951
|
-
this.send(command, optionsOrCb);
|
|
1952
|
-
} else if (typeof cb === "function") {
|
|
1953
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1954
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1955
|
-
} else {
|
|
1956
|
-
return this.send(command, optionsOrCb);
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* <note>
|
|
1962
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1963
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1964
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1965
|
-
* <p>
|
|
1966
|
-
* <b>For the latest version of AWS
|
|
1967
|
-
* 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>
|
|
1968
|
-
* </note>
|
|
1969
|
-
* <p>When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.</p>
|
|
1970
|
-
* <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request
|
|
1971
|
-
* and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second
|
|
1972
|
-
* <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p>
|
|
1973
|
-
* <p>When you use a change token in a create, update, or delete request, the status of the change token changes to <code>PENDING</code>,
|
|
1974
|
-
* which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the
|
|
1975
|
-
* status of your change token.</p>
|
|
1976
|
-
*/
|
|
1977
|
-
public getChangeToken(
|
|
1978
|
-
args: GetChangeTokenCommandInput,
|
|
1979
|
-
options?: __HttpHandlerOptions
|
|
1980
|
-
): Promise<GetChangeTokenCommandOutput>;
|
|
1981
|
-
public getChangeToken(
|
|
1982
|
-
args: GetChangeTokenCommandInput,
|
|
1983
|
-
cb: (err: any, data?: GetChangeTokenCommandOutput) => void
|
|
1984
|
-
): void;
|
|
1985
|
-
public getChangeToken(
|
|
1986
|
-
args: GetChangeTokenCommandInput,
|
|
1987
|
-
options: __HttpHandlerOptions,
|
|
1988
|
-
cb: (err: any, data?: GetChangeTokenCommandOutput) => void
|
|
1989
|
-
): void;
|
|
1990
|
-
public getChangeToken(
|
|
1991
|
-
args: GetChangeTokenCommandInput,
|
|
1992
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChangeTokenCommandOutput) => void),
|
|
1993
|
-
cb?: (err: any, data?: GetChangeTokenCommandOutput) => void
|
|
1994
|
-
): Promise<GetChangeTokenCommandOutput> | void {
|
|
1995
|
-
const command = new GetChangeTokenCommand(args);
|
|
1996
|
-
if (typeof optionsOrCb === "function") {
|
|
1997
|
-
this.send(command, optionsOrCb);
|
|
1998
|
-
} else if (typeof cb === "function") {
|
|
1999
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2000
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2001
|
-
} else {
|
|
2002
|
-
return this.send(command, optionsOrCb);
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* <note>
|
|
2008
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2009
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2010
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2011
|
-
* <p>
|
|
2012
|
-
* <b>For the latest version of AWS
|
|
2013
|
-
* 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>
|
|
2014
|
-
* </note>
|
|
2015
|
-
* <p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is
|
|
2016
|
-
* one of the following values:</p>
|
|
2017
|
-
* <ul>
|
|
2018
|
-
* <li>
|
|
2019
|
-
* <p>
|
|
2020
|
-
* <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet
|
|
2021
|
-
* in a call to create, update, or delete an AWS WAF object.</p>
|
|
2022
|
-
* </li>
|
|
2023
|
-
* <li>
|
|
2024
|
-
* <p>
|
|
2025
|
-
* <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p>
|
|
2026
|
-
* </li>
|
|
2027
|
-
* <li>
|
|
2028
|
-
* <p>
|
|
2029
|
-
* <code>INSYNC</code>: Propagation is complete.</p>
|
|
2030
|
-
* </li>
|
|
2031
|
-
* </ul>
|
|
2032
|
-
*/
|
|
2033
|
-
public getChangeTokenStatus(
|
|
2034
|
-
args: GetChangeTokenStatusCommandInput,
|
|
2035
|
-
options?: __HttpHandlerOptions
|
|
2036
|
-
): Promise<GetChangeTokenStatusCommandOutput>;
|
|
2037
|
-
public getChangeTokenStatus(
|
|
2038
|
-
args: GetChangeTokenStatusCommandInput,
|
|
2039
|
-
cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
|
|
2040
|
-
): void;
|
|
2041
|
-
public getChangeTokenStatus(
|
|
2042
|
-
args: GetChangeTokenStatusCommandInput,
|
|
2043
|
-
options: __HttpHandlerOptions,
|
|
2044
|
-
cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
|
|
2045
|
-
): void;
|
|
2046
|
-
public getChangeTokenStatus(
|
|
2047
|
-
args: GetChangeTokenStatusCommandInput,
|
|
2048
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChangeTokenStatusCommandOutput) => void),
|
|
2049
|
-
cb?: (err: any, data?: GetChangeTokenStatusCommandOutput) => void
|
|
2050
|
-
): Promise<GetChangeTokenStatusCommandOutput> | void {
|
|
2051
|
-
const command = new GetChangeTokenStatusCommand(args);
|
|
2052
|
-
if (typeof optionsOrCb === "function") {
|
|
2053
|
-
this.send(command, optionsOrCb);
|
|
2054
|
-
} else if (typeof cb === "function") {
|
|
2055
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2056
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2057
|
-
} else {
|
|
2058
|
-
return this.send(command, optionsOrCb);
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
/**
|
|
2063
|
-
* <note>
|
|
2064
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2065
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2066
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2067
|
-
* <p>
|
|
2068
|
-
* <b>For the latest version of AWS
|
|
2069
|
-
* 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>
|
|
2070
|
-
* </note>
|
|
2071
|
-
* <p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>
|
|
2072
|
-
*/
|
|
2073
|
-
public getGeoMatchSet(
|
|
2074
|
-
args: GetGeoMatchSetCommandInput,
|
|
2075
|
-
options?: __HttpHandlerOptions
|
|
2076
|
-
): Promise<GetGeoMatchSetCommandOutput>;
|
|
2077
|
-
public getGeoMatchSet(
|
|
2078
|
-
args: GetGeoMatchSetCommandInput,
|
|
2079
|
-
cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void
|
|
2080
|
-
): void;
|
|
2081
|
-
public getGeoMatchSet(
|
|
2082
|
-
args: GetGeoMatchSetCommandInput,
|
|
2083
|
-
options: __HttpHandlerOptions,
|
|
2084
|
-
cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void
|
|
2085
|
-
): void;
|
|
2086
|
-
public getGeoMatchSet(
|
|
2087
|
-
args: GetGeoMatchSetCommandInput,
|
|
2088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetGeoMatchSetCommandOutput) => void),
|
|
2089
|
-
cb?: (err: any, data?: GetGeoMatchSetCommandOutput) => void
|
|
2090
|
-
): Promise<GetGeoMatchSetCommandOutput> | void {
|
|
2091
|
-
const command = new GetGeoMatchSetCommand(args);
|
|
2092
|
-
if (typeof optionsOrCb === "function") {
|
|
2093
|
-
this.send(command, optionsOrCb);
|
|
2094
|
-
} else if (typeof cb === "function") {
|
|
2095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2097
|
-
} else {
|
|
2098
|
-
return this.send(command, optionsOrCb);
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* <note>
|
|
2104
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2105
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2106
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2107
|
-
* <p>
|
|
2108
|
-
* <b>For the latest version of AWS
|
|
2109
|
-
* 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>
|
|
2110
|
-
* </note>
|
|
2111
|
-
* <p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>
|
|
2112
|
-
*/
|
|
2113
|
-
public getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
2114
|
-
public getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
2115
|
-
public getIPSet(
|
|
2116
|
-
args: GetIPSetCommandInput,
|
|
2117
|
-
options: __HttpHandlerOptions,
|
|
2118
|
-
cb: (err: any, data?: GetIPSetCommandOutput) => void
|
|
2119
|
-
): void;
|
|
2120
|
-
public getIPSet(
|
|
2121
|
-
args: GetIPSetCommandInput,
|
|
2122
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIPSetCommandOutput) => void),
|
|
2123
|
-
cb?: (err: any, data?: GetIPSetCommandOutput) => void
|
|
2124
|
-
): Promise<GetIPSetCommandOutput> | void {
|
|
2125
|
-
const command = new GetIPSetCommand(args);
|
|
2126
|
-
if (typeof optionsOrCb === "function") {
|
|
2127
|
-
this.send(command, optionsOrCb);
|
|
2128
|
-
} else if (typeof cb === "function") {
|
|
2129
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2131
|
-
} else {
|
|
2132
|
-
return this.send(command, optionsOrCb);
|
|
2133
|
-
}
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
/**
|
|
2137
|
-
* <note>
|
|
2138
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2139
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2140
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2141
|
-
* <p>
|
|
2142
|
-
* <b>For the latest version of AWS
|
|
2143
|
-
* 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>
|
|
2144
|
-
* </note>
|
|
2145
|
-
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
2146
|
-
*/
|
|
2147
|
-
public getLoggingConfiguration(
|
|
2148
|
-
args: GetLoggingConfigurationCommandInput,
|
|
2149
|
-
options?: __HttpHandlerOptions
|
|
2150
|
-
): Promise<GetLoggingConfigurationCommandOutput>;
|
|
2151
|
-
public getLoggingConfiguration(
|
|
2152
|
-
args: GetLoggingConfigurationCommandInput,
|
|
2153
|
-
cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
|
|
2154
|
-
): void;
|
|
2155
|
-
public getLoggingConfiguration(
|
|
2156
|
-
args: GetLoggingConfigurationCommandInput,
|
|
2157
|
-
options: __HttpHandlerOptions,
|
|
2158
|
-
cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
|
|
2159
|
-
): void;
|
|
2160
|
-
public getLoggingConfiguration(
|
|
2161
|
-
args: GetLoggingConfigurationCommandInput,
|
|
2162
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLoggingConfigurationCommandOutput) => void),
|
|
2163
|
-
cb?: (err: any, data?: GetLoggingConfigurationCommandOutput) => void
|
|
2164
|
-
): Promise<GetLoggingConfigurationCommandOutput> | void {
|
|
2165
|
-
const command = new GetLoggingConfigurationCommand(args);
|
|
2166
|
-
if (typeof optionsOrCb === "function") {
|
|
2167
|
-
this.send(command, optionsOrCb);
|
|
2168
|
-
} else if (typeof cb === "function") {
|
|
2169
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2170
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2171
|
-
} else {
|
|
2172
|
-
return this.send(command, optionsOrCb);
|
|
2173
|
-
}
|
|
2174
|
-
}
|
|
2175
|
-
|
|
2176
|
-
/**
|
|
2177
|
-
* <note>
|
|
2178
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2179
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2180
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2181
|
-
* <p>
|
|
2182
|
-
* <b>For the latest version of AWS
|
|
2183
|
-
* 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>
|
|
2184
|
-
* </note>
|
|
2185
|
-
* <p>Returns the IAM policy attached to the RuleGroup.</p>
|
|
2186
|
-
*/
|
|
2187
|
-
public getPermissionPolicy(
|
|
2188
|
-
args: GetPermissionPolicyCommandInput,
|
|
2189
|
-
options?: __HttpHandlerOptions
|
|
2190
|
-
): Promise<GetPermissionPolicyCommandOutput>;
|
|
2191
|
-
public getPermissionPolicy(
|
|
2192
|
-
args: GetPermissionPolicyCommandInput,
|
|
2193
|
-
cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void
|
|
2194
|
-
): void;
|
|
2195
|
-
public getPermissionPolicy(
|
|
2196
|
-
args: GetPermissionPolicyCommandInput,
|
|
2197
|
-
options: __HttpHandlerOptions,
|
|
2198
|
-
cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void
|
|
2199
|
-
): void;
|
|
2200
|
-
public getPermissionPolicy(
|
|
2201
|
-
args: GetPermissionPolicyCommandInput,
|
|
2202
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPermissionPolicyCommandOutput) => void),
|
|
2203
|
-
cb?: (err: any, data?: GetPermissionPolicyCommandOutput) => void
|
|
2204
|
-
): Promise<GetPermissionPolicyCommandOutput> | void {
|
|
2205
|
-
const command = new GetPermissionPolicyCommand(args);
|
|
2206
|
-
if (typeof optionsOrCb === "function") {
|
|
2207
|
-
this.send(command, optionsOrCb);
|
|
2208
|
-
} else if (typeof cb === "function") {
|
|
2209
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2210
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2211
|
-
} else {
|
|
2212
|
-
return this.send(command, optionsOrCb);
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
/**
|
|
2217
|
-
* <note>
|
|
2218
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2219
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2220
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2221
|
-
* <p>
|
|
2222
|
-
* <b>For the latest version of AWS
|
|
2223
|
-
* 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>
|
|
2224
|
-
* </note>
|
|
2225
|
-
* <p>Returns the <a>RateBasedRule</a> that is specified by the
|
|
2226
|
-
* <code>RuleId</code> that you included in the <code>GetRateBasedRule</code>
|
|
2227
|
-
* request.</p>
|
|
2228
|
-
*/
|
|
2229
|
-
public getRateBasedRule(
|
|
2230
|
-
args: GetRateBasedRuleCommandInput,
|
|
2231
|
-
options?: __HttpHandlerOptions
|
|
2232
|
-
): Promise<GetRateBasedRuleCommandOutput>;
|
|
2233
|
-
public getRateBasedRule(
|
|
2234
|
-
args: GetRateBasedRuleCommandInput,
|
|
2235
|
-
cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void
|
|
2236
|
-
): void;
|
|
2237
|
-
public getRateBasedRule(
|
|
2238
|
-
args: GetRateBasedRuleCommandInput,
|
|
2239
|
-
options: __HttpHandlerOptions,
|
|
2240
|
-
cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void
|
|
2241
|
-
): void;
|
|
2242
|
-
public getRateBasedRule(
|
|
2243
|
-
args: GetRateBasedRuleCommandInput,
|
|
2244
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRateBasedRuleCommandOutput) => void),
|
|
2245
|
-
cb?: (err: any, data?: GetRateBasedRuleCommandOutput) => void
|
|
2246
|
-
): Promise<GetRateBasedRuleCommandOutput> | void {
|
|
2247
|
-
const command = new GetRateBasedRuleCommand(args);
|
|
2248
|
-
if (typeof optionsOrCb === "function") {
|
|
2249
|
-
this.send(command, optionsOrCb);
|
|
2250
|
-
} else if (typeof cb === "function") {
|
|
2251
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2253
|
-
} else {
|
|
2254
|
-
return this.send(command, optionsOrCb);
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
/**
|
|
2259
|
-
* <note>
|
|
2260
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2261
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2262
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2263
|
-
* <p>
|
|
2264
|
-
* <b>For the latest version of AWS
|
|
2265
|
-
* 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>
|
|
2266
|
-
* </note>
|
|
2267
|
-
* <p>Returns an array of IP addresses currently being blocked by the <a>RateBasedRule</a> that is specified by the <code>RuleId</code>. The maximum
|
|
2268
|
-
* number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed
|
|
2269
|
-
* the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>
|
|
2270
|
-
*/
|
|
2271
|
-
public getRateBasedRuleManagedKeys(
|
|
2272
|
-
args: GetRateBasedRuleManagedKeysCommandInput,
|
|
2273
|
-
options?: __HttpHandlerOptions
|
|
2274
|
-
): Promise<GetRateBasedRuleManagedKeysCommandOutput>;
|
|
2275
|
-
public getRateBasedRuleManagedKeys(
|
|
2276
|
-
args: GetRateBasedRuleManagedKeysCommandInput,
|
|
2277
|
-
cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
|
|
2278
|
-
): void;
|
|
2279
|
-
public getRateBasedRuleManagedKeys(
|
|
2280
|
-
args: GetRateBasedRuleManagedKeysCommandInput,
|
|
2281
|
-
options: __HttpHandlerOptions,
|
|
2282
|
-
cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
|
|
2283
|
-
): void;
|
|
2284
|
-
public getRateBasedRuleManagedKeys(
|
|
2285
|
-
args: GetRateBasedRuleManagedKeysCommandInput,
|
|
2286
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void),
|
|
2287
|
-
cb?: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void
|
|
2288
|
-
): Promise<GetRateBasedRuleManagedKeysCommandOutput> | void {
|
|
2289
|
-
const command = new GetRateBasedRuleManagedKeysCommand(args);
|
|
2290
|
-
if (typeof optionsOrCb === "function") {
|
|
2291
|
-
this.send(command, optionsOrCb);
|
|
2292
|
-
} else if (typeof cb === "function") {
|
|
2293
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2294
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2295
|
-
} else {
|
|
2296
|
-
return this.send(command, optionsOrCb);
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
|
-
/**
|
|
2301
|
-
* <note>
|
|
2302
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2303
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2304
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2305
|
-
* <p>
|
|
2306
|
-
* <b>For the latest version of AWS
|
|
2307
|
-
* 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>
|
|
2308
|
-
* </note>
|
|
2309
|
-
* <p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>
|
|
2310
|
-
*/
|
|
2311
|
-
public getRegexMatchSet(
|
|
2312
|
-
args: GetRegexMatchSetCommandInput,
|
|
2313
|
-
options?: __HttpHandlerOptions
|
|
2314
|
-
): Promise<GetRegexMatchSetCommandOutput>;
|
|
2315
|
-
public getRegexMatchSet(
|
|
2316
|
-
args: GetRegexMatchSetCommandInput,
|
|
2317
|
-
cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void
|
|
2318
|
-
): void;
|
|
2319
|
-
public getRegexMatchSet(
|
|
2320
|
-
args: GetRegexMatchSetCommandInput,
|
|
2321
|
-
options: __HttpHandlerOptions,
|
|
2322
|
-
cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void
|
|
2323
|
-
): void;
|
|
2324
|
-
public getRegexMatchSet(
|
|
2325
|
-
args: GetRegexMatchSetCommandInput,
|
|
2326
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegexMatchSetCommandOutput) => void),
|
|
2327
|
-
cb?: (err: any, data?: GetRegexMatchSetCommandOutput) => void
|
|
2328
|
-
): Promise<GetRegexMatchSetCommandOutput> | void {
|
|
2329
|
-
const command = new GetRegexMatchSetCommand(args);
|
|
2330
|
-
if (typeof optionsOrCb === "function") {
|
|
2331
|
-
this.send(command, optionsOrCb);
|
|
2332
|
-
} else if (typeof cb === "function") {
|
|
2333
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2334
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2335
|
-
} else {
|
|
2336
|
-
return this.send(command, optionsOrCb);
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
/**
|
|
2341
|
-
* <note>
|
|
2342
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2343
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2344
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2345
|
-
* <p>
|
|
2346
|
-
* <b>For the latest version of AWS
|
|
2347
|
-
* 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>
|
|
2348
|
-
* </note>
|
|
2349
|
-
* <p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>
|
|
2350
|
-
*/
|
|
2351
|
-
public getRegexPatternSet(
|
|
2352
|
-
args: GetRegexPatternSetCommandInput,
|
|
2353
|
-
options?: __HttpHandlerOptions
|
|
2354
|
-
): Promise<GetRegexPatternSetCommandOutput>;
|
|
2355
|
-
public getRegexPatternSet(
|
|
2356
|
-
args: GetRegexPatternSetCommandInput,
|
|
2357
|
-
cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void
|
|
2358
|
-
): void;
|
|
2359
|
-
public getRegexPatternSet(
|
|
2360
|
-
args: GetRegexPatternSetCommandInput,
|
|
2361
|
-
options: __HttpHandlerOptions,
|
|
2362
|
-
cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void
|
|
2363
|
-
): void;
|
|
2364
|
-
public getRegexPatternSet(
|
|
2365
|
-
args: GetRegexPatternSetCommandInput,
|
|
2366
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegexPatternSetCommandOutput) => void),
|
|
2367
|
-
cb?: (err: any, data?: GetRegexPatternSetCommandOutput) => void
|
|
2368
|
-
): Promise<GetRegexPatternSetCommandOutput> | void {
|
|
2369
|
-
const command = new GetRegexPatternSetCommand(args);
|
|
2370
|
-
if (typeof optionsOrCb === "function") {
|
|
2371
|
-
this.send(command, optionsOrCb);
|
|
2372
|
-
} else if (typeof cb === "function") {
|
|
2373
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2374
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2375
|
-
} else {
|
|
2376
|
-
return this.send(command, optionsOrCb);
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
/**
|
|
2381
|
-
* <note>
|
|
2382
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2383
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2384
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2385
|
-
* <p>
|
|
2386
|
-
* <b>For the latest version of AWS
|
|
2387
|
-
* 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>
|
|
2388
|
-
* </note>
|
|
2389
|
-
* <p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>
|
|
2390
|
-
*/
|
|
2391
|
-
public getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
|
|
2392
|
-
public getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
2393
|
-
public getRule(
|
|
2394
|
-
args: GetRuleCommandInput,
|
|
2395
|
-
options: __HttpHandlerOptions,
|
|
2396
|
-
cb: (err: any, data?: GetRuleCommandOutput) => void
|
|
2397
|
-
): void;
|
|
2398
|
-
public getRule(
|
|
2399
|
-
args: GetRuleCommandInput,
|
|
2400
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRuleCommandOutput) => void),
|
|
2401
|
-
cb?: (err: any, data?: GetRuleCommandOutput) => void
|
|
2402
|
-
): Promise<GetRuleCommandOutput> | void {
|
|
2403
|
-
const command = new GetRuleCommand(args);
|
|
2404
|
-
if (typeof optionsOrCb === "function") {
|
|
2405
|
-
this.send(command, optionsOrCb);
|
|
2406
|
-
} else if (typeof cb === "function") {
|
|
2407
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2408
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2409
|
-
} else {
|
|
2410
|
-
return this.send(command, optionsOrCb);
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
|
-
/**
|
|
2415
|
-
* <note>
|
|
2416
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2417
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2418
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2419
|
-
* <p>
|
|
2420
|
-
* <b>For the latest version of AWS
|
|
2421
|
-
* 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>
|
|
2422
|
-
* </note>
|
|
2423
|
-
* <p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p>
|
|
2424
|
-
* <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>
|
|
2425
|
-
*/
|
|
2426
|
-
public getRuleGroup(
|
|
2427
|
-
args: GetRuleGroupCommandInput,
|
|
2428
|
-
options?: __HttpHandlerOptions
|
|
2429
|
-
): Promise<GetRuleGroupCommandOutput>;
|
|
2430
|
-
public getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
2431
|
-
public getRuleGroup(
|
|
2432
|
-
args: GetRuleGroupCommandInput,
|
|
2433
|
-
options: __HttpHandlerOptions,
|
|
2434
|
-
cb: (err: any, data?: GetRuleGroupCommandOutput) => void
|
|
2435
|
-
): void;
|
|
2436
|
-
public getRuleGroup(
|
|
2437
|
-
args: GetRuleGroupCommandInput,
|
|
2438
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRuleGroupCommandOutput) => void),
|
|
2439
|
-
cb?: (err: any, data?: GetRuleGroupCommandOutput) => void
|
|
2440
|
-
): Promise<GetRuleGroupCommandOutput> | void {
|
|
2441
|
-
const command = new GetRuleGroupCommand(args);
|
|
2442
|
-
if (typeof optionsOrCb === "function") {
|
|
2443
|
-
this.send(command, optionsOrCb);
|
|
2444
|
-
} else if (typeof cb === "function") {
|
|
2445
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2446
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2447
|
-
} else {
|
|
2448
|
-
return this.send(command, optionsOrCb);
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
* <note>
|
|
2454
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2455
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2456
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2457
|
-
* <p>
|
|
2458
|
-
* <b>For the latest version of AWS
|
|
2459
|
-
* 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>
|
|
2460
|
-
* </note>
|
|
2461
|
-
* <p>Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.</p>
|
|
2462
|
-
* <p>
|
|
2463
|
-
* <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource
|
|
2464
|
-
* (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code>
|
|
2465
|
-
* returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>
|
|
2466
|
-
*/
|
|
2467
|
-
public getSampledRequests(
|
|
2468
|
-
args: GetSampledRequestsCommandInput,
|
|
2469
|
-
options?: __HttpHandlerOptions
|
|
2470
|
-
): Promise<GetSampledRequestsCommandOutput>;
|
|
2471
|
-
public getSampledRequests(
|
|
2472
|
-
args: GetSampledRequestsCommandInput,
|
|
2473
|
-
cb: (err: any, data?: GetSampledRequestsCommandOutput) => void
|
|
2474
|
-
): void;
|
|
2475
|
-
public getSampledRequests(
|
|
2476
|
-
args: GetSampledRequestsCommandInput,
|
|
2477
|
-
options: __HttpHandlerOptions,
|
|
2478
|
-
cb: (err: any, data?: GetSampledRequestsCommandOutput) => void
|
|
2479
|
-
): void;
|
|
2480
|
-
public getSampledRequests(
|
|
2481
|
-
args: GetSampledRequestsCommandInput,
|
|
2482
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSampledRequestsCommandOutput) => void),
|
|
2483
|
-
cb?: (err: any, data?: GetSampledRequestsCommandOutput) => void
|
|
2484
|
-
): Promise<GetSampledRequestsCommandOutput> | void {
|
|
2485
|
-
const command = new GetSampledRequestsCommand(args);
|
|
2486
|
-
if (typeof optionsOrCb === "function") {
|
|
2487
|
-
this.send(command, optionsOrCb);
|
|
2488
|
-
} else if (typeof cb === "function") {
|
|
2489
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2490
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2491
|
-
} else {
|
|
2492
|
-
return this.send(command, optionsOrCb);
|
|
2493
|
-
}
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2496
|
-
/**
|
|
2497
|
-
* <note>
|
|
2498
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2499
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2500
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2501
|
-
* <p>
|
|
2502
|
-
* <b>For the latest version of AWS
|
|
2503
|
-
* 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>
|
|
2504
|
-
* </note>
|
|
2505
|
-
* <p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>
|
|
2506
|
-
*/
|
|
2507
|
-
public getSizeConstraintSet(
|
|
2508
|
-
args: GetSizeConstraintSetCommandInput,
|
|
2509
|
-
options?: __HttpHandlerOptions
|
|
2510
|
-
): Promise<GetSizeConstraintSetCommandOutput>;
|
|
2511
|
-
public getSizeConstraintSet(
|
|
2512
|
-
args: GetSizeConstraintSetCommandInput,
|
|
2513
|
-
cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
|
|
2514
|
-
): void;
|
|
2515
|
-
public getSizeConstraintSet(
|
|
2516
|
-
args: GetSizeConstraintSetCommandInput,
|
|
2517
|
-
options: __HttpHandlerOptions,
|
|
2518
|
-
cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
|
|
2519
|
-
): void;
|
|
2520
|
-
public getSizeConstraintSet(
|
|
2521
|
-
args: GetSizeConstraintSetCommandInput,
|
|
2522
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSizeConstraintSetCommandOutput) => void),
|
|
2523
|
-
cb?: (err: any, data?: GetSizeConstraintSetCommandOutput) => void
|
|
2524
|
-
): Promise<GetSizeConstraintSetCommandOutput> | void {
|
|
2525
|
-
const command = new GetSizeConstraintSetCommand(args);
|
|
2526
|
-
if (typeof optionsOrCb === "function") {
|
|
2527
|
-
this.send(command, optionsOrCb);
|
|
2528
|
-
} else if (typeof cb === "function") {
|
|
2529
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2530
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2531
|
-
} else {
|
|
2532
|
-
return this.send(command, optionsOrCb);
|
|
2533
|
-
}
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
* <note>
|
|
2538
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2539
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2540
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2541
|
-
* <p>
|
|
2542
|
-
* <b>For the latest version of AWS
|
|
2543
|
-
* 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>
|
|
2544
|
-
* </note>
|
|
2545
|
-
* <p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>
|
|
2546
|
-
*/
|
|
2547
|
-
public getSqlInjectionMatchSet(
|
|
2548
|
-
args: GetSqlInjectionMatchSetCommandInput,
|
|
2549
|
-
options?: __HttpHandlerOptions
|
|
2550
|
-
): Promise<GetSqlInjectionMatchSetCommandOutput>;
|
|
2551
|
-
public getSqlInjectionMatchSet(
|
|
2552
|
-
args: GetSqlInjectionMatchSetCommandInput,
|
|
2553
|
-
cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
|
|
2554
|
-
): void;
|
|
2555
|
-
public getSqlInjectionMatchSet(
|
|
2556
|
-
args: GetSqlInjectionMatchSetCommandInput,
|
|
2557
|
-
options: __HttpHandlerOptions,
|
|
2558
|
-
cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
|
|
2559
|
-
): void;
|
|
2560
|
-
public getSqlInjectionMatchSet(
|
|
2561
|
-
args: GetSqlInjectionMatchSetCommandInput,
|
|
2562
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void),
|
|
2563
|
-
cb?: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void
|
|
2564
|
-
): Promise<GetSqlInjectionMatchSetCommandOutput> | void {
|
|
2565
|
-
const command = new GetSqlInjectionMatchSetCommand(args);
|
|
2566
|
-
if (typeof optionsOrCb === "function") {
|
|
2567
|
-
this.send(command, optionsOrCb);
|
|
2568
|
-
} else if (typeof cb === "function") {
|
|
2569
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2571
|
-
} else {
|
|
2572
|
-
return this.send(command, optionsOrCb);
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
|
|
2576
|
-
/**
|
|
2577
|
-
* <note>
|
|
2578
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2579
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2580
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2581
|
-
* <p>
|
|
2582
|
-
* <b>For the latest version of AWS
|
|
2583
|
-
* 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>
|
|
2584
|
-
* </note>
|
|
2585
|
-
* <p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>
|
|
2586
|
-
*/
|
|
2587
|
-
public getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
|
|
2588
|
-
public getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
2589
|
-
public getWebACL(
|
|
2590
|
-
args: GetWebACLCommandInput,
|
|
2591
|
-
options: __HttpHandlerOptions,
|
|
2592
|
-
cb: (err: any, data?: GetWebACLCommandOutput) => void
|
|
2593
|
-
): void;
|
|
2594
|
-
public getWebACL(
|
|
2595
|
-
args: GetWebACLCommandInput,
|
|
2596
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWebACLCommandOutput) => void),
|
|
2597
|
-
cb?: (err: any, data?: GetWebACLCommandOutput) => void
|
|
2598
|
-
): Promise<GetWebACLCommandOutput> | void {
|
|
2599
|
-
const command = new GetWebACLCommand(args);
|
|
2600
|
-
if (typeof optionsOrCb === "function") {
|
|
2601
|
-
this.send(command, optionsOrCb);
|
|
2602
|
-
} else if (typeof cb === "function") {
|
|
2603
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2604
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2605
|
-
} else {
|
|
2606
|
-
return this.send(command, optionsOrCb);
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
|
-
/**
|
|
2611
|
-
* <note>
|
|
2612
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2613
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2614
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2615
|
-
* <p>
|
|
2616
|
-
* <b>For the latest version of AWS
|
|
2617
|
-
* 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>
|
|
2618
|
-
* </note>
|
|
2619
|
-
* <p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>
|
|
2620
|
-
*/
|
|
2621
|
-
public getXssMatchSet(
|
|
2622
|
-
args: GetXssMatchSetCommandInput,
|
|
2623
|
-
options?: __HttpHandlerOptions
|
|
2624
|
-
): Promise<GetXssMatchSetCommandOutput>;
|
|
2625
|
-
public getXssMatchSet(
|
|
2626
|
-
args: GetXssMatchSetCommandInput,
|
|
2627
|
-
cb: (err: any, data?: GetXssMatchSetCommandOutput) => void
|
|
2628
|
-
): void;
|
|
2629
|
-
public getXssMatchSet(
|
|
2630
|
-
args: GetXssMatchSetCommandInput,
|
|
2631
|
-
options: __HttpHandlerOptions,
|
|
2632
|
-
cb: (err: any, data?: GetXssMatchSetCommandOutput) => void
|
|
2633
|
-
): void;
|
|
2634
|
-
public getXssMatchSet(
|
|
2635
|
-
args: GetXssMatchSetCommandInput,
|
|
2636
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetXssMatchSetCommandOutput) => void),
|
|
2637
|
-
cb?: (err: any, data?: GetXssMatchSetCommandOutput) => void
|
|
2638
|
-
): Promise<GetXssMatchSetCommandOutput> | void {
|
|
2639
|
-
const command = new GetXssMatchSetCommand(args);
|
|
2640
|
-
if (typeof optionsOrCb === "function") {
|
|
2641
|
-
this.send(command, optionsOrCb);
|
|
2642
|
-
} else if (typeof cb === "function") {
|
|
2643
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2644
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2645
|
-
} else {
|
|
2646
|
-
return this.send(command, optionsOrCb);
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
|
|
2650
|
-
/**
|
|
2651
|
-
* <note>
|
|
2652
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2653
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2654
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2655
|
-
* <p>
|
|
2656
|
-
* <b>For the latest version of AWS
|
|
2657
|
-
* 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>
|
|
2658
|
-
* </note>
|
|
2659
|
-
* <p>Returns an array of <a>ActivatedRule</a> objects.</p>
|
|
2660
|
-
*/
|
|
2661
|
-
public listActivatedRulesInRuleGroup(
|
|
2662
|
-
args: ListActivatedRulesInRuleGroupCommandInput,
|
|
2663
|
-
options?: __HttpHandlerOptions
|
|
2664
|
-
): Promise<ListActivatedRulesInRuleGroupCommandOutput>;
|
|
2665
|
-
public listActivatedRulesInRuleGroup(
|
|
2666
|
-
args: ListActivatedRulesInRuleGroupCommandInput,
|
|
2667
|
-
cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
|
|
2668
|
-
): void;
|
|
2669
|
-
public listActivatedRulesInRuleGroup(
|
|
2670
|
-
args: ListActivatedRulesInRuleGroupCommandInput,
|
|
2671
|
-
options: __HttpHandlerOptions,
|
|
2672
|
-
cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
|
|
2673
|
-
): void;
|
|
2674
|
-
public listActivatedRulesInRuleGroup(
|
|
2675
|
-
args: ListActivatedRulesInRuleGroupCommandInput,
|
|
2676
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void),
|
|
2677
|
-
cb?: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void
|
|
2678
|
-
): Promise<ListActivatedRulesInRuleGroupCommandOutput> | void {
|
|
2679
|
-
const command = new ListActivatedRulesInRuleGroupCommand(args);
|
|
2680
|
-
if (typeof optionsOrCb === "function") {
|
|
2681
|
-
this.send(command, optionsOrCb);
|
|
2682
|
-
} else if (typeof cb === "function") {
|
|
2683
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2684
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2685
|
-
} else {
|
|
2686
|
-
return this.send(command, optionsOrCb);
|
|
2687
|
-
}
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* <note>
|
|
2692
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2693
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2694
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2695
|
-
* <p>
|
|
2696
|
-
* <b>For the latest version of AWS
|
|
2697
|
-
* 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>
|
|
2698
|
-
* </note>
|
|
2699
|
-
* <p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
2700
|
-
*/
|
|
2701
|
-
public listByteMatchSets(
|
|
2702
|
-
args: ListByteMatchSetsCommandInput,
|
|
2703
|
-
options?: __HttpHandlerOptions
|
|
2704
|
-
): Promise<ListByteMatchSetsCommandOutput>;
|
|
2705
|
-
public listByteMatchSets(
|
|
2706
|
-
args: ListByteMatchSetsCommandInput,
|
|
2707
|
-
cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void
|
|
2708
|
-
): void;
|
|
2709
|
-
public listByteMatchSets(
|
|
2710
|
-
args: ListByteMatchSetsCommandInput,
|
|
2711
|
-
options: __HttpHandlerOptions,
|
|
2712
|
-
cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void
|
|
2713
|
-
): void;
|
|
2714
|
-
public listByteMatchSets(
|
|
2715
|
-
args: ListByteMatchSetsCommandInput,
|
|
2716
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListByteMatchSetsCommandOutput) => void),
|
|
2717
|
-
cb?: (err: any, data?: ListByteMatchSetsCommandOutput) => void
|
|
2718
|
-
): Promise<ListByteMatchSetsCommandOutput> | void {
|
|
2719
|
-
const command = new ListByteMatchSetsCommand(args);
|
|
2720
|
-
if (typeof optionsOrCb === "function") {
|
|
2721
|
-
this.send(command, optionsOrCb);
|
|
2722
|
-
} else if (typeof cb === "function") {
|
|
2723
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2724
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2725
|
-
} else {
|
|
2726
|
-
return this.send(command, optionsOrCb);
|
|
2727
|
-
}
|
|
2728
|
-
}
|
|
2729
|
-
|
|
2730
|
-
/**
|
|
2731
|
-
* <note>
|
|
2732
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2733
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2734
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2735
|
-
* <p>
|
|
2736
|
-
* <b>For the latest version of AWS
|
|
2737
|
-
* 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>
|
|
2738
|
-
* </note>
|
|
2739
|
-
* <p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>
|
|
2740
|
-
*/
|
|
2741
|
-
public listGeoMatchSets(
|
|
2742
|
-
args: ListGeoMatchSetsCommandInput,
|
|
2743
|
-
options?: __HttpHandlerOptions
|
|
2744
|
-
): Promise<ListGeoMatchSetsCommandOutput>;
|
|
2745
|
-
public listGeoMatchSets(
|
|
2746
|
-
args: ListGeoMatchSetsCommandInput,
|
|
2747
|
-
cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
|
|
2748
|
-
): void;
|
|
2749
|
-
public listGeoMatchSets(
|
|
2750
|
-
args: ListGeoMatchSetsCommandInput,
|
|
2751
|
-
options: __HttpHandlerOptions,
|
|
2752
|
-
cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
|
|
2753
|
-
): void;
|
|
2754
|
-
public listGeoMatchSets(
|
|
2755
|
-
args: ListGeoMatchSetsCommandInput,
|
|
2756
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGeoMatchSetsCommandOutput) => void),
|
|
2757
|
-
cb?: (err: any, data?: ListGeoMatchSetsCommandOutput) => void
|
|
2758
|
-
): Promise<ListGeoMatchSetsCommandOutput> | void {
|
|
2759
|
-
const command = new ListGeoMatchSetsCommand(args);
|
|
2760
|
-
if (typeof optionsOrCb === "function") {
|
|
2761
|
-
this.send(command, optionsOrCb);
|
|
2762
|
-
} else if (typeof cb === "function") {
|
|
2763
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2764
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2765
|
-
} else {
|
|
2766
|
-
return this.send(command, optionsOrCb);
|
|
2767
|
-
}
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
|
-
/**
|
|
2771
|
-
* <note>
|
|
2772
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2773
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2774
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2775
|
-
* <p>
|
|
2776
|
-
* <b>For the latest version of AWS
|
|
2777
|
-
* 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>
|
|
2778
|
-
* </note>
|
|
2779
|
-
* <p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>
|
|
2780
|
-
*/
|
|
2781
|
-
public listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
|
|
2782
|
-
public listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
2783
|
-
public listIPSets(
|
|
2784
|
-
args: ListIPSetsCommandInput,
|
|
2785
|
-
options: __HttpHandlerOptions,
|
|
2786
|
-
cb: (err: any, data?: ListIPSetsCommandOutput) => void
|
|
2787
|
-
): void;
|
|
2788
|
-
public listIPSets(
|
|
2789
|
-
args: ListIPSetsCommandInput,
|
|
2790
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIPSetsCommandOutput) => void),
|
|
2791
|
-
cb?: (err: any, data?: ListIPSetsCommandOutput) => void
|
|
2792
|
-
): Promise<ListIPSetsCommandOutput> | void {
|
|
2793
|
-
const command = new ListIPSetsCommand(args);
|
|
2794
|
-
if (typeof optionsOrCb === "function") {
|
|
2795
|
-
this.send(command, optionsOrCb);
|
|
2796
|
-
} else if (typeof cb === "function") {
|
|
2797
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2798
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2799
|
-
} else {
|
|
2800
|
-
return this.send(command, optionsOrCb);
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
/**
|
|
2805
|
-
* <note>
|
|
2806
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2807
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2808
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2809
|
-
* <p>
|
|
2810
|
-
* <b>For the latest version of AWS
|
|
2811
|
-
* 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>
|
|
2812
|
-
* </note>
|
|
2813
|
-
* <p>Returns an array of <a>LoggingConfiguration</a> objects.</p>
|
|
2814
|
-
*/
|
|
2815
|
-
public listLoggingConfigurations(
|
|
2816
|
-
args: ListLoggingConfigurationsCommandInput,
|
|
2817
|
-
options?: __HttpHandlerOptions
|
|
2818
|
-
): Promise<ListLoggingConfigurationsCommandOutput>;
|
|
2819
|
-
public listLoggingConfigurations(
|
|
2820
|
-
args: ListLoggingConfigurationsCommandInput,
|
|
2821
|
-
cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
|
|
2822
|
-
): void;
|
|
2823
|
-
public listLoggingConfigurations(
|
|
2824
|
-
args: ListLoggingConfigurationsCommandInput,
|
|
2825
|
-
options: __HttpHandlerOptions,
|
|
2826
|
-
cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
|
|
2827
|
-
): void;
|
|
2828
|
-
public listLoggingConfigurations(
|
|
2829
|
-
args: ListLoggingConfigurationsCommandInput,
|
|
2830
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLoggingConfigurationsCommandOutput) => void),
|
|
2831
|
-
cb?: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void
|
|
2832
|
-
): Promise<ListLoggingConfigurationsCommandOutput> | void {
|
|
2833
|
-
const command = new ListLoggingConfigurationsCommand(args);
|
|
2834
|
-
if (typeof optionsOrCb === "function") {
|
|
2835
|
-
this.send(command, optionsOrCb);
|
|
2836
|
-
} else if (typeof cb === "function") {
|
|
2837
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2838
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2839
|
-
} else {
|
|
2840
|
-
return this.send(command, optionsOrCb);
|
|
2841
|
-
}
|
|
2842
|
-
}
|
|
2843
|
-
|
|
2844
|
-
/**
|
|
2845
|
-
* <note>
|
|
2846
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2847
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2848
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2849
|
-
* <p>
|
|
2850
|
-
* <b>For the latest version of AWS
|
|
2851
|
-
* 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>
|
|
2852
|
-
* </note>
|
|
2853
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
2854
|
-
*/
|
|
2855
|
-
public listRateBasedRules(
|
|
2856
|
-
args: ListRateBasedRulesCommandInput,
|
|
2857
|
-
options?: __HttpHandlerOptions
|
|
2858
|
-
): Promise<ListRateBasedRulesCommandOutput>;
|
|
2859
|
-
public listRateBasedRules(
|
|
2860
|
-
args: ListRateBasedRulesCommandInput,
|
|
2861
|
-
cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void
|
|
2862
|
-
): void;
|
|
2863
|
-
public listRateBasedRules(
|
|
2864
|
-
args: ListRateBasedRulesCommandInput,
|
|
2865
|
-
options: __HttpHandlerOptions,
|
|
2866
|
-
cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void
|
|
2867
|
-
): void;
|
|
2868
|
-
public listRateBasedRules(
|
|
2869
|
-
args: ListRateBasedRulesCommandInput,
|
|
2870
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRateBasedRulesCommandOutput) => void),
|
|
2871
|
-
cb?: (err: any, data?: ListRateBasedRulesCommandOutput) => void
|
|
2872
|
-
): Promise<ListRateBasedRulesCommandOutput> | void {
|
|
2873
|
-
const command = new ListRateBasedRulesCommand(args);
|
|
2874
|
-
if (typeof optionsOrCb === "function") {
|
|
2875
|
-
this.send(command, optionsOrCb);
|
|
2876
|
-
} else if (typeof cb === "function") {
|
|
2877
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2878
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2879
|
-
} else {
|
|
2880
|
-
return this.send(command, optionsOrCb);
|
|
2881
|
-
}
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
|
-
/**
|
|
2885
|
-
* <note>
|
|
2886
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2887
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2888
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2889
|
-
* <p>
|
|
2890
|
-
* <b>For the latest version of AWS
|
|
2891
|
-
* 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>
|
|
2892
|
-
* </note>
|
|
2893
|
-
* <p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
2894
|
-
*/
|
|
2895
|
-
public listRegexMatchSets(
|
|
2896
|
-
args: ListRegexMatchSetsCommandInput,
|
|
2897
|
-
options?: __HttpHandlerOptions
|
|
2898
|
-
): Promise<ListRegexMatchSetsCommandOutput>;
|
|
2899
|
-
public listRegexMatchSets(
|
|
2900
|
-
args: ListRegexMatchSetsCommandInput,
|
|
2901
|
-
cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
|
|
2902
|
-
): void;
|
|
2903
|
-
public listRegexMatchSets(
|
|
2904
|
-
args: ListRegexMatchSetsCommandInput,
|
|
2905
|
-
options: __HttpHandlerOptions,
|
|
2906
|
-
cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
|
|
2907
|
-
): void;
|
|
2908
|
-
public listRegexMatchSets(
|
|
2909
|
-
args: ListRegexMatchSetsCommandInput,
|
|
2910
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRegexMatchSetsCommandOutput) => void),
|
|
2911
|
-
cb?: (err: any, data?: ListRegexMatchSetsCommandOutput) => void
|
|
2912
|
-
): Promise<ListRegexMatchSetsCommandOutput> | void {
|
|
2913
|
-
const command = new ListRegexMatchSetsCommand(args);
|
|
2914
|
-
if (typeof optionsOrCb === "function") {
|
|
2915
|
-
this.send(command, optionsOrCb);
|
|
2916
|
-
} else if (typeof cb === "function") {
|
|
2917
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2918
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2919
|
-
} else {
|
|
2920
|
-
return this.send(command, optionsOrCb);
|
|
2921
|
-
}
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
/**
|
|
2925
|
-
* <note>
|
|
2926
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2927
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2928
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2929
|
-
* <p>
|
|
2930
|
-
* <b>For the latest version of AWS
|
|
2931
|
-
* 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>
|
|
2932
|
-
* </note>
|
|
2933
|
-
* <p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
2934
|
-
*/
|
|
2935
|
-
public listRegexPatternSets(
|
|
2936
|
-
args: ListRegexPatternSetsCommandInput,
|
|
2937
|
-
options?: __HttpHandlerOptions
|
|
2938
|
-
): Promise<ListRegexPatternSetsCommandOutput>;
|
|
2939
|
-
public listRegexPatternSets(
|
|
2940
|
-
args: ListRegexPatternSetsCommandInput,
|
|
2941
|
-
cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
|
|
2942
|
-
): void;
|
|
2943
|
-
public listRegexPatternSets(
|
|
2944
|
-
args: ListRegexPatternSetsCommandInput,
|
|
2945
|
-
options: __HttpHandlerOptions,
|
|
2946
|
-
cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
|
|
2947
|
-
): void;
|
|
2948
|
-
public listRegexPatternSets(
|
|
2949
|
-
args: ListRegexPatternSetsCommandInput,
|
|
2950
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRegexPatternSetsCommandOutput) => void),
|
|
2951
|
-
cb?: (err: any, data?: ListRegexPatternSetsCommandOutput) => void
|
|
2952
|
-
): Promise<ListRegexPatternSetsCommandOutput> | void {
|
|
2953
|
-
const command = new ListRegexPatternSetsCommand(args);
|
|
2954
|
-
if (typeof optionsOrCb === "function") {
|
|
2955
|
-
this.send(command, optionsOrCb);
|
|
2956
|
-
} else if (typeof cb === "function") {
|
|
2957
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2958
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2959
|
-
} else {
|
|
2960
|
-
return this.send(command, optionsOrCb);
|
|
2961
|
-
}
|
|
2962
|
-
}
|
|
2963
|
-
|
|
2964
|
-
/**
|
|
2965
|
-
* <note>
|
|
2966
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2967
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2968
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2969
|
-
* <p>
|
|
2970
|
-
* <b>For the latest version of AWS
|
|
2971
|
-
* 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>
|
|
2972
|
-
* </note>
|
|
2973
|
-
* <p>Returns an array of <a>RuleGroup</a> objects.</p>
|
|
2974
|
-
*/
|
|
2975
|
-
public listRuleGroups(
|
|
2976
|
-
args: ListRuleGroupsCommandInput,
|
|
2977
|
-
options?: __HttpHandlerOptions
|
|
2978
|
-
): Promise<ListRuleGroupsCommandOutput>;
|
|
2979
|
-
public listRuleGroups(
|
|
2980
|
-
args: ListRuleGroupsCommandInput,
|
|
2981
|
-
cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
2982
|
-
): void;
|
|
2983
|
-
public listRuleGroups(
|
|
2984
|
-
args: ListRuleGroupsCommandInput,
|
|
2985
|
-
options: __HttpHandlerOptions,
|
|
2986
|
-
cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
2987
|
-
): void;
|
|
2988
|
-
public listRuleGroups(
|
|
2989
|
-
args: ListRuleGroupsCommandInput,
|
|
2990
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRuleGroupsCommandOutput) => void),
|
|
2991
|
-
cb?: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
2992
|
-
): Promise<ListRuleGroupsCommandOutput> | void {
|
|
2993
|
-
const command = new ListRuleGroupsCommand(args);
|
|
2994
|
-
if (typeof optionsOrCb === "function") {
|
|
2995
|
-
this.send(command, optionsOrCb);
|
|
2996
|
-
} else if (typeof cb === "function") {
|
|
2997
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2998
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2999
|
-
} else {
|
|
3000
|
-
return this.send(command, optionsOrCb);
|
|
3001
|
-
}
|
|
3002
|
-
}
|
|
3003
|
-
|
|
3004
|
-
/**
|
|
3005
|
-
* <note>
|
|
3006
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3007
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3008
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3009
|
-
* <p>
|
|
3010
|
-
* <b>For the latest version of AWS
|
|
3011
|
-
* 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>
|
|
3012
|
-
* </note>
|
|
3013
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
3014
|
-
*/
|
|
3015
|
-
public listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
|
|
3016
|
-
public listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
3017
|
-
public listRules(
|
|
3018
|
-
args: ListRulesCommandInput,
|
|
3019
|
-
options: __HttpHandlerOptions,
|
|
3020
|
-
cb: (err: any, data?: ListRulesCommandOutput) => void
|
|
3021
|
-
): void;
|
|
3022
|
-
public listRules(
|
|
3023
|
-
args: ListRulesCommandInput,
|
|
3024
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRulesCommandOutput) => void),
|
|
3025
|
-
cb?: (err: any, data?: ListRulesCommandOutput) => void
|
|
3026
|
-
): Promise<ListRulesCommandOutput> | void {
|
|
3027
|
-
const command = new ListRulesCommand(args);
|
|
3028
|
-
if (typeof optionsOrCb === "function") {
|
|
3029
|
-
this.send(command, optionsOrCb);
|
|
3030
|
-
} else if (typeof cb === "function") {
|
|
3031
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3032
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3033
|
-
} else {
|
|
3034
|
-
return this.send(command, optionsOrCb);
|
|
3035
|
-
}
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
/**
|
|
3039
|
-
* <note>
|
|
3040
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3041
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3042
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3043
|
-
* <p>
|
|
3044
|
-
* <b>For the latest version of AWS
|
|
3045
|
-
* 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>
|
|
3046
|
-
* </note>
|
|
3047
|
-
* <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
3048
|
-
*/
|
|
3049
|
-
public listSizeConstraintSets(
|
|
3050
|
-
args: ListSizeConstraintSetsCommandInput,
|
|
3051
|
-
options?: __HttpHandlerOptions
|
|
3052
|
-
): Promise<ListSizeConstraintSetsCommandOutput>;
|
|
3053
|
-
public listSizeConstraintSets(
|
|
3054
|
-
args: ListSizeConstraintSetsCommandInput,
|
|
3055
|
-
cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
|
|
3056
|
-
): void;
|
|
3057
|
-
public listSizeConstraintSets(
|
|
3058
|
-
args: ListSizeConstraintSetsCommandInput,
|
|
3059
|
-
options: __HttpHandlerOptions,
|
|
3060
|
-
cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
|
|
3061
|
-
): void;
|
|
3062
|
-
public listSizeConstraintSets(
|
|
3063
|
-
args: ListSizeConstraintSetsCommandInput,
|
|
3064
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSizeConstraintSetsCommandOutput) => void),
|
|
3065
|
-
cb?: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void
|
|
3066
|
-
): Promise<ListSizeConstraintSetsCommandOutput> | void {
|
|
3067
|
-
const command = new ListSizeConstraintSetsCommand(args);
|
|
3068
|
-
if (typeof optionsOrCb === "function") {
|
|
3069
|
-
this.send(command, optionsOrCb);
|
|
3070
|
-
} else if (typeof cb === "function") {
|
|
3071
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3072
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3073
|
-
} else {
|
|
3074
|
-
return this.send(command, optionsOrCb);
|
|
3075
|
-
}
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
/**
|
|
3079
|
-
* <note>
|
|
3080
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3081
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3082
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3083
|
-
* <p>
|
|
3084
|
-
* <b>For the latest version of AWS
|
|
3085
|
-
* 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>
|
|
3086
|
-
* </note>
|
|
3087
|
-
* <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
3088
|
-
*/
|
|
3089
|
-
public listSqlInjectionMatchSets(
|
|
3090
|
-
args: ListSqlInjectionMatchSetsCommandInput,
|
|
3091
|
-
options?: __HttpHandlerOptions
|
|
3092
|
-
): Promise<ListSqlInjectionMatchSetsCommandOutput>;
|
|
3093
|
-
public listSqlInjectionMatchSets(
|
|
3094
|
-
args: ListSqlInjectionMatchSetsCommandInput,
|
|
3095
|
-
cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
|
|
3096
|
-
): void;
|
|
3097
|
-
public listSqlInjectionMatchSets(
|
|
3098
|
-
args: ListSqlInjectionMatchSetsCommandInput,
|
|
3099
|
-
options: __HttpHandlerOptions,
|
|
3100
|
-
cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
|
|
3101
|
-
): void;
|
|
3102
|
-
public listSqlInjectionMatchSets(
|
|
3103
|
-
args: ListSqlInjectionMatchSetsCommandInput,
|
|
3104
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void),
|
|
3105
|
-
cb?: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void
|
|
3106
|
-
): Promise<ListSqlInjectionMatchSetsCommandOutput> | void {
|
|
3107
|
-
const command = new ListSqlInjectionMatchSetsCommand(args);
|
|
3108
|
-
if (typeof optionsOrCb === "function") {
|
|
3109
|
-
this.send(command, optionsOrCb);
|
|
3110
|
-
} else if (typeof cb === "function") {
|
|
3111
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3112
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3113
|
-
} else {
|
|
3114
|
-
return this.send(command, optionsOrCb);
|
|
3115
|
-
}
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* <note>
|
|
3120
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3121
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3122
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3123
|
-
* <p>
|
|
3124
|
-
* <b>For the latest version of AWS
|
|
3125
|
-
* 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>
|
|
3126
|
-
* </note>
|
|
3127
|
-
* <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
3128
|
-
*/
|
|
3129
|
-
public listSubscribedRuleGroups(
|
|
3130
|
-
args: ListSubscribedRuleGroupsCommandInput,
|
|
3131
|
-
options?: __HttpHandlerOptions
|
|
3132
|
-
): Promise<ListSubscribedRuleGroupsCommandOutput>;
|
|
3133
|
-
public listSubscribedRuleGroups(
|
|
3134
|
-
args: ListSubscribedRuleGroupsCommandInput,
|
|
3135
|
-
cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
|
|
3136
|
-
): void;
|
|
3137
|
-
public listSubscribedRuleGroups(
|
|
3138
|
-
args: ListSubscribedRuleGroupsCommandInput,
|
|
3139
|
-
options: __HttpHandlerOptions,
|
|
3140
|
-
cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
|
|
3141
|
-
): void;
|
|
3142
|
-
public listSubscribedRuleGroups(
|
|
3143
|
-
args: ListSubscribedRuleGroupsCommandInput,
|
|
3144
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void),
|
|
3145
|
-
cb?: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void
|
|
3146
|
-
): Promise<ListSubscribedRuleGroupsCommandOutput> | void {
|
|
3147
|
-
const command = new ListSubscribedRuleGroupsCommand(args);
|
|
3148
|
-
if (typeof optionsOrCb === "function") {
|
|
3149
|
-
this.send(command, optionsOrCb);
|
|
3150
|
-
} else if (typeof cb === "function") {
|
|
3151
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3153
|
-
} else {
|
|
3154
|
-
return this.send(command, optionsOrCb);
|
|
3155
|
-
}
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
/**
|
|
3159
|
-
* <note>
|
|
3160
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3161
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3162
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3163
|
-
* <p>
|
|
3164
|
-
* <b>For the latest version of AWS
|
|
3165
|
-
* 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>
|
|
3166
|
-
* </note>
|
|
3167
|
-
* <p>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
3168
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
3169
|
-
*/
|
|
3170
|
-
public listTagsForResource(
|
|
3171
|
-
args: ListTagsForResourceCommandInput,
|
|
3172
|
-
options?: __HttpHandlerOptions
|
|
3173
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
3174
|
-
public listTagsForResource(
|
|
3175
|
-
args: ListTagsForResourceCommandInput,
|
|
3176
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
3177
|
-
): void;
|
|
3178
|
-
public listTagsForResource(
|
|
3179
|
-
args: ListTagsForResourceCommandInput,
|
|
3180
|
-
options: __HttpHandlerOptions,
|
|
3181
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
3182
|
-
): void;
|
|
3183
|
-
public listTagsForResource(
|
|
3184
|
-
args: ListTagsForResourceCommandInput,
|
|
3185
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
3186
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
3187
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
3188
|
-
const command = new ListTagsForResourceCommand(args);
|
|
3189
|
-
if (typeof optionsOrCb === "function") {
|
|
3190
|
-
this.send(command, optionsOrCb);
|
|
3191
|
-
} else if (typeof cb === "function") {
|
|
3192
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3194
|
-
} else {
|
|
3195
|
-
return this.send(command, optionsOrCb);
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
/**
|
|
3200
|
-
* <note>
|
|
3201
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3202
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3203
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3204
|
-
* <p>
|
|
3205
|
-
* <b>For the latest version of AWS
|
|
3206
|
-
* 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>
|
|
3207
|
-
* </note>
|
|
3208
|
-
* <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
|
|
3209
|
-
*/
|
|
3210
|
-
public listWebACLs(args: ListWebACLsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebACLsCommandOutput>;
|
|
3211
|
-
public listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
3212
|
-
public listWebACLs(
|
|
3213
|
-
args: ListWebACLsCommandInput,
|
|
3214
|
-
options: __HttpHandlerOptions,
|
|
3215
|
-
cb: (err: any, data?: ListWebACLsCommandOutput) => void
|
|
3216
|
-
): void;
|
|
3217
|
-
public listWebACLs(
|
|
3218
|
-
args: ListWebACLsCommandInput,
|
|
3219
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWebACLsCommandOutput) => void),
|
|
3220
|
-
cb?: (err: any, data?: ListWebACLsCommandOutput) => void
|
|
3221
|
-
): Promise<ListWebACLsCommandOutput> | void {
|
|
3222
|
-
const command = new ListWebACLsCommand(args);
|
|
3223
|
-
if (typeof optionsOrCb === "function") {
|
|
3224
|
-
this.send(command, optionsOrCb);
|
|
3225
|
-
} else if (typeof cb === "function") {
|
|
3226
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3228
|
-
} else {
|
|
3229
|
-
return this.send(command, optionsOrCb);
|
|
3230
|
-
}
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
/**
|
|
3234
|
-
* <note>
|
|
3235
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3236
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3237
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3238
|
-
* <p>
|
|
3239
|
-
* <b>For the latest version of AWS
|
|
3240
|
-
* 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>
|
|
3241
|
-
* </note>
|
|
3242
|
-
* <p>Returns an array of <a>XssMatchSet</a> objects.</p>
|
|
3243
|
-
*/
|
|
3244
|
-
public listXssMatchSets(
|
|
3245
|
-
args: ListXssMatchSetsCommandInput,
|
|
3246
|
-
options?: __HttpHandlerOptions
|
|
3247
|
-
): Promise<ListXssMatchSetsCommandOutput>;
|
|
3248
|
-
public listXssMatchSets(
|
|
3249
|
-
args: ListXssMatchSetsCommandInput,
|
|
3250
|
-
cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void
|
|
3251
|
-
): void;
|
|
3252
|
-
public listXssMatchSets(
|
|
3253
|
-
args: ListXssMatchSetsCommandInput,
|
|
3254
|
-
options: __HttpHandlerOptions,
|
|
3255
|
-
cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void
|
|
3256
|
-
): void;
|
|
3257
|
-
public listXssMatchSets(
|
|
3258
|
-
args: ListXssMatchSetsCommandInput,
|
|
3259
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListXssMatchSetsCommandOutput) => void),
|
|
3260
|
-
cb?: (err: any, data?: ListXssMatchSetsCommandOutput) => void
|
|
3261
|
-
): Promise<ListXssMatchSetsCommandOutput> | void {
|
|
3262
|
-
const command = new ListXssMatchSetsCommand(args);
|
|
3263
|
-
if (typeof optionsOrCb === "function") {
|
|
3264
|
-
this.send(command, optionsOrCb);
|
|
3265
|
-
} else if (typeof cb === "function") {
|
|
3266
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3268
|
-
} else {
|
|
3269
|
-
return this.send(command, optionsOrCb);
|
|
3270
|
-
}
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
/**
|
|
3274
|
-
* <note>
|
|
3275
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3276
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3277
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3278
|
-
* <p>
|
|
3279
|
-
* <b>For the latest version of AWS
|
|
3280
|
-
* 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>
|
|
3281
|
-
* </note>
|
|
3282
|
-
* <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
|
|
3283
|
-
* <p>You can access information about all traffic that AWS WAF inspects using the following
|
|
3284
|
-
* steps:</p>
|
|
3285
|
-
* <ol>
|
|
3286
|
-
* <li>
|
|
3287
|
-
* <p>Create an Amazon Kinesis Data
|
|
3288
|
-
* Firehose. </p>
|
|
3289
|
-
* <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
|
|
3290
|
-
* <note>
|
|
3291
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
|
|
3292
|
-
* </note>
|
|
3293
|
-
* </li>
|
|
3294
|
-
* <li>
|
|
3295
|
-
* <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
|
|
3296
|
-
* </li>
|
|
3297
|
-
* </ol>
|
|
3298
|
-
*
|
|
3299
|
-
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
3300
|
-
*/
|
|
3301
|
-
public putLoggingConfiguration(
|
|
3302
|
-
args: PutLoggingConfigurationCommandInput,
|
|
3303
|
-
options?: __HttpHandlerOptions
|
|
3304
|
-
): Promise<PutLoggingConfigurationCommandOutput>;
|
|
3305
|
-
public putLoggingConfiguration(
|
|
3306
|
-
args: PutLoggingConfigurationCommandInput,
|
|
3307
|
-
cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
|
|
3308
|
-
): void;
|
|
3309
|
-
public putLoggingConfiguration(
|
|
3310
|
-
args: PutLoggingConfigurationCommandInput,
|
|
3311
|
-
options: __HttpHandlerOptions,
|
|
3312
|
-
cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
|
|
3313
|
-
): void;
|
|
3314
|
-
public putLoggingConfiguration(
|
|
3315
|
-
args: PutLoggingConfigurationCommandInput,
|
|
3316
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLoggingConfigurationCommandOutput) => void),
|
|
3317
|
-
cb?: (err: any, data?: PutLoggingConfigurationCommandOutput) => void
|
|
3318
|
-
): Promise<PutLoggingConfigurationCommandOutput> | void {
|
|
3319
|
-
const command = new PutLoggingConfigurationCommand(args);
|
|
3320
|
-
if (typeof optionsOrCb === "function") {
|
|
3321
|
-
this.send(command, optionsOrCb);
|
|
3322
|
-
} else if (typeof cb === "function") {
|
|
3323
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3324
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3325
|
-
} else {
|
|
3326
|
-
return this.send(command, optionsOrCb);
|
|
3327
|
-
}
|
|
3328
|
-
}
|
|
3329
|
-
|
|
3330
|
-
/**
|
|
3331
|
-
* <note>
|
|
3332
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3333
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3334
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3335
|
-
* <p>
|
|
3336
|
-
* <b>For the latest version of AWS
|
|
3337
|
-
* 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>
|
|
3338
|
-
* </note>
|
|
3339
|
-
* <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
|
|
3340
|
-
* <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
|
|
3341
|
-
* <ul>
|
|
3342
|
-
* <li>
|
|
3343
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
3344
|
-
* </li>
|
|
3345
|
-
* <li>
|
|
3346
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
3347
|
-
* </li>
|
|
3348
|
-
* <li>
|
|
3349
|
-
*
|
|
3350
|
-
* <p>
|
|
3351
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
3352
|
-
* </li>
|
|
3353
|
-
* <li>
|
|
3354
|
-
* <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
|
|
3355
|
-
* </li>
|
|
3356
|
-
* <li>
|
|
3357
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
3358
|
-
* </li>
|
|
3359
|
-
* <li>
|
|
3360
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
3361
|
-
* </li>
|
|
3362
|
-
* <li>
|
|
3363
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
3364
|
-
* </li>
|
|
3365
|
-
* <li>
|
|
3366
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
3367
|
-
* </li>
|
|
3368
|
-
* </ul>
|
|
3369
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
3370
|
-
*
|
|
3371
|
-
* <p>An example of a valid policy parameter is shown in the Examples section below.</p>
|
|
3372
|
-
*/
|
|
3373
|
-
public putPermissionPolicy(
|
|
3374
|
-
args: PutPermissionPolicyCommandInput,
|
|
3375
|
-
options?: __HttpHandlerOptions
|
|
3376
|
-
): Promise<PutPermissionPolicyCommandOutput>;
|
|
3377
|
-
public putPermissionPolicy(
|
|
3378
|
-
args: PutPermissionPolicyCommandInput,
|
|
3379
|
-
cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void
|
|
3380
|
-
): void;
|
|
3381
|
-
public putPermissionPolicy(
|
|
3382
|
-
args: PutPermissionPolicyCommandInput,
|
|
3383
|
-
options: __HttpHandlerOptions,
|
|
3384
|
-
cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void
|
|
3385
|
-
): void;
|
|
3386
|
-
public putPermissionPolicy(
|
|
3387
|
-
args: PutPermissionPolicyCommandInput,
|
|
3388
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPermissionPolicyCommandOutput) => void),
|
|
3389
|
-
cb?: (err: any, data?: PutPermissionPolicyCommandOutput) => void
|
|
3390
|
-
): Promise<PutPermissionPolicyCommandOutput> | void {
|
|
3391
|
-
const command = new PutPermissionPolicyCommand(args);
|
|
3392
|
-
if (typeof optionsOrCb === "function") {
|
|
3393
|
-
this.send(command, optionsOrCb);
|
|
3394
|
-
} else if (typeof cb === "function") {
|
|
3395
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3396
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3397
|
-
} else {
|
|
3398
|
-
return this.send(command, optionsOrCb);
|
|
3399
|
-
}
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
|
-
/**
|
|
3403
|
-
* <note>
|
|
3404
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3405
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3406
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3407
|
-
* <p>
|
|
3408
|
-
* <b>For the latest version of AWS
|
|
3409
|
-
* 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>
|
|
3410
|
-
* </note>
|
|
3411
|
-
* <p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
3412
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can use this action to tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
3413
|
-
*/
|
|
3414
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
3415
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
3416
|
-
public tagResource(
|
|
3417
|
-
args: TagResourceCommandInput,
|
|
3418
|
-
options: __HttpHandlerOptions,
|
|
3419
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
3420
|
-
): void;
|
|
3421
|
-
public tagResource(
|
|
3422
|
-
args: TagResourceCommandInput,
|
|
3423
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
3424
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
3425
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
3426
|
-
const command = new TagResourceCommand(args);
|
|
3427
|
-
if (typeof optionsOrCb === "function") {
|
|
3428
|
-
this.send(command, optionsOrCb);
|
|
3429
|
-
} else if (typeof cb === "function") {
|
|
3430
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3431
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3432
|
-
} else {
|
|
3433
|
-
return this.send(command, optionsOrCb);
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
/**
|
|
3438
|
-
* <note>
|
|
3439
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3440
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3441
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3442
|
-
* <p>
|
|
3443
|
-
* <b>For the latest version of AWS
|
|
3444
|
-
* 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>
|
|
3445
|
-
* </note>
|
|
3446
|
-
* <p></p>
|
|
3447
|
-
*/
|
|
3448
|
-
public untagResource(
|
|
3449
|
-
args: UntagResourceCommandInput,
|
|
3450
|
-
options?: __HttpHandlerOptions
|
|
3451
|
-
): Promise<UntagResourceCommandOutput>;
|
|
3452
|
-
public untagResource(
|
|
3453
|
-
args: UntagResourceCommandInput,
|
|
3454
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3455
|
-
): void;
|
|
3456
|
-
public untagResource(
|
|
3457
|
-
args: UntagResourceCommandInput,
|
|
3458
|
-
options: __HttpHandlerOptions,
|
|
3459
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3460
|
-
): void;
|
|
3461
|
-
public untagResource(
|
|
3462
|
-
args: UntagResourceCommandInput,
|
|
3463
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
3464
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3465
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
3466
|
-
const command = new UntagResourceCommand(args);
|
|
3467
|
-
if (typeof optionsOrCb === "function") {
|
|
3468
|
-
this.send(command, optionsOrCb);
|
|
3469
|
-
} else if (typeof cb === "function") {
|
|
3470
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3471
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3472
|
-
} else {
|
|
3473
|
-
return this.send(command, optionsOrCb);
|
|
3474
|
-
}
|
|
3475
|
-
}
|
|
3476
|
-
|
|
3477
|
-
/**
|
|
3478
|
-
* <note>
|
|
3479
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3480
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3481
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3482
|
-
* <p>
|
|
3483
|
-
* <b>For the latest version of AWS
|
|
3484
|
-
* 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>
|
|
3485
|
-
* </note>
|
|
3486
|
-
* <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
|
|
3487
|
-
* you specify the following values: </p>
|
|
3488
|
-
* <ul>
|
|
3489
|
-
* <li>
|
|
3490
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
|
|
3491
|
-
* you delete the existing object and add a new one.</p>
|
|
3492
|
-
* </li>
|
|
3493
|
-
* <li>
|
|
3494
|
-
* <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
3495
|
-
* </li>
|
|
3496
|
-
* <li>
|
|
3497
|
-
* <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify
|
|
3498
|
-
* the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p>
|
|
3499
|
-
* </li>
|
|
3500
|
-
* <li>
|
|
3501
|
-
* <p>Where to look, such as at the beginning or the end of a query string.</p>
|
|
3502
|
-
* </li>
|
|
3503
|
-
* <li>
|
|
3504
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
3505
|
-
* </li>
|
|
3506
|
-
* </ul>
|
|
3507
|
-
* <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
|
|
3508
|
-
* the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
|
|
3509
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
3510
|
-
* <ol>
|
|
3511
|
-
* <li>
|
|
3512
|
-
* <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
|
|
3513
|
-
* </li>
|
|
3514
|
-
* <li>
|
|
3515
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
3516
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
3517
|
-
* </li>
|
|
3518
|
-
* <li>
|
|
3519
|
-
* <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
3520
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
3521
|
-
* </li>
|
|
3522
|
-
* </ol>
|
|
3523
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
3524
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
3525
|
-
*/
|
|
3526
|
-
public updateByteMatchSet(
|
|
3527
|
-
args: UpdateByteMatchSetCommandInput,
|
|
3528
|
-
options?: __HttpHandlerOptions
|
|
3529
|
-
): Promise<UpdateByteMatchSetCommandOutput>;
|
|
3530
|
-
public updateByteMatchSet(
|
|
3531
|
-
args: UpdateByteMatchSetCommandInput,
|
|
3532
|
-
cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
|
|
3533
|
-
): void;
|
|
3534
|
-
public updateByteMatchSet(
|
|
3535
|
-
args: UpdateByteMatchSetCommandInput,
|
|
3536
|
-
options: __HttpHandlerOptions,
|
|
3537
|
-
cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
|
|
3538
|
-
): void;
|
|
3539
|
-
public updateByteMatchSet(
|
|
3540
|
-
args: UpdateByteMatchSetCommandInput,
|
|
3541
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateByteMatchSetCommandOutput) => void),
|
|
3542
|
-
cb?: (err: any, data?: UpdateByteMatchSetCommandOutput) => void
|
|
3543
|
-
): Promise<UpdateByteMatchSetCommandOutput> | void {
|
|
3544
|
-
const command = new UpdateByteMatchSetCommand(args);
|
|
3545
|
-
if (typeof optionsOrCb === "function") {
|
|
3546
|
-
this.send(command, optionsOrCb);
|
|
3547
|
-
} else if (typeof cb === "function") {
|
|
3548
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3549
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3550
|
-
} else {
|
|
3551
|
-
return this.send(command, optionsOrCb);
|
|
3552
|
-
}
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
/**
|
|
3556
|
-
* <note>
|
|
3557
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3558
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3559
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3560
|
-
* <p>
|
|
3561
|
-
* <b>For the latest version of AWS
|
|
3562
|
-
* 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>
|
|
3563
|
-
* </note>
|
|
3564
|
-
* <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
|
|
3565
|
-
* you specify the following values: </p>
|
|
3566
|
-
* <ul>
|
|
3567
|
-
* <li>
|
|
3568
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p>
|
|
3569
|
-
* </li>
|
|
3570
|
-
* <li>
|
|
3571
|
-
* <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
|
|
3572
|
-
* </li>
|
|
3573
|
-
* <li>
|
|
3574
|
-
* <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p>
|
|
3575
|
-
* </li>
|
|
3576
|
-
* </ul>
|
|
3577
|
-
*
|
|
3578
|
-
* <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
3579
|
-
* <ol>
|
|
3580
|
-
* <li>
|
|
3581
|
-
* <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
|
|
3582
|
-
* </li>
|
|
3583
|
-
* <li>
|
|
3584
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
3585
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
3586
|
-
* </li>
|
|
3587
|
-
* <li>
|
|
3588
|
-
* <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
|
|
3589
|
-
* </li>
|
|
3590
|
-
* </ol>
|
|
3591
|
-
* <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete.
|
|
3592
|
-
* If you want to change a country, you delete the existing country and add the new one.</p>
|
|
3593
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
3594
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
3595
|
-
*/
|
|
3596
|
-
public updateGeoMatchSet(
|
|
3597
|
-
args: UpdateGeoMatchSetCommandInput,
|
|
3598
|
-
options?: __HttpHandlerOptions
|
|
3599
|
-
): Promise<UpdateGeoMatchSetCommandOutput>;
|
|
3600
|
-
public updateGeoMatchSet(
|
|
3601
|
-
args: UpdateGeoMatchSetCommandInput,
|
|
3602
|
-
cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
|
|
3603
|
-
): void;
|
|
3604
|
-
public updateGeoMatchSet(
|
|
3605
|
-
args: UpdateGeoMatchSetCommandInput,
|
|
3606
|
-
options: __HttpHandlerOptions,
|
|
3607
|
-
cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
|
|
3608
|
-
): void;
|
|
3609
|
-
public updateGeoMatchSet(
|
|
3610
|
-
args: UpdateGeoMatchSetCommandInput,
|
|
3611
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGeoMatchSetCommandOutput) => void),
|
|
3612
|
-
cb?: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void
|
|
3613
|
-
): Promise<UpdateGeoMatchSetCommandOutput> | void {
|
|
3614
|
-
const command = new UpdateGeoMatchSetCommand(args);
|
|
3615
|
-
if (typeof optionsOrCb === "function") {
|
|
3616
|
-
this.send(command, optionsOrCb);
|
|
3617
|
-
} else if (typeof cb === "function") {
|
|
3618
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3619
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3620
|
-
} else {
|
|
3621
|
-
return this.send(command, optionsOrCb);
|
|
3622
|
-
}
|
|
3623
|
-
}
|
|
3624
|
-
|
|
3625
|
-
/**
|
|
3626
|
-
* <note>
|
|
3627
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3628
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3629
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3630
|
-
* <p>
|
|
3631
|
-
* <b>For the latest version of AWS
|
|
3632
|
-
* 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>
|
|
3633
|
-
* </note>
|
|
3634
|
-
* <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
|
|
3635
|
-
* <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
|
|
3636
|
-
* values: </p>
|
|
3637
|
-
* <ul>
|
|
3638
|
-
* <li>
|
|
3639
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an
|
|
3640
|
-
* <code>IPSetDescriptor</code> object, you delete the existing object and add a new
|
|
3641
|
-
* one.</p>
|
|
3642
|
-
* </li>
|
|
3643
|
-
* <li>
|
|
3644
|
-
* <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
|
|
3645
|
-
* </li>
|
|
3646
|
-
* <li>
|
|
3647
|
-
* <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
|
|
3648
|
-
* the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
|
|
3649
|
-
* <code>192.0.2.44/32</code> (for the individual IP address
|
|
3650
|
-
* <code>192.0.2.44</code>). </p>
|
|
3651
|
-
* </li>
|
|
3652
|
-
* </ul>
|
|
3653
|
-
* <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
|
|
3654
|
-
* WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
|
|
3655
|
-
* information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
3656
|
-
* Inter-Domain Routing</a>.</p>
|
|
3657
|
-
* <p>IPv6 addresses can be represented using any of the following formats:</p>
|
|
3658
|
-
* <ul>
|
|
3659
|
-
* <li>
|
|
3660
|
-
* <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
|
|
3661
|
-
* </li>
|
|
3662
|
-
* <li>
|
|
3663
|
-
* <p>1111:0:0:0:0:0:0:0111/128</p>
|
|
3664
|
-
* </li>
|
|
3665
|
-
* <li>
|
|
3666
|
-
* <p>1111::0111/128</p>
|
|
3667
|
-
* </li>
|
|
3668
|
-
* <li>
|
|
3669
|
-
* <p>1111::111/128</p>
|
|
3670
|
-
* </li>
|
|
3671
|
-
* </ul>
|
|
3672
|
-
* <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
|
|
3673
|
-
* block based on the IP addresses that the requests originated from. For example, if you're
|
|
3674
|
-
* receiving a lot of requests from one or a small number of IP addresses and you want to
|
|
3675
|
-
* block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
|
|
3676
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
3677
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
3678
|
-
* <ol>
|
|
3679
|
-
* <li>
|
|
3680
|
-
* <p>Submit a <a>CreateIPSet</a> request.</p>
|
|
3681
|
-
* </li>
|
|
3682
|
-
* <li>
|
|
3683
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
3684
|
-
* in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
|
|
3685
|
-
* request.</p>
|
|
3686
|
-
* </li>
|
|
3687
|
-
* <li>
|
|
3688
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
|
|
3689
|
-
* want AWS WAF to watch for.</p>
|
|
3690
|
-
* </li>
|
|
3691
|
-
* </ol>
|
|
3692
|
-
* <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
|
|
3693
|
-
* add and/or the IP addresses that you want to delete. If you want to change an IP address,
|
|
3694
|
-
* you delete the existing IP address and add the new one.</p>
|
|
3695
|
-
* <p>You can insert a maximum of 1000 addresses in a single
|
|
3696
|
-
* request.</p>
|
|
3697
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP
|
|
3698
|
-
* requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
|
|
3699
|
-
* Developer Guide</a>.</p>
|
|
3700
|
-
*/
|
|
3701
|
-
public updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
|
|
3702
|
-
public updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
3703
|
-
public updateIPSet(
|
|
3704
|
-
args: UpdateIPSetCommandInput,
|
|
3705
|
-
options: __HttpHandlerOptions,
|
|
3706
|
-
cb: (err: any, data?: UpdateIPSetCommandOutput) => void
|
|
3707
|
-
): void;
|
|
3708
|
-
public updateIPSet(
|
|
3709
|
-
args: UpdateIPSetCommandInput,
|
|
3710
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateIPSetCommandOutput) => void),
|
|
3711
|
-
cb?: (err: any, data?: UpdateIPSetCommandOutput) => void
|
|
3712
|
-
): Promise<UpdateIPSetCommandOutput> | void {
|
|
3713
|
-
const command = new UpdateIPSetCommand(args);
|
|
3714
|
-
if (typeof optionsOrCb === "function") {
|
|
3715
|
-
this.send(command, optionsOrCb);
|
|
3716
|
-
} else if (typeof cb === "function") {
|
|
3717
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3718
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3719
|
-
} else {
|
|
3720
|
-
return this.send(command, optionsOrCb);
|
|
3721
|
-
}
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
|
-
/**
|
|
3725
|
-
* <note>
|
|
3726
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3727
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3728
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3729
|
-
* <p>
|
|
3730
|
-
* <b>For the latest version of AWS
|
|
3731
|
-
* 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>
|
|
3732
|
-
* </note>
|
|
3733
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
|
|
3734
|
-
* <code>RateLimit</code> in the rule. </p>
|
|
3735
|
-
* <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
3736
|
-
* that you want to block or count. The <code>RateLimit</code> specifies the number of
|
|
3737
|
-
* requests every five minutes that triggers the rule.</p>
|
|
3738
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
|
|
3739
|
-
* match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
|
|
3740
|
-
* For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
|
|
3741
|
-
* <ul>
|
|
3742
|
-
* <li>
|
|
3743
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
3744
|
-
* </p>
|
|
3745
|
-
* </li>
|
|
3746
|
-
* <li>
|
|
3747
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
3748
|
-
* <code>User-Agent</code> header</p>
|
|
3749
|
-
* </li>
|
|
3750
|
-
* </ul>
|
|
3751
|
-
* <p>Further, you specify a
|
|
3752
|
-
* <code>RateLimit</code> of 1,000.</p>
|
|
3753
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
3754
|
-
* you want to block requests that satisfy the rule. For a request to be blocked, it must come
|
|
3755
|
-
* from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
|
|
3756
|
-
* in the request must contain the value <code>BadBot</code>. Further, requests that match
|
|
3757
|
-
* these two conditions much be received at a rate of more than 1,000 every five minutes. If
|
|
3758
|
-
* the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
|
|
3759
|
-
*
|
|
3760
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
3761
|
-
* <code>RateBasedRule</code>:</p>
|
|
3762
|
-
*
|
|
3763
|
-
*
|
|
3764
|
-
* <ul>
|
|
3765
|
-
* <li>
|
|
3766
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
3767
|
-
* </p>
|
|
3768
|
-
* </li>
|
|
3769
|
-
* <li>
|
|
3770
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
3771
|
-
* </p>
|
|
3772
|
-
* </li>
|
|
3773
|
-
* <li>
|
|
3774
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
3775
|
-
* </p>
|
|
3776
|
-
* </li>
|
|
3777
|
-
* </ul>
|
|
3778
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
3779
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
3780
|
-
*/
|
|
3781
|
-
public updateRateBasedRule(
|
|
3782
|
-
args: UpdateRateBasedRuleCommandInput,
|
|
3783
|
-
options?: __HttpHandlerOptions
|
|
3784
|
-
): Promise<UpdateRateBasedRuleCommandOutput>;
|
|
3785
|
-
public updateRateBasedRule(
|
|
3786
|
-
args: UpdateRateBasedRuleCommandInput,
|
|
3787
|
-
cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
|
|
3788
|
-
): void;
|
|
3789
|
-
public updateRateBasedRule(
|
|
3790
|
-
args: UpdateRateBasedRuleCommandInput,
|
|
3791
|
-
options: __HttpHandlerOptions,
|
|
3792
|
-
cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
|
|
3793
|
-
): void;
|
|
3794
|
-
public updateRateBasedRule(
|
|
3795
|
-
args: UpdateRateBasedRuleCommandInput,
|
|
3796
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRateBasedRuleCommandOutput) => void),
|
|
3797
|
-
cb?: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void
|
|
3798
|
-
): Promise<UpdateRateBasedRuleCommandOutput> | void {
|
|
3799
|
-
const command = new UpdateRateBasedRuleCommand(args);
|
|
3800
|
-
if (typeof optionsOrCb === "function") {
|
|
3801
|
-
this.send(command, optionsOrCb);
|
|
3802
|
-
} else if (typeof cb === "function") {
|
|
3803
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3804
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3805
|
-
} else {
|
|
3806
|
-
return this.send(command, optionsOrCb);
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
|
|
3810
|
-
/**
|
|
3811
|
-
* <note>
|
|
3812
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3813
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3814
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3815
|
-
* <p>
|
|
3816
|
-
* <b>For the latest version of AWS
|
|
3817
|
-
* 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>
|
|
3818
|
-
* </note>
|
|
3819
|
-
* <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
|
|
3820
|
-
* you specify the following values: </p>
|
|
3821
|
-
* <ul>
|
|
3822
|
-
* <li>
|
|
3823
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
|
|
3824
|
-
* you delete the existing object and add a new one.</p>
|
|
3825
|
-
* </li>
|
|
3826
|
-
* <li>
|
|
3827
|
-
* <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
3828
|
-
* </li>
|
|
3829
|
-
* <li>
|
|
3830
|
-
* <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p>
|
|
3831
|
-
* </li>
|
|
3832
|
-
* <li>
|
|
3833
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
3834
|
-
* </li>
|
|
3835
|
-
* </ul>
|
|
3836
|
-
* <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
3837
|
-
* that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
3838
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
3839
|
-
* <ol>
|
|
3840
|
-
* <li>
|
|
3841
|
-
* <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
|
|
3842
|
-
* </li>
|
|
3843
|
-
* <li>
|
|
3844
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
3845
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
3846
|
-
* </li>
|
|
3847
|
-
* <li>
|
|
3848
|
-
* <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
3849
|
-
* (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p>
|
|
3850
|
-
* </li>
|
|
3851
|
-
* </ol>
|
|
3852
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
3853
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
3854
|
-
*/
|
|
3855
|
-
public updateRegexMatchSet(
|
|
3856
|
-
args: UpdateRegexMatchSetCommandInput,
|
|
3857
|
-
options?: __HttpHandlerOptions
|
|
3858
|
-
): Promise<UpdateRegexMatchSetCommandOutput>;
|
|
3859
|
-
public updateRegexMatchSet(
|
|
3860
|
-
args: UpdateRegexMatchSetCommandInput,
|
|
3861
|
-
cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
|
|
3862
|
-
): void;
|
|
3863
|
-
public updateRegexMatchSet(
|
|
3864
|
-
args: UpdateRegexMatchSetCommandInput,
|
|
3865
|
-
options: __HttpHandlerOptions,
|
|
3866
|
-
cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
|
|
3867
|
-
): void;
|
|
3868
|
-
public updateRegexMatchSet(
|
|
3869
|
-
args: UpdateRegexMatchSetCommandInput,
|
|
3870
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRegexMatchSetCommandOutput) => void),
|
|
3871
|
-
cb?: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void
|
|
3872
|
-
): Promise<UpdateRegexMatchSetCommandOutput> | void {
|
|
3873
|
-
const command = new UpdateRegexMatchSetCommand(args);
|
|
3874
|
-
if (typeof optionsOrCb === "function") {
|
|
3875
|
-
this.send(command, optionsOrCb);
|
|
3876
|
-
} else if (typeof cb === "function") {
|
|
3877
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3878
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3879
|
-
} else {
|
|
3880
|
-
return this.send(command, optionsOrCb);
|
|
3881
|
-
}
|
|
3882
|
-
}
|
|
3883
|
-
|
|
3884
|
-
/**
|
|
3885
|
-
* <note>
|
|
3886
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3887
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3888
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3889
|
-
* <p>
|
|
3890
|
-
* <b>For the latest version of AWS
|
|
3891
|
-
* 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>
|
|
3892
|
-
* </note>
|
|
3893
|
-
* <p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object,
|
|
3894
|
-
* you specify the following values: </p>
|
|
3895
|
-
* <ul>
|
|
3896
|
-
* <li>
|
|
3897
|
-
* <p>Whether to insert or delete the <code>RegexPatternString</code>.</p>
|
|
3898
|
-
* </li>
|
|
3899
|
-
* <li>
|
|
3900
|
-
* <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p>
|
|
3901
|
-
* </li>
|
|
3902
|
-
* </ul>
|
|
3903
|
-
* <p> For example, you can create a <code>RegexPatternString</code> such as <code>B[a@]dB[o0]t</code>. AWS WAF will match this <code>RegexPatternString</code> to:</p>
|
|
3904
|
-
* <ul>
|
|
3905
|
-
* <li>
|
|
3906
|
-
* <p>BadBot</p>
|
|
3907
|
-
* </li>
|
|
3908
|
-
* <li>
|
|
3909
|
-
* <p>BadB0t</p>
|
|
3910
|
-
* </li>
|
|
3911
|
-
* <li>
|
|
3912
|
-
* <p>B@dBot</p>
|
|
3913
|
-
* </li>
|
|
3914
|
-
* <li>
|
|
3915
|
-
* <p>B@dB0t</p>
|
|
3916
|
-
* </li>
|
|
3917
|
-
* </ul>
|
|
3918
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
3919
|
-
* <ol>
|
|
3920
|
-
* <li>
|
|
3921
|
-
* <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p>
|
|
3922
|
-
* </li>
|
|
3923
|
-
* <li>
|
|
3924
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
3925
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
3926
|
-
* </li>
|
|
3927
|
-
* <li>
|
|
3928
|
-
* <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p>
|
|
3929
|
-
* </li>
|
|
3930
|
-
* </ol>
|
|
3931
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
3932
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
3933
|
-
*/
|
|
3934
|
-
public updateRegexPatternSet(
|
|
3935
|
-
args: UpdateRegexPatternSetCommandInput,
|
|
3936
|
-
options?: __HttpHandlerOptions
|
|
3937
|
-
): Promise<UpdateRegexPatternSetCommandOutput>;
|
|
3938
|
-
public updateRegexPatternSet(
|
|
3939
|
-
args: UpdateRegexPatternSetCommandInput,
|
|
3940
|
-
cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
|
|
3941
|
-
): void;
|
|
3942
|
-
public updateRegexPatternSet(
|
|
3943
|
-
args: UpdateRegexPatternSetCommandInput,
|
|
3944
|
-
options: __HttpHandlerOptions,
|
|
3945
|
-
cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
|
|
3946
|
-
): void;
|
|
3947
|
-
public updateRegexPatternSet(
|
|
3948
|
-
args: UpdateRegexPatternSetCommandInput,
|
|
3949
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRegexPatternSetCommandOutput) => void),
|
|
3950
|
-
cb?: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void
|
|
3951
|
-
): Promise<UpdateRegexPatternSetCommandOutput> | void {
|
|
3952
|
-
const command = new UpdateRegexPatternSetCommand(args);
|
|
3953
|
-
if (typeof optionsOrCb === "function") {
|
|
3954
|
-
this.send(command, optionsOrCb);
|
|
3955
|
-
} else if (typeof cb === "function") {
|
|
3956
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3957
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3958
|
-
} else {
|
|
3959
|
-
return this.send(command, optionsOrCb);
|
|
3960
|
-
}
|
|
3961
|
-
}
|
|
3962
|
-
|
|
3963
|
-
/**
|
|
3964
|
-
* <note>
|
|
3965
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3966
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
3967
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
3968
|
-
* <p>
|
|
3969
|
-
* <b>For the latest version of AWS
|
|
3970
|
-
* 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>
|
|
3971
|
-
* </note>
|
|
3972
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each
|
|
3973
|
-
* <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
3974
|
-
* that you want to allow, block, or count. If you add more than one predicate to a
|
|
3975
|
-
* <code>Rule</code>, a request must match all of the specifications to be allowed,
|
|
3976
|
-
* blocked, or counted. For example, suppose
|
|
3977
|
-
* that
|
|
3978
|
-
* you add the following to a <code>Rule</code>: </p>
|
|
3979
|
-
* <ul>
|
|
3980
|
-
* <li>
|
|
3981
|
-
* <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
3982
|
-
* </li>
|
|
3983
|
-
* <li>
|
|
3984
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code>
|
|
3985
|
-
* </p>
|
|
3986
|
-
* </li>
|
|
3987
|
-
* </ul>
|
|
3988
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the <code>Rule</code>.
|
|
3989
|
-
* For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>
|
|
3990
|
-
* <i>and</i> the request must originate from the IP address 192.0.2.44.</p>
|
|
3991
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
3992
|
-
* <ol>
|
|
3993
|
-
* <li>
|
|
3994
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p>
|
|
3995
|
-
* </li>
|
|
3996
|
-
* <li>
|
|
3997
|
-
* <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p>
|
|
3998
|
-
* </li>
|
|
3999
|
-
* <li>
|
|
4000
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4001
|
-
* <a>UpdateRule</a> request.</p>
|
|
4002
|
-
* </li>
|
|
4003
|
-
* <li>
|
|
4004
|
-
* <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p>
|
|
4005
|
-
* </li>
|
|
4006
|
-
* <li>
|
|
4007
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p>
|
|
4008
|
-
* </li>
|
|
4009
|
-
* </ol>
|
|
4010
|
-
* <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and
|
|
4011
|
-
* add the new one.</p>
|
|
4012
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
4013
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4014
|
-
*/
|
|
4015
|
-
public updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
|
|
4016
|
-
public updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
4017
|
-
public updateRule(
|
|
4018
|
-
args: UpdateRuleCommandInput,
|
|
4019
|
-
options: __HttpHandlerOptions,
|
|
4020
|
-
cb: (err: any, data?: UpdateRuleCommandOutput) => void
|
|
4021
|
-
): void;
|
|
4022
|
-
public updateRule(
|
|
4023
|
-
args: UpdateRuleCommandInput,
|
|
4024
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleCommandOutput) => void),
|
|
4025
|
-
cb?: (err: any, data?: UpdateRuleCommandOutput) => void
|
|
4026
|
-
): Promise<UpdateRuleCommandOutput> | void {
|
|
4027
|
-
const command = new UpdateRuleCommand(args);
|
|
4028
|
-
if (typeof optionsOrCb === "function") {
|
|
4029
|
-
this.send(command, optionsOrCb);
|
|
4030
|
-
} else if (typeof cb === "function") {
|
|
4031
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4032
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4033
|
-
} else {
|
|
4034
|
-
return this.send(command, optionsOrCb);
|
|
4035
|
-
}
|
|
4036
|
-
}
|
|
4037
|
-
|
|
4038
|
-
/**
|
|
4039
|
-
* <note>
|
|
4040
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4041
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
4042
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
4043
|
-
* <p>
|
|
4044
|
-
* <b>For the latest version of AWS
|
|
4045
|
-
* 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>
|
|
4046
|
-
* </note>
|
|
4047
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p>
|
|
4048
|
-
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
4049
|
-
* <p>You can have a maximum of ten rules per rule group.</p>
|
|
4050
|
-
*
|
|
4051
|
-
*
|
|
4052
|
-
* <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p>
|
|
4053
|
-
* <ol>
|
|
4054
|
-
* <li>
|
|
4055
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p>
|
|
4056
|
-
* </li>
|
|
4057
|
-
* <li>
|
|
4058
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4059
|
-
* <a>UpdateRuleGroup</a> request.</p>
|
|
4060
|
-
* </li>
|
|
4061
|
-
* <li>
|
|
4062
|
-
* <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p>
|
|
4063
|
-
* </li>
|
|
4064
|
-
* <li>
|
|
4065
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p>
|
|
4066
|
-
* </li>
|
|
4067
|
-
* </ol>
|
|
4068
|
-
* <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and
|
|
4069
|
-
* add the new one.</p>
|
|
4070
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
4071
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4072
|
-
*/
|
|
4073
|
-
public updateRuleGroup(
|
|
4074
|
-
args: UpdateRuleGroupCommandInput,
|
|
4075
|
-
options?: __HttpHandlerOptions
|
|
4076
|
-
): Promise<UpdateRuleGroupCommandOutput>;
|
|
4077
|
-
public updateRuleGroup(
|
|
4078
|
-
args: UpdateRuleGroupCommandInput,
|
|
4079
|
-
cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
4080
|
-
): void;
|
|
4081
|
-
public updateRuleGroup(
|
|
4082
|
-
args: UpdateRuleGroupCommandInput,
|
|
4083
|
-
options: __HttpHandlerOptions,
|
|
4084
|
-
cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
4085
|
-
): void;
|
|
4086
|
-
public updateRuleGroup(
|
|
4087
|
-
args: UpdateRuleGroupCommandInput,
|
|
4088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleGroupCommandOutput) => void),
|
|
4089
|
-
cb?: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
4090
|
-
): Promise<UpdateRuleGroupCommandOutput> | void {
|
|
4091
|
-
const command = new UpdateRuleGroupCommand(args);
|
|
4092
|
-
if (typeof optionsOrCb === "function") {
|
|
4093
|
-
this.send(command, optionsOrCb);
|
|
4094
|
-
} else if (typeof cb === "function") {
|
|
4095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4097
|
-
} else {
|
|
4098
|
-
return this.send(command, optionsOrCb);
|
|
4099
|
-
}
|
|
4100
|
-
}
|
|
4101
|
-
|
|
4102
|
-
/**
|
|
4103
|
-
* <note>
|
|
4104
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4105
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
4106
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
4107
|
-
* <p>
|
|
4108
|
-
* <b>For the latest version of AWS
|
|
4109
|
-
* 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>
|
|
4110
|
-
* </note>
|
|
4111
|
-
* <p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object,
|
|
4112
|
-
* you specify the following values: </p>
|
|
4113
|
-
* <ul>
|
|
4114
|
-
* <li>
|
|
4115
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object,
|
|
4116
|
-
* you delete the existing object and add a new one.</p>
|
|
4117
|
-
* </li>
|
|
4118
|
-
* <li>
|
|
4119
|
-
* <p>The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the
|
|
4120
|
-
* <code>User-Agent</code> header.</p>
|
|
4121
|
-
* </li>
|
|
4122
|
-
* <li>
|
|
4123
|
-
* <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length.
|
|
4124
|
-
* Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes
|
|
4125
|
-
* of your request to AWS WAF.</p>
|
|
4126
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
4127
|
-
* </li>
|
|
4128
|
-
* <li>
|
|
4129
|
-
* <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as
|
|
4130
|
-
* equals, greater than, less than, and so on.</p>
|
|
4131
|
-
* </li>
|
|
4132
|
-
* <li>
|
|
4133
|
-
* <p>The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.</p>
|
|
4134
|
-
* </li>
|
|
4135
|
-
* </ul>
|
|
4136
|
-
* <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the
|
|
4137
|
-
* <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p>
|
|
4138
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
4139
|
-
* <ol>
|
|
4140
|
-
* <li>
|
|
4141
|
-
* <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p>
|
|
4142
|
-
* </li>
|
|
4143
|
-
* <li>
|
|
4144
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4145
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
4146
|
-
* </li>
|
|
4147
|
-
* <li>
|
|
4148
|
-
* <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
4149
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
4150
|
-
* </li>
|
|
4151
|
-
* </ol>
|
|
4152
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
4153
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4154
|
-
*/
|
|
4155
|
-
public updateSizeConstraintSet(
|
|
4156
|
-
args: UpdateSizeConstraintSetCommandInput,
|
|
4157
|
-
options?: __HttpHandlerOptions
|
|
4158
|
-
): Promise<UpdateSizeConstraintSetCommandOutput>;
|
|
4159
|
-
public updateSizeConstraintSet(
|
|
4160
|
-
args: UpdateSizeConstraintSetCommandInput,
|
|
4161
|
-
cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
|
|
4162
|
-
): void;
|
|
4163
|
-
public updateSizeConstraintSet(
|
|
4164
|
-
args: UpdateSizeConstraintSetCommandInput,
|
|
4165
|
-
options: __HttpHandlerOptions,
|
|
4166
|
-
cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
|
|
4167
|
-
): void;
|
|
4168
|
-
public updateSizeConstraintSet(
|
|
4169
|
-
args: UpdateSizeConstraintSetCommandInput,
|
|
4170
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSizeConstraintSetCommandOutput) => void),
|
|
4171
|
-
cb?: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void
|
|
4172
|
-
): Promise<UpdateSizeConstraintSetCommandOutput> | void {
|
|
4173
|
-
const command = new UpdateSizeConstraintSetCommand(args);
|
|
4174
|
-
if (typeof optionsOrCb === "function") {
|
|
4175
|
-
this.send(command, optionsOrCb);
|
|
4176
|
-
} else if (typeof cb === "function") {
|
|
4177
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4179
|
-
} else {
|
|
4180
|
-
return this.send(command, optionsOrCb);
|
|
4181
|
-
}
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4184
|
-
/**
|
|
4185
|
-
* <note>
|
|
4186
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4187
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
4188
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
4189
|
-
* <p>
|
|
4190
|
-
* <b>For the latest version of AWS
|
|
4191
|
-
* 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>
|
|
4192
|
-
* </note>
|
|
4193
|
-
* <p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>.
|
|
4194
|
-
* For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p>
|
|
4195
|
-
* <ul>
|
|
4196
|
-
* <li>
|
|
4197
|
-
* <p>
|
|
4198
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a
|
|
4199
|
-
* <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p>
|
|
4200
|
-
* </li>
|
|
4201
|
-
* <li>
|
|
4202
|
-
* <p>
|
|
4203
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
4204
|
-
* the name of the header or parameter.</p>
|
|
4205
|
-
* </li>
|
|
4206
|
-
* <li>
|
|
4207
|
-
* <p>
|
|
4208
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
4209
|
-
* inspecting the request for snippets of malicious SQL code.</p>
|
|
4210
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
4211
|
-
* </li>
|
|
4212
|
-
* </ul>
|
|
4213
|
-
* <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront
|
|
4214
|
-
* requests that
|
|
4215
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
4216
|
-
* requests that contain snippets of SQL code in the query string and you want to block the
|
|
4217
|
-
* requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings,
|
|
4218
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
4219
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
4220
|
-
* <ol>
|
|
4221
|
-
* <li>
|
|
4222
|
-
* <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p>
|
|
4223
|
-
* </li>
|
|
4224
|
-
* <li>
|
|
4225
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4226
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
4227
|
-
* </li>
|
|
4228
|
-
* <li>
|
|
4229
|
-
* <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
4230
|
-
* inspect for snippets of SQL code.</p>
|
|
4231
|
-
* </li>
|
|
4232
|
-
* </ol>
|
|
4233
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
4234
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4235
|
-
*/
|
|
4236
|
-
public updateSqlInjectionMatchSet(
|
|
4237
|
-
args: UpdateSqlInjectionMatchSetCommandInput,
|
|
4238
|
-
options?: __HttpHandlerOptions
|
|
4239
|
-
): Promise<UpdateSqlInjectionMatchSetCommandOutput>;
|
|
4240
|
-
public updateSqlInjectionMatchSet(
|
|
4241
|
-
args: UpdateSqlInjectionMatchSetCommandInput,
|
|
4242
|
-
cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
|
|
4243
|
-
): void;
|
|
4244
|
-
public updateSqlInjectionMatchSet(
|
|
4245
|
-
args: UpdateSqlInjectionMatchSetCommandInput,
|
|
4246
|
-
options: __HttpHandlerOptions,
|
|
4247
|
-
cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
|
|
4248
|
-
): void;
|
|
4249
|
-
public updateSqlInjectionMatchSet(
|
|
4250
|
-
args: UpdateSqlInjectionMatchSetCommandInput,
|
|
4251
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void),
|
|
4252
|
-
cb?: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void
|
|
4253
|
-
): Promise<UpdateSqlInjectionMatchSetCommandOutput> | void {
|
|
4254
|
-
const command = new UpdateSqlInjectionMatchSetCommand(args);
|
|
4255
|
-
if (typeof optionsOrCb === "function") {
|
|
4256
|
-
this.send(command, optionsOrCb);
|
|
4257
|
-
} else if (typeof cb === "function") {
|
|
4258
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4260
|
-
} else {
|
|
4261
|
-
return this.send(command, optionsOrCb);
|
|
4262
|
-
}
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
|
-
/**
|
|
4266
|
-
* <note>
|
|
4267
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4268
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
4269
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
4270
|
-
* <p>
|
|
4271
|
-
* <b>For the latest version of AWS
|
|
4272
|
-
* 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>
|
|
4273
|
-
* </note>
|
|
4274
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies
|
|
4275
|
-
* web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p>
|
|
4276
|
-
* <ul>
|
|
4277
|
-
* <li>
|
|
4278
|
-
* <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>.
|
|
4279
|
-
* AWS WAF performs the default action if a request doesn't match the criteria in any of the <code>Rules</code> in a <code>WebACL</code>.</p>
|
|
4280
|
-
* </li>
|
|
4281
|
-
* <li>
|
|
4282
|
-
* <p>The <code>Rules</code> that you want to add
|
|
4283
|
-
* or
|
|
4284
|
-
* delete. If you want to replace one <code>Rule</code> with another, you delete the
|
|
4285
|
-
* existing <code>Rule</code> and add the new one.</p>
|
|
4286
|
-
* </li>
|
|
4287
|
-
* <li>
|
|
4288
|
-
* <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match
|
|
4289
|
-
* the conditions in the <code>Rule</code>.</p>
|
|
4290
|
-
* </li>
|
|
4291
|
-
* <li>
|
|
4292
|
-
* <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a
|
|
4293
|
-
* <code>WebACL</code>. If you add more than one <code>Rule</code> to a
|
|
4294
|
-
* <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>
|
|
4295
|
-
* in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has
|
|
4296
|
-
* the lowest value for <code>Priority</code> is evaluated first.) When a web request
|
|
4297
|
-
* matches all
|
|
4298
|
-
* the
|
|
4299
|
-
* predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a
|
|
4300
|
-
* <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or
|
|
4301
|
-
* block, and doesn't evaluate the request against the remaining <code>Rules</code> in
|
|
4302
|
-
* the <code>WebACL</code>, if any. </p>
|
|
4303
|
-
* </li>
|
|
4304
|
-
* </ul>
|
|
4305
|
-
*
|
|
4306
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
4307
|
-
* <ol>
|
|
4308
|
-
* <li>
|
|
4309
|
-
* <p>Create and update the predicates that you want to include in <code>Rules</code>.
|
|
4310
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
4311
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
4312
|
-
* </li>
|
|
4313
|
-
* <li>
|
|
4314
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
4315
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
4316
|
-
* </li>
|
|
4317
|
-
* <li>
|
|
4318
|
-
* <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p>
|
|
4319
|
-
* </li>
|
|
4320
|
-
* <li>
|
|
4321
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4322
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
4323
|
-
* </li>
|
|
4324
|
-
* <li>
|
|
4325
|
-
* <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code>
|
|
4326
|
-
* that you want to include in the <code>WebACL</code>, to specify the default action,
|
|
4327
|
-
* and to associate the <code>WebACL</code> with a CloudFront distribution. </p>
|
|
4328
|
-
* <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group
|
|
4329
|
-
* as your
|
|
4330
|
-
* <code>ActivatedRule</code>
|
|
4331
|
-
* ,
|
|
4332
|
-
* you can exclude specific rules from that rule group.</p>
|
|
4333
|
-
* <p>If you already have a rule group associated with a web ACL and want to submit
|
|
4334
|
-
* an <code>UpdateWebACL</code> request to exclude certain rules from that rule group,
|
|
4335
|
-
* you must first remove the rule group from the web ACL, the re-insert it again,
|
|
4336
|
-
* specifying the excluded rules.
|
|
4337
|
-
* For details,
|
|
4338
|
-
* see
|
|
4339
|
-
* <a>ActivatedRule$ExcludedRules</a>
|
|
4340
|
-
* .
|
|
4341
|
-
* </p>
|
|
4342
|
-
* </li>
|
|
4343
|
-
* </ol>
|
|
4344
|
-
* <p>Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. </p>
|
|
4345
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4346
|
-
*/
|
|
4347
|
-
public updateWebACL(
|
|
4348
|
-
args: UpdateWebACLCommandInput,
|
|
4349
|
-
options?: __HttpHandlerOptions
|
|
4350
|
-
): Promise<UpdateWebACLCommandOutput>;
|
|
4351
|
-
public updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
4352
|
-
public updateWebACL(
|
|
4353
|
-
args: UpdateWebACLCommandInput,
|
|
4354
|
-
options: __HttpHandlerOptions,
|
|
4355
|
-
cb: (err: any, data?: UpdateWebACLCommandOutput) => void
|
|
4356
|
-
): void;
|
|
4357
|
-
public updateWebACL(
|
|
4358
|
-
args: UpdateWebACLCommandInput,
|
|
4359
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWebACLCommandOutput) => void),
|
|
4360
|
-
cb?: (err: any, data?: UpdateWebACLCommandOutput) => void
|
|
4361
|
-
): Promise<UpdateWebACLCommandOutput> | void {
|
|
4362
|
-
const command = new UpdateWebACLCommand(args);
|
|
4363
|
-
if (typeof optionsOrCb === "function") {
|
|
4364
|
-
this.send(command, optionsOrCb);
|
|
4365
|
-
} else if (typeof cb === "function") {
|
|
4366
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4368
|
-
} else {
|
|
4369
|
-
return this.send(command, optionsOrCb);
|
|
4370
|
-
}
|
|
4371
|
-
}
|
|
4372
|
-
|
|
4373
|
-
/**
|
|
4374
|
-
* <note>
|
|
4375
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4376
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
4377
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
4378
|
-
* <p>
|
|
4379
|
-
* <b>For the latest version of AWS
|
|
4380
|
-
* 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>
|
|
4381
|
-
* </note>
|
|
4382
|
-
* <p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>.
|
|
4383
|
-
* For each <code>XssMatchTuple</code> object, you specify the following values:</p>
|
|
4384
|
-
* <ul>
|
|
4385
|
-
* <li>
|
|
4386
|
-
* <p>
|
|
4387
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the
|
|
4388
|
-
* array. To change an
|
|
4389
|
-
* <code>XssMatchTuple</code>, you delete the existing object and add a new
|
|
4390
|
-
* one.</p>
|
|
4391
|
-
* </li>
|
|
4392
|
-
* <li>
|
|
4393
|
-
* <p>
|
|
4394
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
4395
|
-
* the name of the header or parameter.</p>
|
|
4396
|
-
* </li>
|
|
4397
|
-
* <li>
|
|
4398
|
-
* <p>
|
|
4399
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
4400
|
-
* inspecting the request for cross-site scripting attacks.</p>
|
|
4401
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
4402
|
-
* </li>
|
|
4403
|
-
* </ul>
|
|
4404
|
-
* <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests
|
|
4405
|
-
* that
|
|
4406
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
4407
|
-
* requests that contain cross-site scripting attacks in the request body and you want to
|
|
4408
|
-
* block the requests, you can create an <code>XssMatchSet</code> with the applicable
|
|
4409
|
-
* settings, and then configure AWS WAF to block the requests. </p>
|
|
4410
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
4411
|
-
* <ol>
|
|
4412
|
-
* <li>
|
|
4413
|
-
* <p>Submit a <a>CreateXssMatchSet</a> request.</p>
|
|
4414
|
-
* </li>
|
|
4415
|
-
* <li>
|
|
4416
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
4417
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
4418
|
-
* </li>
|
|
4419
|
-
* <li>
|
|
4420
|
-
* <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
4421
|
-
* inspect for cross-site scripting attacks.</p>
|
|
4422
|
-
* </li>
|
|
4423
|
-
* </ol>
|
|
4424
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
4425
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
4426
|
-
*/
|
|
4427
|
-
public updateXssMatchSet(
|
|
4428
|
-
args: UpdateXssMatchSetCommandInput,
|
|
4429
|
-
options?: __HttpHandlerOptions
|
|
4430
|
-
): Promise<UpdateXssMatchSetCommandOutput>;
|
|
4431
|
-
public updateXssMatchSet(
|
|
4432
|
-
args: UpdateXssMatchSetCommandInput,
|
|
4433
|
-
cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
|
|
4434
|
-
): void;
|
|
4435
|
-
public updateXssMatchSet(
|
|
4436
|
-
args: UpdateXssMatchSetCommandInput,
|
|
4437
|
-
options: __HttpHandlerOptions,
|
|
4438
|
-
cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
|
|
4439
|
-
): void;
|
|
4440
|
-
public updateXssMatchSet(
|
|
4441
|
-
args: UpdateXssMatchSetCommandInput,
|
|
4442
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateXssMatchSetCommandOutput) => void),
|
|
4443
|
-
cb?: (err: any, data?: UpdateXssMatchSetCommandOutput) => void
|
|
4444
|
-
): Promise<UpdateXssMatchSetCommandOutput> | void {
|
|
4445
|
-
const command = new UpdateXssMatchSetCommand(args);
|
|
4446
|
-
if (typeof optionsOrCb === "function") {
|
|
4447
|
-
this.send(command, optionsOrCb);
|
|
4448
|
-
} else if (typeof cb === "function") {
|
|
4449
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4450
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4451
|
-
} else {
|
|
4452
|
-
return this.send(command, optionsOrCb);
|
|
4453
|
-
}
|
|
4454
|
-
}
|
|
4455
|
-
}
|