@aws-sdk/client-waf 3.194.0 → 3.196.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 +19 -0
- package/dist-cjs/WAFClient.js +11 -8
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateIPSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/CreateRuleCommand.js +10 -0
- package/dist-cjs/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/CreateWebACLCommand.js +10 -0
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +10 -0
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteIPSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteWebACLCommand.js +10 -0
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetChangeTokenCommand.js +10 -0
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +10 -0
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetIPSetCommand.js +10 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/GetRuleCommand.js +10 -0
- package/dist-cjs/commands/GetRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/GetWebACLCommand.js +10 -0
- package/dist-cjs/commands/GetXssMatchSetCommand.js +10 -0
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListIPSetsCommand.js +10 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +10 -0
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-cjs/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListRulesCommand.js +10 -0
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +10 -0
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListWebACLsCommand.js +10 -0
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +10 -0
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateIPSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateWebACLCommand.js +10 -0
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +648 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/WAFClient.js +12 -9
- package/dist-es/commands/CreateByteMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateIPSetCommand.js +10 -0
- package/dist-es/commands/CreateRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/CreateRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/CreateRuleCommand.js +10 -0
- package/dist-es/commands/CreateRuleGroupCommand.js +10 -0
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/CreateWebACLCommand.js +10 -0
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +10 -0
- package/dist-es/commands/CreateXssMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteByteMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteIPSetCommand.js +10 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/DeletePermissionPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/DeleteRuleCommand.js +10 -0
- package/dist-es/commands/DeleteRuleGroupCommand.js +10 -0
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/DeleteWebACLCommand.js +10 -0
- package/dist-es/commands/DeleteXssMatchSetCommand.js +10 -0
- package/dist-es/commands/GetByteMatchSetCommand.js +10 -0
- package/dist-es/commands/GetChangeTokenCommand.js +10 -0
- package/dist-es/commands/GetChangeTokenStatusCommand.js +10 -0
- package/dist-es/commands/GetGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/GetIPSetCommand.js +10 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/GetPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/GetRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
- package/dist-es/commands/GetRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/GetRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/GetRuleCommand.js +10 -0
- package/dist-es/commands/GetRuleGroupCommand.js +10 -0
- package/dist-es/commands/GetSampledRequestsCommand.js +10 -0
- package/dist-es/commands/GetSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/GetWebACLCommand.js +10 -0
- package/dist-es/commands/GetXssMatchSetCommand.js +10 -0
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
- package/dist-es/commands/ListByteMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListGeoMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListIPSetsCommand.js +10 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListRateBasedRulesCommand.js +10 -0
- package/dist-es/commands/ListRegexMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListRegexPatternSetsCommand.js +10 -0
- package/dist-es/commands/ListRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListRulesCommand.js +10 -0
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +10 -0
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListWebACLsCommand.js +10 -0
- package/dist-es/commands/ListXssMatchSetsCommand.js +10 -0
- package/dist-es/commands/PutLoggingConfigurationCommand.js +10 -0
- package/dist-es/commands/PutPermissionPolicyCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateByteMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateIPSetCommand.js +10 -0
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +10 -0
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +10 -0
- package/dist-es/commands/UpdateRuleCommand.js +10 -0
- package/dist-es/commands/UpdateRuleGroupCommand.js +10 -0
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +10 -0
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
- package/dist-es/commands/UpdateWebACLCommand.js +10 -0
- package/dist-es/commands/UpdateXssMatchSetCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +645 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/WAFClient.d.ts +6 -9
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +2 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/GetRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +2 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/WAFClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -151
- package/dist-es/endpoints.js +0 -147
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-es/WAFClient.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
6
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
10
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
13
|
export class WAFClient extends __Client {
|
|
12
14
|
constructor(configuration) {
|
|
13
15
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
-
const _config_1 =
|
|
15
|
-
const _config_2 =
|
|
16
|
-
const _config_3 =
|
|
17
|
-
const _config_4 =
|
|
18
|
-
const _config_5 =
|
|
19
|
-
const _config_6 =
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
17
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
18
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
19
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
20
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
21
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
22
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
23
|
+
super(_config_7);
|
|
24
|
+
this.config = _config_7;
|
|
22
25
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
26
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
27
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateByteMatchSetRequestFilterSensitiveLog, CreateByteMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateByteMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateByteMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateGeoMatchSetRequestFilterSensitiveLog, CreateGeoMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateGeoMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateGeoMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateIPSetRequestFilterSensitiveLog, CreateIPSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateIPSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateIPSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRateBasedRuleRequestFilterSensitiveLog, CreateRateBasedRuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRateBasedRuleCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRateBasedRuleCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRegexMatchSetRequestFilterSensitiveLog, CreateRegexMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRegexMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRegexMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRegexPatternSetRequestFilterSensitiveLog, CreateRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRegexPatternSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRegexPatternSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRuleRequestFilterSensitiveLog, CreateRuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRuleCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRuleCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateRuleGroupRequestFilterSensitiveLog, CreateRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateRuleGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRuleGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateSizeConstraintSetRequestFilterSensitiveLog, CreateSizeConstraintSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateSizeConstraintSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSizeConstraintSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateSqlInjectionMatchSetRequestFilterSensitiveLog, CreateSqlInjectionMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateSqlInjectionMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSqlInjectionMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateWebACLRequestFilterSensitiveLog, CreateWebACLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateWebACLCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateWebACLCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateWebACLMigrationStackRequestFilterSensitiveLog, CreateWebACLMigrationStackResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateWebACLMigrationStackCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateWebACLMigrationStackCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateXssMatchSetRequestFilterSensitiveLog, CreateXssMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class CreateXssMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateXssMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteByteMatchSetRequestFilterSensitiveLog, DeleteByteMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteByteMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteByteMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteGeoMatchSetRequestFilterSensitiveLog, DeleteGeoMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteGeoMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteGeoMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteIPSetRequestFilterSensitiveLog, DeleteIPSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteIPSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteIPSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteLoggingConfigurationRequestFilterSensitiveLog, DeleteLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteLoggingConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeletePermissionPolicyRequestFilterSensitiveLog, DeletePermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeletePermissionPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeletePermissionPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRateBasedRuleRequestFilterSensitiveLog, DeleteRateBasedRuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRateBasedRuleCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRateBasedRuleCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRegexMatchSetRequestFilterSensitiveLog, DeleteRegexMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRegexMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRegexMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRegexPatternSetRequestFilterSensitiveLog, DeleteRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRegexPatternSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRegexPatternSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRuleRequestFilterSensitiveLog, DeleteRuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRuleCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRuleCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteRuleGroupRequestFilterSensitiveLog, DeleteRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteRuleGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRuleGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteSizeConstraintSetRequestFilterSensitiveLog, DeleteSizeConstraintSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteSizeConstraintSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSizeConstraintSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteSqlInjectionMatchSetRequestFilterSensitiveLog, DeleteSqlInjectionMatchSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSqlInjectionMatchSetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WAFClient";
|