@aws-sdk/client-wafv2 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/WAFV2.js +0 -1
- package/dist-cjs/WAFV2Client.js +0 -1
- package/dist-cjs/commands/AssociateWebACLCommand.js +0 -1
- package/dist-cjs/commands/CheckCapacityCommand.js +0 -1
- package/dist-cjs/commands/CreateIPSetCommand.js +0 -1
- package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateWebACLCommand.js +0 -1
- package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/DeleteIPSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteWebACLCommand.js +0 -1
- package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DisassociateWebACLCommand.js +0 -1
- package/dist-cjs/commands/GetIPSetCommand.js +0 -1
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetManagedRuleSetCommand.js +0 -1
- package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +0 -1
- package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/GetRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -1
- package/dist-cjs/commands/GetWebACLCommand.js +0 -1
- package/dist-cjs/commands/GetWebACLForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListIPSetsCommand.js +0 -1
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListManagedRuleSetsCommand.js +0 -1
- package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -1
- package/dist-cjs/commands/ListResourcesForWebACLCommand.js +0 -1
- package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListWebACLsCommand.js +0 -1
- package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +0 -1
- package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateIPSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +0 -1
- package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateWebACLCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/WAFV2.js +0 -1
- package/dist-es/WAFV2Client.js +0 -1
- package/dist-es/commands/AssociateWebACLCommand.js +0 -1
- package/dist-es/commands/CheckCapacityCommand.js +0 -1
- package/dist-es/commands/CreateIPSetCommand.js +0 -1
- package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-es/commands/CreateWebACLCommand.js +0 -1
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.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/DeleteRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-es/commands/DeleteWebACLCommand.js +0 -1
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +0 -1
- package/dist-es/commands/DisassociateWebACLCommand.js +0 -1
- package/dist-es/commands/GetIPSetCommand.js +0 -1
- package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/GetManagedRuleSetCommand.js +0 -1
- package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +0 -1
- package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/GetRuleGroupCommand.js +0 -1
- package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
- package/dist-es/commands/GetWebACLCommand.js +0 -1
- package/dist-es/commands/GetWebACLForResourceCommand.js +0 -1
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +0 -1
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListIPSetsCommand.js +0 -1
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListManagedRuleSetsCommand.js +0 -1
- package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
- package/dist-es/commands/ListResourcesForWebACLCommand.js +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListWebACLsCommand.js +0 -1
- package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.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/UpdateIPSetCommand.js +0 -1
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +0 -1
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-es/commands/UpdateWebACLCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/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/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.map +0 -1
- package/dist-es/commands/AssociateWebACLCommand.js.map +0 -1
- 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.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.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.map +0 -1
- 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.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/WAFV2.ts +0 -1795
- package/src/WAFV2Client.ts +0 -495
- package/src/commands/AssociateWebACLCommand.ts +0 -99
- package/src/commands/CheckCapacityCommand.ts +0 -106
- package/src/commands/CreateIPSetCommand.ts +0 -98
- package/src/commands/CreateRegexPatternSetCommand.ts +0 -96
- package/src/commands/CreateRuleGroupCommand.ts +0 -96
- package/src/commands/CreateWebACLCommand.ts +0 -96
- package/src/commands/DeleteFirewallManagerRuleGroupsCommand.ts +0 -105
- package/src/commands/DeleteIPSetCommand.ts +0 -95
- package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -98
- package/src/commands/DeletePermissionPolicyCommand.ts +0 -96
- package/src/commands/DeleteRegexPatternSetCommand.ts +0 -95
- package/src/commands/DeleteRuleGroupCommand.ts +0 -95
- package/src/commands/DeleteWebACLCommand.ts +0 -97
- package/src/commands/DescribeManagedRuleGroupCommand.ts +0 -96
- package/src/commands/DisassociateWebACLCommand.ts +0 -98
- package/src/commands/GetIPSetCommand.ts +0 -88
- package/src/commands/GetLoggingConfigurationCommand.ts +0 -95
- package/src/commands/GetManagedRuleSetCommand.ts +0 -99
- package/src/commands/GetPermissionPolicyCommand.ts +0 -96
- package/src/commands/GetRateBasedStatementManagedKeysCommand.ts +0 -105
- package/src/commands/GetRegexPatternSetCommand.ts +0 -95
- package/src/commands/GetRuleGroupCommand.ts +0 -95
- package/src/commands/GetSampledRequestsCommand.ts +0 -104
- package/src/commands/GetWebACLCommand.ts +0 -92
- package/src/commands/GetWebACLForResourceCommand.ts +0 -95
- package/src/commands/ListAvailableManagedRuleGroupVersionsCommand.ts +0 -107
- package/src/commands/ListAvailableManagedRuleGroupsCommand.ts +0 -105
- package/src/commands/ListIPSetsCommand.ts +0 -96
- package/src/commands/ListLoggingConfigurationsCommand.ts +0 -98
- package/src/commands/ListManagedRuleSetsCommand.ts +0 -99
- package/src/commands/ListRegexPatternSetsCommand.ts +0 -96
- package/src/commands/ListResourcesForWebACLCommand.ts +0 -97
- package/src/commands/ListRuleGroupsCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -102
- package/src/commands/ListWebACLsCommand.ts +0 -96
- package/src/commands/PutLoggingConfigurationCommand.ts +0 -125
- package/src/commands/PutManagedRuleSetVersionsCommand.ts +0 -109
- package/src/commands/PutPermissionPolicyCommand.ts +0 -111
- package/src/commands/TagResourceCommand.ts +0 -102
- package/src/commands/UntagResourceCommand.ts +0 -98
- package/src/commands/UpdateIPSetCommand.ts +0 -98
- package/src/commands/UpdateManagedRuleSetVersionExpiryDateCommand.ts +0 -113
- package/src/commands/UpdateRegexPatternSetCommand.ts +0 -98
- package/src/commands/UpdateRuleGroupCommand.ts +0 -99
- package/src/commands/UpdateWebACLCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -48
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6660
- package/src/protocols/Aws_json1_1.ts +0 -8508
- 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,95 +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 { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteIPSetCommand,
|
|
17
|
-
serializeAws_json1_1DeleteIPSetCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeleteIPSetCommandInput extends DeleteIPSetRequest {}
|
|
22
|
-
export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the specified <a>IPSet</a>. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WAFV2Client, DeleteIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
30
|
-
* // const { WAFV2Client, DeleteIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
31
|
-
* const client = new WAFV2Client(config);
|
|
32
|
-
* const command = new DeleteIPSetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteIPSetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteIPSetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteIPSetCommand extends $Command<
|
|
42
|
-
DeleteIPSetCommandInput,
|
|
43
|
-
DeleteIPSetCommandOutput,
|
|
44
|
-
WAFV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteIPSetCommandInput) {
|
|
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<DeleteIPSetCommandInput, DeleteIPSetCommandOutput> {
|
|
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 = "DeleteIPSetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteIPSetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteIPSetResponse.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: DeleteIPSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteIPSetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIPSetCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeleteIPSetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,98 +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 { DeleteLoggingConfigurationRequest, DeleteLoggingConfigurationResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteLoggingConfigurationCommand,
|
|
17
|
-
serializeAws_json1_1DeleteLoggingConfigurationCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeleteLoggingConfigurationCommandInput extends DeleteLoggingConfigurationRequest {}
|
|
22
|
-
export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingConfigurationResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the <a>LoggingConfiguration</a> from the specified web ACL.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WAFV2Client, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
30
|
-
* // const { WAFV2Client, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
31
|
-
* const client = new WAFV2Client(config);
|
|
32
|
-
* const command = new DeleteLoggingConfigurationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteLoggingConfigurationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteLoggingConfigurationCommand extends $Command<
|
|
42
|
-
DeleteLoggingConfigurationCommandInput,
|
|
43
|
-
DeleteLoggingConfigurationCommandOutput,
|
|
44
|
-
WAFV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteLoggingConfigurationCommandInput) {
|
|
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<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput> {
|
|
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 = "DeleteLoggingConfigurationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteLoggingConfigurationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteLoggingConfigurationResponse.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: DeleteLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteLoggingConfigurationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<DeleteLoggingConfigurationCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1DeleteLoggingConfigurationCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -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 { DeletePermissionPolicyRequest, DeletePermissionPolicyResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeletePermissionPolicyCommand,
|
|
17
|
-
serializeAws_json1_1DeletePermissionPolicyCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeletePermissionPolicyCommandInput extends DeletePermissionPolicyRequest {}
|
|
22
|
-
export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Permanently deletes an IAM policy from the specified rule group.</p>
|
|
26
|
-
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { WAFV2Client, DeletePermissionPolicyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
-
* // const { WAFV2Client, DeletePermissionPolicyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
-
* const client = new WAFV2Client(config);
|
|
33
|
-
* const command = new DeletePermissionPolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeletePermissionPolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeletePermissionPolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeletePermissionPolicyCommand extends $Command<
|
|
43
|
-
DeletePermissionPolicyCommandInput,
|
|
44
|
-
DeletePermissionPolicyCommandOutput,
|
|
45
|
-
WAFV2ClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeletePermissionPolicyCommandInput) {
|
|
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: WAFV2ClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput> {
|
|
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 = "WAFV2Client";
|
|
70
|
-
const commandName = "DeletePermissionPolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeletePermissionPolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeletePermissionPolicyResponse.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: DeletePermissionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DeletePermissionPolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePermissionPolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DeletePermissionPolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,95 +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 { DeleteRegexPatternSetRequest, DeleteRegexPatternSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteRegexPatternSetCommand,
|
|
17
|
-
serializeAws_json1_1DeleteRegexPatternSetCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeleteRegexPatternSetCommandInput extends DeleteRegexPatternSetRequest {}
|
|
22
|
-
export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the specified <a>RegexPatternSet</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WAFV2Client, DeleteRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
30
|
-
* // const { WAFV2Client, DeleteRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
31
|
-
* const client = new WAFV2Client(config);
|
|
32
|
-
* const command = new DeleteRegexPatternSetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteRegexPatternSetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteRegexPatternSetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteRegexPatternSetCommand extends $Command<
|
|
42
|
-
DeleteRegexPatternSetCommandInput,
|
|
43
|
-
DeleteRegexPatternSetCommandOutput,
|
|
44
|
-
WAFV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteRegexPatternSetCommandInput) {
|
|
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<DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput> {
|
|
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 = "DeleteRegexPatternSetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteRegexPatternSetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteRegexPatternSetResponse.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: DeleteRegexPatternSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteRegexPatternSetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRegexPatternSetCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeleteRegexPatternSetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +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 { DeleteRuleGroupRequest, DeleteRuleGroupResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteRuleGroupCommand,
|
|
17
|
-
serializeAws_json1_1DeleteRuleGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeleteRuleGroupCommandInput extends DeleteRuleGroupRequest {}
|
|
22
|
-
export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the specified <a>RuleGroup</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WAFV2Client, DeleteRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
30
|
-
* // const { WAFV2Client, DeleteRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
31
|
-
* const client = new WAFV2Client(config);
|
|
32
|
-
* const command = new DeleteRuleGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteRuleGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteRuleGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteRuleGroupCommand extends $Command<
|
|
42
|
-
DeleteRuleGroupCommandInput,
|
|
43
|
-
DeleteRuleGroupCommandOutput,
|
|
44
|
-
WAFV2ClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteRuleGroupCommandInput) {
|
|
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<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput> {
|
|
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 = "DeleteRuleGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteRuleGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteRuleGroupResponse.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: DeleteRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteRuleGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRuleGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeleteRuleGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +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 { DeleteWebACLRequest, DeleteWebACLResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DeleteWebACLCommand,
|
|
17
|
-
serializeAws_json1_1DeleteWebACLCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DeleteWebACLCommandInput extends DeleteWebACLRequest {}
|
|
22
|
-
export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the specified <a>WebACL</a>.</p>
|
|
26
|
-
* <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
|
|
27
|
-
* <a>WebACL</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, DeleteWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
32
|
-
* // const { WAFV2Client, DeleteWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
33
|
-
* const client = new WAFV2Client(config);
|
|
34
|
-
* const command = new DeleteWebACLCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteWebACLCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteWebACLCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeleteWebACLCommand extends $Command<
|
|
44
|
-
DeleteWebACLCommandInput,
|
|
45
|
-
DeleteWebACLCommandOutput,
|
|
46
|
-
WAFV2ClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeleteWebACLCommandInput) {
|
|
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<DeleteWebACLCommandInput, DeleteWebACLCommandOutput> {
|
|
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 = "DeleteWebACLCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeleteWebACLRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DeleteWebACLResponse.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: DeleteWebACLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DeleteWebACLCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteWebACLCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1DeleteWebACLCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -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 { DescribeManagedRuleGroupRequest, DescribeManagedRuleGroupResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DescribeManagedRuleGroupCommand,
|
|
17
|
-
serializeAws_json1_1DescribeManagedRuleGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
20
|
-
|
|
21
|
-
export interface DescribeManagedRuleGroupCommandInput extends DescribeManagedRuleGroupRequest {}
|
|
22
|
-
export interface DescribeManagedRuleGroupCommandOutput extends DescribeManagedRuleGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides high-level information for a managed rule group, including descriptions of the
|
|
26
|
-
* rules. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { WAFV2Client, DescribeManagedRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
-
* // const { WAFV2Client, DescribeManagedRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
-
* const client = new WAFV2Client(config);
|
|
33
|
-
* const command = new DescribeManagedRuleGroupCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeManagedRuleGroupCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeManagedRuleGroupCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeManagedRuleGroupCommand extends $Command<
|
|
43
|
-
DescribeManagedRuleGroupCommandInput,
|
|
44
|
-
DescribeManagedRuleGroupCommandOutput,
|
|
45
|
-
WAFV2ClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeManagedRuleGroupCommandInput) {
|
|
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: WAFV2ClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput> {
|
|
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 = "WAFV2Client";
|
|
70
|
-
const commandName = "DescribeManagedRuleGroupCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeManagedRuleGroupRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeManagedRuleGroupResponse.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: DescribeManagedRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DescribeManagedRuleGroupCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeManagedRuleGroupCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DescribeManagedRuleGroupCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|