@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,118 +1,38 @@
|
|
|
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
|
-
* "STRING_VALUE",
|
|
40
|
-
* ],
|
|
41
|
-
* };
|
|
42
|
-
* const command = new UntagResourceCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* // {};
|
|
45
|
-
*
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
-
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
55
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
56
|
-
* problem. Retry your request. </p>
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
59
|
-
* <p>The operation isn't valid. </p>
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
62
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
63
|
-
* example: </p>
|
|
64
|
-
* <ul>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
70
|
-
* can’t be nested. </p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
74
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
78
|
-
* with which a web ACL can't be associated.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* </ul>
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
83
|
-
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
84
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
85
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
86
|
-
* for changes to propagate. </p>
|
|
87
|
-
*
|
|
88
|
-
* @throws {@link WAFTagOperationException} (client fault)
|
|
89
|
-
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
92
|
-
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
93
|
-
* your request.</p>
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link WAFV2ServiceException}
|
|
96
|
-
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WAFV2ClientResolvedConfig> {
|
|
100
|
-
readonly input: UntagResourceCommandInput;
|
|
101
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
102
|
-
/**
|
|
103
|
-
* @public
|
|
104
|
-
*/
|
|
105
|
-
constructor(input: UntagResourceCommandInput);
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
private serialize;
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
private deserialize;
|
|
118
|
-
}
|
|
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
|
+
UntagResourceRequest,
|
|
11
|
+
UntagResourceResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WAFV2ClientResolvedConfig,
|
|
17
|
+
} from "../WAFV2Client";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
20
|
+
export interface UntagResourceCommandOutput
|
|
21
|
+
extends UntagResourceResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UntagResourceCommand extends $Command<
|
|
24
|
+
UntagResourceCommandInput,
|
|
25
|
+
UntagResourceCommandOutput,
|
|
26
|
+
WAFV2ClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,146 +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
|
-
* <p>Update its settings as needed</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Provide the complete IP set specification to this call</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ol>
|
|
42
|
-
* </note>
|
|
43
|
-
* <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { WAFV2Client, UpdateIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
48
|
-
* // const { WAFV2Client, UpdateIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
49
|
-
* const client = new WAFV2Client(config);
|
|
50
|
-
* const input = { // UpdateIPSetRequest
|
|
51
|
-
* Name: "STRING_VALUE", // required
|
|
52
|
-
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
53
|
-
* Id: "STRING_VALUE", // required
|
|
54
|
-
* Description: "STRING_VALUE",
|
|
55
|
-
* Addresses: [ // IPAddresses // required
|
|
56
|
-
* "STRING_VALUE",
|
|
57
|
-
* ],
|
|
58
|
-
* LockToken: "STRING_VALUE", // required
|
|
59
|
-
* };
|
|
60
|
-
* const command = new UpdateIPSetCommand(input);
|
|
61
|
-
* const response = await client.send(command);
|
|
62
|
-
* // { // UpdateIPSetResponse
|
|
63
|
-
* // NextLockToken: "STRING_VALUE",
|
|
64
|
-
* // };
|
|
65
|
-
*
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @param UpdateIPSetCommandInput - {@link UpdateIPSetCommandInput}
|
|
69
|
-
* @returns {@link UpdateIPSetCommandOutput}
|
|
70
|
-
* @see {@link UpdateIPSetCommandInput} for command's `input` shape.
|
|
71
|
-
* @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
|
|
72
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link WAFDuplicateItemException} (client fault)
|
|
75
|
-
* <p>WAF couldn’t perform the operation because the resource that you tried to save is
|
|
76
|
-
* a duplicate of an existing one.</p>
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
79
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
80
|
-
* problem. Retry your request. </p>
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
83
|
-
* <p>The operation isn't valid. </p>
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
86
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
87
|
-
* example: </p>
|
|
88
|
-
* <ul>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
94
|
-
* can’t be nested. </p>
|
|
95
|
-
* </li>
|
|
96
|
-
* <li>
|
|
97
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
98
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* <li>
|
|
101
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
102
|
-
* with which a web ACL can't be associated.</p>
|
|
103
|
-
* </li>
|
|
104
|
-
* </ul>
|
|
105
|
-
*
|
|
106
|
-
* @throws {@link WAFLimitsExceededException} (client fault)
|
|
107
|
-
* <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
|
|
108
|
-
* example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
|
|
109
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
|
|
110
|
-
* <i>WAF Developer Guide</i>.</p>
|
|
111
|
-
*
|
|
112
|
-
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
113
|
-
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
114
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
115
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
116
|
-
* for changes to propagate. </p>
|
|
117
|
-
*
|
|
118
|
-
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
119
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
120
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
121
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
122
|
-
*
|
|
123
|
-
* @throws {@link WAFV2ServiceException}
|
|
124
|
-
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
125
|
-
*
|
|
126
|
-
*/
|
|
127
|
-
export declare class UpdateIPSetCommand extends $Command<UpdateIPSetCommandInput, UpdateIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
128
|
-
readonly input: UpdateIPSetCommandInput;
|
|
129
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
constructor(input: UpdateIPSetCommandInput);
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateIPSetCommandInput, UpdateIPSetCommandOutput>;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
private serialize;
|
|
142
|
-
/**
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
145
|
-
private deserialize;
|
|
146
|
-
}
|
|
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 { UpdateIPSetRequest, UpdateIPSetResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
WAFV2ClientResolvedConfig,
|
|
14
|
+
} from "../WAFV2Client";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface UpdateIPSetCommandInput extends UpdateIPSetRequest {}
|
|
17
|
+
export interface UpdateIPSetCommandOutput
|
|
18
|
+
extends UpdateIPSetResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class UpdateIPSetCommand extends $Command<
|
|
21
|
+
UpdateIPSetCommandInput,
|
|
22
|
+
UpdateIPSetCommandOutput,
|
|
23
|
+
WAFV2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: UpdateIPSetCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: UpdateIPSetCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<UpdateIPSetCommandInput, UpdateIPSetCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,125 +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
|
-
* LockToken: "STRING_VALUE", // required
|
|
44
|
-
* VersionToExpire: "STRING_VALUE", // required
|
|
45
|
-
* ExpiryTimestamp: new Date("TIMESTAMP"), // required
|
|
46
|
-
* };
|
|
47
|
-
* const command = new UpdateManagedRuleSetVersionExpiryDateCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* // { // UpdateManagedRuleSetVersionExpiryDateResponse
|
|
50
|
-
* // ExpiringVersion: "STRING_VALUE",
|
|
51
|
-
* // ExpiryTimestamp: new Date("TIMESTAMP"),
|
|
52
|
-
* // NextLockToken: "STRING_VALUE",
|
|
53
|
-
* // };
|
|
54
|
-
*
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @param UpdateManagedRuleSetVersionExpiryDateCommandInput - {@link UpdateManagedRuleSetVersionExpiryDateCommandInput}
|
|
58
|
-
* @returns {@link UpdateManagedRuleSetVersionExpiryDateCommandOutput}
|
|
59
|
-
* @see {@link UpdateManagedRuleSetVersionExpiryDateCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link UpdateManagedRuleSetVersionExpiryDateCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link WAFInternalErrorException} (server fault)
|
|
64
|
-
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
65
|
-
* problem. Retry your request. </p>
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
68
|
-
* <p>The operation isn't valid. </p>
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
71
|
-
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
72
|
-
* example: </p>
|
|
73
|
-
* <ul>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
79
|
-
* can’t be nested. </p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
83
|
-
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
87
|
-
* with which a web ACL can't be associated.</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* </ul>
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
92
|
-
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
93
|
-
* If you've just created a resource that you're using in this operation, you might
|
|
94
|
-
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
95
|
-
* for changes to propagate. </p>
|
|
96
|
-
*
|
|
97
|
-
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
98
|
-
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
99
|
-
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
100
|
-
* need to make to the new copy, and retry your operation. </p>
|
|
101
|
-
*
|
|
102
|
-
* @throws {@link WAFV2ServiceException}
|
|
103
|
-
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
104
|
-
*
|
|
105
|
-
*/
|
|
106
|
-
export declare class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command<UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSetVersionExpiryDateCommandOutput, WAFV2ClientResolvedConfig> {
|
|
107
|
-
readonly input: UpdateManagedRuleSetVersionExpiryDateCommandInput;
|
|
108
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
109
|
-
/**
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
constructor(input: UpdateManagedRuleSetVersionExpiryDateCommandInput);
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSetVersionExpiryDateCommandOutput>;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
private serialize;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
private deserialize;
|
|
125
|
-
}
|
|
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
|
+
UpdateManagedRuleSetVersionExpiryDateRequest,
|
|
11
|
+
UpdateManagedRuleSetVersionExpiryDateResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
WAFV2ClientResolvedConfig,
|
|
17
|
+
} from "../WAFV2Client";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateManagedRuleSetVersionExpiryDateCommandInput
|
|
20
|
+
extends UpdateManagedRuleSetVersionExpiryDateRequest {}
|
|
21
|
+
export interface UpdateManagedRuleSetVersionExpiryDateCommandOutput
|
|
22
|
+
extends UpdateManagedRuleSetVersionExpiryDateResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command<
|
|
25
|
+
UpdateManagedRuleSetVersionExpiryDateCommandInput,
|
|
26
|
+
UpdateManagedRuleSetVersionExpiryDateCommandOutput,
|
|
27
|
+
WAFV2ClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateManagedRuleSetVersionExpiryDateCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateManagedRuleSetVersionExpiryDateCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: WAFV2ClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateManagedRuleSetVersionExpiryDateCommandInput,
|
|
38
|
+
UpdateManagedRuleSetVersionExpiryDateCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|