@aws-sdk/client-waf 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/WAF.js +0 -14
- package/dist-cjs/WAFClient.js +0 -19
- package/dist-cjs/commands/CreateByteMatchSetCommand.js +0 -56
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js +0 -53
- package/dist-cjs/commands/CreateIPSetCommand.js +0 -58
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js +0 -118
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js +0 -56
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -52
- package/dist-cjs/commands/CreateRuleCommand.js +0 -76
- package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -47
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +0 -56
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -54
- package/dist-cjs/commands/CreateWebACLCommand.js +0 -64
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +0 -32
- package/dist-cjs/commands/CreateXssMatchSetCommand.js +0 -54
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteIPSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -34
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -34
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +0 -52
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -34
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -48
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -48
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +0 -48
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -49
- package/dist-cjs/commands/DeleteWebACLCommand.js +0 -46
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js +0 -49
- package/dist-cjs/commands/GetByteMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetChangeTokenCommand.js +0 -39
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js +0 -49
- package/dist-cjs/commands/GetGeoMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetIPSetCommand.js +0 -33
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -33
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetRateBasedRuleCommand.js +0 -35
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -35
- package/dist-cjs/commands/GetRegexMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -33
- package/dist-cjs/commands/GetRuleCommand.js +0 -33
- package/dist-cjs/commands/GetRuleGroupCommand.js +0 -34
- package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -37
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js +0 -33
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -33
- package/dist-cjs/commands/GetWebACLCommand.js +0 -33
- package/dist-cjs/commands/GetXssMatchSetCommand.js +0 -33
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -33
- package/dist-cjs/commands/ListByteMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListIPSetsCommand.js +0 -33
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -33
- package/dist-cjs/commands/ListRateBasedRulesCommand.js +0 -33
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -33
- package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -33
- package/dist-cjs/commands/ListRulesCommand.js +0 -33
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +0 -33
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -33
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -34
- package/dist-cjs/commands/ListWebACLsCommand.js +0 -33
- package/dist-cjs/commands/ListXssMatchSetsCommand.js +0 -33
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -50
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -65
- package/dist-cjs/commands/TagResourceCommand.js +0 -34
- package/dist-cjs/commands/UntagResourceCommand.js +0 -33
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js +0 -71
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +0 -63
- package/dist-cjs/commands/UpdateIPSetCommand.js +0 -98
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +0 -79
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +0 -67
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -72
- package/dist-cjs/commands/UpdateRuleCommand.js +0 -74
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -57
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +0 -75
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -74
- package/dist-cjs/commands/UpdateWebACLCommand.js +0 -104
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js +0 -76
- package/dist-cjs/commands/index.js +80 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -80
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -685
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/WAF.js +0 -1
- package/dist-es/WAFClient.js +0 -1
- package/dist-es/commands/CreateByteMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateIPSetCommand.js +0 -1
- package/dist-es/commands/CreateRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/CreateRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/CreateRuleCommand.js +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/CreateWebACLCommand.js +0 -1
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +0 -1
- package/dist-es/commands/CreateXssMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteByteMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js +0 -1
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePermissionPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/DeleteRuleCommand.js +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/DeleteWebACLCommand.js +0 -1
- package/dist-es/commands/DeleteXssMatchSetCommand.js +0 -1
- package/dist-es/commands/GetByteMatchSetCommand.js +0 -1
- package/dist-es/commands/GetChangeTokenCommand.js +0 -1
- package/dist-es/commands/GetChangeTokenStatusCommand.js +0 -1
- package/dist-es/commands/GetGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/GetIPSetCommand.js +0 -1
- package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
- package/dist-es/commands/GetRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
- package/dist-es/commands/GetRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/GetRuleCommand.js +0 -1
- package/dist-es/commands/GetRuleGroupCommand.js +0 -1
- package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
- package/dist-es/commands/GetSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/GetWebACLCommand.js +0 -1
- package/dist-es/commands/GetXssMatchSetCommand.js +0 -1
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
- package/dist-es/commands/ListByteMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListGeoMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListIPSetsCommand.js +0 -1
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListRateBasedRulesCommand.js +0 -1
- package/dist-es/commands/ListRegexMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListRulesCommand.js +0 -1
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +0 -1
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListWebACLsCommand.js +0 -1
- package/dist-es/commands/ListXssMatchSetsCommand.js +0 -1
- package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/PutPermissionPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateByteMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js +0 -1
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +0 -1
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/UpdateRuleCommand.js +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +0 -1
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
- package/dist-es/commands/UpdateWebACLCommand.js +0 -1
- package/dist-es/commands/UpdateXssMatchSetCommand.js +0 -1
- package/dist-es/commands/index.js +77 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -80
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +77 -0
- package/dist-types/index.d.ts +3 -79
- package/dist-types/ts3.4/WAF.d.ts +78 -1975
- package/dist-types/ts3.4/WAFClient.d.ts +24 -99
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -113
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -93
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -74
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -62
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -69
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -69
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -99
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/index.d.ts +77 -0
- package/dist-types/ts3.4/index.d.ts +3 -79
- package/dist-types/ts3.4/models/models_0.d.ts +734 -4389
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/WAF.js.map +0 -1
- package/dist-cjs/WAFClient.js.map +0 -1
- package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetRuleCommand.js.map +0 -1
- package/dist-cjs/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRulesCommand.js.map +0 -1
- package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListWebACLsCommand.js.map +0 -1
- package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRuleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/WAF.js.map +0 -1
- package/dist-es/WAFClient.js.map +0 -1
- package/dist-es/commands/CreateByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/CreateRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/CreateRuleCommand.js.map +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
- package/dist-es/commands/CreateXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist-es/commands/DeleteXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetChangeTokenCommand.js.map +0 -1
- package/dist-es/commands/GetChangeTokenStatusCommand.js.map +0 -1
- package/dist-es/commands/GetGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetIPSetCommand.js.map +0 -1
- package/dist-es/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
- package/dist-es/commands/GetRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/GetRuleCommand.js.map +0 -1
- package/dist-es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist-es/commands/GetSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/GetWebACLCommand.js.map +0 -1
- package/dist-es/commands/GetXssMatchSetCommand.js.map +0 -1
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/ListByteMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListGeoMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListRateBasedRulesCommand.js.map +0 -1
- package/dist-es/commands/ListRegexMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListRulesCommand.js.map +0 -1
- package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListWebACLsCommand.js.map +0 -1
- package/dist-es/commands/ListXssMatchSetsCommand.js.map +0 -1
- package/dist-es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateByteMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
- package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateRuleCommand.js.map +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist-es/commands/UpdateXssMatchSetCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/WAF.ts +0 -4456
- package/src/WAFClient.ts +0 -576
- package/src/commands/CreateByteMatchSetCommand.ts +0 -126
- package/src/commands/CreateGeoMatchSetCommand.ts +0 -123
- package/src/commands/CreateIPSetCommand.ts +0 -128
- package/src/commands/CreateRateBasedRuleCommand.ts +0 -188
- package/src/commands/CreateRegexMatchSetCommand.ts +0 -126
- package/src/commands/CreateRegexPatternSetCommand.ts +0 -122
- package/src/commands/CreateRuleCommand.ts +0 -146
- package/src/commands/CreateRuleGroupCommand.ts +0 -117
- package/src/commands/CreateSizeConstraintSetCommand.ts +0 -126
- package/src/commands/CreateSqlInjectionMatchSetCommand.ts +0 -127
- package/src/commands/CreateWebACLCommand.ts +0 -134
- package/src/commands/CreateWebACLMigrationStackCommand.ts +0 -105
- package/src/commands/CreateXssMatchSetCommand.ts +0 -124
- package/src/commands/DeleteByteMatchSetCommand.ts +0 -118
- package/src/commands/DeleteGeoMatchSetCommand.ts +0 -118
- package/src/commands/DeleteIPSetCommand.ts +0 -118
- package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -107
- package/src/commands/DeletePermissionPolicyCommand.ts +0 -104
- package/src/commands/DeleteRateBasedRuleCommand.ts +0 -122
- package/src/commands/DeleteRegexMatchSetCommand.ts +0 -118
- package/src/commands/DeleteRegexPatternSetCommand.ts +0 -104
- package/src/commands/DeleteRuleCommand.ts +0 -118
- package/src/commands/DeleteRuleGroupCommand.ts +0 -118
- package/src/commands/DeleteSizeConstraintSetCommand.ts +0 -118
- package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -122
- package/src/commands/DeleteWebACLCommand.ts +0 -116
- package/src/commands/DeleteXssMatchSetCommand.ts +0 -119
- package/src/commands/GetByteMatchSetCommand.ts +0 -103
- package/src/commands/GetChangeTokenCommand.ts +0 -109
- package/src/commands/GetChangeTokenStatusCommand.ts +0 -119
- package/src/commands/GetGeoMatchSetCommand.ts +0 -103
- package/src/commands/GetIPSetCommand.ts +0 -96
- package/src/commands/GetLoggingConfigurationCommand.ts +0 -103
- package/src/commands/GetPermissionPolicyCommand.ts +0 -103
- package/src/commands/GetRateBasedRuleCommand.ts +0 -105
- package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -110
- package/src/commands/GetRegexMatchSetCommand.ts +0 -103
- package/src/commands/GetRegexPatternSetCommand.ts +0 -103
- package/src/commands/GetRuleCommand.ts +0 -96
- package/src/commands/GetRuleGroupCommand.ts +0 -104
- package/src/commands/GetSampledRequestsCommand.ts +0 -107
- package/src/commands/GetSizeConstraintSetCommand.ts +0 -103
- package/src/commands/GetSqlInjectionMatchSetCommand.ts +0 -103
- package/src/commands/GetWebACLCommand.ts +0 -96
- package/src/commands/GetXssMatchSetCommand.ts +0 -103
- package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -108
- package/src/commands/ListByteMatchSetsCommand.ts +0 -103
- package/src/commands/ListGeoMatchSetsCommand.ts +0 -103
- package/src/commands/ListIPSetsCommand.ts +0 -103
- package/src/commands/ListLoggingConfigurationsCommand.ts +0 -106
- package/src/commands/ListRateBasedRulesCommand.ts +0 -103
- package/src/commands/ListRegexMatchSetsCommand.ts +0 -103
- package/src/commands/ListRegexPatternSetsCommand.ts +0 -103
- package/src/commands/ListRuleGroupsCommand.ts +0 -103
- package/src/commands/ListRulesCommand.ts +0 -96
- package/src/commands/ListSizeConstraintSetsCommand.ts +0 -103
- package/src/commands/ListSqlInjectionMatchSetsCommand.ts +0 -106
- package/src/commands/ListSubscribedRuleGroupsCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -104
- package/src/commands/ListWebACLsCommand.ts +0 -103
- package/src/commands/ListXssMatchSetsCommand.ts +0 -103
- package/src/commands/PutLoggingConfigurationCommand.ts +0 -120
- package/src/commands/PutPermissionPolicyCommand.ts +0 -135
- package/src/commands/TagResourceCommand.ts +0 -104
- package/src/commands/UntagResourceCommand.ts +0 -103
- package/src/commands/UpdateByteMatchSetCommand.ts +0 -141
- package/src/commands/UpdateGeoMatchSetCommand.ts +0 -133
- package/src/commands/UpdateIPSetCommand.ts +0 -168
- package/src/commands/UpdateRateBasedRuleCommand.ts +0 -149
- package/src/commands/UpdateRegexMatchSetCommand.ts +0 -137
- package/src/commands/UpdateRegexPatternSetCommand.ts +0 -142
- package/src/commands/UpdateRuleCommand.ts +0 -144
- package/src/commands/UpdateRuleGroupCommand.ts +0 -127
- package/src/commands/UpdateSizeConstraintSetCommand.ts +0 -145
- package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -147
- package/src/commands/UpdateWebACLCommand.ts +0 -174
- package/src/commands/UpdateXssMatchSetCommand.ts +0 -146
- package/src/endpoints.ts +0 -68
- package/src/index.ts +0 -80
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7494
- package/src/protocols/Aws_json1_1.ts +0 -11232
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,103 +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 { ListRuleGroupsRequest, ListRuleGroupsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListRuleGroupsCommand,
|
|
17
|
-
serializeAws_json1_1ListRuleGroupsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface ListRuleGroupsCommandInput extends ListRuleGroupsRequest {}
|
|
22
|
-
export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __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>Returns an array of <a>RuleGroup</a> objects.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { WAFClient, ListRuleGroupsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
38
|
-
* // const { WAFClient, ListRuleGroupsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
39
|
-
* const client = new WAFClient(config);
|
|
40
|
-
* const command = new ListRuleGroupsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link ListRuleGroupsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link ListRuleGroupsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class ListRuleGroupsCommand extends $Command<
|
|
50
|
-
ListRuleGroupsCommandInput,
|
|
51
|
-
ListRuleGroupsCommandOutput,
|
|
52
|
-
WAFClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: ListRuleGroupsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: WAFClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "WAFClient";
|
|
77
|
-
const commandName = "ListRuleGroupsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: ListRuleGroupsRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: ListRuleGroupsResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: ListRuleGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListRuleGroupsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRuleGroupsCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1ListRuleGroupsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,96 +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 { ListRulesRequest, ListRulesResponse } from "../models/models_0";
|
|
15
|
-
import { deserializeAws_json1_1ListRulesCommand, serializeAws_json1_1ListRulesCommand } from "../protocols/Aws_json1_1";
|
|
16
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
17
|
-
|
|
18
|
-
export interface ListRulesCommandInput extends ListRulesRequest {}
|
|
19
|
-
export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <note>
|
|
23
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
24
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
25
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* <b>For the latest version of AWS
|
|
28
|
-
* 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>
|
|
29
|
-
* </note>
|
|
30
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { WAFClient, ListRulesCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
35
|
-
* // const { WAFClient, ListRulesCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
36
|
-
* const client = new WAFClient(config);
|
|
37
|
-
* const command = new ListRulesCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListRulesCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListRulesCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListRulesCommand extends $Command<ListRulesCommandInput, ListRulesCommandOutput, WAFClientResolvedConfig> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListRulesCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: WAFClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListRulesCommandInput, ListRulesCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "WAFClient";
|
|
70
|
-
const commandName = "ListRulesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListRulesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListRulesResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListRulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListRulesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRulesCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListRulesCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,103 +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 { ListSizeConstraintSetsRequest, ListSizeConstraintSetsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListSizeConstraintSetsCommand,
|
|
17
|
-
serializeAws_json1_1ListSizeConstraintSetsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface ListSizeConstraintSetsCommandInput extends ListSizeConstraintSetsRequest {}
|
|
22
|
-
export interface ListSizeConstraintSetsCommandOutput extends ListSizeConstraintSetsResponse, __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>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { WAFClient, ListSizeConstraintSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
38
|
-
* // const { WAFClient, ListSizeConstraintSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
39
|
-
* const client = new WAFClient(config);
|
|
40
|
-
* const command = new ListSizeConstraintSetsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link ListSizeConstraintSetsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link ListSizeConstraintSetsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class ListSizeConstraintSetsCommand extends $Command<
|
|
50
|
-
ListSizeConstraintSetsCommandInput,
|
|
51
|
-
ListSizeConstraintSetsCommandOutput,
|
|
52
|
-
WAFClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: ListSizeConstraintSetsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: WAFClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<ListSizeConstraintSetsCommandInput, ListSizeConstraintSetsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "WAFClient";
|
|
77
|
-
const commandName = "ListSizeConstraintSetsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: ListSizeConstraintSetsRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: ListSizeConstraintSetsResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: ListSizeConstraintSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListSizeConstraintSetsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSizeConstraintSetsCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1ListSizeConstraintSetsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,106 +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 { ListSqlInjectionMatchSetsRequest, ListSqlInjectionMatchSetsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListSqlInjectionMatchSetsCommand,
|
|
17
|
-
serializeAws_json1_1ListSqlInjectionMatchSetsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface ListSqlInjectionMatchSetsCommandInput extends ListSqlInjectionMatchSetsRequest {}
|
|
22
|
-
export interface ListSqlInjectionMatchSetsCommandOutput extends ListSqlInjectionMatchSetsResponse, __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>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { WAFClient, ListSqlInjectionMatchSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
38
|
-
* // const { WAFClient, ListSqlInjectionMatchSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
39
|
-
* const client = new WAFClient(config);
|
|
40
|
-
* const command = new ListSqlInjectionMatchSetsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link ListSqlInjectionMatchSetsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link ListSqlInjectionMatchSetsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class ListSqlInjectionMatchSetsCommand extends $Command<
|
|
50
|
-
ListSqlInjectionMatchSetsCommandInput,
|
|
51
|
-
ListSqlInjectionMatchSetsCommandOutput,
|
|
52
|
-
WAFClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: ListSqlInjectionMatchSetsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: WAFClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<ListSqlInjectionMatchSetsCommandInput, ListSqlInjectionMatchSetsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "WAFClient";
|
|
77
|
-
const commandName = "ListSqlInjectionMatchSetsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: ListSqlInjectionMatchSetsRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: ListSqlInjectionMatchSetsResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: ListSqlInjectionMatchSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListSqlInjectionMatchSetsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<ListSqlInjectionMatchSetsCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1ListSqlInjectionMatchSetsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,103 +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 { ListSubscribedRuleGroupsRequest, ListSubscribedRuleGroupsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListSubscribedRuleGroupsCommand,
|
|
17
|
-
serializeAws_json1_1ListSubscribedRuleGroupsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface ListSubscribedRuleGroupsCommandInput extends ListSubscribedRuleGroupsRequest {}
|
|
22
|
-
export interface ListSubscribedRuleGroupsCommandOutput extends ListSubscribedRuleGroupsResponse, __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>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { WAFClient, ListSubscribedRuleGroupsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
38
|
-
* // const { WAFClient, ListSubscribedRuleGroupsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
39
|
-
* const client = new WAFClient(config);
|
|
40
|
-
* const command = new ListSubscribedRuleGroupsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link ListSubscribedRuleGroupsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link ListSubscribedRuleGroupsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class ListSubscribedRuleGroupsCommand extends $Command<
|
|
50
|
-
ListSubscribedRuleGroupsCommandInput,
|
|
51
|
-
ListSubscribedRuleGroupsCommandOutput,
|
|
52
|
-
WAFClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: ListSubscribedRuleGroupsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: WAFClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<ListSubscribedRuleGroupsCommandInput, ListSubscribedRuleGroupsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "WAFClient";
|
|
77
|
-
const commandName = "ListSubscribedRuleGroupsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: ListSubscribedRuleGroupsRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: ListSubscribedRuleGroupsResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: ListSubscribedRuleGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListSubscribedRuleGroupsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSubscribedRuleGroupsCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1ListSubscribedRuleGroupsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,104 +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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
17
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __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>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
34
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { WAFClient, ListTagsForResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
39
|
-
* // const { WAFClient, ListTagsForResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
40
|
-
* const client = new WAFClient(config);
|
|
41
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
51
|
-
ListTagsForResourceCommandInput,
|
|
52
|
-
ListTagsForResourceCommandOutput,
|
|
53
|
-
WAFClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: WAFClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "WAFClient";
|
|
78
|
-
const commandName = "ListTagsForResourceCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|