@aws-sdk/client-wafv2 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/{dist/cjs → dist-cjs}/WAFV2.js +2 -3
- package/{dist/cjs → dist-cjs}/WAFV2Client.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AssociateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CheckCapacityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallManagerRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeManagedRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetManagedRuleSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRateBasedStatementManagedKeysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetSampledRequestsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetWebACLForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListIPSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListLoggingConfigurationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListManagedRuleSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRegexPatternSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListResourcesForWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListWebACLsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutManagedRuleSetVersionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +14 -5
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +29 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/WAFV2.js +3 -65
- package/dist-es/WAFV2Client.js +37 -0
- package/{dist/es → dist-es}/commands/AssociateWebACLCommand.js +4 -34
- package/dist-es/commands/CheckCapacityCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateIPSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateRegexPatternSetCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateWebACLCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteFirewallManagerRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteIPSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeletePermissionPolicyCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteRegexPatternSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteWebACLCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DescribeManagedRuleGroupCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DisassociateWebACLCommand.js +4 -33
- package/{dist/es → dist-es}/commands/GetIPSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetManagedRuleSetCommand.js +4 -34
- package/{dist/es → dist-es}/commands/GetPermissionPolicyCommand.js +4 -31
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetRegexPatternSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetRuleGroupCommand.js +4 -30
- package/dist-es/commands/GetSampledRequestsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetWebACLCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetWebACLForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListIPSetsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListLoggingConfigurationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListManagedRuleSetsCommand.js +4 -34
- package/{dist/es → dist-es}/commands/ListRegexPatternSetsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListResourcesForWebACLCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -37
- package/{dist/es → dist-es}/commands/ListWebACLsCommand.js +4 -31
- package/dist-es/commands/PutLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/PutPermissionPolicyCommand.js +4 -46
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -37
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateIPSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +4 -36
- package/{dist/es → dist-es}/commands/UpdateRegexPatternSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -34
- package/dist-es/commands/UpdateWebACLCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +4 -547
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1350 -1332
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/WAFV2.d.ts +3 -3
- package/{dist/types → dist-types}/WAFV2Client.d.ts +9 -9
- package/{dist/types → dist-types}/commands/AssociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CheckCapacityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListIPSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListWebACLsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +34 -5
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/WAFV2.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/WAFV2Client.d.ts +9 -9
- package/{dist/types → dist-types}/ts3.4/commands/AssociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CheckCapacityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListIPSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListWebACLsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +34 -5
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/WAFV2.ts +0 -1794
- package/WAFV2Client.ts +0 -494
- package/commands/AssociateWebACLCommand.ts +0 -98
- package/commands/CheckCapacityCommand.ts +0 -105
- package/commands/CreateIPSetCommand.ts +0 -97
- package/commands/CreateRegexPatternSetCommand.ts +0 -95
- package/commands/CreateRuleGroupCommand.ts +0 -95
- package/commands/CreateWebACLCommand.ts +0 -95
- package/commands/DeleteFirewallManagerRuleGroupsCommand.ts +0 -104
- package/commands/DeleteIPSetCommand.ts +0 -94
- package/commands/DeleteLoggingConfigurationCommand.ts +0 -97
- package/commands/DeletePermissionPolicyCommand.ts +0 -95
- package/commands/DeleteRegexPatternSetCommand.ts +0 -94
- package/commands/DeleteRuleGroupCommand.ts +0 -94
- package/commands/DeleteWebACLCommand.ts +0 -96
- package/commands/DescribeManagedRuleGroupCommand.ts +0 -95
- package/commands/DisassociateWebACLCommand.ts +0 -97
- package/commands/GetIPSetCommand.ts +0 -87
- package/commands/GetLoggingConfigurationCommand.ts +0 -94
- package/commands/GetManagedRuleSetCommand.ts +0 -98
- package/commands/GetPermissionPolicyCommand.ts +0 -95
- package/commands/GetRateBasedStatementManagedKeysCommand.ts +0 -104
- package/commands/GetRegexPatternSetCommand.ts +0 -94
- package/commands/GetRuleGroupCommand.ts +0 -94
- package/commands/GetSampledRequestsCommand.ts +0 -103
- package/commands/GetWebACLCommand.ts +0 -91
- package/commands/GetWebACLForResourceCommand.ts +0 -94
- package/commands/ListAvailableManagedRuleGroupVersionsCommand.ts +0 -106
- package/commands/ListAvailableManagedRuleGroupsCommand.ts +0 -104
- package/commands/ListIPSetsCommand.ts +0 -95
- package/commands/ListLoggingConfigurationsCommand.ts +0 -97
- package/commands/ListManagedRuleSetsCommand.ts +0 -98
- package/commands/ListRegexPatternSetsCommand.ts +0 -95
- package/commands/ListResourcesForWebACLCommand.ts +0 -96
- package/commands/ListRuleGroupsCommand.ts +0 -95
- package/commands/ListTagsForResourceCommand.ts +0 -101
- package/commands/ListWebACLsCommand.ts +0 -95
- package/commands/PutLoggingConfigurationCommand.ts +0 -124
- package/commands/PutManagedRuleSetVersionsCommand.ts +0 -108
- package/commands/PutPermissionPolicyCommand.ts +0 -110
- package/commands/TagResourceCommand.ts +0 -101
- package/commands/UntagResourceCommand.ts +0 -97
- package/commands/UpdateIPSetCommand.ts +0 -97
- package/commands/UpdateManagedRuleSetVersionExpiryDateCommand.ts +0 -112
- package/commands/UpdateRegexPatternSetCommand.ts +0 -97
- package/commands/UpdateRuleGroupCommand.ts +0 -98
- package/commands/UpdateWebACLCommand.ts +0 -98
- package/dist/cjs/WAFV2.js.map +0 -1
- package/dist/cjs/WAFV2Client.js.map +0 -1
- package/dist/cjs/commands/AssociateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/CheckCapacityCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallManagerRuleGroupsCommand.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/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateWebACLCommand.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/GetManagedRuleSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
- package/dist/cjs/commands/GetRegexPatternSetCommand.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/GetWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/GetWebACLForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAvailableManagedRuleGroupsCommand.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/ListManagedRuleSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesForWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/ListRuleGroupsCommand.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/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/PutManagedRuleSetVersionsCommand.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/UpdateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateWebACLCommand.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/package.json +0 -91
- 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/WAFV2.js.map +0 -1
- package/dist/es/WAFV2Client.js +0 -104
- package/dist/es/WAFV2Client.js.map +0 -1
- package/dist/es/commands/AssociateWebACLCommand.js.map +0 -1
- package/dist/es/commands/CheckCapacityCommand.js +0 -76
- package/dist/es/commands/CheckCapacityCommand.js.map +0 -1
- package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallManagerRuleGroupsCommand.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/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/es/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DisassociateWebACLCommand.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/GetManagedRuleSetCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js +0 -67
- package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
- package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/GetSampledRequestsCommand.js +0 -74
- package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableManagedRuleGroupsCommand.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/ListManagedRuleSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesForWebACLCommand.js.map +0 -1
- package/dist/es/commands/ListRuleGroupsCommand.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/PutLoggingConfigurationCommand.js +0 -95
- package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/PutManagedRuleSetVersionsCommand.js +0 -76
- package/dist/es/commands/PutManagedRuleSetVersionsCommand.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/UpdateIPSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateWebACLCommand.js +0 -69
- package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -49
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- 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/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -6624
- package/protocols/Aws_json1_1.ts +0 -8472
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { DisassociateWebACLRequest, DisassociateWebACLResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DisassociateWebACLCommand,
|
|
5
|
-
serializeAws_json1_1DisassociateWebACLCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DisassociateWebACLCommandInput extends DisassociateWebACLRequest {}
|
|
21
|
-
export interface DisassociateWebACLCommandOutput extends DisassociateWebACLResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
|
|
25
|
-
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
26
|
-
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
|
|
27
|
-
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { WAFV2Client, DisassociateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
32
|
-
* // const { WAFV2Client, DisassociateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
33
|
-
* const client = new WAFV2Client(config);
|
|
34
|
-
* const command = new DisassociateWebACLCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DisassociateWebACLCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DisassociateWebACLCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DisassociateWebACLCommand extends $Command<
|
|
44
|
-
DisassociateWebACLCommandInput,
|
|
45
|
-
DisassociateWebACLCommandOutput,
|
|
46
|
-
WAFV2ClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DisassociateWebACLCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "WAFV2Client";
|
|
71
|
-
const commandName = "DisassociateWebACLCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DisassociateWebACLRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DisassociateWebACLResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DisassociateWebACLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DisassociateWebACLCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateWebACLCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1DisassociateWebACLCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetIPSetCommand, serializeAws_json1_1GetIPSetCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface GetIPSetCommandInput extends GetIPSetRequest {}
|
|
18
|
-
export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Retrieves the specified <a>IPSet</a>.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { WAFV2Client, GetIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
26
|
-
* // const { WAFV2Client, GetIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
27
|
-
* const client = new WAFV2Client(config);
|
|
28
|
-
* const command = new GetIPSetCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link GetIPSetCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link GetIPSetCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class GetIPSetCommand extends $Command<GetIPSetCommandInput, GetIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
|
-
|
|
41
|
-
constructor(readonly input: GetIPSetCommandInput) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
|
-
super();
|
|
44
|
-
// End section: command_constructor
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
resolveMiddleware(
|
|
51
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
52
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
53
|
-
options?: __HttpHandlerOptions
|
|
54
|
-
): Handler<GetIPSetCommandInput, GetIPSetCommandOutput> {
|
|
55
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
|
-
|
|
57
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
58
|
-
|
|
59
|
-
const { logger } = configuration;
|
|
60
|
-
const clientName = "WAFV2Client";
|
|
61
|
-
const commandName = "GetIPSetCommand";
|
|
62
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
63
|
-
logger,
|
|
64
|
-
clientName,
|
|
65
|
-
commandName,
|
|
66
|
-
inputFilterSensitiveLog: GetIPSetRequest.filterSensitiveLog,
|
|
67
|
-
outputFilterSensitiveLog: GetIPSetResponse.filterSensitiveLog,
|
|
68
|
-
};
|
|
69
|
-
const { requestHandler } = configuration;
|
|
70
|
-
return stack.resolve(
|
|
71
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
72
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
73
|
-
handlerExecutionContext
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
private serialize(input: GetIPSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
78
|
-
return serializeAws_json1_1GetIPSetCommand(input, context);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIPSetCommandOutput> {
|
|
82
|
-
return deserializeAws_json1_1GetIPSetCommand(output, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Start section: command_body_extra
|
|
86
|
-
// End section: command_body_extra
|
|
87
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetLoggingConfigurationRequest, GetLoggingConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetLoggingConfigurationCommand,
|
|
5
|
-
serializeAws_json1_1GetLoggingConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetLoggingConfigurationCommandInput extends GetLoggingConfigurationRequest {}
|
|
21
|
-
export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigurationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { WAFV2Client, GetLoggingConfigurationCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
29
|
-
* // const { WAFV2Client, GetLoggingConfigurationCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
30
|
-
* const client = new WAFV2Client(config);
|
|
31
|
-
* const command = new GetLoggingConfigurationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetLoggingConfigurationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetLoggingConfigurationCommand extends $Command<
|
|
41
|
-
GetLoggingConfigurationCommandInput,
|
|
42
|
-
GetLoggingConfigurationCommandOutput,
|
|
43
|
-
WAFV2ClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetLoggingConfigurationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "WAFV2Client";
|
|
68
|
-
const commandName = "GetLoggingConfigurationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetLoggingConfigurationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetLoggingConfigurationResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetLoggingConfigurationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLoggingConfigurationCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetLoggingConfigurationCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetManagedRuleSetRequest, GetManagedRuleSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetManagedRuleSetCommand,
|
|
5
|
-
serializeAws_json1_1GetManagedRuleSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetManagedRuleSetCommandInput extends GetManagedRuleSetRequest {}
|
|
21
|
-
export interface GetManagedRuleSetCommandOutput extends GetManagedRuleSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the specified managed rule set. </p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
|
|
27
|
-
* <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { WAFV2Client, GetManagedRuleSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
33
|
-
* // const { WAFV2Client, GetManagedRuleSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
34
|
-
* const client = new WAFV2Client(config);
|
|
35
|
-
* const command = new GetManagedRuleSetCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetManagedRuleSetCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetManagedRuleSetCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetManagedRuleSetCommand extends $Command<
|
|
45
|
-
GetManagedRuleSetCommandInput,
|
|
46
|
-
GetManagedRuleSetCommandOutput,
|
|
47
|
-
WAFV2ClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetManagedRuleSetCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "WAFV2Client";
|
|
72
|
-
const commandName = "GetManagedRuleSetCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetManagedRuleSetRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetManagedRuleSetResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: GetManagedRuleSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1GetManagedRuleSetCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetManagedRuleSetCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1GetManagedRuleSetCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetPermissionPolicyRequest, GetPermissionPolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetPermissionPolicyCommand,
|
|
5
|
-
serializeAws_json1_1GetPermissionPolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetPermissionPolicyCommandInput extends GetPermissionPolicyRequest {}
|
|
21
|
-
export interface GetPermissionPolicyCommandOutput extends GetPermissionPolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the IAM policy that is attached to the specified rule group.</p>
|
|
25
|
-
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WAFV2Client, GetPermissionPolicyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
30
|
-
* // const { WAFV2Client, GetPermissionPolicyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
31
|
-
* const client = new WAFV2Client(config);
|
|
32
|
-
* const command = new GetPermissionPolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetPermissionPolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetPermissionPolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetPermissionPolicyCommand extends $Command<
|
|
42
|
-
GetPermissionPolicyCommandInput,
|
|
43
|
-
GetPermissionPolicyCommandOutput,
|
|
44
|
-
WAFV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetPermissionPolicyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "WAFV2Client";
|
|
69
|
-
const commandName = "GetPermissionPolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetPermissionPolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetPermissionPolicyResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetPermissionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1GetPermissionPolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPermissionPolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1GetPermissionPolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetRateBasedStatementManagedKeysRequest, GetRateBasedStatementManagedKeysResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand,
|
|
5
|
-
serializeAws_json1_1GetRateBasedStatementManagedKeysCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetRateBasedStatementManagedKeysCommandInput extends GetRateBasedStatementManagedKeysRequest {}
|
|
21
|
-
export interface GetRateBasedStatementManagedKeysCommandOutput
|
|
22
|
-
extends GetRateBasedStatementManagedKeysResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Retrieves the keys that are currently blocked by a rate-based rule instance. The maximum number of managed keys that can be blocked for a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, those with the highest rates are blocked.</p>
|
|
27
|
-
* <p>For a rate-based rule that you've defined inside a rule group, provide the name of the rule group reference statement in your request, in addition to the rate-based rule name and the web ACL name. </p>
|
|
28
|
-
* <p>WAF monitors web requests and manages keys independently for each unique combination of web ACL, optional rule group, and rate-based rule. For example, if you define a rate-based rule inside a rule group, and then use the rule group in a web ACL, WAF monitors web requests and manages keys for that web ACL, rule group reference statement, and rate-based rule instance. If you use the same rule group in a second web ACL, WAF monitors web requests and manages keys for this second usage completely independent of your first. </p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { WAFV2Client, GetRateBasedStatementManagedKeysCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
33
|
-
* // const { WAFV2Client, GetRateBasedStatementManagedKeysCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
34
|
-
* const client = new WAFV2Client(config);
|
|
35
|
-
* const command = new GetRateBasedStatementManagedKeysCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetRateBasedStatementManagedKeysCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetRateBasedStatementManagedKeysCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class GetRateBasedStatementManagedKeysCommand extends $Command<
|
|
45
|
-
GetRateBasedStatementManagedKeysCommandInput,
|
|
46
|
-
GetRateBasedStatementManagedKeysCommandOutput,
|
|
47
|
-
WAFV2ClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: GetRateBasedStatementManagedKeysCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "WAFV2Client";
|
|
72
|
-
const commandName = "GetRateBasedStatementManagedKeysCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: GetRateBasedStatementManagedKeysRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: GetRateBasedStatementManagedKeysResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: GetRateBasedStatementManagedKeysCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1GetRateBasedStatementManagedKeysCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<GetRateBasedStatementManagedKeysCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
2
|
-
import { GetRegexPatternSetRequest, GetRegexPatternSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetRegexPatternSetCommand,
|
|
5
|
-
serializeAws_json1_1GetRegexPatternSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetRegexPatternSetCommandInput extends GetRegexPatternSetRequest {}
|
|
21
|
-
export interface GetRegexPatternSetCommandOutput extends GetRegexPatternSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the specified <a>RegexPatternSet</a>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { WAFV2Client, GetRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
29
|
-
* // const { WAFV2Client, GetRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
30
|
-
* const client = new WAFV2Client(config);
|
|
31
|
-
* const command = new GetRegexPatternSetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetRegexPatternSetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetRegexPatternSetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetRegexPatternSetCommand extends $Command<
|
|
41
|
-
GetRegexPatternSetCommandInput,
|
|
42
|
-
GetRegexPatternSetCommandOutput,
|
|
43
|
-
WAFV2ClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetRegexPatternSetCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: WAFV2ClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "WAFV2Client";
|
|
68
|
-
const commandName = "GetRegexPatternSetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetRegexPatternSetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetRegexPatternSetResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetRegexPatternSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetRegexPatternSetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRegexPatternSetCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetRegexPatternSetCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|