@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
|
@@ -86,134 +86,59 @@ import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from ".
|
|
|
86
86
|
export declare type ServiceInputTypes = CreateByteMatchSetCommandInput | CreateGeoMatchSetCommandInput | CreateIPSetCommandInput | CreateRateBasedRuleCommandInput | CreateRegexMatchSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleCommandInput | CreateRuleGroupCommandInput | CreateSizeConstraintSetCommandInput | CreateSqlInjectionMatchSetCommandInput | CreateWebACLCommandInput | CreateWebACLMigrationStackCommandInput | CreateXssMatchSetCommandInput | DeleteByteMatchSetCommandInput | DeleteGeoMatchSetCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRateBasedRuleCommandInput | DeleteRegexMatchSetCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleCommandInput | DeleteRuleGroupCommandInput | DeleteSizeConstraintSetCommandInput | DeleteSqlInjectionMatchSetCommandInput | DeleteWebACLCommandInput | DeleteXssMatchSetCommandInput | GetByteMatchSetCommandInput | GetChangeTokenCommandInput | GetChangeTokenStatusCommandInput | GetGeoMatchSetCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetPermissionPolicyCommandInput | GetRateBasedRuleCommandInput | GetRateBasedRuleManagedKeysCommandInput | GetRegexMatchSetCommandInput | GetRegexPatternSetCommandInput | GetRuleCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetSizeConstraintSetCommandInput | GetSqlInjectionMatchSetCommandInput | GetWebACLCommandInput | GetXssMatchSetCommandInput | ListActivatedRulesInRuleGroupCommandInput | ListByteMatchSetsCommandInput | ListGeoMatchSetsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListRateBasedRulesCommandInput | ListRegexMatchSetsCommandInput | ListRegexPatternSetsCommandInput | ListRuleGroupsCommandInput | ListRulesCommandInput | ListSizeConstraintSetsCommandInput | ListSqlInjectionMatchSetsCommandInput | ListSubscribedRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | ListXssMatchSetsCommandInput | PutLoggingConfigurationCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateByteMatchSetCommandInput | UpdateGeoMatchSetCommandInput | UpdateIPSetCommandInput | UpdateRateBasedRuleCommandInput | UpdateRegexMatchSetCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleCommandInput | UpdateRuleGroupCommandInput | UpdateSizeConstraintSetCommandInput | UpdateSqlInjectionMatchSetCommandInput | UpdateWebACLCommandInput | UpdateXssMatchSetCommandInput;
|
|
87
87
|
export declare type ServiceOutputTypes = CreateByteMatchSetCommandOutput | CreateGeoMatchSetCommandOutput | CreateIPSetCommandOutput | CreateRateBasedRuleCommandOutput | CreateRegexMatchSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleCommandOutput | CreateRuleGroupCommandOutput | CreateSizeConstraintSetCommandOutput | CreateSqlInjectionMatchSetCommandOutput | CreateWebACLCommandOutput | CreateWebACLMigrationStackCommandOutput | CreateXssMatchSetCommandOutput | DeleteByteMatchSetCommandOutput | DeleteGeoMatchSetCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRateBasedRuleCommandOutput | DeleteRegexMatchSetCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleCommandOutput | DeleteRuleGroupCommandOutput | DeleteSizeConstraintSetCommandOutput | DeleteSqlInjectionMatchSetCommandOutput | DeleteWebACLCommandOutput | DeleteXssMatchSetCommandOutput | GetByteMatchSetCommandOutput | GetChangeTokenCommandOutput | GetChangeTokenStatusCommandOutput | GetGeoMatchSetCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedRuleCommandOutput | GetRateBasedRuleManagedKeysCommandOutput | GetRegexMatchSetCommandOutput | GetRegexPatternSetCommandOutput | GetRuleCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetSizeConstraintSetCommandOutput | GetSqlInjectionMatchSetCommandOutput | GetWebACLCommandOutput | GetXssMatchSetCommandOutput | ListActivatedRulesInRuleGroupCommandOutput | ListByteMatchSetsCommandOutput | ListGeoMatchSetsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListRateBasedRulesCommandOutput | ListRegexMatchSetsCommandOutput | ListRegexPatternSetsCommandOutput | ListRuleGroupsCommandOutput | ListRulesCommandOutput | ListSizeConstraintSetsCommandOutput | ListSqlInjectionMatchSetsCommandOutput | ListSubscribedRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | ListXssMatchSetsCommandOutput | PutLoggingConfigurationCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateByteMatchSetCommandOutput | UpdateGeoMatchSetCommandOutput | UpdateIPSetCommandOutput | UpdateRateBasedRuleCommandOutput | UpdateRegexMatchSetCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleCommandOutput | UpdateRuleGroupCommandOutput | UpdateSizeConstraintSetCommandOutput | UpdateSqlInjectionMatchSetCommandOutput | UpdateWebACLCommandOutput | UpdateXssMatchSetCommandOutput;
|
|
88
88
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
89
|
-
|
|
90
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
91
|
-
*/
|
|
89
|
+
|
|
92
90
|
requestHandler?: __HttpHandler;
|
|
93
|
-
|
|
94
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
95
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
91
|
+
|
|
98
92
|
sha256?: __HashConstructor;
|
|
99
|
-
|
|
100
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
93
|
+
|
|
103
94
|
urlParser?: __UrlParser;
|
|
104
|
-
|
|
105
|
-
* A function that can calculate the length of a request body.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
95
|
+
|
|
108
96
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
109
|
-
|
|
110
|
-
* A function that converts a stream into an array of bytes.
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
97
|
+
|
|
113
98
|
streamCollector?: __StreamCollector;
|
|
114
|
-
|
|
115
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
99
|
+
|
|
118
100
|
base64Decoder?: __Decoder;
|
|
119
|
-
|
|
120
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
101
|
+
|
|
123
102
|
base64Encoder?: __Encoder;
|
|
124
|
-
|
|
125
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
103
|
+
|
|
128
104
|
utf8Decoder?: __Decoder;
|
|
129
|
-
|
|
130
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
105
|
+
|
|
133
106
|
utf8Encoder?: __Encoder;
|
|
134
|
-
|
|
135
|
-
* The runtime environment.
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
107
|
+
|
|
138
108
|
runtime?: string;
|
|
139
|
-
|
|
140
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
141
|
-
* trait of an operation.
|
|
142
|
-
*/
|
|
109
|
+
|
|
143
110
|
disableHostPrefix?: boolean;
|
|
144
|
-
|
|
145
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
146
|
-
*/
|
|
111
|
+
|
|
147
112
|
maxAttempts?: number | __Provider<number>;
|
|
148
|
-
|
|
149
|
-
* Specifies which retry algorithm to use.
|
|
150
|
-
*/
|
|
113
|
+
|
|
151
114
|
retryMode?: string | __Provider<string>;
|
|
152
|
-
|
|
153
|
-
* Optional logger for logging debug/info/warn/error.
|
|
154
|
-
*/
|
|
115
|
+
|
|
155
116
|
logger?: __Logger;
|
|
156
|
-
|
|
157
|
-
* Unique service identifier.
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
117
|
+
|
|
160
118
|
serviceId?: string;
|
|
161
|
-
|
|
162
|
-
* The AWS region to which this client will send requests
|
|
163
|
-
*/
|
|
119
|
+
|
|
164
120
|
region?: string | __Provider<string>;
|
|
165
|
-
|
|
166
|
-
* Default credentials provider; Not available in browser runtime.
|
|
167
|
-
* @internal
|
|
168
|
-
*/
|
|
121
|
+
|
|
169
122
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
170
|
-
|
|
171
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
123
|
+
|
|
174
124
|
regionInfoProvider?: RegionInfoProvider;
|
|
175
|
-
|
|
176
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
125
|
+
|
|
179
126
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
180
127
|
}
|
|
181
128
|
declare type WAFClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
182
|
-
|
|
183
|
-
* The configuration interface of WAFClient class constructor that set the region, credentials and other options.
|
|
184
|
-
*/
|
|
129
|
+
|
|
185
130
|
export interface WAFClientConfig extends WAFClientConfigType {
|
|
186
131
|
}
|
|
187
132
|
declare type WAFClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
188
|
-
|
|
189
|
-
* The resolved configuration interface of WAFClient class. This is resolved and normalized from the {@link WAFClientConfig | constructor configuration interface}.
|
|
190
|
-
*/
|
|
133
|
+
|
|
191
134
|
export interface WAFClientResolvedConfig extends WAFClientResolvedConfigType {
|
|
192
135
|
}
|
|
193
|
-
|
|
194
|
-
* <note>
|
|
195
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
196
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
197
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
198
|
-
* <p>
|
|
199
|
-
* <b>For the latest version of AWS
|
|
200
|
-
* 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>
|
|
201
|
-
* </note>
|
|
202
|
-
* <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,
|
|
203
|
-
* 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
|
|
204
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
|
|
205
|
-
*/
|
|
136
|
+
|
|
206
137
|
export declare class WAFClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig> {
|
|
207
|
-
|
|
208
|
-
* The resolved configuration of WAFClient class. This is resolved and normalized from the {@link WAFClientConfig | constructor configuration interface}.
|
|
209
|
-
*/
|
|
138
|
+
|
|
210
139
|
readonly config: WAFClientResolvedConfig;
|
|
211
140
|
constructor(configuration: WAFClientConfig);
|
|
212
|
-
|
|
213
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
214
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
215
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
216
|
-
*/
|
|
141
|
+
|
|
217
142
|
destroy(): void;
|
|
218
143
|
}
|
|
219
144
|
export {};
|
|
@@ -6,60 +6,11 @@ export interface CreateByteMatchSetCommandInput extends CreateByteMatchSetReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
|
|
19
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
20
|
-
* For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
21
|
-
* that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
22
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
23
|
-
* <ol>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
26
|
-
* <code>CreateByteMatchSet</code> request.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Submit a <code>CreateByteMatchSet</code> request.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
33
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
37
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ol>
|
|
40
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { WAFClient, CreateByteMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
46
|
-
* // const { WAFClient, CreateByteMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
47
|
-
* const client = new WAFClient(config);
|
|
48
|
-
* const command = new CreateByteMatchSetCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link CreateByteMatchSetCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link CreateByteMatchSetCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
9
|
+
|
|
57
10
|
export declare class CreateByteMatchSetCommand extends $Command<CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
58
11
|
readonly input: CreateByteMatchSetCommandInput;
|
|
59
12
|
constructor(input: CreateByteMatchSetCommandInput);
|
|
60
|
-
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
13
|
+
|
|
63
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput>;
|
|
64
15
|
private serialize;
|
|
65
16
|
private deserialize;
|
|
@@ -6,57 +6,11 @@ export interface CreateGeoMatchSetCommandInput extends CreateGeoMatchSetRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
|
|
19
|
-
* 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>
|
|
20
|
-
* <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
21
|
-
* <ol>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
24
|
-
* <code>CreateGeoMatchSet</code> request.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
31
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ol>
|
|
37
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { WAFClient, CreateGeoMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
43
|
-
* // const { WAFClient, CreateGeoMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
44
|
-
* const client = new WAFClient(config);
|
|
45
|
-
* const command = new CreateGeoMatchSetCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link CreateGeoMatchSetCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link CreateGeoMatchSetCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
9
|
+
|
|
54
10
|
export declare class CreateGeoMatchSetCommand extends $Command<CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
55
11
|
readonly input: CreateGeoMatchSetCommandInput;
|
|
56
12
|
constructor(input: CreateGeoMatchSetCommandInput);
|
|
57
|
-
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
13
|
+
|
|
60
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput>;
|
|
61
15
|
private serialize;
|
|
62
16
|
private deserialize;
|
|
@@ -6,62 +6,11 @@ export interface CreateIPSetCommandInput extends CreateIPSetRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>Creates an <a>IPSet</a>, which you use to specify which web requests
|
|
19
|
-
* that
|
|
20
|
-
* you want to allow or block based on the IP addresses that the requests
|
|
21
|
-
* originate from. For example, if you're receiving a lot of requests from one or more
|
|
22
|
-
* individual IP addresses or one or more ranges of IP addresses and you want to block the
|
|
23
|
-
* requests, you can create an <code>IPSet</code> that contains those IP addresses and then
|
|
24
|
-
* configure AWS WAF to block the requests. </p>
|
|
25
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
26
|
-
* <ol>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
29
|
-
* <code>CreateIPSet</code> request.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Submit a <code>CreateIPSet</code> request.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
36
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ol>
|
|
42
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
43
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { WAFClient, CreateIPSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
48
|
-
* // const { WAFClient, CreateIPSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
49
|
-
* const client = new WAFClient(config);
|
|
50
|
-
* const command = new CreateIPSetCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link CreateIPSetCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link CreateIPSetCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
9
|
+
|
|
59
10
|
export declare class CreateIPSetCommand extends $Command<CreateIPSetCommandInput, CreateIPSetCommandOutput, WAFClientResolvedConfig> {
|
|
60
11
|
readonly input: CreateIPSetCommandInput;
|
|
61
12
|
constructor(input: CreateIPSetCommandInput);
|
|
62
|
-
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
13
|
+
|
|
65
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput>;
|
|
66
15
|
private serialize;
|
|
67
16
|
private deserialize;
|
|
@@ -6,122 +6,11 @@ export interface CreateRateBasedRuleCommandInput extends CreateRateBasedRuleRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
|
|
19
|
-
* <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
|
|
20
|
-
* from a specified IP address in a five-minute period.
|
|
21
|
-
* The <code>RateBasedRule</code> also
|
|
22
|
-
* contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
|
|
23
|
-
* predicates that identify the requests that you want to count or block if these requests
|
|
24
|
-
* exceed the <code>RateLimit</code>.</p>
|
|
25
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
|
|
26
|
-
* only must exceed the <code>RateLimit</code>, but it also must match all the
|
|
27
|
-
* conditions to be counted or blocked. For example, suppose you add the following to a
|
|
28
|
-
* <code>RateBasedRule</code>:</p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
36
|
-
* <code>User-Agent</code> header</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
40
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
41
|
-
* you want to block requests that meet the conditions in the rule. For a request to be
|
|
42
|
-
* blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
|
|
43
|
-
* <code>User-Agent</code> header in the request must contain the value
|
|
44
|
-
* <code>BadBot</code>. Further, requests that match these two conditions must be received at
|
|
45
|
-
* a rate of more than 1,000 requests every five minutes. If both conditions are met and the
|
|
46
|
-
* rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
|
|
47
|
-
* five-minute period, AWS WAF no longer blocks the requests.</p>
|
|
48
|
-
*
|
|
49
|
-
* <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
|
|
50
|
-
* <code>RateBasedRule</code>:</p>
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* <ul>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
56
|
-
* </p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
60
|
-
* </p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
64
|
-
* </p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
68
|
-
* <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>
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* <p>To create and configure a <code>RateBasedRule</code>, perform the following
|
|
72
|
-
* steps:</p>
|
|
73
|
-
* <ol>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>Create and update the predicates that you want to include in the rule. For more
|
|
76
|
-
* information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
|
|
77
|
-
* and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
81
|
-
* in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
|
|
82
|
-
* request.</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>Submit a <code>CreateRateBasedRule</code> request.</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
|
|
89
|
-
* <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
|
|
90
|
-
* request.</p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
|
|
94
|
-
* that you want to include in the rule.</p>
|
|
95
|
-
* </li>
|
|
96
|
-
* <li>
|
|
97
|
-
* <p>Create and update a <code>WebACL</code> that contains the
|
|
98
|
-
* <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ol>
|
|
101
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
|
|
102
|
-
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
|
|
103
|
-
* Guide</a>.</p>
|
|
104
|
-
* @example
|
|
105
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
106
|
-
* ```javascript
|
|
107
|
-
* import { WAFClient, CreateRateBasedRuleCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
108
|
-
* // const { WAFClient, CreateRateBasedRuleCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
109
|
-
* const client = new WAFClient(config);
|
|
110
|
-
* const command = new CreateRateBasedRuleCommand(input);
|
|
111
|
-
* const response = await client.send(command);
|
|
112
|
-
* ```
|
|
113
|
-
*
|
|
114
|
-
* @see {@link CreateRateBasedRuleCommandInput} for command's `input` shape.
|
|
115
|
-
* @see {@link CreateRateBasedRuleCommandOutput} for command's `response` shape.
|
|
116
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
9
|
+
|
|
119
10
|
export declare class CreateRateBasedRuleCommand extends $Command<CreateRateBasedRuleCommandInput, CreateRateBasedRuleCommandOutput, WAFClientResolvedConfig> {
|
|
120
11
|
readonly input: CreateRateBasedRuleCommandInput;
|
|
121
12
|
constructor(input: CreateRateBasedRuleCommandInput);
|
|
122
|
-
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
13
|
+
|
|
125
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRateBasedRuleCommandInput, CreateRateBasedRuleCommandOutput>;
|
|
126
15
|
private serialize;
|
|
127
16
|
private deserialize;
|
|
@@ -6,60 +6,11 @@ export interface CreateRegexMatchSetCommandInput extends CreateRegexMatchSetRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
19
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
20
|
-
* 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
|
|
21
|
-
* 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>
|
|
22
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
23
|
-
* <ol>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
26
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
33
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
37
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ol>
|
|
40
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { WAFClient, CreateRegexMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
46
|
-
* // const { WAFClient, CreateRegexMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
47
|
-
* const client = new WAFClient(config);
|
|
48
|
-
* const command = new CreateRegexMatchSetCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link CreateRegexMatchSetCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link CreateRegexMatchSetCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
9
|
+
|
|
57
10
|
export declare class CreateRegexMatchSetCommand extends $Command<CreateRegexMatchSetCommandInput, CreateRegexMatchSetCommandOutput, WAFClientResolvedConfig> {
|
|
58
11
|
readonly input: CreateRegexMatchSetCommandInput;
|
|
59
12
|
constructor(input: CreateRegexMatchSetCommandInput);
|
|
60
|
-
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
13
|
+
|
|
63
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRegexMatchSetCommandInput, CreateRegexMatchSetCommandOutput>;
|
|
64
15
|
private serialize;
|
|
65
16
|
private deserialize;
|
|
@@ -6,56 +6,11 @@ export interface CreateRegexPatternSetCommandInput extends CreateRegexPatternSet
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSetResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
12
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
13
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>For the latest version of AWS
|
|
16
|
-
* 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>
|
|
17
|
-
* </note>
|
|
18
|
-
* <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>
|
|
19
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
20
|
-
* <ol>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
23
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
30
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ol>
|
|
36
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { WAFClient, CreateRegexPatternSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
42
|
-
* // const { WAFClient, CreateRegexPatternSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
43
|
-
* const client = new WAFClient(config);
|
|
44
|
-
* const command = new CreateRegexPatternSetCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link CreateRegexPatternSetCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link CreateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
9
|
+
|
|
53
10
|
export declare class CreateRegexPatternSetCommand extends $Command<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput, WAFClientResolvedConfig> {
|
|
54
11
|
readonly input: CreateRegexPatternSetCommandInput;
|
|
55
12
|
constructor(input: CreateRegexPatternSetCommandInput);
|
|
56
|
-
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
13
|
+
|
|
59
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput>;
|
|
60
15
|
private serialize;
|
|
61
16
|
private deserialize;
|