@aws-sdk/client-wafv2 3.419.0 → 3.422.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.
Files changed (73) hide show
  1. package/README.md +7 -7
  2. package/dist-types/models/models_0.d.ts +26 -6
  3. package/dist-types/ts3.4/WAFV2.d.ts +438 -918
  4. package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
  5. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
  6. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
  7. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
  8. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
  9. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
  10. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
  11. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
  12. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
  13. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
  14. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
  15. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
  16. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
  17. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
  18. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
  19. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
  20. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
  21. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
  22. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
  23. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
  24. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
  25. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
  26. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
  27. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
  28. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
  29. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
  30. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
  31. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
  32. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
  33. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
  34. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
  35. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
  36. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
  38. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
  39. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
  40. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
  41. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
  42. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
  43. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
  44. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
  45. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
  47. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
  48. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
  49. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
  50. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
  53. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
  54. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
  55. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
  56. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
  57. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
  58. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  59. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
  60. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  61. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  62. package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
  63. package/dist-types/ts3.4/index.d.ts +68 -6
  64. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
  65. package/dist-types/ts3.4/models/index.d.ts +1 -1
  66. package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
  67. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  72. package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
  73. package/package.json +3 -3
@@ -1,42 +1,115 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
9
- import {
10
- DeleteFirewallManagerRuleGroupsRequest,
11
- DeleteFirewallManagerRuleGroupsResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface DeleteFirewallManagerRuleGroupsCommandInput
20
- extends DeleteFirewallManagerRuleGroupsRequest {}
21
- export interface DeleteFirewallManagerRuleGroupsCommandOutput
22
- extends DeleteFirewallManagerRuleGroupsResponse,
23
- __MetadataBearer {}
24
- export declare class DeleteFirewallManagerRuleGroupsCommand extends $Command<
25
- DeleteFirewallManagerRuleGroupsCommandInput,
26
- DeleteFirewallManagerRuleGroupsCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: DeleteFirewallManagerRuleGroupsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DeleteFirewallManagerRuleGroupsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
37
- DeleteFirewallManagerRuleGroupsCommandInput,
38
- DeleteFirewallManagerRuleGroupsCommandOutput
39
- >;
40
- private serialize;
41
- private deserialize;
42
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteFirewallManagerRuleGroupsRequest, DeleteFirewallManagerRuleGroupsResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteFirewallManagerRuleGroupsCommand}.
14
+ */
15
+ export interface DeleteFirewallManagerRuleGroupsCommandInput extends DeleteFirewallManagerRuleGroupsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteFirewallManagerRuleGroupsCommand}.
21
+ */
22
+ export interface DeleteFirewallManagerRuleGroupsCommandOutput extends DeleteFirewallManagerRuleGroupsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes all rule groups that are managed by Firewall Manager for the specified web ACL. </p>
27
+ * <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
28
+ * <a>WebACL</a>. </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { WAFV2Client, DeleteFirewallManagerRuleGroupsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
33
+ * // const { WAFV2Client, DeleteFirewallManagerRuleGroupsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
34
+ * const client = new WAFV2Client(config);
35
+ * const input = { // DeleteFirewallManagerRuleGroupsRequest
36
+ * WebACLArn: "STRING_VALUE", // required
37
+ * WebACLLockToken: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteFirewallManagerRuleGroupsCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteFirewallManagerRuleGroupsResponse
42
+ * // NextWebACLLockToken: "STRING_VALUE",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteFirewallManagerRuleGroupsCommandInput - {@link DeleteFirewallManagerRuleGroupsCommandInput}
48
+ * @returns {@link DeleteFirewallManagerRuleGroupsCommandOutput}
49
+ * @see {@link DeleteFirewallManagerRuleGroupsCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteFirewallManagerRuleGroupsCommandOutput} for command's `response` shape.
51
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
52
+ *
53
+ * @throws {@link WAFInternalErrorException} (server fault)
54
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
55
+ * problem. Retry your request. </p>
56
+ *
57
+ * @throws {@link WAFInvalidOperationException} (client fault)
58
+ * <p>The operation isn't valid. </p>
59
+ *
60
+ * @throws {@link WAFInvalidParameterException} (client fault)
61
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
62
+ * example: </p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You specified a parameter name or value that isn't valid.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
69
+ * can’t be nested. </p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
73
+ * isn't among the types available at <a>DefaultAction</a>.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
77
+ * with which a web ACL can't be associated.</p>
78
+ * </li>
79
+ * </ul>
80
+ *
81
+ * @throws {@link WAFNonexistentItemException} (client fault)
82
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
83
+ * If you've just created a resource that you're using in this operation, you might
84
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
85
+ * for changes to propagate. </p>
86
+ *
87
+ * @throws {@link WAFOptimisticLockException} (client fault)
88
+ * <p>WAF couldn’t save your changes because you tried to update or delete a resource
89
+ * that has changed since you last retrieved it. Get the resource again, make any changes you
90
+ * need to make to the new copy, and retry your operation. </p>
91
+ *
92
+ * @throws {@link WAFV2ServiceException}
93
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
94
+ *
95
+ */
96
+ export declare class DeleteFirewallManagerRuleGroupsCommand extends $Command<DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
97
+ readonly input: DeleteFirewallManagerRuleGroupsCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: DeleteFirewallManagerRuleGroupsCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }
@@ -1,35 +1,124 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
9
- import { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
10
- import {
11
- ServiceInputTypes,
12
- ServiceOutputTypes,
13
- WAFV2ClientResolvedConfig,
14
- } from "../WAFV2Client";
15
- export { __MetadataBearer, $Command };
16
- export interface DeleteIPSetCommandInput extends DeleteIPSetRequest {}
17
- export interface DeleteIPSetCommandOutput
18
- extends DeleteIPSetResponse,
19
- __MetadataBearer {}
20
- export declare class DeleteIPSetCommand extends $Command<
21
- DeleteIPSetCommandInput,
22
- DeleteIPSetCommandOutput,
23
- WAFV2ClientResolvedConfig
24
- > {
25
- readonly input: DeleteIPSetCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: DeleteIPSetCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: WAFV2ClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<DeleteIPSetCommandInput, DeleteIPSetCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteIPSetCommand}.
14
+ */
15
+ export interface DeleteIPSetCommandInput extends DeleteIPSetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteIPSetCommand}.
21
+ */
22
+ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specified <a>IPSet</a>. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WAFV2Client, DeleteIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
31
+ * // const { WAFV2Client, DeleteIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
32
+ * const client = new WAFV2Client(config);
33
+ * const input = { // DeleteIPSetRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
36
+ * Id: "STRING_VALUE", // required
37
+ * LockToken: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteIPSetCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteIPSetCommandInput - {@link DeleteIPSetCommandInput}
46
+ * @returns {@link DeleteIPSetCommandOutput}
47
+ * @see {@link DeleteIPSetCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteIPSetCommandOutput} for command's `response` shape.
49
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
50
+ *
51
+ * @throws {@link WAFAssociatedItemException} (client fault)
52
+ * <p>WAF couldn’t perform the operation because your resource is being used by another
53
+ * resource or it’s associated with another resource. </p>
54
+ *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
57
+ * problem. Retry your request. </p>
58
+ *
59
+ * @throws {@link WAFInvalidOperationException} (client fault)
60
+ * <p>The operation isn't valid. </p>
61
+ *
62
+ * @throws {@link WAFInvalidParameterException} (client fault)
63
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
64
+ * example: </p>
65
+ * <ul>
66
+ * <li>
67
+ * <p>You specified a parameter name or value that isn't valid.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
71
+ * can’t be nested. </p>
72
+ * </li>
73
+ * <li>
74
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
75
+ * isn't among the types available at <a>DefaultAction</a>.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
79
+ * with which a web ACL can't be associated.</p>
80
+ * </li>
81
+ * </ul>
82
+ *
83
+ * @throws {@link WAFNonexistentItemException} (client fault)
84
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
85
+ * If you've just created a resource that you're using in this operation, you might
86
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
87
+ * for changes to propagate. </p>
88
+ *
89
+ * @throws {@link WAFOptimisticLockException} (client fault)
90
+ * <p>WAF couldn’t save your changes because you tried to update or delete a resource
91
+ * that has changed since you last retrieved it. Get the resource again, make any changes you
92
+ * need to make to the new copy, and retry your operation. </p>
93
+ *
94
+ * @throws {@link WAFTagOperationException} (client fault)
95
+ * <p>An error occurred during the tagging operation. Retry your request.</p>
96
+ *
97
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
98
+ * <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
99
+ * your request.</p>
100
+ *
101
+ * @throws {@link WAFV2ServiceException}
102
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
103
+ *
104
+ */
105
+ export declare class DeleteIPSetCommand extends $Command<DeleteIPSetCommandInput, DeleteIPSetCommandOutput, WAFV2ClientResolvedConfig> {
106
+ readonly input: DeleteIPSetCommandInput;
107
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
+ /**
109
+ * @public
110
+ */
111
+ constructor(input: DeleteIPSetCommandInput);
112
+ /**
113
+ * @internal
114
+ */
115
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIPSetCommandInput, DeleteIPSetCommandOutput>;
116
+ /**
117
+ * @internal
118
+ */
119
+ private serialize;
120
+ /**
121
+ * @internal
122
+ */
123
+ private deserialize;
124
+ }
@@ -1,42 +1,110 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
9
- import {
10
- DeleteLoggingConfigurationRequest,
11
- DeleteLoggingConfigurationResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface DeleteLoggingConfigurationCommandInput
20
- extends DeleteLoggingConfigurationRequest {}
21
- export interface DeleteLoggingConfigurationCommandOutput
22
- extends DeleteLoggingConfigurationResponse,
23
- __MetadataBearer {}
24
- export declare class DeleteLoggingConfigurationCommand extends $Command<
25
- DeleteLoggingConfigurationCommandInput,
26
- DeleteLoggingConfigurationCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: DeleteLoggingConfigurationCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DeleteLoggingConfigurationCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
37
- DeleteLoggingConfigurationCommandInput,
38
- DeleteLoggingConfigurationCommandOutput
39
- >;
40
- private serialize;
41
- private deserialize;
42
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteLoggingConfigurationRequest, DeleteLoggingConfigurationResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteLoggingConfigurationCommand}.
14
+ */
15
+ export interface DeleteLoggingConfigurationCommandInput extends DeleteLoggingConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteLoggingConfigurationCommand}.
21
+ */
22
+ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the <a>LoggingConfiguration</a> from the specified web ACL.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WAFV2Client, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
31
+ * // const { WAFV2Client, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
32
+ * const client = new WAFV2Client(config);
33
+ * const input = { // DeleteLoggingConfigurationRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteLoggingConfigurationCommand(input);
37
+ * const response = await client.send(command);
38
+ * // {};
39
+ *
40
+ * ```
41
+ *
42
+ * @param DeleteLoggingConfigurationCommandInput - {@link DeleteLoggingConfigurationCommandInput}
43
+ * @returns {@link DeleteLoggingConfigurationCommandOutput}
44
+ * @see {@link DeleteLoggingConfigurationCommandInput} for command's `input` shape.
45
+ * @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
46
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
47
+ *
48
+ * @throws {@link WAFInternalErrorException} (server fault)
49
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
50
+ * problem. Retry your request. </p>
51
+ *
52
+ * @throws {@link WAFInvalidOperationException} (client fault)
53
+ * <p>The operation isn't valid. </p>
54
+ *
55
+ * @throws {@link WAFInvalidParameterException} (client fault)
56
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
57
+ * example: </p>
58
+ * <ul>
59
+ * <li>
60
+ * <p>You specified a parameter name or value that isn't valid.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
64
+ * can’t be nested. </p>
65
+ * </li>
66
+ * <li>
67
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
68
+ * isn't among the types available at <a>DefaultAction</a>.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
72
+ * with which a web ACL can't be associated.</p>
73
+ * </li>
74
+ * </ul>
75
+ *
76
+ * @throws {@link WAFNonexistentItemException} (client fault)
77
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
78
+ * If you've just created a resource that you're using in this operation, you might
79
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
80
+ * for changes to propagate. </p>
81
+ *
82
+ * @throws {@link WAFOptimisticLockException} (client fault)
83
+ * <p>WAF couldn’t save your changes because you tried to update or delete a resource
84
+ * that has changed since you last retrieved it. Get the resource again, make any changes you
85
+ * need to make to the new copy, and retry your operation. </p>
86
+ *
87
+ * @throws {@link WAFV2ServiceException}
88
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
89
+ *
90
+ */
91
+ export declare class DeleteLoggingConfigurationCommand extends $Command<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig> {
92
+ readonly input: DeleteLoggingConfigurationCommandInput;
93
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: DeleteLoggingConfigurationCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -1,42 +1,103 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
9
- import {
10
- DeletePermissionPolicyRequest,
11
- DeletePermissionPolicyResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface DeletePermissionPolicyCommandInput
20
- extends DeletePermissionPolicyRequest {}
21
- export interface DeletePermissionPolicyCommandOutput
22
- extends DeletePermissionPolicyResponse,
23
- __MetadataBearer {}
24
- export declare class DeletePermissionPolicyCommand extends $Command<
25
- DeletePermissionPolicyCommandInput,
26
- DeletePermissionPolicyCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: DeletePermissionPolicyCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DeletePermissionPolicyCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
37
- DeletePermissionPolicyCommandInput,
38
- DeletePermissionPolicyCommandOutput
39
- >;
40
- private serialize;
41
- private deserialize;
42
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeletePermissionPolicyRequest, DeletePermissionPolicyResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeletePermissionPolicyCommand}.
14
+ */
15
+ export interface DeletePermissionPolicyCommandInput extends DeletePermissionPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeletePermissionPolicyCommand}.
21
+ */
22
+ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Permanently deletes an IAM policy from the specified rule group.</p>
27
+ * <p>You must be the owner of the rule group to perform this operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WAFV2Client, DeletePermissionPolicyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
32
+ * // const { WAFV2Client, DeletePermissionPolicyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
33
+ * const client = new WAFV2Client(config);
34
+ * const input = { // DeletePermissionPolicyRequest
35
+ * ResourceArn: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeletePermissionPolicyCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeletePermissionPolicyCommandInput - {@link DeletePermissionPolicyCommandInput}
44
+ * @returns {@link DeletePermissionPolicyCommandOutput}
45
+ * @see {@link DeletePermissionPolicyCommandInput} for command's `input` shape.
46
+ * @see {@link DeletePermissionPolicyCommandOutput} for command's `response` shape.
47
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
48
+ *
49
+ * @throws {@link WAFInternalErrorException} (server fault)
50
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
51
+ * problem. Retry your request. </p>
52
+ *
53
+ * @throws {@link WAFInvalidParameterException} (client fault)
54
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
55
+ * example: </p>
56
+ * <ul>
57
+ * <li>
58
+ * <p>You specified a parameter name or value that isn't valid.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
62
+ * can’t be nested. </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
66
+ * isn't among the types available at <a>DefaultAction</a>.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
70
+ * with which a web ACL can't be associated.</p>
71
+ * </li>
72
+ * </ul>
73
+ *
74
+ * @throws {@link WAFNonexistentItemException} (client fault)
75
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
76
+ * If you've just created a resource that you're using in this operation, you might
77
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
78
+ * for changes to propagate. </p>
79
+ *
80
+ * @throws {@link WAFV2ServiceException}
81
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
82
+ *
83
+ */
84
+ export declare class DeletePermissionPolicyCommand extends $Command<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput, WAFV2ClientResolvedConfig> {
85
+ readonly input: DeletePermissionPolicyCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: DeletePermissionPolicyCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }