@aws-sdk/client-waf 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/WAF.js +0 -14
- package/dist-cjs/WAFClient.js +0 -19
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +0 -56
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +0 -53
- package/dist-cjs/commands/CreateIPSetCommand.js +0 -58
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +0 -118
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +0 -56
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -52
- package/dist-cjs/commands/CreateRuleCommand.js +0 -76
- package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -47
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +0 -56
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -54
- package/dist-cjs/commands/CreateWebACLCommand.js +0 -64
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +0 -32
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +0 -54
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteIPSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -34
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -34
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +0 -52
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -34
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -48
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -48
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -49
- package/dist-cjs/commands/DeleteWebACLCommand.js +0 -46
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +0 -49
- package/dist-cjs/commands/GetByteMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetChangeTokenCommand.js +0 -39
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +0 -49
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetIPSetCommand.js +0 -33
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -33
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +0 -35
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -35
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -33
- package/dist-cjs/commands/GetRuleCommand.js +0 -33
- package/dist-cjs/commands/GetRuleGroupCommand.js +0 -34
- package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -37
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +0 -33
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetWebACLCommand.js +0 -33
- package/dist-cjs/commands/GetXssMatchSetCommand.js +0 -33
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -33
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListIPSetsCommand.js +0 -33
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -33
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +0 -33
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -33
- package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -33
- package/dist-cjs/commands/ListRulesCommand.js +0 -33
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +0 -33
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -33
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -34
- package/dist-cjs/commands/ListWebACLsCommand.js +0 -33
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -50
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -65
- package/dist-cjs/commands/TagResourceCommand.js +0 -34
- package/dist-cjs/commands/UntagResourceCommand.js +0 -33
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +0 -71
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +0 -63
- package/dist-cjs/commands/UpdateIPSetCommand.js +0 -98
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +0 -79
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +0 -67
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -72
- package/dist-cjs/commands/UpdateRuleCommand.js +0 -74
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -57
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +0 -75
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -74
- package/dist-cjs/commands/UpdateWebACLCommand.js +0 -104
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +0 -76
- package/dist-cjs/commands/index.js +80 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -80
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -685
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/WAF.js +0 -1
- package/dist-es/WAFClient.js +0 -1
- package/dist-es/commands/CreateByteMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateIPSetCommand.js +0 -1
- package/dist-es/commands/CreateRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/CreateRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/CreateRuleCommand.js +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateWebACLCommand.js +0 -1
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +0 -1
- package/dist-es/commands/CreateXssMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteByteMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js +0 -1
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePermissionPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/DeleteRuleCommand.js +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteWebACLCommand.js +0 -1
- package/dist-es/commands/DeleteXssMatchSetCommand.js +0 -1
- package/dist-es/commands/GetByteMatchSetCommand.js +0 -1
- package/dist-es/commands/GetChangeTokenCommand.js +0 -1
- package/dist-es/commands/GetChangeTokenStatusCommand.js +0 -1
- package/dist-es/commands/GetGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/GetIPSetCommand.js +0 -1
- package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
- package/dist-es/commands/GetRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
- package/dist-es/commands/GetRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/GetRuleCommand.js +0 -1
- package/dist-es/commands/GetRuleGroupCommand.js +0 -1
- package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
- package/dist-es/commands/GetSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/GetWebACLCommand.js +0 -1
- package/dist-es/commands/GetXssMatchSetCommand.js +0 -1
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
- package/dist-es/commands/ListByteMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListGeoMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListIPSetsCommand.js +0 -1
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListRateBasedRulesCommand.js +0 -1
- package/dist-es/commands/ListRegexMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListRulesCommand.js +0 -1
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +0 -1
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListWebACLsCommand.js +0 -1
- package/dist-es/commands/ListXssMatchSetsCommand.js +0 -1
- package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/PutPermissionPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateByteMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js +0 -1
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/UpdateRuleCommand.js +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateWebACLCommand.js +0 -1
- package/dist-es/commands/UpdateXssMatchSetCommand.js +0 -1
- package/dist-es/commands/index.js +77 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -80
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +77 -0
- package/dist-types/index.d.ts +3 -79
- package/dist-types/ts3.4/WAF.d.ts +78 -1975
- package/dist-types/ts3.4/WAFClient.d.ts +24 -99
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -113
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -93
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -74
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -62
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -69
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -69
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -99
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/index.d.ts +77 -0
- package/dist-types/ts3.4/index.d.ts +3 -79
- package/dist-types/ts3.4/models/models_0.d.ts +734 -4389
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/WAF.js.map +0 -1
- package/dist-cjs/WAFClient.js.map +0 -1
- package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetRuleCommand.js.map +0 -1
- package/dist-cjs/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRulesCommand.js.map +0 -1
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListWebACLsCommand.js.map +0 -1
- package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRuleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWebACLCommand.js.map +0 -1
- 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/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/WAF.js.map +0 -1
- package/dist-es/WAFClient.js.map +0 -1
- package/dist-es/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRuleCommand.js.map +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist-es/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist-es/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist-es/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist-es/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetIPSetCommand.js.map +0 -1
- package/dist-es/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist-es/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/GetRuleCommand.js.map +0 -1
- package/dist-es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist-es/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetWebACLCommand.js.map +0 -1
- package/dist-es/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist-es/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListRulesCommand.js.map +0 -1
- package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListWebACLsCommand.js.map +0 -1
- package/dist-es/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRuleCommand.js.map +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateWebACLCommand.js.map +0 -1
- 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/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/WAF.ts +0 -4456
- package/src/WAFClient.ts +0 -576
- package/src/commands/CreateByteMatchSetCommand.ts +0 -126
- package/src/commands/CreateGeoMatchSetCommand.ts +0 -123
- package/src/commands/CreateIPSetCommand.ts +0 -128
- package/src/commands/CreateRateBasedRuleCommand.ts +0 -188
- package/src/commands/CreateRegexMatchSetCommand.ts +0 -126
- package/src/commands/CreateRegexPatternSetCommand.ts +0 -122
- package/src/commands/CreateRuleCommand.ts +0 -146
- package/src/commands/CreateRuleGroupCommand.ts +0 -117
- package/src/commands/CreateSizeConstraintSetCommand.ts +0 -126
- package/src/commands/CreateSqlInjectionMatchSetCommand.ts +0 -127
- package/src/commands/CreateWebACLCommand.ts +0 -134
- package/src/commands/CreateWebACLMigrationStackCommand.ts +0 -105
- package/src/commands/CreateXssMatchSetCommand.ts +0 -124
- package/src/commands/DeleteByteMatchSetCommand.ts +0 -118
- package/src/commands/DeleteGeoMatchSetCommand.ts +0 -118
- package/src/commands/DeleteIPSetCommand.ts +0 -118
- package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -107
- package/src/commands/DeletePermissionPolicyCommand.ts +0 -104
- package/src/commands/DeleteRateBasedRuleCommand.ts +0 -122
- package/src/commands/DeleteRegexMatchSetCommand.ts +0 -118
- package/src/commands/DeleteRegexPatternSetCommand.ts +0 -104
- package/src/commands/DeleteRuleCommand.ts +0 -118
- package/src/commands/DeleteRuleGroupCommand.ts +0 -118
- package/src/commands/DeleteSizeConstraintSetCommand.ts +0 -118
- package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -122
- package/src/commands/DeleteWebACLCommand.ts +0 -116
- package/src/commands/DeleteXssMatchSetCommand.ts +0 -119
- package/src/commands/GetByteMatchSetCommand.ts +0 -103
- package/src/commands/GetChangeTokenCommand.ts +0 -109
- package/src/commands/GetChangeTokenStatusCommand.ts +0 -119
- package/src/commands/GetGeoMatchSetCommand.ts +0 -103
- package/src/commands/GetIPSetCommand.ts +0 -96
- package/src/commands/GetLoggingConfigurationCommand.ts +0 -103
- package/src/commands/GetPermissionPolicyCommand.ts +0 -103
- package/src/commands/GetRateBasedRuleCommand.ts +0 -105
- package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -110
- package/src/commands/GetRegexMatchSetCommand.ts +0 -103
- package/src/commands/GetRegexPatternSetCommand.ts +0 -103
- package/src/commands/GetRuleCommand.ts +0 -96
- package/src/commands/GetRuleGroupCommand.ts +0 -104
- package/src/commands/GetSampledRequestsCommand.ts +0 -107
- package/src/commands/GetSizeConstraintSetCommand.ts +0 -103
- package/src/commands/GetSqlInjectionMatchSetCommand.ts +0 -103
- package/src/commands/GetWebACLCommand.ts +0 -96
- package/src/commands/GetXssMatchSetCommand.ts +0 -103
- package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -108
- package/src/commands/ListByteMatchSetsCommand.ts +0 -103
- package/src/commands/ListGeoMatchSetsCommand.ts +0 -103
- package/src/commands/ListIPSetsCommand.ts +0 -103
- package/src/commands/ListLoggingConfigurationsCommand.ts +0 -106
- package/src/commands/ListRateBasedRulesCommand.ts +0 -103
- package/src/commands/ListRegexMatchSetsCommand.ts +0 -103
- package/src/commands/ListRegexPatternSetsCommand.ts +0 -103
- package/src/commands/ListRuleGroupsCommand.ts +0 -103
- package/src/commands/ListRulesCommand.ts +0 -96
- package/src/commands/ListSizeConstraintSetsCommand.ts +0 -103
- package/src/commands/ListSqlInjectionMatchSetsCommand.ts +0 -106
- package/src/commands/ListSubscribedRuleGroupsCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -104
- package/src/commands/ListWebACLsCommand.ts +0 -103
- package/src/commands/ListXssMatchSetsCommand.ts +0 -103
- package/src/commands/PutLoggingConfigurationCommand.ts +0 -120
- package/src/commands/PutPermissionPolicyCommand.ts +0 -135
- package/src/commands/TagResourceCommand.ts +0 -104
- package/src/commands/UntagResourceCommand.ts +0 -103
- package/src/commands/UpdateByteMatchSetCommand.ts +0 -141
- package/src/commands/UpdateGeoMatchSetCommand.ts +0 -133
- package/src/commands/UpdateIPSetCommand.ts +0 -168
- package/src/commands/UpdateRateBasedRuleCommand.ts +0 -149
- package/src/commands/UpdateRegexMatchSetCommand.ts +0 -137
- package/src/commands/UpdateRegexPatternSetCommand.ts +0 -142
- package/src/commands/UpdateRuleCommand.ts +0 -144
- package/src/commands/UpdateRuleGroupCommand.ts +0 -127
- package/src/commands/UpdateSizeConstraintSetCommand.ts +0 -145
- package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -147
- package/src/commands/UpdateWebACLCommand.ts +0 -174
- package/src/commands/UpdateXssMatchSetCommand.ts +0 -146
- package/src/endpoints.ts +0 -68
- package/src/index.ts +0 -80
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7494
- package/src/protocols/Aws_json1_1.ts +0 -11232
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -77,2210 +77,313 @@ import { UpdateSqlInjectionMatchSetCommandInput, UpdateSqlInjectionMatchSetComma
|
|
|
77
77
|
import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
|
|
78
78
|
import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from "./commands/UpdateXssMatchSetCommand";
|
|
79
79
|
import { WAFClient } from "./WAFClient";
|
|
80
|
-
|
|
81
|
-
* <note>
|
|
82
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
83
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
84
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
85
|
-
* <p>
|
|
86
|
-
* <b>For the latest version of AWS
|
|
87
|
-
* 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>
|
|
88
|
-
* </note>
|
|
89
|
-
* <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,
|
|
90
|
-
* 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
|
|
91
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
|
|
92
|
-
*/
|
|
80
|
+
|
|
93
81
|
export declare class WAF extends WAFClient {
|
|
94
|
-
|
|
95
|
-
* <note>
|
|
96
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
97
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
98
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
99
|
-
* <p>
|
|
100
|
-
* <b>For the latest version of AWS
|
|
101
|
-
* 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>
|
|
102
|
-
* </note>
|
|
103
|
-
* <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
|
|
104
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
105
|
-
* For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
106
|
-
* that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
107
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
108
|
-
* <ol>
|
|
109
|
-
* <li>
|
|
110
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
111
|
-
* <code>CreateByteMatchSet</code> request.</p>
|
|
112
|
-
* </li>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>Submit a <code>CreateByteMatchSet</code> request.</p>
|
|
115
|
-
* </li>
|
|
116
|
-
* <li>
|
|
117
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
118
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
119
|
-
* </li>
|
|
120
|
-
* <li>
|
|
121
|
-
* <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
122
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
123
|
-
* </li>
|
|
124
|
-
* </ol>
|
|
125
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
126
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
127
|
-
*/
|
|
82
|
+
|
|
128
83
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateByteMatchSetCommandOutput>;
|
|
129
84
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
130
85
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
131
|
-
|
|
132
|
-
* <note>
|
|
133
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
134
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
135
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
136
|
-
* <p>
|
|
137
|
-
* <b>For the latest version of AWS
|
|
138
|
-
* 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>
|
|
139
|
-
* </note>
|
|
140
|
-
* <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
|
|
141
|
-
* 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>
|
|
142
|
-
* <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
143
|
-
* <ol>
|
|
144
|
-
* <li>
|
|
145
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
146
|
-
* <code>CreateGeoMatchSet</code> request.</p>
|
|
147
|
-
* </li>
|
|
148
|
-
* <li>
|
|
149
|
-
* <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
|
|
150
|
-
* </li>
|
|
151
|
-
* <li>
|
|
152
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
153
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
154
|
-
* </li>
|
|
155
|
-
* <li>
|
|
156
|
-
* <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
|
|
157
|
-
* </li>
|
|
158
|
-
* </ol>
|
|
159
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
160
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
161
|
-
*/
|
|
86
|
+
|
|
162
87
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateGeoMatchSetCommandOutput>;
|
|
163
88
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
164
89
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
165
|
-
|
|
166
|
-
* <note>
|
|
167
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
168
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
169
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
170
|
-
* <p>
|
|
171
|
-
* <b>For the latest version of AWS
|
|
172
|
-
* 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>
|
|
173
|
-
* </note>
|
|
174
|
-
* <p>Creates an <a>IPSet</a>, which you use to specify which web requests
|
|
175
|
-
* that
|
|
176
|
-
* you want to allow or block based on the IP addresses that the requests
|
|
177
|
-
* originate from. For example, if you're receiving a lot of requests from one or more
|
|
178
|
-
* individual IP addresses or one or more ranges of IP addresses and you want to block the
|
|
179
|
-
* requests, you can create an <code>IPSet</code> that contains those IP addresses and then
|
|
180
|
-
* configure AWS WAF to block the requests. </p>
|
|
181
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
182
|
-
* <ol>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
185
|
-
* <code>CreateIPSet</code> request.</p>
|
|
186
|
-
* </li>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>Submit a <code>CreateIPSet</code> request.</p>
|
|
189
|
-
* </li>
|
|
190
|
-
* <li>
|
|
191
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
192
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
|
|
196
|
-
* </li>
|
|
197
|
-
* </ol>
|
|
198
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
199
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
200
|
-
*/
|
|
90
|
+
|
|
201
91
|
createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
|
|
202
92
|
createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
203
93
|
createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
204
|
-
|
|
205
|
-
* <note>
|
|
206
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
207
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
208
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
209
|
-
* <p>
|
|
210
|
-
* <b>For the latest version of AWS
|
|
211
|
-
* 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>
|
|
212
|
-
* </note>
|
|
213
|
-
* <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
|
|
214
|
-
* <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
|
|
215
|
-
* from a specified IP address in a five-minute period.
|
|
216
|
-
* The <code>RateBasedRule</code> also
|
|
217
|
-
* contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
|
|
218
|
-
* predicates that identify the requests that you want to count or block if these requests
|
|
219
|
-
* exceed the <code>RateLimit</code>.</p>
|
|
220
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
|
|
221
|
-
* only must exceed the <code>RateLimit</code>, but it also must match all the
|
|
222
|
-
* conditions to be counted or blocked. For example, suppose you add the following to a
|
|
223
|
-
* <code>RateBasedRule</code>:</p>
|
|
224
|
-
* <ul>
|
|
225
|
-
* <li>
|
|
226
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
227
|
-
* </p>
|
|
228
|
-
* </li>
|
|
229
|
-
* <li>
|
|
230
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
231
|
-
* <code>User-Agent</code> header</p>
|
|
232
|
-
* </li>
|
|
233
|
-
* </ul>
|
|
234
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
235
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
236
|
-
* you want to block requests that meet the conditions in the rule. For a request to be
|
|
237
|
-
* blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
|
|
238
|
-
* <code>User-Agent</code> header in the request must contain the value
|
|
239
|
-
* <code>BadBot</code>. Further, requests that match these two conditions must be received at
|
|
240
|
-
* a rate of more than 1,000 requests every five minutes. If both conditions are met and the
|
|
241
|
-
* rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
|
|
242
|
-
* five-minute period, AWS WAF no longer blocks the requests.</p>
|
|
243
|
-
*
|
|
244
|
-
* <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
|
|
245
|
-
* <code>RateBasedRule</code>:</p>
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* <ul>
|
|
249
|
-
* <li>
|
|
250
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
251
|
-
* </p>
|
|
252
|
-
* </li>
|
|
253
|
-
* <li>
|
|
254
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
255
|
-
* </p>
|
|
256
|
-
* </li>
|
|
257
|
-
* <li>
|
|
258
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
259
|
-
* </p>
|
|
260
|
-
* </li>
|
|
261
|
-
* </ul>
|
|
262
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
263
|
-
* <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>
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* <p>To create and configure a <code>RateBasedRule</code>, perform the following
|
|
267
|
-
* steps:</p>
|
|
268
|
-
* <ol>
|
|
269
|
-
* <li>
|
|
270
|
-
* <p>Create and update the predicates that you want to include in the rule. For more
|
|
271
|
-
* information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
|
|
272
|
-
* and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
273
|
-
* </li>
|
|
274
|
-
* <li>
|
|
275
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
276
|
-
* in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
|
|
277
|
-
* request.</p>
|
|
278
|
-
* </li>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>Submit a <code>CreateRateBasedRule</code> request.</p>
|
|
281
|
-
* </li>
|
|
282
|
-
* <li>
|
|
283
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
|
|
284
|
-
* <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
|
|
285
|
-
* request.</p>
|
|
286
|
-
* </li>
|
|
287
|
-
* <li>
|
|
288
|
-
* <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
|
|
289
|
-
* that you want to include in the rule.</p>
|
|
290
|
-
* </li>
|
|
291
|
-
* <li>
|
|
292
|
-
* <p>Create and update a <code>WebACL</code> that contains the
|
|
293
|
-
* <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
294
|
-
* </li>
|
|
295
|
-
* </ol>
|
|
296
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
|
|
297
|
-
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
|
|
298
|
-
* Guide</a>.</p>
|
|
299
|
-
*/
|
|
94
|
+
|
|
300
95
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRateBasedRuleCommandOutput>;
|
|
301
96
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
302
97
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
303
|
-
|
|
304
|
-
* <note>
|
|
305
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
306
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
307
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
308
|
-
* <p>
|
|
309
|
-
* <b>For the latest version of AWS
|
|
310
|
-
* 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>
|
|
311
|
-
* </note>
|
|
312
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
313
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
314
|
-
* 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
|
|
315
|
-
* 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>
|
|
316
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
317
|
-
* <ol>
|
|
318
|
-
* <li>
|
|
319
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
320
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
321
|
-
* </li>
|
|
322
|
-
* <li>
|
|
323
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
324
|
-
* </li>
|
|
325
|
-
* <li>
|
|
326
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
327
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
328
|
-
* </li>
|
|
329
|
-
* <li>
|
|
330
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
331
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
332
|
-
* </li>
|
|
333
|
-
* </ol>
|
|
334
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
335
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
336
|
-
*/
|
|
98
|
+
|
|
337
99
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexMatchSetCommandOutput>;
|
|
338
100
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
339
101
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
340
|
-
|
|
341
|
-
* <note>
|
|
342
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
343
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
344
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
345
|
-
* <p>
|
|
346
|
-
* <b>For the latest version of AWS
|
|
347
|
-
* 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>
|
|
348
|
-
* </note>
|
|
349
|
-
* <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>
|
|
350
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
351
|
-
* <ol>
|
|
352
|
-
* <li>
|
|
353
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
354
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
355
|
-
* </li>
|
|
356
|
-
* <li>
|
|
357
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
358
|
-
* </li>
|
|
359
|
-
* <li>
|
|
360
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
361
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
362
|
-
* </li>
|
|
363
|
-
* <li>
|
|
364
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
365
|
-
* </li>
|
|
366
|
-
* </ol>
|
|
367
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
368
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
369
|
-
*/
|
|
102
|
+
|
|
370
103
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexPatternSetCommandOutput>;
|
|
371
104
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
372
105
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
373
|
-
|
|
374
|
-
* <note>
|
|
375
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
376
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
377
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
378
|
-
* <p>
|
|
379
|
-
* <b>For the latest version of AWS
|
|
380
|
-
* 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>
|
|
381
|
-
* </note>
|
|
382
|
-
* <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
|
|
383
|
-
* <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
|
|
384
|
-
* you want to block. If you add more than one predicate to a <code>Rule</code>, a request
|
|
385
|
-
* must match all of the specifications to be allowed or blocked. For example, suppose
|
|
386
|
-
* that
|
|
387
|
-
* you add the following to a <code>Rule</code>:</p>
|
|
388
|
-
* <ul>
|
|
389
|
-
* <li>
|
|
390
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
391
|
-
* </p>
|
|
392
|
-
* </li>
|
|
393
|
-
* <li>
|
|
394
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
395
|
-
* </li>
|
|
396
|
-
* </ul>
|
|
397
|
-
* <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>.
|
|
398
|
-
* 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
|
|
399
|
-
* must contain the value <code>BadBot</code>.</p>
|
|
400
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
401
|
-
* <ol>
|
|
402
|
-
* <li>
|
|
403
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
|
|
404
|
-
* <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
405
|
-
* </li>
|
|
406
|
-
* <li>
|
|
407
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
408
|
-
* <code>CreateRule</code> request.</p>
|
|
409
|
-
* </li>
|
|
410
|
-
* <li>
|
|
411
|
-
* <p>Submit a <code>CreateRule</code> request.</p>
|
|
412
|
-
* </li>
|
|
413
|
-
* <li>
|
|
414
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
415
|
-
* <a>UpdateRule</a> request.</p>
|
|
416
|
-
* </li>
|
|
417
|
-
* <li>
|
|
418
|
-
* <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
|
|
419
|
-
* </li>
|
|
420
|
-
* <li>
|
|
421
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
422
|
-
* </li>
|
|
423
|
-
* </ol>
|
|
424
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
425
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
426
|
-
*/
|
|
106
|
+
|
|
427
107
|
createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
|
|
428
108
|
createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
429
109
|
createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
430
|
-
|
|
431
|
-
* <note>
|
|
432
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
433
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
434
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
435
|
-
* <p>
|
|
436
|
-
* <b>For the latest version of AWS
|
|
437
|
-
* 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>
|
|
438
|
-
* </note>
|
|
439
|
-
* <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>
|
|
440
|
-
* <p>Rule groups are subject to the following limits:</p>
|
|
441
|
-
* <ul>
|
|
442
|
-
* <li>
|
|
443
|
-
* <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
|
|
444
|
-
* </li>
|
|
445
|
-
* <li>
|
|
446
|
-
* <p>One rule group per web ACL.</p>
|
|
447
|
-
* </li>
|
|
448
|
-
* <li>
|
|
449
|
-
* <p>Ten rules per rule group.</p>
|
|
450
|
-
* </li>
|
|
451
|
-
* </ul>
|
|
452
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
453
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
454
|
-
*/
|
|
110
|
+
|
|
455
111
|
createRuleGroup(args: CreateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupCommandOutput>;
|
|
456
112
|
createRuleGroup(args: CreateRuleGroupCommandInput, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
457
113
|
createRuleGroup(args: CreateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
458
|
-
|
|
459
|
-
* <note>
|
|
460
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
461
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
462
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
463
|
-
* <p>
|
|
464
|
-
* <b>For the latest version of AWS
|
|
465
|
-
* 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>
|
|
466
|
-
* </note>
|
|
467
|
-
* <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
|
|
468
|
-
* 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.
|
|
469
|
-
* For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
|
|
470
|
-
* You can then configure AWS WAF to reject those requests.</p>
|
|
471
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
472
|
-
* <ol>
|
|
473
|
-
* <li>
|
|
474
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
475
|
-
* <code>CreateSizeConstraintSet</code> request.</p>
|
|
476
|
-
* </li>
|
|
477
|
-
* <li>
|
|
478
|
-
* <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
|
|
479
|
-
* </li>
|
|
480
|
-
* <li>
|
|
481
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
482
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
483
|
-
* </li>
|
|
484
|
-
* <li>
|
|
485
|
-
* <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
486
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
487
|
-
* </li>
|
|
488
|
-
* </ol>
|
|
489
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
490
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
491
|
-
*/
|
|
114
|
+
|
|
492
115
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSizeConstraintSetCommandOutput>;
|
|
493
116
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
494
117
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
495
|
-
|
|
496
|
-
* <note>
|
|
497
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
498
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
499
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
500
|
-
* <p>
|
|
501
|
-
* <b>For the latest version of AWS
|
|
502
|
-
* 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>
|
|
503
|
-
* </note>
|
|
504
|
-
* <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
|
|
505
|
-
* specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
506
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
507
|
-
* <ol>
|
|
508
|
-
* <li>
|
|
509
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
510
|
-
* <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
511
|
-
* </li>
|
|
512
|
-
* <li>
|
|
513
|
-
* <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
514
|
-
* </li>
|
|
515
|
-
* <li>
|
|
516
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
517
|
-
* <a>UpdateSqlInjectionMatchSet</a> request.</p>
|
|
518
|
-
* </li>
|
|
519
|
-
* <li>
|
|
520
|
-
* <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
|
|
521
|
-
* allow, block, or count malicious SQL code.</p>
|
|
522
|
-
* </li>
|
|
523
|
-
* </ol>
|
|
524
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
525
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
526
|
-
*/
|
|
118
|
+
|
|
527
119
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSqlInjectionMatchSetCommandOutput>;
|
|
528
120
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
529
121
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
530
|
-
|
|
531
|
-
* <note>
|
|
532
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
533
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
534
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
535
|
-
* <p>
|
|
536
|
-
* <b>For the latest version of AWS
|
|
537
|
-
* 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>
|
|
538
|
-
* </note>
|
|
539
|
-
* <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.
|
|
540
|
-
* AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
|
|
541
|
-
* <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
|
|
542
|
-
* any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
|
|
543
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
544
|
-
* <ol>
|
|
545
|
-
* <li>
|
|
546
|
-
* <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
|
|
547
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
548
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
549
|
-
* </li>
|
|
550
|
-
* <li>
|
|
551
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
552
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
553
|
-
* </li>
|
|
554
|
-
* <li>
|
|
555
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
556
|
-
* <code>CreateWebACL</code> request.</p>
|
|
557
|
-
* </li>
|
|
558
|
-
* <li>
|
|
559
|
-
* <p>Submit a <code>CreateWebACL</code> request.</p>
|
|
560
|
-
* </li>
|
|
561
|
-
* <li>
|
|
562
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
563
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
564
|
-
* </li>
|
|
565
|
-
* <li>
|
|
566
|
-
* <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
|
|
567
|
-
* to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
|
|
568
|
-
* </li>
|
|
569
|
-
* </ol>
|
|
570
|
-
* <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>
|
|
571
|
-
*/
|
|
122
|
+
|
|
572
123
|
createWebACL(args: CreateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLCommandOutput>;
|
|
573
124
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
574
125
|
createWebACL(args: CreateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
575
|
-
|
|
576
|
-
* <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
|
|
577
|
-
* Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
|
|
578
|
-
* Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
|
|
579
|
-
* <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
|
|
580
|
-
* For the full procedure, including caveats and manual steps to complete
|
|
581
|
-
* the migration and switch over to the new web ACL, see
|
|
582
|
-
* <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
|
|
583
|
-
* Developer Guide</a>. </p>
|
|
584
|
-
*/
|
|
126
|
+
|
|
585
127
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLMigrationStackCommandOutput>;
|
|
586
128
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
587
129
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
588
|
-
|
|
589
|
-
* <note>
|
|
590
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
591
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
592
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
593
|
-
* <p>
|
|
594
|
-
* <b>For the latest version of AWS
|
|
595
|
-
* 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>
|
|
596
|
-
* </note>
|
|
597
|
-
* <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
|
|
598
|
-
* in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
599
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
600
|
-
* <ol>
|
|
601
|
-
* <li>
|
|
602
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
603
|
-
* <code>CreateXssMatchSet</code> request.</p>
|
|
604
|
-
* </li>
|
|
605
|
-
* <li>
|
|
606
|
-
* <p>Submit a <code>CreateXssMatchSet</code> request.</p>
|
|
607
|
-
* </li>
|
|
608
|
-
* <li>
|
|
609
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
610
|
-
* <a>UpdateXssMatchSet</a> request.</p>
|
|
611
|
-
* </li>
|
|
612
|
-
* <li>
|
|
613
|
-
* <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
|
|
614
|
-
* allow, block, or count cross-site scripting attacks.</p>
|
|
615
|
-
* </li>
|
|
616
|
-
* </ol>
|
|
617
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
618
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
619
|
-
*/
|
|
130
|
+
|
|
620
131
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateXssMatchSetCommandOutput>;
|
|
621
132
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
622
133
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
623
|
-
|
|
624
|
-
* <note>
|
|
625
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
626
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
627
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
628
|
-
* <p>
|
|
629
|
-
* <b>For the latest version of AWS
|
|
630
|
-
* 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>
|
|
631
|
-
* </note>
|
|
632
|
-
* <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>
|
|
633
|
-
* or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
|
|
634
|
-
* <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
635
|
-
* <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
636
|
-
* <ol>
|
|
637
|
-
* <li>
|
|
638
|
-
* <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
|
|
639
|
-
* </li>
|
|
640
|
-
* <li>
|
|
641
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
642
|
-
* <code>DeleteByteMatchSet</code> request.</p>
|
|
643
|
-
* </li>
|
|
644
|
-
* <li>
|
|
645
|
-
* <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
|
|
646
|
-
* </li>
|
|
647
|
-
* </ol>
|
|
648
|
-
*/
|
|
134
|
+
|
|
649
135
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteByteMatchSetCommandOutput>;
|
|
650
136
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
651
137
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
652
|
-
|
|
653
|
-
* <note>
|
|
654
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
655
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
656
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
657
|
-
* <p>
|
|
658
|
-
* <b>For the latest version of AWS
|
|
659
|
-
* 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>
|
|
660
|
-
* </note>
|
|
661
|
-
* <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
|
|
662
|
-
* if it still includes any countries.</p>
|
|
663
|
-
* <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
664
|
-
* <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
665
|
-
* <ol>
|
|
666
|
-
* <li>
|
|
667
|
-
* <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
|
|
668
|
-
* </li>
|
|
669
|
-
* <li>
|
|
670
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
671
|
-
* <code>DeleteGeoMatchSet</code> request.</p>
|
|
672
|
-
* </li>
|
|
673
|
-
* <li>
|
|
674
|
-
* <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
|
|
675
|
-
* </li>
|
|
676
|
-
* </ol>
|
|
677
|
-
*/
|
|
138
|
+
|
|
678
139
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGeoMatchSetCommandOutput>;
|
|
679
140
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
680
141
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
681
|
-
|
|
682
|
-
* <note>
|
|
683
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
684
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
685
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
686
|
-
* <p>
|
|
687
|
-
* <b>For the latest version of AWS
|
|
688
|
-
* 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>
|
|
689
|
-
* </note>
|
|
690
|
-
* <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
|
|
691
|
-
* if it still includes any IP addresses.</p>
|
|
692
|
-
* <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
693
|
-
* <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
|
|
694
|
-
* <ol>
|
|
695
|
-
* <li>
|
|
696
|
-
* <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
|
|
697
|
-
* </li>
|
|
698
|
-
* <li>
|
|
699
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
700
|
-
* <code>DeleteIPSet</code> request.</p>
|
|
701
|
-
* </li>
|
|
702
|
-
* <li>
|
|
703
|
-
* <p>Submit a <code>DeleteIPSet</code> request.</p>
|
|
704
|
-
* </li>
|
|
705
|
-
* </ol>
|
|
706
|
-
*/
|
|
142
|
+
|
|
707
143
|
deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
708
144
|
deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
709
145
|
deleteIPSet(args: DeleteIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
710
|
-
|
|
711
|
-
* <note>
|
|
712
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
713
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
714
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
715
|
-
* <p>
|
|
716
|
-
* <b>For the latest version of AWS
|
|
717
|
-
* 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>
|
|
718
|
-
* </note>
|
|
719
|
-
* <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
|
|
720
|
-
* ACL.</p>
|
|
721
|
-
*/
|
|
146
|
+
|
|
722
147
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
723
148
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
724
149
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
725
|
-
|
|
726
|
-
* <note>
|
|
727
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
728
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
729
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
730
|
-
* <p>
|
|
731
|
-
* <b>For the latest version of AWS
|
|
732
|
-
* 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>
|
|
733
|
-
* </note>
|
|
734
|
-
* <p>Permanently deletes an IAM policy from the specified RuleGroup.</p>
|
|
735
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
736
|
-
*/
|
|
150
|
+
|
|
737
151
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePermissionPolicyCommandOutput>;
|
|
738
152
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
739
153
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
740
|
-
|
|
741
|
-
* <note>
|
|
742
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
743
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
744
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
745
|
-
* <p>
|
|
746
|
-
* <b>For the latest version of AWS
|
|
747
|
-
* 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>
|
|
748
|
-
* </note>
|
|
749
|
-
* <p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if
|
|
750
|
-
* it's still used in any <code>WebACL</code> objects or if it still includes any predicates,
|
|
751
|
-
* such as <code>ByteMatchSet</code> objects.</p>
|
|
752
|
-
* <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
753
|
-
* <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following
|
|
754
|
-
* steps:</p>
|
|
755
|
-
* <ol>
|
|
756
|
-
* <li>
|
|
757
|
-
* <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more
|
|
758
|
-
* information, see <a>UpdateRateBasedRule</a>.</p>
|
|
759
|
-
* </li>
|
|
760
|
-
* <li>
|
|
761
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
762
|
-
* in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code>
|
|
763
|
-
* request.</p>
|
|
764
|
-
* </li>
|
|
765
|
-
* <li>
|
|
766
|
-
* <p>Submit a <code>DeleteRateBasedRule</code> request.</p>
|
|
767
|
-
* </li>
|
|
768
|
-
* </ol>
|
|
769
|
-
*/
|
|
154
|
+
|
|
770
155
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRateBasedRuleCommandOutput>;
|
|
771
156
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
772
157
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
773
|
-
|
|
774
|
-
* <note>
|
|
775
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
776
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
777
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
778
|
-
* <p>
|
|
779
|
-
* <b>For the latest version of AWS
|
|
780
|
-
* 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>
|
|
781
|
-
* </note>
|
|
782
|
-
* <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>
|
|
783
|
-
* or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p>
|
|
784
|
-
* <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
785
|
-
* <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
786
|
-
* <ol>
|
|
787
|
-
* <li>
|
|
788
|
-
* <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p>
|
|
789
|
-
* </li>
|
|
790
|
-
* <li>
|
|
791
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
792
|
-
* <code>DeleteRegexMatchSet</code> request.</p>
|
|
793
|
-
* </li>
|
|
794
|
-
* <li>
|
|
795
|
-
* <p>Submit a <code>DeleteRegexMatchSet</code> request.</p>
|
|
796
|
-
* </li>
|
|
797
|
-
* </ol>
|
|
798
|
-
*/
|
|
158
|
+
|
|
799
159
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexMatchSetCommandOutput>;
|
|
800
160
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
801
161
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
802
|
-
|
|
803
|
-
* <note>
|
|
804
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
805
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
806
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
807
|
-
* <p>
|
|
808
|
-
* <b>For the latest version of AWS
|
|
809
|
-
* 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>
|
|
810
|
-
* </note>
|
|
811
|
-
* <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>
|
|
812
|
-
* or if the <code>RegexPatternSet</code> is not empty. </p>
|
|
813
|
-
*/
|
|
162
|
+
|
|
814
163
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexPatternSetCommandOutput>;
|
|
815
164
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
816
165
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
817
|
-
|
|
818
|
-
* <note>
|
|
819
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
820
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
821
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
822
|
-
* <p>
|
|
823
|
-
* <b>For the latest version of AWS
|
|
824
|
-
* 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>
|
|
825
|
-
* </note>
|
|
826
|
-
* <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>
|
|
827
|
-
* objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p>
|
|
828
|
-
* <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
829
|
-
* <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p>
|
|
830
|
-
* <ol>
|
|
831
|
-
* <li>
|
|
832
|
-
* <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p>
|
|
833
|
-
* </li>
|
|
834
|
-
* <li>
|
|
835
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
836
|
-
* <code>DeleteRule</code> request.</p>
|
|
837
|
-
* </li>
|
|
838
|
-
* <li>
|
|
839
|
-
* <p>Submit a <code>DeleteRule</code> request.</p>
|
|
840
|
-
* </li>
|
|
841
|
-
* </ol>
|
|
842
|
-
*/
|
|
166
|
+
|
|
843
167
|
deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
844
168
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
845
169
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
846
|
-
|
|
847
|
-
* <note>
|
|
848
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
849
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
850
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
851
|
-
* <p>
|
|
852
|
-
* <b>For the latest version of AWS
|
|
853
|
-
* 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>
|
|
854
|
-
* </note>
|
|
855
|
-
* <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>
|
|
856
|
-
* objects or if it still includes any rules.</p>
|
|
857
|
-
* <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
858
|
-
* <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p>
|
|
859
|
-
* <ol>
|
|
860
|
-
* <li>
|
|
861
|
-
* <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p>
|
|
862
|
-
* </li>
|
|
863
|
-
* <li>
|
|
864
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
865
|
-
* <code>DeleteRuleGroup</code> request.</p>
|
|
866
|
-
* </li>
|
|
867
|
-
* <li>
|
|
868
|
-
* <p>Submit a <code>DeleteRuleGroup</code> request.</p>
|
|
869
|
-
* </li>
|
|
870
|
-
* </ol>
|
|
871
|
-
*/
|
|
170
|
+
|
|
872
171
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupCommandOutput>;
|
|
873
172
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
874
173
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
875
|
-
|
|
876
|
-
* <note>
|
|
877
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
878
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
879
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
880
|
-
* <p>
|
|
881
|
-
* <b>For the latest version of AWS
|
|
882
|
-
* 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>
|
|
883
|
-
* </note>
|
|
884
|
-
* <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>
|
|
885
|
-
* or if it still includes any <a>SizeConstraint</a> objects (any filters).</p>
|
|
886
|
-
* <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
887
|
-
* <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
888
|
-
* <ol>
|
|
889
|
-
* <li>
|
|
890
|
-
* <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p>
|
|
891
|
-
* </li>
|
|
892
|
-
* <li>
|
|
893
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
894
|
-
* <code>DeleteSizeConstraintSet</code> request.</p>
|
|
895
|
-
* </li>
|
|
896
|
-
* <li>
|
|
897
|
-
* <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p>
|
|
898
|
-
* </li>
|
|
899
|
-
* </ol>
|
|
900
|
-
*/
|
|
174
|
+
|
|
901
175
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSizeConstraintSetCommandOutput>;
|
|
902
176
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
903
177
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
904
|
-
|
|
905
|
-
* <note>
|
|
906
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
907
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
908
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
909
|
-
* <p>
|
|
910
|
-
* <b>For the latest version of AWS
|
|
911
|
-
* 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>
|
|
912
|
-
* </note>
|
|
913
|
-
* <p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's
|
|
914
|
-
* still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p>
|
|
915
|
-
* <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
916
|
-
* <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
917
|
-
* <ol>
|
|
918
|
-
* <li>
|
|
919
|
-
* <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see
|
|
920
|
-
* <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
921
|
-
* </li>
|
|
922
|
-
* <li>
|
|
923
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
924
|
-
* <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
925
|
-
* </li>
|
|
926
|
-
* <li>
|
|
927
|
-
* <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
928
|
-
* </li>
|
|
929
|
-
* </ol>
|
|
930
|
-
*/
|
|
178
|
+
|
|
931
179
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSqlInjectionMatchSetCommandOutput>;
|
|
932
180
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
933
181
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
934
|
-
|
|
935
|
-
* <note>
|
|
936
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
937
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
938
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
939
|
-
* <p>
|
|
940
|
-
* <b>For the latest version of AWS
|
|
941
|
-
* 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>
|
|
942
|
-
* </note>
|
|
943
|
-
* <p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p>
|
|
944
|
-
* <p>To delete a <code>WebACL</code>, perform the following steps:</p>
|
|
945
|
-
* <ol>
|
|
946
|
-
* <li>
|
|
947
|
-
* <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p>
|
|
948
|
-
* </li>
|
|
949
|
-
* <li>
|
|
950
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
951
|
-
* <code>DeleteWebACL</code> request.</p>
|
|
952
|
-
* </li>
|
|
953
|
-
* <li>
|
|
954
|
-
* <p>Submit a <code>DeleteWebACL</code> request.</p>
|
|
955
|
-
* </li>
|
|
956
|
-
* </ol>
|
|
957
|
-
*/
|
|
182
|
+
|
|
958
183
|
deleteWebACL(args: DeleteWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebACLCommandOutput>;
|
|
959
184
|
deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
960
185
|
deleteWebACL(args: DeleteWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
961
|
-
|
|
962
|
-
* <note>
|
|
963
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
964
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
965
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
966
|
-
* <p>
|
|
967
|
-
* <b>For the latest version of AWS
|
|
968
|
-
* 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>
|
|
969
|
-
* </note>
|
|
970
|
-
* <p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's
|
|
971
|
-
* still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p>
|
|
972
|
-
* <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
973
|
-
* <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
974
|
-
* <ol>
|
|
975
|
-
* <li>
|
|
976
|
-
* <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see
|
|
977
|
-
* <a>UpdateXssMatchSet</a>.</p>
|
|
978
|
-
* </li>
|
|
979
|
-
* <li>
|
|
980
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
981
|
-
* <code>DeleteXssMatchSet</code> request.</p>
|
|
982
|
-
* </li>
|
|
983
|
-
* <li>
|
|
984
|
-
* <p>Submit a <code>DeleteXssMatchSet</code> request.</p>
|
|
985
|
-
* </li>
|
|
986
|
-
* </ol>
|
|
987
|
-
*/
|
|
186
|
+
|
|
988
187
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteXssMatchSetCommandOutput>;
|
|
989
188
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
990
189
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
991
|
-
|
|
992
|
-
* <note>
|
|
993
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
994
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
995
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
996
|
-
* <p>
|
|
997
|
-
* <b>For the latest version of AWS
|
|
998
|
-
* 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>
|
|
999
|
-
* </note>
|
|
1000
|
-
* <p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>
|
|
1001
|
-
*/
|
|
190
|
+
|
|
1002
191
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetByteMatchSetCommandOutput>;
|
|
1003
192
|
getByteMatchSet(args: GetByteMatchSetCommandInput, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1004
193
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1005
|
-
|
|
1006
|
-
* <note>
|
|
1007
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1008
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1009
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1010
|
-
* <p>
|
|
1011
|
-
* <b>For the latest version of AWS
|
|
1012
|
-
* 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>
|
|
1013
|
-
* </note>
|
|
1014
|
-
* <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>
|
|
1015
|
-
* <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request
|
|
1016
|
-
* and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second
|
|
1017
|
-
* <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p>
|
|
1018
|
-
* <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>,
|
|
1019
|
-
* which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the
|
|
1020
|
-
* status of your change token.</p>
|
|
1021
|
-
*/
|
|
194
|
+
|
|
1022
195
|
getChangeToken(args: GetChangeTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenCommandOutput>;
|
|
1023
196
|
getChangeToken(args: GetChangeTokenCommandInput, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1024
197
|
getChangeToken(args: GetChangeTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1025
|
-
|
|
1026
|
-
* <note>
|
|
1027
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1028
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1029
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1030
|
-
* <p>
|
|
1031
|
-
* <b>For the latest version of AWS
|
|
1032
|
-
* 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>
|
|
1033
|
-
* </note>
|
|
1034
|
-
* <p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is
|
|
1035
|
-
* one of the following values:</p>
|
|
1036
|
-
* <ul>
|
|
1037
|
-
* <li>
|
|
1038
|
-
* <p>
|
|
1039
|
-
* <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet
|
|
1040
|
-
* in a call to create, update, or delete an AWS WAF object.</p>
|
|
1041
|
-
* </li>
|
|
1042
|
-
* <li>
|
|
1043
|
-
* <p>
|
|
1044
|
-
* <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p>
|
|
1045
|
-
* </li>
|
|
1046
|
-
* <li>
|
|
1047
|
-
* <p>
|
|
1048
|
-
* <code>INSYNC</code>: Propagation is complete.</p>
|
|
1049
|
-
* </li>
|
|
1050
|
-
* </ul>
|
|
1051
|
-
*/
|
|
198
|
+
|
|
1052
199
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenStatusCommandOutput>;
|
|
1053
200
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1054
201
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1055
|
-
|
|
1056
|
-
* <note>
|
|
1057
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1058
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1059
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1060
|
-
* <p>
|
|
1061
|
-
* <b>For the latest version of AWS
|
|
1062
|
-
* 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>
|
|
1063
|
-
* </note>
|
|
1064
|
-
* <p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>
|
|
1065
|
-
*/
|
|
202
|
+
|
|
1066
203
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetGeoMatchSetCommandOutput>;
|
|
1067
204
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1068
205
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1069
|
-
|
|
1070
|
-
* <note>
|
|
1071
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1072
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1073
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1074
|
-
* <p>
|
|
1075
|
-
* <b>For the latest version of AWS
|
|
1076
|
-
* 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>
|
|
1077
|
-
* </note>
|
|
1078
|
-
* <p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>
|
|
1079
|
-
*/
|
|
206
|
+
|
|
1080
207
|
getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
1081
208
|
getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1082
209
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1083
|
-
|
|
1084
|
-
* <note>
|
|
1085
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1086
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1087
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1088
|
-
* <p>
|
|
1089
|
-
* <b>For the latest version of AWS
|
|
1090
|
-
* 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>
|
|
1091
|
-
* </note>
|
|
1092
|
-
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
1093
|
-
*/
|
|
210
|
+
|
|
1094
211
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLoggingConfigurationCommandOutput>;
|
|
1095
212
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1096
213
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1097
|
-
|
|
1098
|
-
* <note>
|
|
1099
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1100
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1101
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1102
|
-
* <p>
|
|
1103
|
-
* <b>For the latest version of AWS
|
|
1104
|
-
* 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>
|
|
1105
|
-
* </note>
|
|
1106
|
-
* <p>Returns the IAM policy attached to the RuleGroup.</p>
|
|
1107
|
-
*/
|
|
214
|
+
|
|
1108
215
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionPolicyCommandOutput>;
|
|
1109
216
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1110
217
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1111
|
-
|
|
1112
|
-
* <note>
|
|
1113
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1114
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1115
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1116
|
-
* <p>
|
|
1117
|
-
* <b>For the latest version of AWS
|
|
1118
|
-
* 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>
|
|
1119
|
-
* </note>
|
|
1120
|
-
* <p>Returns the <a>RateBasedRule</a> that is specified by the
|
|
1121
|
-
* <code>RuleId</code> that you included in the <code>GetRateBasedRule</code>
|
|
1122
|
-
* request.</p>
|
|
1123
|
-
*/
|
|
218
|
+
|
|
1124
219
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleCommandOutput>;
|
|
1125
220
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1126
221
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1127
|
-
|
|
1128
|
-
* <note>
|
|
1129
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1130
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1131
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1132
|
-
* <p>
|
|
1133
|
-
* <b>For the latest version of AWS
|
|
1134
|
-
* 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>
|
|
1135
|
-
* </note>
|
|
1136
|
-
* <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
|
|
1137
|
-
* number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed
|
|
1138
|
-
* the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>
|
|
1139
|
-
*/
|
|
222
|
+
|
|
1140
223
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleManagedKeysCommandOutput>;
|
|
1141
224
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1142
225
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1143
|
-
|
|
1144
|
-
* <note>
|
|
1145
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1146
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1147
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1148
|
-
* <p>
|
|
1149
|
-
* <b>For the latest version of AWS
|
|
1150
|
-
* 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>
|
|
1151
|
-
* </note>
|
|
1152
|
-
* <p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>
|
|
1153
|
-
*/
|
|
226
|
+
|
|
1154
227
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexMatchSetCommandOutput>;
|
|
1155
228
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1156
229
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1157
|
-
|
|
1158
|
-
* <note>
|
|
1159
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1160
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1161
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1162
|
-
* <p>
|
|
1163
|
-
* <b>For the latest version of AWS
|
|
1164
|
-
* 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>
|
|
1165
|
-
* </note>
|
|
1166
|
-
* <p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>
|
|
1167
|
-
*/
|
|
230
|
+
|
|
1168
231
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexPatternSetCommandOutput>;
|
|
1169
232
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1170
233
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1171
|
-
|
|
1172
|
-
* <note>
|
|
1173
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1174
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1175
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1176
|
-
* <p>
|
|
1177
|
-
* <b>For the latest version of AWS
|
|
1178
|
-
* 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>
|
|
1179
|
-
* </note>
|
|
1180
|
-
* <p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>
|
|
1181
|
-
*/
|
|
234
|
+
|
|
1182
235
|
getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
|
|
1183
236
|
getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1184
237
|
getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1185
|
-
|
|
1186
|
-
* <note>
|
|
1187
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1188
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1189
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1190
|
-
* <p>
|
|
1191
|
-
* <b>For the latest version of AWS
|
|
1192
|
-
* 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>
|
|
1193
|
-
* </note>
|
|
1194
|
-
* <p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p>
|
|
1195
|
-
* <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>
|
|
1196
|
-
*/
|
|
238
|
+
|
|
1197
239
|
getRuleGroup(args: GetRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleGroupCommandOutput>;
|
|
1198
240
|
getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1199
241
|
getRuleGroup(args: GetRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1200
|
-
|
|
1201
|
-
* <note>
|
|
1202
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1203
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1204
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1205
|
-
* <p>
|
|
1206
|
-
* <b>For the latest version of AWS
|
|
1207
|
-
* 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>
|
|
1208
|
-
* </note>
|
|
1209
|
-
* <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>
|
|
1210
|
-
* <p>
|
|
1211
|
-
* <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource
|
|
1212
|
-
* (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code>
|
|
1213
|
-
* returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>
|
|
1214
|
-
*/
|
|
242
|
+
|
|
1215
243
|
getSampledRequests(args: GetSampledRequestsCommandInput, options?: __HttpHandlerOptions): Promise<GetSampledRequestsCommandOutput>;
|
|
1216
244
|
getSampledRequests(args: GetSampledRequestsCommandInput, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1217
245
|
getSampledRequests(args: GetSampledRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1218
|
-
|
|
1219
|
-
* <note>
|
|
1220
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1221
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1222
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1223
|
-
* <p>
|
|
1224
|
-
* <b>For the latest version of AWS
|
|
1225
|
-
* 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>
|
|
1226
|
-
* </note>
|
|
1227
|
-
* <p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>
|
|
1228
|
-
*/
|
|
246
|
+
|
|
1229
247
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSizeConstraintSetCommandOutput>;
|
|
1230
248
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1231
249
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1232
|
-
|
|
1233
|
-
* <note>
|
|
1234
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1235
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1236
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1237
|
-
* <p>
|
|
1238
|
-
* <b>For the latest version of AWS
|
|
1239
|
-
* 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>
|
|
1240
|
-
* </note>
|
|
1241
|
-
* <p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>
|
|
1242
|
-
*/
|
|
250
|
+
|
|
1243
251
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSqlInjectionMatchSetCommandOutput>;
|
|
1244
252
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1245
253
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1246
|
-
|
|
1247
|
-
* <note>
|
|
1248
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1249
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1250
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1251
|
-
* <p>
|
|
1252
|
-
* <b>For the latest version of AWS
|
|
1253
|
-
* 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>
|
|
1254
|
-
* </note>
|
|
1255
|
-
* <p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>
|
|
1256
|
-
*/
|
|
254
|
+
|
|
1257
255
|
getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
|
|
1258
256
|
getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1259
257
|
getWebACL(args: GetWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1260
|
-
|
|
1261
|
-
* <note>
|
|
1262
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1263
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1264
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1265
|
-
* <p>
|
|
1266
|
-
* <b>For the latest version of AWS
|
|
1267
|
-
* 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>
|
|
1268
|
-
* </note>
|
|
1269
|
-
* <p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>
|
|
1270
|
-
*/
|
|
258
|
+
|
|
1271
259
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetXssMatchSetCommandOutput>;
|
|
1272
260
|
getXssMatchSet(args: GetXssMatchSetCommandInput, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1273
261
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1274
|
-
|
|
1275
|
-
* <note>
|
|
1276
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1277
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1278
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1279
|
-
* <p>
|
|
1280
|
-
* <b>For the latest version of AWS
|
|
1281
|
-
* 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>
|
|
1282
|
-
* </note>
|
|
1283
|
-
* <p>Returns an array of <a>ActivatedRule</a> objects.</p>
|
|
1284
|
-
*/
|
|
262
|
+
|
|
1285
263
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListActivatedRulesInRuleGroupCommandOutput>;
|
|
1286
264
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1287
265
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1288
|
-
|
|
1289
|
-
* <note>
|
|
1290
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1291
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1292
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1293
|
-
* <p>
|
|
1294
|
-
* <b>For the latest version of AWS
|
|
1295
|
-
* 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>
|
|
1296
|
-
* </note>
|
|
1297
|
-
* <p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
1298
|
-
*/
|
|
266
|
+
|
|
1299
267
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListByteMatchSetsCommandOutput>;
|
|
1300
268
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1301
269
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1302
|
-
|
|
1303
|
-
* <note>
|
|
1304
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1305
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1306
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1307
|
-
* <p>
|
|
1308
|
-
* <b>For the latest version of AWS
|
|
1309
|
-
* 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>
|
|
1310
|
-
* </note>
|
|
1311
|
-
* <p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>
|
|
1312
|
-
*/
|
|
270
|
+
|
|
1313
271
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListGeoMatchSetsCommandOutput>;
|
|
1314
272
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1315
273
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1316
|
-
|
|
1317
|
-
* <note>
|
|
1318
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1319
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1320
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1321
|
-
* <p>
|
|
1322
|
-
* <b>For the latest version of AWS
|
|
1323
|
-
* 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>
|
|
1324
|
-
* </note>
|
|
1325
|
-
* <p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>
|
|
1326
|
-
*/
|
|
274
|
+
|
|
1327
275
|
listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
|
|
1328
276
|
listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1329
277
|
listIPSets(args: ListIPSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1330
|
-
|
|
1331
|
-
* <note>
|
|
1332
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1333
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1334
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1335
|
-
* <p>
|
|
1336
|
-
* <b>For the latest version of AWS
|
|
1337
|
-
* 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>
|
|
1338
|
-
* </note>
|
|
1339
|
-
* <p>Returns an array of <a>LoggingConfiguration</a> objects.</p>
|
|
1340
|
-
*/
|
|
278
|
+
|
|
1341
279
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLoggingConfigurationsCommandOutput>;
|
|
1342
280
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1343
281
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1344
|
-
|
|
1345
|
-
* <note>
|
|
1346
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1347
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1348
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1349
|
-
* <p>
|
|
1350
|
-
* <b>For the latest version of AWS
|
|
1351
|
-
* 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>
|
|
1352
|
-
* </note>
|
|
1353
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
1354
|
-
*/
|
|
282
|
+
|
|
1355
283
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRateBasedRulesCommandOutput>;
|
|
1356
284
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1357
285
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1358
|
-
|
|
1359
|
-
* <note>
|
|
1360
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1361
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1362
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1363
|
-
* <p>
|
|
1364
|
-
* <b>For the latest version of AWS
|
|
1365
|
-
* 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>
|
|
1366
|
-
* </note>
|
|
1367
|
-
* <p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
1368
|
-
*/
|
|
286
|
+
|
|
1369
287
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexMatchSetsCommandOutput>;
|
|
1370
288
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1371
289
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1372
|
-
|
|
1373
|
-
* <note>
|
|
1374
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1375
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1376
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1377
|
-
* <p>
|
|
1378
|
-
* <b>For the latest version of AWS
|
|
1379
|
-
* 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>
|
|
1380
|
-
* </note>
|
|
1381
|
-
* <p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
1382
|
-
*/
|
|
290
|
+
|
|
1383
291
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexPatternSetsCommandOutput>;
|
|
1384
292
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1385
293
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1386
|
-
|
|
1387
|
-
* <note>
|
|
1388
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1389
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1390
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1391
|
-
* <p>
|
|
1392
|
-
* <b>For the latest version of AWS
|
|
1393
|
-
* 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>
|
|
1394
|
-
* </note>
|
|
1395
|
-
* <p>Returns an array of <a>RuleGroup</a> objects.</p>
|
|
1396
|
-
*/
|
|
294
|
+
|
|
1397
295
|
listRuleGroups(args: ListRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsCommandOutput>;
|
|
1398
296
|
listRuleGroups(args: ListRuleGroupsCommandInput, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1399
297
|
listRuleGroups(args: ListRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1400
|
-
|
|
1401
|
-
* <note>
|
|
1402
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1403
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1404
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1405
|
-
* <p>
|
|
1406
|
-
* <b>For the latest version of AWS
|
|
1407
|
-
* 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>
|
|
1408
|
-
* </note>
|
|
1409
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
1410
|
-
*/
|
|
298
|
+
|
|
1411
299
|
listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
|
|
1412
300
|
listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1413
301
|
listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1414
|
-
|
|
1415
|
-
* <note>
|
|
1416
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1417
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1418
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1419
|
-
* <p>
|
|
1420
|
-
* <b>For the latest version of AWS
|
|
1421
|
-
* 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>
|
|
1422
|
-
* </note>
|
|
1423
|
-
* <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
1424
|
-
*/
|
|
302
|
+
|
|
1425
303
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSizeConstraintSetsCommandOutput>;
|
|
1426
304
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1427
305
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1428
|
-
|
|
1429
|
-
* <note>
|
|
1430
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1431
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1432
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1433
|
-
* <p>
|
|
1434
|
-
* <b>For the latest version of AWS
|
|
1435
|
-
* 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>
|
|
1436
|
-
* </note>
|
|
1437
|
-
* <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
1438
|
-
*/
|
|
306
|
+
|
|
1439
307
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSqlInjectionMatchSetsCommandOutput>;
|
|
1440
308
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1441
309
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1442
|
-
|
|
1443
|
-
* <note>
|
|
1444
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1445
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1446
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1447
|
-
* <p>
|
|
1448
|
-
* <b>For the latest version of AWS
|
|
1449
|
-
* 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>
|
|
1450
|
-
* </note>
|
|
1451
|
-
* <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
1452
|
-
*/
|
|
310
|
+
|
|
1453
311
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscribedRuleGroupsCommandOutput>;
|
|
1454
312
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1455
313
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1456
|
-
|
|
1457
|
-
* <note>
|
|
1458
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1459
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1460
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1461
|
-
* <p>
|
|
1462
|
-
* <b>For the latest version of AWS
|
|
1463
|
-
* 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>
|
|
1464
|
-
* </note>
|
|
1465
|
-
* <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>
|
|
1466
|
-
* <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>
|
|
1467
|
-
*/
|
|
314
|
+
|
|
1468
315
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
1469
316
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1470
317
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1471
|
-
|
|
1472
|
-
* <note>
|
|
1473
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1474
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1475
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1476
|
-
* <p>
|
|
1477
|
-
* <b>For the latest version of AWS
|
|
1478
|
-
* 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>
|
|
1479
|
-
* </note>
|
|
1480
|
-
* <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
|
|
1481
|
-
*/
|
|
318
|
+
|
|
1482
319
|
listWebACLs(args: ListWebACLsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebACLsCommandOutput>;
|
|
1483
320
|
listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1484
321
|
listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1485
|
-
|
|
1486
|
-
* <note>
|
|
1487
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1488
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1489
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1490
|
-
* <p>
|
|
1491
|
-
* <b>For the latest version of AWS
|
|
1492
|
-
* 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>
|
|
1493
|
-
* </note>
|
|
1494
|
-
* <p>Returns an array of <a>XssMatchSet</a> objects.</p>
|
|
1495
|
-
*/
|
|
322
|
+
|
|
1496
323
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListXssMatchSetsCommandOutput>;
|
|
1497
324
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1498
325
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1499
|
-
|
|
1500
|
-
* <note>
|
|
1501
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1502
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1503
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1504
|
-
* <p>
|
|
1505
|
-
* <b>For the latest version of AWS
|
|
1506
|
-
* 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>
|
|
1507
|
-
* </note>
|
|
1508
|
-
* <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
|
|
1509
|
-
* <p>You can access information about all traffic that AWS WAF inspects using the following
|
|
1510
|
-
* steps:</p>
|
|
1511
|
-
* <ol>
|
|
1512
|
-
* <li>
|
|
1513
|
-
* <p>Create an Amazon Kinesis Data
|
|
1514
|
-
* Firehose. </p>
|
|
1515
|
-
* <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>
|
|
1516
|
-
* <note>
|
|
1517
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
|
|
1518
|
-
* </note>
|
|
1519
|
-
* </li>
|
|
1520
|
-
* <li>
|
|
1521
|
-
* <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
|
|
1522
|
-
* </li>
|
|
1523
|
-
* </ol>
|
|
1524
|
-
*
|
|
1525
|
-
* <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>
|
|
1526
|
-
*/
|
|
326
|
+
|
|
1527
327
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutLoggingConfigurationCommandOutput>;
|
|
1528
328
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1529
329
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1530
|
-
|
|
1531
|
-
* <note>
|
|
1532
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1533
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1534
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1535
|
-
* <p>
|
|
1536
|
-
* <b>For the latest version of AWS
|
|
1537
|
-
* 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>
|
|
1538
|
-
* </note>
|
|
1539
|
-
* <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
|
|
1540
|
-
* <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
|
|
1541
|
-
* <ul>
|
|
1542
|
-
* <li>
|
|
1543
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
1544
|
-
* </li>
|
|
1545
|
-
* <li>
|
|
1546
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
1547
|
-
* </li>
|
|
1548
|
-
* <li>
|
|
1549
|
-
*
|
|
1550
|
-
* <p>
|
|
1551
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
1552
|
-
* </li>
|
|
1553
|
-
* <li>
|
|
1554
|
-
* <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>
|
|
1555
|
-
* </li>
|
|
1556
|
-
* <li>
|
|
1557
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
1558
|
-
* </li>
|
|
1559
|
-
* <li>
|
|
1560
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
1561
|
-
* </li>
|
|
1562
|
-
* <li>
|
|
1563
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
1564
|
-
* </li>
|
|
1565
|
-
* <li>
|
|
1566
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
1567
|
-
* </li>
|
|
1568
|
-
* </ul>
|
|
1569
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
1570
|
-
*
|
|
1571
|
-
* <p>An example of a valid policy parameter is shown in the Examples section below.</p>
|
|
1572
|
-
*/
|
|
330
|
+
|
|
1573
331
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionPolicyCommandOutput>;
|
|
1574
332
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1575
333
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1576
|
-
|
|
1577
|
-
* <note>
|
|
1578
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1579
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1580
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1581
|
-
* <p>
|
|
1582
|
-
* <b>For the latest version of AWS
|
|
1583
|
-
* 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>
|
|
1584
|
-
* </note>
|
|
1585
|
-
* <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>
|
|
1586
|
-
* <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>
|
|
1587
|
-
*/
|
|
334
|
+
|
|
1588
335
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1589
336
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1590
337
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1591
|
-
|
|
1592
|
-
* <note>
|
|
1593
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1594
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1595
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1596
|
-
* <p>
|
|
1597
|
-
* <b>For the latest version of AWS
|
|
1598
|
-
* 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>
|
|
1599
|
-
* </note>
|
|
1600
|
-
* <p></p>
|
|
1601
|
-
*/
|
|
338
|
+
|
|
1602
339
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
1603
340
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1604
341
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1605
|
-
|
|
1606
|
-
* <note>
|
|
1607
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1608
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1609
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1610
|
-
* <p>
|
|
1611
|
-
* <b>For the latest version of AWS
|
|
1612
|
-
* 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>
|
|
1613
|
-
* </note>
|
|
1614
|
-
* <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
|
|
1615
|
-
* you specify the following values: </p>
|
|
1616
|
-
* <ul>
|
|
1617
|
-
* <li>
|
|
1618
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
|
|
1619
|
-
* you delete the existing object and add a new one.</p>
|
|
1620
|
-
* </li>
|
|
1621
|
-
* <li>
|
|
1622
|
-
* <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>
|
|
1623
|
-
* </li>
|
|
1624
|
-
* <li>
|
|
1625
|
-
* <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
|
|
1626
|
-
* 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>
|
|
1627
|
-
* </li>
|
|
1628
|
-
* <li>
|
|
1629
|
-
* <p>Where to look, such as at the beginning or the end of a query string.</p>
|
|
1630
|
-
* </li>
|
|
1631
|
-
* <li>
|
|
1632
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1633
|
-
* </li>
|
|
1634
|
-
* </ul>
|
|
1635
|
-
* <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
|
|
1636
|
-
* the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
|
|
1637
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
1638
|
-
* <ol>
|
|
1639
|
-
* <li>
|
|
1640
|
-
* <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
|
|
1641
|
-
* </li>
|
|
1642
|
-
* <li>
|
|
1643
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1644
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
1645
|
-
* </li>
|
|
1646
|
-
* <li>
|
|
1647
|
-
* <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
1648
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
1649
|
-
* </li>
|
|
1650
|
-
* </ol>
|
|
1651
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1652
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1653
|
-
*/
|
|
342
|
+
|
|
1654
343
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateByteMatchSetCommandOutput>;
|
|
1655
344
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1656
345
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1657
|
-
|
|
1658
|
-
* <note>
|
|
1659
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1660
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1661
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1662
|
-
* <p>
|
|
1663
|
-
* <b>For the latest version of AWS
|
|
1664
|
-
* 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>
|
|
1665
|
-
* </note>
|
|
1666
|
-
* <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
|
|
1667
|
-
* you specify the following values: </p>
|
|
1668
|
-
* <ul>
|
|
1669
|
-
* <li>
|
|
1670
|
-
* <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>
|
|
1671
|
-
* </li>
|
|
1672
|
-
* <li>
|
|
1673
|
-
* <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
|
|
1674
|
-
* </li>
|
|
1675
|
-
* <li>
|
|
1676
|
-
* <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>
|
|
1677
|
-
* </li>
|
|
1678
|
-
* </ul>
|
|
1679
|
-
*
|
|
1680
|
-
* <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
1681
|
-
* <ol>
|
|
1682
|
-
* <li>
|
|
1683
|
-
* <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
|
|
1684
|
-
* </li>
|
|
1685
|
-
* <li>
|
|
1686
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1687
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
1688
|
-
* </li>
|
|
1689
|
-
* <li>
|
|
1690
|
-
* <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
|
|
1691
|
-
* </li>
|
|
1692
|
-
* </ol>
|
|
1693
|
-
* <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.
|
|
1694
|
-
* If you want to change a country, you delete the existing country and add the new one.</p>
|
|
1695
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1696
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1697
|
-
*/
|
|
346
|
+
|
|
1698
347
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGeoMatchSetCommandOutput>;
|
|
1699
348
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1700
349
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1701
|
-
|
|
1702
|
-
* <note>
|
|
1703
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1704
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1705
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1706
|
-
* <p>
|
|
1707
|
-
* <b>For the latest version of AWS
|
|
1708
|
-
* 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>
|
|
1709
|
-
* </note>
|
|
1710
|
-
* <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
|
|
1711
|
-
* <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
|
|
1712
|
-
* values: </p>
|
|
1713
|
-
* <ul>
|
|
1714
|
-
* <li>
|
|
1715
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an
|
|
1716
|
-
* <code>IPSetDescriptor</code> object, you delete the existing object and add a new
|
|
1717
|
-
* one.</p>
|
|
1718
|
-
* </li>
|
|
1719
|
-
* <li>
|
|
1720
|
-
* <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
|
|
1721
|
-
* </li>
|
|
1722
|
-
* <li>
|
|
1723
|
-
* <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
|
|
1724
|
-
* the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
|
|
1725
|
-
* <code>192.0.2.44/32</code> (for the individual IP address
|
|
1726
|
-
* <code>192.0.2.44</code>). </p>
|
|
1727
|
-
* </li>
|
|
1728
|
-
* </ul>
|
|
1729
|
-
* <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
|
|
1730
|
-
* WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
|
|
1731
|
-
* information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1732
|
-
* Inter-Domain Routing</a>.</p>
|
|
1733
|
-
* <p>IPv6 addresses can be represented using any of the following formats:</p>
|
|
1734
|
-
* <ul>
|
|
1735
|
-
* <li>
|
|
1736
|
-
* <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
|
|
1737
|
-
* </li>
|
|
1738
|
-
* <li>
|
|
1739
|
-
* <p>1111:0:0:0:0:0:0:0111/128</p>
|
|
1740
|
-
* </li>
|
|
1741
|
-
* <li>
|
|
1742
|
-
* <p>1111::0111/128</p>
|
|
1743
|
-
* </li>
|
|
1744
|
-
* <li>
|
|
1745
|
-
* <p>1111::111/128</p>
|
|
1746
|
-
* </li>
|
|
1747
|
-
* </ul>
|
|
1748
|
-
* <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
|
|
1749
|
-
* block based on the IP addresses that the requests originated from. For example, if you're
|
|
1750
|
-
* receiving a lot of requests from one or a small number of IP addresses and you want to
|
|
1751
|
-
* block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
|
|
1752
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
1753
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
1754
|
-
* <ol>
|
|
1755
|
-
* <li>
|
|
1756
|
-
* <p>Submit a <a>CreateIPSet</a> request.</p>
|
|
1757
|
-
* </li>
|
|
1758
|
-
* <li>
|
|
1759
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
1760
|
-
* in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
|
|
1761
|
-
* request.</p>
|
|
1762
|
-
* </li>
|
|
1763
|
-
* <li>
|
|
1764
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
|
|
1765
|
-
* want AWS WAF to watch for.</p>
|
|
1766
|
-
* </li>
|
|
1767
|
-
* </ol>
|
|
1768
|
-
* <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
|
|
1769
|
-
* add and/or the IP addresses that you want to delete. If you want to change an IP address,
|
|
1770
|
-
* you delete the existing IP address and add the new one.</p>
|
|
1771
|
-
* <p>You can insert a maximum of 1000 addresses in a single
|
|
1772
|
-
* request.</p>
|
|
1773
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP
|
|
1774
|
-
* requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
|
|
1775
|
-
* Developer Guide</a>.</p>
|
|
1776
|
-
*/
|
|
350
|
+
|
|
1777
351
|
updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
|
|
1778
352
|
updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1779
353
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1780
|
-
|
|
1781
|
-
* <note>
|
|
1782
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1783
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1784
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1785
|
-
* <p>
|
|
1786
|
-
* <b>For the latest version of AWS
|
|
1787
|
-
* 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>
|
|
1788
|
-
* </note>
|
|
1789
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
|
|
1790
|
-
* <code>RateLimit</code> in the rule. </p>
|
|
1791
|
-
* <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
|
|
1792
|
-
* that you want to block or count. The <code>RateLimit</code> specifies the number of
|
|
1793
|
-
* requests every five minutes that triggers the rule.</p>
|
|
1794
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
|
|
1795
|
-
* match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
|
|
1796
|
-
* For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
|
|
1797
|
-
* <ul>
|
|
1798
|
-
* <li>
|
|
1799
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
1800
|
-
* </p>
|
|
1801
|
-
* </li>
|
|
1802
|
-
* <li>
|
|
1803
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
1804
|
-
* <code>User-Agent</code> header</p>
|
|
1805
|
-
* </li>
|
|
1806
|
-
* </ul>
|
|
1807
|
-
* <p>Further, you specify a
|
|
1808
|
-
* <code>RateLimit</code> of 1,000.</p>
|
|
1809
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
1810
|
-
* you want to block requests that satisfy the rule. For a request to be blocked, it must come
|
|
1811
|
-
* from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
|
|
1812
|
-
* in the request must contain the value <code>BadBot</code>. Further, requests that match
|
|
1813
|
-
* these two conditions much be received at a rate of more than 1,000 every five minutes. If
|
|
1814
|
-
* the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
|
|
1815
|
-
*
|
|
1816
|
-
* <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
|
|
1817
|
-
* <code>RateBasedRule</code>:</p>
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1820
|
-
* <ul>
|
|
1821
|
-
* <li>
|
|
1822
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
1823
|
-
* </p>
|
|
1824
|
-
* </li>
|
|
1825
|
-
* <li>
|
|
1826
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
1827
|
-
* </p>
|
|
1828
|
-
* </li>
|
|
1829
|
-
* <li>
|
|
1830
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
1831
|
-
* </p>
|
|
1832
|
-
* </li>
|
|
1833
|
-
* </ul>
|
|
1834
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
1835
|
-
* <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>
|
|
1836
|
-
*/
|
|
354
|
+
|
|
1837
355
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRateBasedRuleCommandOutput>;
|
|
1838
356
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1839
357
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1840
|
-
|
|
1841
|
-
* <note>
|
|
1842
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1843
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1844
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1845
|
-
* <p>
|
|
1846
|
-
* <b>For the latest version of AWS
|
|
1847
|
-
* 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>
|
|
1848
|
-
* </note>
|
|
1849
|
-
* <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
|
|
1850
|
-
* you specify the following values: </p>
|
|
1851
|
-
* <ul>
|
|
1852
|
-
* <li>
|
|
1853
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
|
|
1854
|
-
* you delete the existing object and add a new one.</p>
|
|
1855
|
-
* </li>
|
|
1856
|
-
* <li>
|
|
1857
|
-
* <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>
|
|
1858
|
-
* </li>
|
|
1859
|
-
* <li>
|
|
1860
|
-
* <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>
|
|
1861
|
-
* </li>
|
|
1862
|
-
* <li>
|
|
1863
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1864
|
-
* </li>
|
|
1865
|
-
* </ul>
|
|
1866
|
-
* <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
1867
|
-
* that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
1868
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
1869
|
-
* <ol>
|
|
1870
|
-
* <li>
|
|
1871
|
-
* <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
|
|
1872
|
-
* </li>
|
|
1873
|
-
* <li>
|
|
1874
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1875
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
1876
|
-
* </li>
|
|
1877
|
-
* <li>
|
|
1878
|
-
* <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
1879
|
-
* (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>
|
|
1880
|
-
* </li>
|
|
1881
|
-
* </ol>
|
|
1882
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1883
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1884
|
-
*/
|
|
358
|
+
|
|
1885
359
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexMatchSetCommandOutput>;
|
|
1886
360
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
1887
361
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
1888
|
-
|
|
1889
|
-
* <note>
|
|
1890
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1891
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1892
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1893
|
-
* <p>
|
|
1894
|
-
* <b>For the latest version of AWS
|
|
1895
|
-
* 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>
|
|
1896
|
-
* </note>
|
|
1897
|
-
* <p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object,
|
|
1898
|
-
* you specify the following values: </p>
|
|
1899
|
-
* <ul>
|
|
1900
|
-
* <li>
|
|
1901
|
-
* <p>Whether to insert or delete the <code>RegexPatternString</code>.</p>
|
|
1902
|
-
* </li>
|
|
1903
|
-
* <li>
|
|
1904
|
-
* <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p>
|
|
1905
|
-
* </li>
|
|
1906
|
-
* </ul>
|
|
1907
|
-
* <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>
|
|
1908
|
-
* <ul>
|
|
1909
|
-
* <li>
|
|
1910
|
-
* <p>BadBot</p>
|
|
1911
|
-
* </li>
|
|
1912
|
-
* <li>
|
|
1913
|
-
* <p>BadB0t</p>
|
|
1914
|
-
* </li>
|
|
1915
|
-
* <li>
|
|
1916
|
-
* <p>B@dBot</p>
|
|
1917
|
-
* </li>
|
|
1918
|
-
* <li>
|
|
1919
|
-
* <p>B@dB0t</p>
|
|
1920
|
-
* </li>
|
|
1921
|
-
* </ul>
|
|
1922
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
1923
|
-
* <ol>
|
|
1924
|
-
* <li>
|
|
1925
|
-
* <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p>
|
|
1926
|
-
* </li>
|
|
1927
|
-
* <li>
|
|
1928
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1929
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
1930
|
-
* </li>
|
|
1931
|
-
* <li>
|
|
1932
|
-
* <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p>
|
|
1933
|
-
* </li>
|
|
1934
|
-
* </ol>
|
|
1935
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1936
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1937
|
-
*/
|
|
362
|
+
|
|
1938
363
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexPatternSetCommandOutput>;
|
|
1939
364
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
1940
365
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
1941
|
-
|
|
1942
|
-
* <note>
|
|
1943
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1944
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1945
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1946
|
-
* <p>
|
|
1947
|
-
* <b>For the latest version of AWS
|
|
1948
|
-
* 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>
|
|
1949
|
-
* </note>
|
|
1950
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each
|
|
1951
|
-
* <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
1952
|
-
* that you want to allow, block, or count. If you add more than one predicate to a
|
|
1953
|
-
* <code>Rule</code>, a request must match all of the specifications to be allowed,
|
|
1954
|
-
* blocked, or counted. For example, suppose
|
|
1955
|
-
* that
|
|
1956
|
-
* you add the following to a <code>Rule</code>: </p>
|
|
1957
|
-
* <ul>
|
|
1958
|
-
* <li>
|
|
1959
|
-
* <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
1960
|
-
* </li>
|
|
1961
|
-
* <li>
|
|
1962
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code>
|
|
1963
|
-
* </p>
|
|
1964
|
-
* </li>
|
|
1965
|
-
* </ul>
|
|
1966
|
-
* <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>.
|
|
1967
|
-
* For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>
|
|
1968
|
-
* <i>and</i> the request must originate from the IP address 192.0.2.44.</p>
|
|
1969
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
1970
|
-
* <ol>
|
|
1971
|
-
* <li>
|
|
1972
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p>
|
|
1973
|
-
* </li>
|
|
1974
|
-
* <li>
|
|
1975
|
-
* <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p>
|
|
1976
|
-
* </li>
|
|
1977
|
-
* <li>
|
|
1978
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1979
|
-
* <a>UpdateRule</a> request.</p>
|
|
1980
|
-
* </li>
|
|
1981
|
-
* <li>
|
|
1982
|
-
* <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p>
|
|
1983
|
-
* </li>
|
|
1984
|
-
* <li>
|
|
1985
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p>
|
|
1986
|
-
* </li>
|
|
1987
|
-
* </ol>
|
|
1988
|
-
* <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and
|
|
1989
|
-
* add the new one.</p>
|
|
1990
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1991
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
1992
|
-
*/
|
|
366
|
+
|
|
1993
367
|
updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
|
|
1994
368
|
updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
1995
369
|
updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
1996
|
-
|
|
1997
|
-
* <note>
|
|
1998
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1999
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2000
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2001
|
-
* <p>
|
|
2002
|
-
* <b>For the latest version of AWS
|
|
2003
|
-
* 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>
|
|
2004
|
-
* </note>
|
|
2005
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p>
|
|
2006
|
-
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
2007
|
-
* <p>You can have a maximum of ten rules per rule group.</p>
|
|
2008
|
-
*
|
|
2009
|
-
*
|
|
2010
|
-
* <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p>
|
|
2011
|
-
* <ol>
|
|
2012
|
-
* <li>
|
|
2013
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p>
|
|
2014
|
-
* </li>
|
|
2015
|
-
* <li>
|
|
2016
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2017
|
-
* <a>UpdateRuleGroup</a> request.</p>
|
|
2018
|
-
* </li>
|
|
2019
|
-
* <li>
|
|
2020
|
-
* <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p>
|
|
2021
|
-
* </li>
|
|
2022
|
-
* <li>
|
|
2023
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p>
|
|
2024
|
-
* </li>
|
|
2025
|
-
* </ol>
|
|
2026
|
-
* <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and
|
|
2027
|
-
* add the new one.</p>
|
|
2028
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2029
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
2030
|
-
*/
|
|
370
|
+
|
|
2031
371
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleGroupCommandOutput>;
|
|
2032
372
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2033
373
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2034
|
-
|
|
2035
|
-
* <note>
|
|
2036
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2037
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2038
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2039
|
-
* <p>
|
|
2040
|
-
* <b>For the latest version of AWS
|
|
2041
|
-
* 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>
|
|
2042
|
-
* </note>
|
|
2043
|
-
* <p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object,
|
|
2044
|
-
* you specify the following values: </p>
|
|
2045
|
-
* <ul>
|
|
2046
|
-
* <li>
|
|
2047
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object,
|
|
2048
|
-
* you delete the existing object and add a new one.</p>
|
|
2049
|
-
* </li>
|
|
2050
|
-
* <li>
|
|
2051
|
-
* <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
|
|
2052
|
-
* <code>User-Agent</code> header.</p>
|
|
2053
|
-
* </li>
|
|
2054
|
-
* <li>
|
|
2055
|
-
* <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length.
|
|
2056
|
-
* Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes
|
|
2057
|
-
* of your request to AWS WAF.</p>
|
|
2058
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2059
|
-
* </li>
|
|
2060
|
-
* <li>
|
|
2061
|
-
* <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as
|
|
2062
|
-
* equals, greater than, less than, and so on.</p>
|
|
2063
|
-
* </li>
|
|
2064
|
-
* <li>
|
|
2065
|
-
* <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>
|
|
2066
|
-
* </li>
|
|
2067
|
-
* </ul>
|
|
2068
|
-
* <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the
|
|
2069
|
-
* <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p>
|
|
2070
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
2071
|
-
* <ol>
|
|
2072
|
-
* <li>
|
|
2073
|
-
* <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p>
|
|
2074
|
-
* </li>
|
|
2075
|
-
* <li>
|
|
2076
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2077
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
2078
|
-
* </li>
|
|
2079
|
-
* <li>
|
|
2080
|
-
* <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
2081
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
2082
|
-
* </li>
|
|
2083
|
-
* </ol>
|
|
2084
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2085
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
2086
|
-
*/
|
|
374
|
+
|
|
2087
375
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSizeConstraintSetCommandOutput>;
|
|
2088
376
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2089
377
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2090
|
-
|
|
2091
|
-
* <note>
|
|
2092
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2093
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2094
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2095
|
-
* <p>
|
|
2096
|
-
* <b>For the latest version of AWS
|
|
2097
|
-
* 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>
|
|
2098
|
-
* </note>
|
|
2099
|
-
* <p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>.
|
|
2100
|
-
* For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p>
|
|
2101
|
-
* <ul>
|
|
2102
|
-
* <li>
|
|
2103
|
-
* <p>
|
|
2104
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a
|
|
2105
|
-
* <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p>
|
|
2106
|
-
* </li>
|
|
2107
|
-
* <li>
|
|
2108
|
-
* <p>
|
|
2109
|
-
* <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,
|
|
2110
|
-
* the name of the header or parameter.</p>
|
|
2111
|
-
* </li>
|
|
2112
|
-
* <li>
|
|
2113
|
-
* <p>
|
|
2114
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2115
|
-
* inspecting the request for snippets of malicious SQL code.</p>
|
|
2116
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2117
|
-
* </li>
|
|
2118
|
-
* </ul>
|
|
2119
|
-
* <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront
|
|
2120
|
-
* requests that
|
|
2121
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2122
|
-
* requests that contain snippets of SQL code in the query string and you want to block the
|
|
2123
|
-
* requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings,
|
|
2124
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
2125
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
2126
|
-
* <ol>
|
|
2127
|
-
* <li>
|
|
2128
|
-
* <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p>
|
|
2129
|
-
* </li>
|
|
2130
|
-
* <li>
|
|
2131
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2132
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2133
|
-
* </li>
|
|
2134
|
-
* <li>
|
|
2135
|
-
* <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2136
|
-
* inspect for snippets of SQL code.</p>
|
|
2137
|
-
* </li>
|
|
2138
|
-
* </ol>
|
|
2139
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2140
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
2141
|
-
*/
|
|
378
|
+
|
|
2142
379
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSqlInjectionMatchSetCommandOutput>;
|
|
2143
380
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2144
381
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2145
|
-
|
|
2146
|
-
* <note>
|
|
2147
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2148
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2149
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2150
|
-
* <p>
|
|
2151
|
-
* <b>For the latest version of AWS
|
|
2152
|
-
* 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>
|
|
2153
|
-
* </note>
|
|
2154
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies
|
|
2155
|
-
* web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p>
|
|
2156
|
-
* <ul>
|
|
2157
|
-
* <li>
|
|
2158
|
-
* <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>.
|
|
2159
|
-
* 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>
|
|
2160
|
-
* </li>
|
|
2161
|
-
* <li>
|
|
2162
|
-
* <p>The <code>Rules</code> that you want to add
|
|
2163
|
-
* or
|
|
2164
|
-
* delete. If you want to replace one <code>Rule</code> with another, you delete the
|
|
2165
|
-
* existing <code>Rule</code> and add the new one.</p>
|
|
2166
|
-
* </li>
|
|
2167
|
-
* <li>
|
|
2168
|
-
* <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match
|
|
2169
|
-
* the conditions in the <code>Rule</code>.</p>
|
|
2170
|
-
* </li>
|
|
2171
|
-
* <li>
|
|
2172
|
-
* <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a
|
|
2173
|
-
* <code>WebACL</code>. If you add more than one <code>Rule</code> to a
|
|
2174
|
-
* <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>
|
|
2175
|
-
* in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has
|
|
2176
|
-
* the lowest value for <code>Priority</code> is evaluated first.) When a web request
|
|
2177
|
-
* matches all
|
|
2178
|
-
* the
|
|
2179
|
-
* predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a
|
|
2180
|
-
* <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or
|
|
2181
|
-
* block, and doesn't evaluate the request against the remaining <code>Rules</code> in
|
|
2182
|
-
* the <code>WebACL</code>, if any. </p>
|
|
2183
|
-
* </li>
|
|
2184
|
-
* </ul>
|
|
2185
|
-
*
|
|
2186
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
2187
|
-
* <ol>
|
|
2188
|
-
* <li>
|
|
2189
|
-
* <p>Create and update the predicates that you want to include in <code>Rules</code>.
|
|
2190
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
2191
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
2192
|
-
* </li>
|
|
2193
|
-
* <li>
|
|
2194
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
2195
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
2196
|
-
* </li>
|
|
2197
|
-
* <li>
|
|
2198
|
-
* <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p>
|
|
2199
|
-
* </li>
|
|
2200
|
-
* <li>
|
|
2201
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2202
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
2203
|
-
* </li>
|
|
2204
|
-
* <li>
|
|
2205
|
-
* <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code>
|
|
2206
|
-
* that you want to include in the <code>WebACL</code>, to specify the default action,
|
|
2207
|
-
* and to associate the <code>WebACL</code> with a CloudFront distribution. </p>
|
|
2208
|
-
* <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group
|
|
2209
|
-
* as your
|
|
2210
|
-
* <code>ActivatedRule</code>
|
|
2211
|
-
* ,
|
|
2212
|
-
* you can exclude specific rules from that rule group.</p>
|
|
2213
|
-
* <p>If you already have a rule group associated with a web ACL and want to submit
|
|
2214
|
-
* an <code>UpdateWebACL</code> request to exclude certain rules from that rule group,
|
|
2215
|
-
* you must first remove the rule group from the web ACL, the re-insert it again,
|
|
2216
|
-
* specifying the excluded rules.
|
|
2217
|
-
* For details,
|
|
2218
|
-
* see
|
|
2219
|
-
* <a>ActivatedRule$ExcludedRules</a>
|
|
2220
|
-
* .
|
|
2221
|
-
* </p>
|
|
2222
|
-
* </li>
|
|
2223
|
-
* </ol>
|
|
2224
|
-
* <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>
|
|
2225
|
-
* <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>
|
|
2226
|
-
*/
|
|
382
|
+
|
|
2227
383
|
updateWebACL(args: UpdateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebACLCommandOutput>;
|
|
2228
384
|
updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2229
385
|
updateWebACL(args: UpdateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2230
|
-
|
|
2231
|
-
* <note>
|
|
2232
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2233
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2234
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2235
|
-
* <p>
|
|
2236
|
-
* <b>For the latest version of AWS
|
|
2237
|
-
* 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>
|
|
2238
|
-
* </note>
|
|
2239
|
-
* <p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>.
|
|
2240
|
-
* For each <code>XssMatchTuple</code> object, you specify the following values:</p>
|
|
2241
|
-
* <ul>
|
|
2242
|
-
* <li>
|
|
2243
|
-
* <p>
|
|
2244
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the
|
|
2245
|
-
* array. To change an
|
|
2246
|
-
* <code>XssMatchTuple</code>, you delete the existing object and add a new
|
|
2247
|
-
* one.</p>
|
|
2248
|
-
* </li>
|
|
2249
|
-
* <li>
|
|
2250
|
-
* <p>
|
|
2251
|
-
* <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,
|
|
2252
|
-
* the name of the header or parameter.</p>
|
|
2253
|
-
* </li>
|
|
2254
|
-
* <li>
|
|
2255
|
-
* <p>
|
|
2256
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2257
|
-
* inspecting the request for cross-site scripting attacks.</p>
|
|
2258
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2259
|
-
* </li>
|
|
2260
|
-
* </ul>
|
|
2261
|
-
* <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests
|
|
2262
|
-
* that
|
|
2263
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2264
|
-
* requests that contain cross-site scripting attacks in the request body and you want to
|
|
2265
|
-
* block the requests, you can create an <code>XssMatchSet</code> with the applicable
|
|
2266
|
-
* settings, and then configure AWS WAF to block the requests. </p>
|
|
2267
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
2268
|
-
* <ol>
|
|
2269
|
-
* <li>
|
|
2270
|
-
* <p>Submit a <a>CreateXssMatchSet</a> request.</p>
|
|
2271
|
-
* </li>
|
|
2272
|
-
* <li>
|
|
2273
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2274
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2275
|
-
* </li>
|
|
2276
|
-
* <li>
|
|
2277
|
-
* <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2278
|
-
* inspect for cross-site scripting attacks.</p>
|
|
2279
|
-
* </li>
|
|
2280
|
-
* </ol>
|
|
2281
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2282
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
2283
|
-
*/
|
|
386
|
+
|
|
2284
387
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateXssMatchSetCommandOutput>;
|
|
2285
388
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|
|
2286
389
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|