@aws-sdk/client-wafv2 3.422.0 → 3.425.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/dist-types/WAFV2Client.d.ts +2 -0
- package/dist-types/ts3.4/WAFV2.d.ts +918 -438
- package/dist-types/ts3.4/WAFV2Client.d.ts +436 -277
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +38 -1093
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +35 -115
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +35 -144
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +42 -143
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +38 -1116
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +35 -1145
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +42 -115
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +35 -124
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +42 -110
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +42 -103
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +42 -124
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +38 -124
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +35 -158
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +42 -92
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +42 -114
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +42 -191
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +39 -109
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +42 -110
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +39 -112
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +35 -119
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +42 -192
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +39 -131
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +39 -121
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +39 -105
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +42 -142
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +39 -120
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +35 -1088
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +39 -168
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +35 -1283
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +42 -1286
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +35 -121
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +42 -118
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +42 -113
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +35 -113
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +42 -191
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +39 -117
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +42 -112
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +42 -113
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +42 -112
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +38 -113
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -132
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +35 -113
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +42 -345
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +42 -133
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +39 -145
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -131
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +35 -146
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +42 -125
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +42 -148
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +38 -1128
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +35 -1146
- package/dist-types/ts3.4/commands/index.d.ts +53 -53
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +6 -68
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1764 -7951
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +641 -479
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
- package/package.json +31 -31
|
@@ -1,115 +1,35 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* // const { WAFV2Client, CreateAPIKeyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
37
|
-
* const client = new WAFV2Client(config);
|
|
38
|
-
* const input = { // CreateAPIKeyRequest
|
|
39
|
-
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
40
|
-
* TokenDomains: [ // APIKeyTokenDomains // required
|
|
41
|
-
* "STRING_VALUE",
|
|
42
|
-
* ],
|
|
43
|
-
* };
|
|
44
|
-
* const command = new CreateAPIKeyCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* // { // CreateAPIKeyResponse
|
|
47
|
-
* // APIKey: "STRING_VALUE",
|
|
48
|
-
* // };
|
|
49
|
-
*
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @param CreateAPIKeyCommandInput - {@link CreateAPIKeyCommandInput}
|
|
53
|
-
* @returns {@link CreateAPIKeyCommandOutput}
|
|
54
|
-
* @see {@link CreateAPIKeyCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link CreateAPIKeyCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
59
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
60
|
-
* problem. Retry your request. </p>
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
63
|
-
* <p>The operation isn't valid. </p>
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
66
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
67
|
-
* example: </p>
|
|
68
|
-
* <ul>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
74
|
-
* can’t be nested. </p>
|
|
75
|
-
* </li>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
78
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
82
|
-
* with which a web ACL can't be associated.</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* </ul>
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
87
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
88
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
89
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
90
|
-
* <i>WAF Developer Guide</i>.</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 CreateAPIKeyCommand extends $Command<CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput, WAFV2ClientResolvedConfig> {
|
|
97
|
-
readonly input: CreateAPIKeyCommandInput;
|
|
98
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
102
|
-
constructor(input: CreateAPIKeyCommandInput);
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput>;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
private serialize;
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
private deserialize;
|
|
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 { CreateAPIKeyRequest, CreateAPIKeyResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
WAFV2ClientResolvedConfig,
|
|
14
|
+
} from "../WAFV2Client";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface CreateAPIKeyCommandInput extends CreateAPIKeyRequest {}
|
|
17
|
+
export interface CreateAPIKeyCommandOutput
|
|
18
|
+
extends CreateAPIKeyResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class CreateAPIKeyCommand extends $Command<
|
|
21
|
+
CreateAPIKeyCommandInput,
|
|
22
|
+
CreateAPIKeyCommandOutput,
|
|
23
|
+
WAFV2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: CreateAPIKeyCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: CreateAPIKeyCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,144 +1,35 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* const input = { // CreateIPSetRequest
|
|
37
|
-
* Name: "STRING_VALUE", // required
|
|
38
|
-
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
39
|
-
* Description: "STRING_VALUE",
|
|
40
|
-
* IPAddressVersion: "IPV4" || "IPV6", // required
|
|
41
|
-
* Addresses: [ // IPAddresses // required
|
|
42
|
-
* "STRING_VALUE",
|
|
43
|
-
* ],
|
|
44
|
-
* Tags: [ // TagList
|
|
45
|
-
* { // Tag
|
|
46
|
-
* Key: "STRING_VALUE", // required
|
|
47
|
-
* Value: "STRING_VALUE", // required
|
|
48
|
-
* },
|
|
49
|
-
* ],
|
|
50
|
-
* };
|
|
51
|
-
* const command = new CreateIPSetCommand(input);
|
|
52
|
-
* const response = await client.send(command);
|
|
53
|
-
* // { // CreateIPSetResponse
|
|
54
|
-
* // Summary: { // IPSetSummary
|
|
55
|
-
* // Name: "STRING_VALUE",
|
|
56
|
-
* // Id: "STRING_VALUE",
|
|
57
|
-
* // Description: "STRING_VALUE",
|
|
58
|
-
* // LockToken: "STRING_VALUE",
|
|
59
|
-
* // ARN: "STRING_VALUE",
|
|
60
|
-
* // },
|
|
61
|
-
* // };
|
|
62
|
-
*
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @param CreateIPSetCommandInput - {@link CreateIPSetCommandInput}
|
|
66
|
-
* @returns {@link CreateIPSetCommandOutput}
|
|
67
|
-
* @see {@link CreateIPSetCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link CreateIPSetCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link WAFDuplicateItemException} (client fault)
|
|
72
|
-
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
73
|
-
* a duplicate of an existing one.</p>
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
76
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
77
|
-
* problem. Retry your request. </p>
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
80
|
-
* <p>The operation isn't valid. </p>
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
83
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
84
|
-
* example: </p>
|
|
85
|
-
* <ul>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
91
|
-
* can’t be nested. </p>
|
|
92
|
-
* </li>
|
|
93
|
-
* <li>
|
|
94
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
95
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
99
|
-
* with which a web ACL can't be associated.</p>
|
|
100
|
-
* </li>
|
|
101
|
-
* </ul>
|
|
102
|
-
*
|
|
103
|
-
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
104
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
105
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
106
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
107
|
-
* <i>WAF Developer Guide</i>.</p>
|
|
108
|
-
*
|
|
109
|
-
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
110
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
111
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
112
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
113
|
-
*
|
|
114
|
-
* @throws {@link WAFTagOperationException} (client fault)
|
|
115
|
-
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
116
|
-
*
|
|
117
|
-
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
118
|
-
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
119
|
-
* your request.</p>
|
|
120
|
-
*
|
|
121
|
-
* @throws {@link WAFV2ServiceException}
|
|
122
|
-
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
125
|
-
export declare class CreateIPSetCommand extends $Command<CreateIPSetCommandInput, CreateIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
126
|
-
readonly input: CreateIPSetCommandInput;
|
|
127
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
-
/**
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
constructor(input: CreateIPSetCommandInput);
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput>;
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
private serialize;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
private deserialize;
|
|
144
|
-
}
|
|
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 { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
WAFV2ClientResolvedConfig,
|
|
14
|
+
} from "../WAFV2Client";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface CreateIPSetCommandInput extends CreateIPSetRequest {}
|
|
17
|
+
export interface CreateIPSetCommandOutput
|
|
18
|
+
extends CreateIPSetResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class CreateIPSetCommand extends $Command<
|
|
21
|
+
CreateIPSetCommandInput,
|
|
22
|
+
CreateIPSetCommandOutput,
|
|
23
|
+
WAFV2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: CreateIPSetCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: CreateIPSetCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,143 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* Tags: [ // TagList
|
|
44
|
-
* { // Tag
|
|
45
|
-
* Key: "STRING_VALUE", // required
|
|
46
|
-
* Value: "STRING_VALUE", // required
|
|
47
|
-
* },
|
|
48
|
-
* ],
|
|
49
|
-
* };
|
|
50
|
-
* const command = new CreateRegexPatternSetCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* // { // CreateRegexPatternSetResponse
|
|
53
|
-
* // Summary: { // RegexPatternSetSummary
|
|
54
|
-
* // Name: "STRING_VALUE",
|
|
55
|
-
* // Id: "STRING_VALUE",
|
|
56
|
-
* // Description: "STRING_VALUE",
|
|
57
|
-
* // LockToken: "STRING_VALUE",
|
|
58
|
-
* // ARN: "STRING_VALUE",
|
|
59
|
-
* // },
|
|
60
|
-
* // };
|
|
61
|
-
*
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @param CreateRegexPatternSetCommandInput - {@link CreateRegexPatternSetCommandInput}
|
|
65
|
-
* @returns {@link CreateRegexPatternSetCommandOutput}
|
|
66
|
-
* @see {@link CreateRegexPatternSetCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CreateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link WAFDuplicateItemException} (client fault)
|
|
71
|
-
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
72
|
-
* a duplicate of an existing one.</p>
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
75
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
76
|
-
* problem. Retry your request. </p>
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
79
|
-
* <p>The operation isn't valid. </p>
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
82
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
83
|
-
* example: </p>
|
|
84
|
-
* <ul>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
90
|
-
* can’t be nested. </p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
94
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
95
|
-
* </li>
|
|
96
|
-
* <li>
|
|
97
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
98
|
-
* with which a web ACL can't be associated.</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ul>
|
|
101
|
-
*
|
|
102
|
-
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
103
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
104
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
105
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
106
|
-
* <i>WAF Developer Guide</i>.</p>
|
|
107
|
-
*
|
|
108
|
-
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
109
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
110
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
111
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
112
|
-
*
|
|
113
|
-
* @throws {@link WAFTagOperationException} (client fault)
|
|
114
|
-
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
115
|
-
*
|
|
116
|
-
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
117
|
-
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
118
|
-
* your request.</p>
|
|
119
|
-
*
|
|
120
|
-
* @throws {@link WAFV2ServiceException}
|
|
121
|
-
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
|
-
export declare class CreateRegexPatternSetCommand extends $Command<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
125
|
-
readonly input: CreateRegexPatternSetCommandInput;
|
|
126
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
127
|
-
/**
|
|
128
|
-
* @public
|
|
129
|
-
*/
|
|
130
|
-
constructor(input: CreateRegexPatternSetCommandInput);
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput>;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
private serialize;
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
142
|
-
private deserialize;
|
|
143
|
-
}
|
|
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
|
+
CreateRegexPatternSetRequest,
|
|
11
|
+
CreateRegexPatternSetResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WAFV2ClientResolvedConfig,
|
|
17
|
+
} from "../WAFV2Client";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface CreateRegexPatternSetCommandInput
|
|
20
|
+
extends CreateRegexPatternSetRequest {}
|
|
21
|
+
export interface CreateRegexPatternSetCommandOutput
|
|
22
|
+
extends CreateRegexPatternSetResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class CreateRegexPatternSetCommand extends $Command<
|
|
25
|
+
CreateRegexPatternSetCommandInput,
|
|
26
|
+
CreateRegexPatternSetCommandOutput,
|
|
27
|
+
WAFV2ClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: CreateRegexPatternSetCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateRegexPatternSetCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
CreateRegexPatternSetCommandInput,
|
|
38
|
+
CreateRegexPatternSetCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|