@aws-sdk/client-wafv2 3.325.0 → 3.327.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/commands/AssociateWebACLCommand.d.ts +4 -0
- package/dist-types/commands/CheckCapacityCommand.d.ts +6 -0
- package/dist-types/commands/CreateAPIKeyCommand.d.ts +6 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +12 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +12 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +12 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +12 -0
- package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +6 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +4 -0
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +78 -0
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +4 -0
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +6 -0
- package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +9 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +16 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/GetManagedRuleSetCommand.d.ts +24 -0
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +16 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +17 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +17 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +772 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +54 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +951 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +949 -0
- package/dist-types/commands/ListAPIKeysCommand.d.ts +17 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +13 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +14 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +15 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +88 -0
- package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +16 -0
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +12 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +15 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +8 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +15 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +15 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +6 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +8 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
- package/package.json +7 -7
|
@@ -36,6 +36,21 @@ export interface ListAPIKeysCommandOutput extends ListAPIKeysResponse, __Metadat
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListAPIKeysCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListAPIKeysResponse
|
|
40
|
+
* // NextMarker: "STRING_VALUE",
|
|
41
|
+
* // APIKeySummaries: [ // APIKeySummaries
|
|
42
|
+
* // { // APIKeySummary
|
|
43
|
+
* // TokenDomains: [ // TokenDomains
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // APIKey: "STRING_VALUE",
|
|
47
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // Version: Number("int"),
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // ApplicationIntegrationURL: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
39
54
|
* ```
|
|
40
55
|
*
|
|
41
56
|
* @param ListAPIKeysCommandInput - {@link ListAPIKeysCommandInput}
|
|
@@ -76,6 +91,8 @@ export interface ListAPIKeysCommandOutput extends ListAPIKeysResponse, __Metadat
|
|
|
76
91
|
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
77
92
|
* valid. Check the resource, and try again.</p>
|
|
78
93
|
*
|
|
94
|
+
* @throws {@link WAFV2ServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
79
96
|
*
|
|
80
97
|
*/
|
|
81
98
|
export declare class ListAPIKeysCommand extends $Command<ListAPIKeysCommandInput, ListAPIKeysCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -35,6 +35,17 @@ export interface ListAvailableManagedRuleGroupVersionsCommandOutput extends List
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListAvailableManagedRuleGroupVersionsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListAvailableManagedRuleGroupVersionsResponse
|
|
39
|
+
* // NextMarker: "STRING_VALUE",
|
|
40
|
+
* // Versions: [ // ManagedRuleGroupVersions
|
|
41
|
+
* // { // ManagedRuleGroupVersion
|
|
42
|
+
* // Name: "STRING_VALUE",
|
|
43
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // CurrentDefaultVersion: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
38
49
|
* ```
|
|
39
50
|
*
|
|
40
51
|
* @param ListAvailableManagedRuleGroupVersionsCommandInput - {@link ListAvailableManagedRuleGroupVersionsCommandInput}
|
|
@@ -77,6 +88,8 @@ export interface ListAvailableManagedRuleGroupVersionsCommandOutput extends List
|
|
|
77
88
|
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
78
89
|
* for changes to propagate. </p>
|
|
79
90
|
*
|
|
91
|
+
* @throws {@link WAFV2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
80
93
|
*
|
|
81
94
|
*/
|
|
82
95
|
export declare class ListAvailableManagedRuleGroupVersionsCommand extends $Command<ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManagedRuleGroupVersionsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -35,6 +35,18 @@ export interface ListAvailableManagedRuleGroupsCommandOutput extends ListAvailab
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListAvailableManagedRuleGroupsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListAvailableManagedRuleGroupsResponse
|
|
39
|
+
* // NextMarker: "STRING_VALUE",
|
|
40
|
+
* // ManagedRuleGroups: [ // ManagedRuleGroupSummaries
|
|
41
|
+
* // { // ManagedRuleGroupSummary
|
|
42
|
+
* // VendorName: "STRING_VALUE",
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // VersioningSupported: true || false,
|
|
45
|
+
* // Description: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
38
50
|
* ```
|
|
39
51
|
*
|
|
40
52
|
* @param ListAvailableManagedRuleGroupsCommandInput - {@link ListAvailableManagedRuleGroupsCommandInput}
|
|
@@ -71,6 +83,8 @@ export interface ListAvailableManagedRuleGroupsCommandOutput extends ListAvailab
|
|
|
71
83
|
* </li>
|
|
72
84
|
* </ul>
|
|
73
85
|
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
74
88
|
*
|
|
75
89
|
*/
|
|
76
90
|
export declare class ListAvailableManagedRuleGroupsCommand extends $Command<ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,19 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListIPSetsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListIPSetsResponse
|
|
38
|
+
* // NextMarker: "STRING_VALUE",
|
|
39
|
+
* // IPSets: [ // IPSetSummaries
|
|
40
|
+
* // { // IPSetSummary
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // LockToken: "STRING_VALUE",
|
|
45
|
+
* // ARN: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
37
50
|
* ```
|
|
38
51
|
*
|
|
39
52
|
* @param ListIPSetsCommandInput - {@link ListIPSetsCommandInput}
|
|
@@ -70,6 +83,8 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
|
|
|
70
83
|
* </li>
|
|
71
84
|
* </ul>
|
|
72
85
|
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
73
88
|
*
|
|
74
89
|
*/
|
|
75
90
|
export declare class ListIPSetsCommand extends $Command<ListIPSetsCommandInput, ListIPSetsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -33,6 +33,92 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListLoggingConfigurationsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListLoggingConfigurationsResponse
|
|
37
|
+
* // LoggingConfigurations: [ // LoggingConfigurations
|
|
38
|
+
* // { // LoggingConfiguration
|
|
39
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* // LogDestinationConfigs: [ // LogDestinationConfigs // required
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // RedactedFields: [ // RedactedFields
|
|
44
|
+
* // { // FieldToMatch
|
|
45
|
+
* // SingleHeader: { // SingleHeader
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // SingleQueryArgument: { // SingleQueryArgument
|
|
49
|
+
* // Name: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // AllQueryArguments: {},
|
|
52
|
+
* // UriPath: {},
|
|
53
|
+
* // QueryString: {},
|
|
54
|
+
* // Body: { // Body
|
|
55
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
|
|
56
|
+
* // },
|
|
57
|
+
* // Method: {},
|
|
58
|
+
* // JsonBody: { // JsonBody
|
|
59
|
+
* // MatchPattern: { // JsonMatchPattern
|
|
60
|
+
* // All: {},
|
|
61
|
+
* // IncludedPaths: [ // JsonPointerPaths
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
66
|
+
* // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
|
|
67
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
|
|
68
|
+
* // },
|
|
69
|
+
* // Headers: { // Headers
|
|
70
|
+
* // MatchPattern: { // HeaderMatchPattern
|
|
71
|
+
* // All: {},
|
|
72
|
+
* // IncludedHeaders: [ // HeaderNames
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // ExcludedHeaders: [
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
80
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // Cookies: { // Cookies
|
|
83
|
+
* // MatchPattern: { // CookieMatchPattern
|
|
84
|
+
* // All: {},
|
|
85
|
+
* // IncludedCookies: [ // CookieNames
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // ExcludedCookies: [
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
93
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // ManagedByFirewallManager: true || false,
|
|
98
|
+
* // LoggingFilter: { // LoggingFilter
|
|
99
|
+
* // Filters: [ // Filters // required
|
|
100
|
+
* // { // Filter
|
|
101
|
+
* // Behavior: "KEEP" || "DROP", // required
|
|
102
|
+
* // Requirement: "MEETS_ALL" || "MEETS_ANY", // required
|
|
103
|
+
* // Conditions: [ // Conditions // required
|
|
104
|
+
* // { // Condition
|
|
105
|
+
* // ActionCondition: { // ActionCondition
|
|
106
|
+
* // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "EXCLUDED_AS_COUNT", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // LabelNameCondition: { // LabelNameCondition
|
|
109
|
+
* // LabelName: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // DefaultBehavior: "KEEP" || "DROP", // required
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // NextMarker: "STRING_VALUE",
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
36
122
|
* ```
|
|
37
123
|
*
|
|
38
124
|
* @param ListLoggingConfigurationsCommandInput - {@link ListLoggingConfigurationsCommandInput}
|
|
@@ -69,6 +155,8 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
|
|
|
69
155
|
* </li>
|
|
70
156
|
* </ul>
|
|
71
157
|
*
|
|
158
|
+
* @throws {@link WAFV2ServiceException}
|
|
159
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
72
160
|
*
|
|
73
161
|
*/
|
|
74
162
|
export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -37,6 +37,20 @@ export interface ListManagedRuleSetsCommandOutput extends ListManagedRuleSetsRes
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ListManagedRuleSetsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ListManagedRuleSetsResponse
|
|
41
|
+
* // NextMarker: "STRING_VALUE",
|
|
42
|
+
* // ManagedRuleSets: [ // ManagedRuleSetSummaries
|
|
43
|
+
* // { // ManagedRuleSetSummary
|
|
44
|
+
* // Name: "STRING_VALUE",
|
|
45
|
+
* // Id: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // LockToken: "STRING_VALUE",
|
|
48
|
+
* // ARN: "STRING_VALUE",
|
|
49
|
+
* // LabelNamespace: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
40
54
|
* ```
|
|
41
55
|
*
|
|
42
56
|
* @param ListManagedRuleSetsCommandInput - {@link ListManagedRuleSetsCommandInput}
|
|
@@ -73,6 +87,8 @@ export interface ListManagedRuleSetsCommandOutput extends ListManagedRuleSetsRes
|
|
|
73
87
|
* </li>
|
|
74
88
|
* </ul>
|
|
75
89
|
*
|
|
90
|
+
* @throws {@link WAFV2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
76
92
|
*
|
|
77
93
|
*/
|
|
78
94
|
export declare class ListManagedRuleSetsCommand extends $Command<ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -36,6 +36,16 @@ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkRelease
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListMobileSdkReleasesCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListMobileSdkReleasesResponse
|
|
40
|
+
* // ReleaseSummaries: [ // ReleaseSummaries
|
|
41
|
+
* // { // ReleaseSummary
|
|
42
|
+
* // ReleaseVersion: "STRING_VALUE",
|
|
43
|
+
* // Timestamp: new Date("TIMESTAMP"),
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // NextMarker: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
39
49
|
* ```
|
|
40
50
|
*
|
|
41
51
|
* @param ListMobileSdkReleasesCommandInput - {@link ListMobileSdkReleasesCommandInput}
|
|
@@ -72,6 +82,8 @@ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkRelease
|
|
|
72
82
|
* </li>
|
|
73
83
|
* </ul>
|
|
74
84
|
*
|
|
85
|
+
* @throws {@link WAFV2ServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
75
87
|
*
|
|
76
88
|
*/
|
|
77
89
|
export declare class ListMobileSdkReleasesCommand extends $Command<ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,19 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListRegexPatternSetsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListRegexPatternSetsResponse
|
|
38
|
+
* // NextMarker: "STRING_VALUE",
|
|
39
|
+
* // RegexPatternSets: [ // RegexPatternSetSummaries
|
|
40
|
+
* // { // RegexPatternSetSummary
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // LockToken: "STRING_VALUE",
|
|
45
|
+
* // ARN: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
37
50
|
* ```
|
|
38
51
|
*
|
|
39
52
|
* @param ListRegexPatternSetsCommandInput - {@link ListRegexPatternSetsCommandInput}
|
|
@@ -70,6 +83,8 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
|
|
|
70
83
|
* </li>
|
|
71
84
|
* </ul>
|
|
72
85
|
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
73
88
|
*
|
|
74
89
|
*/
|
|
75
90
|
export declare class ListRegexPatternSetsCommand extends $Command<ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,12 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListResourcesForWebACLCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListResourcesForWebACLResponse
|
|
38
|
+
* // ResourceArns: [ // ResourceArns
|
|
39
|
+
* // "STRING_VALUE",
|
|
40
|
+
* // ],
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
37
43
|
* ```
|
|
38
44
|
*
|
|
39
45
|
* @param ListResourcesForWebACLCommandInput - {@link ListResourcesForWebACLCommandInput}
|
|
@@ -76,6 +82,8 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
|
|
|
76
82
|
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
77
83
|
* for changes to propagate. </p>
|
|
78
84
|
*
|
|
85
|
+
* @throws {@link WAFV2ServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
79
87
|
*
|
|
80
88
|
*/
|
|
81
89
|
export declare class ListResourcesForWebACLCommand extends $Command<ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,19 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListRuleGroupsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListRuleGroupsResponse
|
|
38
|
+
* // NextMarker: "STRING_VALUE",
|
|
39
|
+
* // RuleGroups: [ // RuleGroupSummaries
|
|
40
|
+
* // { // RuleGroupSummary
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // LockToken: "STRING_VALUE",
|
|
45
|
+
* // ARN: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
37
50
|
* ```
|
|
38
51
|
*
|
|
39
52
|
* @param ListRuleGroupsCommandInput - {@link ListRuleGroupsCommandInput}
|
|
@@ -70,6 +83,8 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
|
|
|
70
83
|
* </li>
|
|
71
84
|
* </ul>
|
|
72
85
|
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
73
88
|
*
|
|
74
89
|
*/
|
|
75
90
|
export declare class ListRuleGroupsCommand extends $Command<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -40,6 +40,19 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListTagsForResourceCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ListTagsForResourceResponse
|
|
44
|
+
* // NextMarker: "STRING_VALUE",
|
|
45
|
+
* // TagInfoForResource: { // TagInfoForResource
|
|
46
|
+
* // ResourceARN: "STRING_VALUE",
|
|
47
|
+
* // TagList: [ // TagList
|
|
48
|
+
* // { // Tag
|
|
49
|
+
* // Key: "STRING_VALUE", // required
|
|
50
|
+
* // Value: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
43
56
|
* ```
|
|
44
57
|
*
|
|
45
58
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -89,6 +102,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
89
102
|
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
90
103
|
* your request.</p>
|
|
91
104
|
*
|
|
105
|
+
* @throws {@link WAFV2ServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
92
107
|
*
|
|
93
108
|
*/
|
|
94
109
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,19 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListWebACLsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListWebACLsResponse
|
|
38
|
+
* // NextMarker: "STRING_VALUE",
|
|
39
|
+
* // WebACLs: [ // WebACLSummaries
|
|
40
|
+
* // { // WebACLSummary
|
|
41
|
+
* // Name: "STRING_VALUE",
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // LockToken: "STRING_VALUE",
|
|
45
|
+
* // ARN: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
37
50
|
* ```
|
|
38
51
|
*
|
|
39
52
|
* @param ListWebACLsCommandInput - {@link ListWebACLsCommandInput}
|
|
@@ -70,6 +83,8 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
|
|
|
70
83
|
* </li>
|
|
71
84
|
* </ul>
|
|
72
85
|
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
73
88
|
*
|
|
74
89
|
*/
|
|
75
90
|
export declare class ListWebACLsCommand extends $Command<ListWebACLsCommandInput, ListWebACLsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -152,6 +152,89 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
152
152
|
* };
|
|
153
153
|
* const command = new PutLoggingConfigurationCommand(input);
|
|
154
154
|
* const response = await client.send(command);
|
|
155
|
+
* // { // PutLoggingConfigurationResponse
|
|
156
|
+
* // LoggingConfiguration: { // LoggingConfiguration
|
|
157
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
158
|
+
* // LogDestinationConfigs: [ // LogDestinationConfigs // required
|
|
159
|
+
* // "STRING_VALUE",
|
|
160
|
+
* // ],
|
|
161
|
+
* // RedactedFields: [ // RedactedFields
|
|
162
|
+
* // { // FieldToMatch
|
|
163
|
+
* // SingleHeader: { // SingleHeader
|
|
164
|
+
* // Name: "STRING_VALUE", // required
|
|
165
|
+
* // },
|
|
166
|
+
* // SingleQueryArgument: { // SingleQueryArgument
|
|
167
|
+
* // Name: "STRING_VALUE", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // AllQueryArguments: {},
|
|
170
|
+
* // UriPath: {},
|
|
171
|
+
* // QueryString: {},
|
|
172
|
+
* // Body: { // Body
|
|
173
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
|
|
174
|
+
* // },
|
|
175
|
+
* // Method: {},
|
|
176
|
+
* // JsonBody: { // JsonBody
|
|
177
|
+
* // MatchPattern: { // JsonMatchPattern
|
|
178
|
+
* // All: {},
|
|
179
|
+
* // IncludedPaths: [ // JsonPointerPaths
|
|
180
|
+
* // "STRING_VALUE",
|
|
181
|
+
* // ],
|
|
182
|
+
* // },
|
|
183
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
184
|
+
* // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
|
|
185
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
|
|
186
|
+
* // },
|
|
187
|
+
* // Headers: { // Headers
|
|
188
|
+
* // MatchPattern: { // HeaderMatchPattern
|
|
189
|
+
* // All: {},
|
|
190
|
+
* // IncludedHeaders: [ // HeaderNames
|
|
191
|
+
* // "STRING_VALUE",
|
|
192
|
+
* // ],
|
|
193
|
+
* // ExcludedHeaders: [
|
|
194
|
+
* // "STRING_VALUE",
|
|
195
|
+
* // ],
|
|
196
|
+
* // },
|
|
197
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
198
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
199
|
+
* // },
|
|
200
|
+
* // Cookies: { // Cookies
|
|
201
|
+
* // MatchPattern: { // CookieMatchPattern
|
|
202
|
+
* // All: {},
|
|
203
|
+
* // IncludedCookies: [ // CookieNames
|
|
204
|
+
* // "STRING_VALUE",
|
|
205
|
+
* // ],
|
|
206
|
+
* // ExcludedCookies: [
|
|
207
|
+
* // "STRING_VALUE",
|
|
208
|
+
* // ],
|
|
209
|
+
* // },
|
|
210
|
+
* // MatchScope: "ALL" || "KEY" || "VALUE", // required
|
|
211
|
+
* // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // ManagedByFirewallManager: true || false,
|
|
216
|
+
* // LoggingFilter: { // LoggingFilter
|
|
217
|
+
* // Filters: [ // Filters // required
|
|
218
|
+
* // { // Filter
|
|
219
|
+
* // Behavior: "KEEP" || "DROP", // required
|
|
220
|
+
* // Requirement: "MEETS_ALL" || "MEETS_ANY", // required
|
|
221
|
+
* // Conditions: [ // Conditions // required
|
|
222
|
+
* // { // Condition
|
|
223
|
+
* // ActionCondition: { // ActionCondition
|
|
224
|
+
* // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "EXCLUDED_AS_COUNT", // required
|
|
225
|
+
* // },
|
|
226
|
+
* // LabelNameCondition: { // LabelNameCondition
|
|
227
|
+
* // LabelName: "STRING_VALUE", // required
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // ],
|
|
231
|
+
* // },
|
|
232
|
+
* // ],
|
|
233
|
+
* // DefaultBehavior: "KEEP" || "DROP", // required
|
|
234
|
+
* // },
|
|
235
|
+
* // },
|
|
236
|
+
* // };
|
|
237
|
+
*
|
|
155
238
|
* ```
|
|
156
239
|
*
|
|
157
240
|
* @param PutLoggingConfigurationCommandInput - {@link PutLoggingConfigurationCommandInput}
|
|
@@ -220,6 +303,8 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
220
303
|
* again. If you receive this same exception again, you will have to wait additional time
|
|
221
304
|
* until the role is unlocked.</p>
|
|
222
305
|
*
|
|
306
|
+
* @throws {@link WAFV2ServiceException}
|
|
307
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
223
308
|
*
|
|
224
309
|
*/
|
|
225
310
|
export declare class PutLoggingConfigurationCommand extends $Command<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -52,6 +52,10 @@ export interface PutManagedRuleSetVersionsCommandOutput extends PutManagedRuleSe
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new PutManagedRuleSetVersionsCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // PutManagedRuleSetVersionsResponse
|
|
56
|
+
* // NextLockToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
55
59
|
* ```
|
|
56
60
|
*
|
|
57
61
|
* @param PutManagedRuleSetVersionsCommandInput - {@link PutManagedRuleSetVersionsCommandInput}
|
|
@@ -99,6 +103,8 @@ export interface PutManagedRuleSetVersionsCommandOutput extends PutManagedRuleSe
|
|
|
99
103
|
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
100
104
|
* need to make to the new copy, and retry your operation. </p>
|
|
101
105
|
*
|
|
106
|
+
* @throws {@link WAFV2ServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
102
108
|
*
|
|
103
109
|
*/
|
|
104
110
|
export declare class PutManagedRuleSetVersionsCommand extends $Command<PutManagedRuleSetVersionsCommandInput, PutManagedRuleSetVersionsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -48,6 +48,8 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new PutPermissionPolicyCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // {};
|
|
52
|
+
*
|
|
51
53
|
* ```
|
|
52
54
|
*
|
|
53
55
|
* @param PutPermissionPolicyCommandInput - {@link PutPermissionPolicyCommandInput}
|
|
@@ -113,6 +115,8 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
|
|
|
113
115
|
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
114
116
|
* for changes to propagate. </p>
|
|
115
117
|
*
|
|
118
|
+
* @throws {@link WAFV2ServiceException}
|
|
119
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
116
120
|
*
|
|
117
121
|
*/
|
|
118
122
|
export declare class PutPermissionPolicyCommand extends $Command<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -44,6 +44,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new TagResourceCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
49
51
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -99,6 +101,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
99
101
|
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
100
102
|
* your request.</p>
|
|
101
103
|
*
|
|
104
|
+
* @throws {@link WAFV2ServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
102
106
|
*
|
|
103
107
|
*/
|
|
104
108
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UntagResourceCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -86,6 +88,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
86
88
|
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
87
89
|
* your request.</p>
|
|
88
90
|
*
|
|
91
|
+
* @throws {@link WAFV2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
89
93
|
*
|
|
90
94
|
*/
|
|
91
95
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -55,6 +55,10 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new UpdateIPSetCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // UpdateIPSetResponse
|
|
59
|
+
* // NextLockToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
58
62
|
* ```
|
|
59
63
|
*
|
|
60
64
|
* @param UpdateIPSetCommandInput - {@link UpdateIPSetCommandInput}
|
|
@@ -112,6 +116,8 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
|
|
|
112
116
|
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
113
117
|
* need to make to the new copy, and retry your operation. </p>
|
|
114
118
|
*
|
|
119
|
+
* @throws {@link WAFV2ServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
115
121
|
*
|
|
116
122
|
*/
|
|
117
123
|
export declare class UpdateIPSetCommand extends $Command<UpdateIPSetCommandInput, UpdateIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -42,6 +42,12 @@ export interface UpdateManagedRuleSetVersionExpiryDateCommandOutput extends Upda
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new UpdateManagedRuleSetVersionExpiryDateCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateManagedRuleSetVersionExpiryDateResponse
|
|
46
|
+
* // ExpiringVersion: "STRING_VALUE",
|
|
47
|
+
* // ExpiryTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // NextLockToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
45
51
|
* ```
|
|
46
52
|
*
|
|
47
53
|
* @param UpdateManagedRuleSetVersionExpiryDateCommandInput - {@link UpdateManagedRuleSetVersionExpiryDateCommandInput}
|
|
@@ -89,6 +95,8 @@ export interface UpdateManagedRuleSetVersionExpiryDateCommandOutput extends Upda
|
|
|
89
95
|
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
90
96
|
* need to make to the new copy, and retry your operation. </p>
|
|
91
97
|
*
|
|
98
|
+
* @throws {@link WAFV2ServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
92
100
|
*
|
|
93
101
|
*/
|
|
94
102
|
export declare class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command<UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSetVersionExpiryDateCommandOutput, WAFV2ClientResolvedConfig> {
|
|
@@ -57,6 +57,10 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
|
|
|
57
57
|
* };
|
|
58
58
|
* const command = new UpdateRegexPatternSetCommand(input);
|
|
59
59
|
* const response = await client.send(command);
|
|
60
|
+
* // { // UpdateRegexPatternSetResponse
|
|
61
|
+
* // NextLockToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
60
64
|
* ```
|
|
61
65
|
*
|
|
62
66
|
* @param UpdateRegexPatternSetCommandInput - {@link UpdateRegexPatternSetCommandInput}
|
|
@@ -114,6 +118,8 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
|
|
|
114
118
|
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
115
119
|
* need to make to the new copy, and retry your operation. </p>
|
|
116
120
|
*
|
|
121
|
+
* @throws {@link WAFV2ServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
117
123
|
*
|
|
118
124
|
*/
|
|
119
125
|
export declare class UpdateRegexPatternSetCommand extends $Command<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig> {
|