@aws-sdk/client-waf 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/WAF.js +0 -1
- package/dist-cjs/WAFClient.js +0 -1
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +0 -1
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +0 -1
- package/dist-cjs/commands/CreateIPSetCommand.js +0 -1
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +0 -1
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +0 -1
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/CreateRuleCommand.js +0 -1
- package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +0 -1
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-cjs/commands/CreateWebACLCommand.js +0 -1
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +0 -1
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteIPSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +0 -1
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -1
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteWebACLCommand.js +0 -1
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +0 -1
- package/dist-cjs/commands/GetByteMatchSetCommand.js +0 -1
- package/dist-cjs/commands/GetChangeTokenCommand.js +0 -1
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +0 -1
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +0 -1
- package/dist-cjs/commands/GetIPSetCommand.js +0 -1
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +0 -1
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +0 -1
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/GetRuleCommand.js +0 -1
- package/dist-cjs/commands/GetRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -1
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +0 -1
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -1
- package/dist-cjs/commands/GetWebACLCommand.js +0 -1
- package/dist-cjs/commands/GetXssMatchSetCommand.js +0 -1
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +0 -1
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +0 -1
- package/dist-cjs/commands/ListIPSetsCommand.js +0 -1
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +0 -1
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +0 -1
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -1
- package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListRulesCommand.js +0 -1
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +0 -1
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListWebACLsCommand.js +0 -1
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +0 -1
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateIPSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +0 -1
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateRuleCommand.js +0 -1
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateWebACLCommand.js +0 -1
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- 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/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- 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/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
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateSqlInjectionMatchSetRequest, CreateSqlInjectionMatchSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1CreateSqlInjectionMatchSetCommand,
|
|
17
|
-
serializeAws_json1_1CreateSqlInjectionMatchSetCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateSqlInjectionMatchSetCommandInput extends CreateSqlInjectionMatchSetRequest {}
|
|
22
|
-
export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInjectionMatchSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
27
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
28
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For the latest version of AWS
|
|
31
|
-
* 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>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
|
|
34
|
-
* specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
35
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
36
|
-
* <ol>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
39
|
-
* <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
46
|
-
* <a>UpdateSqlInjectionMatchSet</a> request.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
|
|
50
|
-
* allow, block, or count malicious SQL code.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ol>
|
|
53
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
54
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { WAFClient, CreateSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
59
|
-
* // const { WAFClient, CreateSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
60
|
-
* const client = new WAFClient(config);
|
|
61
|
-
* const command = new CreateSqlInjectionMatchSetCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link CreateSqlInjectionMatchSetCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link CreateSqlInjectionMatchSetCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class CreateSqlInjectionMatchSetCommand extends $Command<
|
|
71
|
-
CreateSqlInjectionMatchSetCommandInput,
|
|
72
|
-
CreateSqlInjectionMatchSetCommandOutput,
|
|
73
|
-
WAFClientResolvedConfig
|
|
74
|
-
> {
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
|
|
78
|
-
constructor(readonly input: CreateSqlInjectionMatchSetCommandInput) {
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
super();
|
|
81
|
-
// End section: command_constructor
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(
|
|
88
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
89
|
-
configuration: WAFClientResolvedConfig,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Handler<CreateSqlInjectionMatchSetCommandInput, CreateSqlInjectionMatchSetCommandOutput> {
|
|
92
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
93
|
-
|
|
94
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
95
|
-
|
|
96
|
-
const { logger } = configuration;
|
|
97
|
-
const clientName = "WAFClient";
|
|
98
|
-
const commandName = "CreateSqlInjectionMatchSetCommand";
|
|
99
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
100
|
-
logger,
|
|
101
|
-
clientName,
|
|
102
|
-
commandName,
|
|
103
|
-
inputFilterSensitiveLog: CreateSqlInjectionMatchSetRequest.filterSensitiveLog,
|
|
104
|
-
outputFilterSensitiveLog: CreateSqlInjectionMatchSetResponse.filterSensitiveLog,
|
|
105
|
-
};
|
|
106
|
-
const { requestHandler } = configuration;
|
|
107
|
-
return stack.resolve(
|
|
108
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
109
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
110
|
-
handlerExecutionContext
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private serialize(input: CreateSqlInjectionMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
115
|
-
return serializeAws_json1_1CreateSqlInjectionMatchSetCommand(input, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private deserialize(
|
|
119
|
-
output: __HttpResponse,
|
|
120
|
-
context: __SerdeContext
|
|
121
|
-
): Promise<CreateSqlInjectionMatchSetCommandOutput> {
|
|
122
|
-
return deserializeAws_json1_1CreateSqlInjectionMatchSetCommand(output, context);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Start section: command_body_extra
|
|
126
|
-
// End section: command_body_extra
|
|
127
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateWebACLRequest, CreateWebACLResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1CreateWebACLCommand,
|
|
17
|
-
serializeAws_json1_1CreateWebACLCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateWebACLCommandInput extends CreateWebACLRequest {}
|
|
22
|
-
export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
27
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
28
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For the latest version of AWS
|
|
31
|
-
* 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>
|
|
32
|
-
* </note>
|
|
33
|
-
* <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.
|
|
34
|
-
* AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
|
|
35
|
-
* <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
|
|
36
|
-
* any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
|
|
37
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
38
|
-
* <ol>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
|
|
41
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
42
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
46
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
50
|
-
* <code>CreateWebACL</code> request.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>Submit a <code>CreateWebACL</code> request.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
57
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
|
|
61
|
-
* to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* </ol>
|
|
64
|
-
* <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>
|
|
65
|
-
* @example
|
|
66
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
67
|
-
* ```javascript
|
|
68
|
-
* import { WAFClient, CreateWebACLCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
69
|
-
* // const { WAFClient, CreateWebACLCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
70
|
-
* const client = new WAFClient(config);
|
|
71
|
-
* const command = new CreateWebACLCommand(input);
|
|
72
|
-
* const response = await client.send(command);
|
|
73
|
-
* ```
|
|
74
|
-
*
|
|
75
|
-
* @see {@link CreateWebACLCommandInput} for command's `input` shape.
|
|
76
|
-
* @see {@link CreateWebACLCommandOutput} for command's `response` shape.
|
|
77
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
export class CreateWebACLCommand extends $Command<
|
|
81
|
-
CreateWebACLCommandInput,
|
|
82
|
-
CreateWebACLCommandOutput,
|
|
83
|
-
WAFClientResolvedConfig
|
|
84
|
-
> {
|
|
85
|
-
// Start section: command_properties
|
|
86
|
-
// End section: command_properties
|
|
87
|
-
|
|
88
|
-
constructor(readonly input: CreateWebACLCommandInput) {
|
|
89
|
-
// Start section: command_constructor
|
|
90
|
-
super();
|
|
91
|
-
// End section: command_constructor
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(
|
|
98
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
99
|
-
configuration: WAFClientResolvedConfig,
|
|
100
|
-
options?: __HttpHandlerOptions
|
|
101
|
-
): Handler<CreateWebACLCommandInput, CreateWebACLCommandOutput> {
|
|
102
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
103
|
-
|
|
104
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
105
|
-
|
|
106
|
-
const { logger } = configuration;
|
|
107
|
-
const clientName = "WAFClient";
|
|
108
|
-
const commandName = "CreateWebACLCommand";
|
|
109
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
110
|
-
logger,
|
|
111
|
-
clientName,
|
|
112
|
-
commandName,
|
|
113
|
-
inputFilterSensitiveLog: CreateWebACLRequest.filterSensitiveLog,
|
|
114
|
-
outputFilterSensitiveLog: CreateWebACLResponse.filterSensitiveLog,
|
|
115
|
-
};
|
|
116
|
-
const { requestHandler } = configuration;
|
|
117
|
-
return stack.resolve(
|
|
118
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
119
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
120
|
-
handlerExecutionContext
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
private serialize(input: CreateWebACLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
125
|
-
return serializeAws_json1_1CreateWebACLCommand(input, context);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateWebACLCommandOutput> {
|
|
129
|
-
return deserializeAws_json1_1CreateWebACLCommand(output, context);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// Start section: command_body_extra
|
|
133
|
-
// End section: command_body_extra
|
|
134
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateWebACLMigrationStackRequest, CreateWebACLMigrationStackResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1CreateWebACLMigrationStackCommand,
|
|
17
|
-
serializeAws_json1_1CreateWebACLMigrationStackCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateWebACLMigrationStackCommandInput extends CreateWebACLMigrationStackRequest {}
|
|
22
|
-
export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMigrationStackResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
|
|
26
|
-
* Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
|
|
27
|
-
* Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
|
|
28
|
-
* <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
|
|
29
|
-
* For the full procedure, including caveats and manual steps to complete
|
|
30
|
-
* the migration and switch over to the new web ACL, see
|
|
31
|
-
* <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
|
|
32
|
-
* Developer Guide</a>. </p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { WAFClient, CreateWebACLMigrationStackCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
37
|
-
* // const { WAFClient, CreateWebACLMigrationStackCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
38
|
-
* const client = new WAFClient(config);
|
|
39
|
-
* const command = new CreateWebACLMigrationStackCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link CreateWebACLMigrationStackCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link CreateWebACLMigrationStackCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class CreateWebACLMigrationStackCommand extends $Command<
|
|
49
|
-
CreateWebACLMigrationStackCommandInput,
|
|
50
|
-
CreateWebACLMigrationStackCommandOutput,
|
|
51
|
-
WAFClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: CreateWebACLMigrationStackCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: WAFClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<CreateWebACLMigrationStackCommandInput, CreateWebACLMigrationStackCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "WAFClient";
|
|
76
|
-
const commandName = "CreateWebACLMigrationStackCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: CreateWebACLMigrationStackRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: CreateWebACLMigrationStackResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: CreateWebACLMigrationStackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1CreateWebACLMigrationStackCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<CreateWebACLMigrationStackCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_1CreateWebACLMigrationStackCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateXssMatchSetRequest, CreateXssMatchSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1CreateXssMatchSetCommand,
|
|
17
|
-
serializeAws_json1_1CreateXssMatchSetCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateXssMatchSetCommandInput extends CreateXssMatchSetRequest {}
|
|
22
|
-
export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
27
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
28
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For the latest version of AWS
|
|
31
|
-
* 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>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
|
|
34
|
-
* in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
35
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
36
|
-
* <ol>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
39
|
-
* <code>CreateXssMatchSet</code> request.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Submit a <code>CreateXssMatchSet</code> request.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
46
|
-
* <a>UpdateXssMatchSet</a> request.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
|
|
50
|
-
* allow, block, or count cross-site scripting attacks.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ol>
|
|
53
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
54
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { WAFClient, CreateXssMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
59
|
-
* // const { WAFClient, CreateXssMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
60
|
-
* const client = new WAFClient(config);
|
|
61
|
-
* const command = new CreateXssMatchSetCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link CreateXssMatchSetCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link CreateXssMatchSetCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class CreateXssMatchSetCommand extends $Command<
|
|
71
|
-
CreateXssMatchSetCommandInput,
|
|
72
|
-
CreateXssMatchSetCommandOutput,
|
|
73
|
-
WAFClientResolvedConfig
|
|
74
|
-
> {
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
|
|
78
|
-
constructor(readonly input: CreateXssMatchSetCommandInput) {
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
super();
|
|
81
|
-
// End section: command_constructor
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(
|
|
88
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
89
|
-
configuration: WAFClientResolvedConfig,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Handler<CreateXssMatchSetCommandInput, CreateXssMatchSetCommandOutput> {
|
|
92
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
93
|
-
|
|
94
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
95
|
-
|
|
96
|
-
const { logger } = configuration;
|
|
97
|
-
const clientName = "WAFClient";
|
|
98
|
-
const commandName = "CreateXssMatchSetCommand";
|
|
99
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
100
|
-
logger,
|
|
101
|
-
clientName,
|
|
102
|
-
commandName,
|
|
103
|
-
inputFilterSensitiveLog: CreateXssMatchSetRequest.filterSensitiveLog,
|
|
104
|
-
outputFilterSensitiveLog: CreateXssMatchSetResponse.filterSensitiveLog,
|
|
105
|
-
};
|
|
106
|
-
const { requestHandler } = configuration;
|
|
107
|
-
return stack.resolve(
|
|
108
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
109
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
110
|
-
handlerExecutionContext
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private serialize(input: CreateXssMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
115
|
-
return serializeAws_json1_1CreateXssMatchSetCommand(input, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateXssMatchSetCommandOutput> {
|
|
119
|
-
return deserializeAws_json1_1CreateXssMatchSetCommand(output, context);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Start section: command_body_extra
|
|
123
|
-
// End section: command_body_extra
|
|
124
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteByteMatchSetRequest, DeleteByteMatchSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteByteMatchSetCommand,
|
|
17
|
-
serializeAws_json1_1DeleteByteMatchSetCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteByteMatchSetCommandInput extends DeleteByteMatchSetRequest {}
|
|
22
|
-
export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
27
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
28
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>For the latest version of AWS
|
|
31
|
-
* 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>
|
|
32
|
-
* </note>
|
|
33
|
-
* <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>
|
|
34
|
-
* or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
|
|
35
|
-
* <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
36
|
-
* <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
37
|
-
* <ol>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
43
|
-
* <code>DeleteByteMatchSet</code> request.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ol>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { WAFClient, DeleteByteMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
53
|
-
* // const { WAFClient, DeleteByteMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
54
|
-
* const client = new WAFClient(config);
|
|
55
|
-
* const command = new DeleteByteMatchSetCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link DeleteByteMatchSetCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link DeleteByteMatchSetCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export class DeleteByteMatchSetCommand extends $Command<
|
|
65
|
-
DeleteByteMatchSetCommandInput,
|
|
66
|
-
DeleteByteMatchSetCommandOutput,
|
|
67
|
-
WAFClientResolvedConfig
|
|
68
|
-
> {
|
|
69
|
-
// Start section: command_properties
|
|
70
|
-
// End section: command_properties
|
|
71
|
-
|
|
72
|
-
constructor(readonly input: DeleteByteMatchSetCommandInput) {
|
|
73
|
-
// Start section: command_constructor
|
|
74
|
-
super();
|
|
75
|
-
// End section: command_constructor
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
resolveMiddleware(
|
|
82
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
83
|
-
configuration: WAFClientResolvedConfig,
|
|
84
|
-
options?: __HttpHandlerOptions
|
|
85
|
-
): Handler<DeleteByteMatchSetCommandInput, DeleteByteMatchSetCommandOutput> {
|
|
86
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
87
|
-
|
|
88
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
89
|
-
|
|
90
|
-
const { logger } = configuration;
|
|
91
|
-
const clientName = "WAFClient";
|
|
92
|
-
const commandName = "DeleteByteMatchSetCommand";
|
|
93
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
94
|
-
logger,
|
|
95
|
-
clientName,
|
|
96
|
-
commandName,
|
|
97
|
-
inputFilterSensitiveLog: DeleteByteMatchSetRequest.filterSensitiveLog,
|
|
98
|
-
outputFilterSensitiveLog: DeleteByteMatchSetResponse.filterSensitiveLog,
|
|
99
|
-
};
|
|
100
|
-
const { requestHandler } = configuration;
|
|
101
|
-
return stack.resolve(
|
|
102
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
103
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
104
|
-
handlerExecutionContext
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private serialize(input: DeleteByteMatchSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
109
|
-
return serializeAws_json1_1DeleteByteMatchSetCommand(input, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteByteMatchSetCommandOutput> {
|
|
113
|
-
return deserializeAws_json1_1DeleteByteMatchSetCommand(output, context);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Start section: command_body_extra
|
|
117
|
-
// End section: command_body_extra
|
|
118
|
-
}
|