@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.
- package/README.md +7 -7
- package/dist-types/models/models_0.d.ts +26 -6
- package/dist-types/ts3.4/WAFV2.d.ts +438 -918
- package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
- package/dist-types/ts3.4/commands/index.d.ts +53 -53
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
- package/dist-types/ts3.4/index.d.ts +68 -6
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
- package/package.json +3 -3
|
@@ -1,42 +1,110 @@
|
|
|
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
|
-
|
|
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 { GenerateMobileSdkReleaseUrlRequest, GenerateMobileSdkReleaseUrlResponse } 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 GenerateMobileSdkReleaseUrlCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GenerateMobileSdkReleaseUrlCommandInput extends GenerateMobileSdkReleaseUrlRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GenerateMobileSdkReleaseUrlCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GenerateMobileSdkReleaseUrlCommandOutput extends GenerateMobileSdkReleaseUrlResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
|
|
27
|
+
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { WAFV2Client, GenerateMobileSdkReleaseUrlCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
33
|
+
* // const { WAFV2Client, GenerateMobileSdkReleaseUrlCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
34
|
+
* const client = new WAFV2Client(config);
|
|
35
|
+
* const input = { // GenerateMobileSdkReleaseUrlRequest
|
|
36
|
+
* Platform: "IOS" || "ANDROID", // required
|
|
37
|
+
* ReleaseVersion: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GenerateMobileSdkReleaseUrlCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GenerateMobileSdkReleaseUrlResponse
|
|
42
|
+
* // Url: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GenerateMobileSdkReleaseUrlCommandInput - {@link GenerateMobileSdkReleaseUrlCommandInput}
|
|
48
|
+
* @returns {@link GenerateMobileSdkReleaseUrlCommandOutput}
|
|
49
|
+
* @see {@link GenerateMobileSdkReleaseUrlCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GenerateMobileSdkReleaseUrlCommandOutput} 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 WAFV2ServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class GenerateMobileSdkReleaseUrlCommand extends $Command<GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput, WAFV2ClientResolvedConfig> {
|
|
92
|
+
readonly input: GenerateMobileSdkReleaseUrlCommandInput;
|
|
93
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
constructor(input: GenerateMobileSdkReleaseUrlCommandInput);
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private serialize;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|
|
@@ -1,39 +1,112 @@
|
|
|
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
|
-
}
|
|
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 { GetDecryptedAPIKeyRequest, GetDecryptedAPIKeyResponse } 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 GetDecryptedAPIKeyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDecryptedAPIKeyCommandInput extends GetDecryptedAPIKeyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDecryptedAPIKeyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDecryptedAPIKeyCommandOutput extends GetDecryptedAPIKeyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns your API key in decrypted form. Use this to check the token domains that you have defined for the key. </p>
|
|
27
|
+
* <p>API keys are required for the integration of the CAPTCHA API in your JavaScript client applications.
|
|
28
|
+
* The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users.
|
|
29
|
+
* For more information about the CAPTCHA JavaScript integration, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WAFV2Client, GetDecryptedAPIKeyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
34
|
+
* // const { WAFV2Client, GetDecryptedAPIKeyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
35
|
+
* const client = new WAFV2Client(config);
|
|
36
|
+
* const input = { // GetDecryptedAPIKeyRequest
|
|
37
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
38
|
+
* APIKey: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDecryptedAPIKeyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDecryptedAPIKeyResponse
|
|
43
|
+
* // TokenDomains: [ // TokenDomains
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetDecryptedAPIKeyCommandInput - {@link GetDecryptedAPIKeyCommandInput}
|
|
52
|
+
* @returns {@link GetDecryptedAPIKeyCommandOutput}
|
|
53
|
+
* @see {@link GetDecryptedAPIKeyCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetDecryptedAPIKeyCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
58
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
59
|
+
* problem. Retry your request. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
62
|
+
* <p>The operation isn't valid. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
65
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
66
|
+
* example: </p>
|
|
67
|
+
* <ul>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
70
|
+
* </li>
|
|
71
|
+
* <li>
|
|
72
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
73
|
+
* can’t be nested. </p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
77
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
81
|
+
* with which a web ACL can't be associated.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* </ul>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WAFInvalidResourceException} (client fault)
|
|
86
|
+
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
87
|
+
* valid. Check the resource, and try again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFV2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class GetDecryptedAPIKeyCommand extends $Command<GetDecryptedAPIKeyCommandInput, GetDecryptedAPIKeyCommandOutput, WAFV2ClientResolvedConfig> {
|
|
94
|
+
readonly input: GetDecryptedAPIKeyCommandInput;
|
|
95
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
constructor(input: GetDecryptedAPIKeyCommandInput);
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDecryptedAPIKeyCommandInput, GetDecryptedAPIKeyCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private deserialize;
|
|
112
|
+
}
|
|
@@ -1,35 +1,119 @@
|
|
|
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
|
-
|
|
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 { GetIPSetRequest, GetIPSetResponse } 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 GetIPSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetIPSetCommandInput extends GetIPSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetIPSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves 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, GetIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, GetIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // GetIPSetRequest
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* Id: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetIPSetCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetIPSetResponse
|
|
41
|
+
* // IPSet: { // IPSet
|
|
42
|
+
* // Name: "STRING_VALUE", // required
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // ARN: "STRING_VALUE", // required
|
|
45
|
+
* // Description: "STRING_VALUE",
|
|
46
|
+
* // IPAddressVersion: "IPV4" || "IPV6", // required
|
|
47
|
+
* // Addresses: [ // IPAddresses // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // },
|
|
51
|
+
* // LockToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetIPSetCommandInput - {@link GetIPSetCommandInput}
|
|
57
|
+
* @returns {@link GetIPSetCommandOutput}
|
|
58
|
+
* @see {@link GetIPSetCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetIPSetCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
63
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
64
|
+
* problem. Retry your request. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
67
|
+
* <p>The operation isn't valid. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
70
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
71
|
+
* example: </p>
|
|
72
|
+
* <ul>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
78
|
+
* can’t be nested. </p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
82
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
86
|
+
* with which a web ACL can't be associated.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* </ul>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
91
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
92
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
93
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
94
|
+
* for changes to propagate. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link WAFV2ServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetIPSetCommand extends $Command<GetIPSetCommandInput, GetIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
101
|
+
readonly input: GetIPSetCommandInput;
|
|
102
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
constructor(input: GetIPSetCommandInput);
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIPSetCommandInput, GetIPSetCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
private serialize;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
private deserialize;
|
|
119
|
+
}
|