@aws-sdk/client-waf-regional 3.325.0 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
  2. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +21 -0
  3. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +20 -0
  6. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +13 -0
  8. package/dist-types/commands/CreateRuleCommand.d.ts +18 -0
  9. package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +19 -0
  12. package/dist-types/commands/CreateWebACLCommand.d.ts +33 -0
  13. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -0
  14. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +19 -0
  15. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  19. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
  20. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -0
  22. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  23. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  25. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -0
  26. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -0
  27. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  28. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -0
  29. package/dist-types/commands/DisassociateWebACLCommand.d.ts +4 -0
  30. package/dist-types/commands/GetByteMatchSetCommand.d.ts +20 -0
  31. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -0
  32. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -0
  33. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +15 -0
  34. package/dist-types/commands/GetIPSetCommand.d.ts +15 -0
  35. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  36. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
  37. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +19 -0
  38. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
  39. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +19 -0
  40. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +12 -0
  41. package/dist-types/commands/GetRuleCommand.d.ts +17 -0
  42. package/dist-types/commands/GetRuleGroupCommand.d.ts +10 -0
  43. package/dist-types/commands/GetSampledRequestsCommand.d.ts +31 -0
  44. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +20 -0
  45. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +18 -0
  46. package/dist-types/commands/GetWebACLCommand.d.ts +32 -0
  47. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +9 -0
  48. package/dist-types/commands/GetXssMatchSetCommand.d.ts +18 -0
  49. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +24 -0
  50. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +12 -0
  51. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +12 -0
  52. package/dist-types/commands/ListIPSetsCommand.d.ts +12 -0
  53. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +20 -0
  54. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +12 -0
  55. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +12 -0
  56. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +12 -0
  57. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +8 -0
  58. package/dist-types/commands/ListRuleGroupsCommand.d.ts +12 -0
  59. package/dist-types/commands/ListRulesCommand.d.ts +12 -0
  60. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +12 -0
  61. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -0
  62. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +13 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
  64. package/dist-types/commands/ListWebACLsCommand.d.ts +12 -0
  65. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +12 -0
  66. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  67. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -0
  71. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -0
  72. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
  73. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -0
  74. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -0
  75. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
  76. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -0
  77. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
  78. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -0
  79. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -0
  80. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
  81. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -0
  82. package/package.json +3 -3
@@ -39,6 +39,22 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M
39
39
  * };
40
40
  * const command = new GetXssMatchSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetXssMatchSetResponse
43
+ * // XssMatchSet: { // XssMatchSet
44
+ * // XssMatchSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // XssMatchTuples: [ // XssMatchTuples // required
47
+ * // { // XssMatchTuple
48
+ * // FieldToMatch: { // FieldToMatch
49
+ * // Type: "STRING_VALUE", // required
50
+ * // Data: "STRING_VALUE",
51
+ * // },
52
+ * // TextTransformation: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
42
58
  * ```
43
59
  *
44
60
  * @param GetXssMatchSetCommandInput - {@link GetXssMatchSetCommandInput}
@@ -56,6 +72,8 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M
56
72
  * @throws {@link WAFNonexistentItemException} (client fault)
57
73
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
74
  *
75
+ * @throws {@link WAFRegionalServiceException}
76
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
77
  *
60
78
  * @example To get an XSS match set
61
79
  * ```javascript
@@ -41,6 +41,28 @@ export interface ListActivatedRulesInRuleGroupCommandOutput extends ListActivate
41
41
  * };
42
42
  * const command = new ListActivatedRulesInRuleGroupCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListActivatedRulesInRuleGroupResponse
45
+ * // NextMarker: "STRING_VALUE",
46
+ * // ActivatedRules: [ // ActivatedRules
47
+ * // { // ActivatedRule
48
+ * // Priority: Number("int"), // required
49
+ * // RuleId: "STRING_VALUE", // required
50
+ * // Action: { // WafAction
51
+ * // Type: "STRING_VALUE", // required
52
+ * // },
53
+ * // OverrideAction: { // WafOverrideAction
54
+ * // Type: "STRING_VALUE", // required
55
+ * // },
56
+ * // Type: "STRING_VALUE",
57
+ * // ExcludedRules: [ // ExcludedRules
58
+ * // { // ExcludedRule
59
+ * // RuleId: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
44
66
  * ```
45
67
  *
46
68
  * @param ListActivatedRulesInRuleGroupCommandInput - {@link ListActivatedRulesInRuleGroupCommandInput}
@@ -95,6 +117,8 @@ export interface ListActivatedRulesInRuleGroupCommandOutput extends ListActivate
95
117
  * @throws {@link WAFNonexistentItemException} (client fault)
96
118
  * <p>The operation failed because the referenced object doesn't exist.</p>
97
119
  *
120
+ * @throws {@link WAFRegionalServiceException}
121
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
98
122
  *
99
123
  */
100
124
  export declare class ListActivatedRulesInRuleGroupCommand extends $Command<ListActivatedRulesInRuleGroupCommandInput, ListActivatedRulesInRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListByteMatchSetsCommandOutput extends ListByteMatchSetsRespons
40
40
  * };
41
41
  * const command = new ListByteMatchSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListByteMatchSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // ByteMatchSets: [ // ByteMatchSetSummaries
46
+ * // { // ByteMatchSetSummary
47
+ * // ByteMatchSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListByteMatchSetsCommandInput - {@link ListByteMatchSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListByteMatchSetsCommandOutput extends ListByteMatchSetsRespons
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListByteMatchSetsCommand extends $Command<ListByteMatchSetsCommandInput, ListByteMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListGeoMatchSetsCommandOutput extends ListGeoMatchSetsResponse,
40
40
  * };
41
41
  * const command = new ListGeoMatchSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListGeoMatchSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // GeoMatchSets: [ // GeoMatchSetSummaries
46
+ * // { // GeoMatchSetSummary
47
+ * // GeoMatchSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListGeoMatchSetsCommandInput - {@link ListGeoMatchSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListGeoMatchSetsCommandOutput extends ListGeoMatchSetsResponse,
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListGeoMatchSetsCommand extends $Command<ListGeoMatchSetsCommandInput, ListGeoMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
40
40
  * };
41
41
  * const command = new ListIPSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListIPSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // IPSets: [ // IPSetSummaries
46
+ * // { // IPSetSummary
47
+ * // IPSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListIPSetsCommandInput - {@link ListIPSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list IP sets
59
71
  * ```javascript
@@ -40,6 +40,24 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
40
40
  * };
41
41
  * const command = new ListLoggingConfigurationsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListLoggingConfigurationsResponse
44
+ * // LoggingConfigurations: [ // LoggingConfigurations
45
+ * // { // LoggingConfiguration
46
+ * // ResourceArn: "STRING_VALUE", // required
47
+ * // LogDestinationConfigs: [ // LogDestinationConfigs // required
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // RedactedFields: [ // RedactedFields
51
+ * // { // FieldToMatch
52
+ * // Type: "STRING_VALUE", // required
53
+ * // Data: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // ],
58
+ * // NextMarker: "STRING_VALUE",
59
+ * // };
60
+ *
43
61
  * ```
44
62
  *
45
63
  * @param ListLoggingConfigurationsCommandInput - {@link ListLoggingConfigurationsCommandInput}
@@ -94,6 +112,8 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
94
112
  * @throws {@link WAFNonexistentItemException} (client fault)
95
113
  * <p>The operation failed because the referenced object doesn't exist.</p>
96
114
  *
115
+ * @throws {@link WAFRegionalServiceException}
116
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
97
117
  *
98
118
  */
99
119
  export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListRateBasedRulesCommandOutput extends ListRateBasedRulesRespo
40
40
  * };
41
41
  * const command = new ListRateBasedRulesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRateBasedRulesResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // Rules: [ // RuleSummaries
46
+ * // { // RuleSummary
47
+ * // RuleId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListRateBasedRulesCommandInput - {@link ListRateBasedRulesCommandInput}
@@ -54,6 +64,8 @@ export interface ListRateBasedRulesCommandOutput extends ListRateBasedRulesRespo
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListRateBasedRulesCommand extends $Command<ListRateBasedRulesCommandInput, ListRateBasedRulesCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListRegexMatchSetsCommandOutput extends ListRegexMatchSetsRespo
40
40
  * };
41
41
  * const command = new ListRegexMatchSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRegexMatchSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // RegexMatchSets: [ // RegexMatchSetSummaries
46
+ * // { // RegexMatchSetSummary
47
+ * // RegexMatchSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListRegexMatchSetsCommandInput - {@link ListRegexMatchSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListRegexMatchSetsCommandOutput extends ListRegexMatchSetsRespo
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListRegexMatchSetsCommand extends $Command<ListRegexMatchSetsCommandInput, ListRegexMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
40
40
  * };
41
41
  * const command = new ListRegexPatternSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRegexPatternSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // RegexPatternSets: [ // RegexPatternSetSummaries
46
+ * // { // RegexPatternSetSummary
47
+ * // RegexPatternSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListRegexPatternSetsCommandInput - {@link ListRegexPatternSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  */
59
71
  export declare class ListRegexPatternSetsCommand extends $Command<ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,12 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
40
40
  * };
41
41
  * const command = new ListResourcesForWebACLCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListResourcesForWebACLResponse
44
+ * // ResourceArns: [ // ResourceArns
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // };
48
+ *
43
49
  * ```
44
50
  *
45
51
  * @param ListResourcesForWebACLCommandInput - {@link ListResourcesForWebACLCommandInput}
@@ -97,6 +103,8 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
97
103
  * @throws {@link WAFNonexistentItemException} (client fault)
98
104
  * <p>The operation failed because the referenced object doesn't exist.</p>
99
105
  *
106
+ * @throws {@link WAFRegionalServiceException}
107
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
100
108
  *
101
109
  */
102
110
  export declare class ListResourcesForWebACLCommand extends $Command<ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
40
40
  * };
41
41
  * const command = new ListRuleGroupsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRuleGroupsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // RuleGroups: [ // RuleGroupSummaries
46
+ * // { // RuleGroupSummary
47
+ * // RuleGroupId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListRuleGroupsCommandInput - {@link ListRuleGroupsCommandInput}
@@ -51,6 +61,8 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
51
61
  * @throws {@link WAFInternalErrorException} (server fault)
52
62
  * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
53
63
  *
64
+ * @throws {@link WAFRegionalServiceException}
65
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
54
66
  *
55
67
  */
56
68
  export declare class ListRuleGroupsCommand extends $Command<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
40
40
  * };
41
41
  * const command = new ListRulesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRulesResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // Rules: [ // RuleSummaries
46
+ * // { // RuleSummary
47
+ * // RuleId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListRulesCommandInput - {@link ListRulesCommandInput}
@@ -54,6 +64,8 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list rules
59
71
  * ```javascript
@@ -40,6 +40,16 @@ export interface ListSizeConstraintSetsCommandOutput extends ListSizeConstraintS
40
40
  * };
41
41
  * const command = new ListSizeConstraintSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListSizeConstraintSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // SizeConstraintSets: [ // SizeConstraintSetSummaries
46
+ * // { // SizeConstraintSetSummary
47
+ * // SizeConstraintSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListSizeConstraintSetsCommandInput - {@link ListSizeConstraintSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListSizeConstraintSetsCommandOutput extends ListSizeConstraintS
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list a size constraint sets
59
71
  * ```javascript
@@ -40,6 +40,16 @@ export interface ListSqlInjectionMatchSetsCommandOutput extends ListSqlInjection
40
40
  * };
41
41
  * const command = new ListSqlInjectionMatchSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListSqlInjectionMatchSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // SqlInjectionMatchSets: [ // SqlInjectionMatchSetSummaries
46
+ * // { // SqlInjectionMatchSetSummary
47
+ * // SqlInjectionMatchSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListSqlInjectionMatchSetsCommandInput - {@link ListSqlInjectionMatchSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListSqlInjectionMatchSetsCommandOutput extends ListSqlInjection
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list SQL injection match sets
59
71
  * ```javascript
@@ -40,6 +40,17 @@ export interface ListSubscribedRuleGroupsCommandOutput extends ListSubscribedRul
40
40
  * };
41
41
  * const command = new ListSubscribedRuleGroupsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListSubscribedRuleGroupsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // RuleGroups: [ // SubscribedRuleGroupSummaries
46
+ * // { // SubscribedRuleGroupSummary
47
+ * // RuleGroupId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // MetricName: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // };
53
+ *
43
54
  * ```
44
55
  *
45
56
  * @param ListSubscribedRuleGroupsCommandInput - {@link ListSubscribedRuleGroupsCommandInput}
@@ -54,6 +65,8 @@ export interface ListSubscribedRuleGroupsCommandOutput extends ListSubscribedRul
54
65
  * @throws {@link WAFNonexistentItemException} (client fault)
55
66
  * <p>The operation failed because the referenced object doesn't exist.</p>
56
67
  *
68
+ * @throws {@link WAFRegionalServiceException}
69
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
70
  *
58
71
  */
59
72
  export declare class ListSubscribedRuleGroupsCommand extends $Command<ListSubscribedRuleGroupsCommandInput, ListSubscribedRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -42,6 +42,19 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
42
42
  * };
43
43
  * const command = new ListTagsForResourceCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListTagsForResourceResponse
46
+ * // NextMarker: "STRING_VALUE",
47
+ * // TagInfoForResource: { // TagInfoForResource
48
+ * // ResourceARN: "STRING_VALUE",
49
+ * // TagList: [ // TagList
50
+ * // { // Tag
51
+ * // Key: "STRING_VALUE", // required
52
+ * // Value: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
45
58
  * ```
46
59
  *
47
60
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -105,6 +118,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
105
118
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
106
119
  * <p></p>
107
120
  *
121
+ * @throws {@link WAFRegionalServiceException}
122
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
108
123
  *
109
124
  */
110
125
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
40
40
  * };
41
41
  * const command = new ListWebACLsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListWebACLsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // WebACLs: [ // WebACLSummaries
46
+ * // { // WebACLSummary
47
+ * // WebACLId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListWebACLsCommandInput - {@link ListWebACLsCommandInput}
@@ -54,6 +64,8 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list Web ACLs
59
71
  * ```javascript
@@ -40,6 +40,16 @@ export interface ListXssMatchSetsCommandOutput extends ListXssMatchSetsResponse,
40
40
  * };
41
41
  * const command = new ListXssMatchSetsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListXssMatchSetsResponse
44
+ * // NextMarker: "STRING_VALUE",
45
+ * // XssMatchSets: [ // XssMatchSetSummaries
46
+ * // { // XssMatchSetSummary
47
+ * // XssMatchSetId: "STRING_VALUE", // required
48
+ * // Name: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param ListXssMatchSetsCommandInput - {@link ListXssMatchSetsCommandInput}
@@ -54,6 +64,8 @@ export interface ListXssMatchSetsCommandOutput extends ListXssMatchSetsResponse,
54
64
  * @throws {@link WAFInvalidAccountException} (client fault)
55
65
  * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
56
66
  *
67
+ * @throws {@link WAFRegionalServiceException}
68
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
69
  *
58
70
  * @example To list XSS match sets
59
71
  * ```javascript
@@ -67,6 +67,21 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
67
67
  * };
68
68
  * const command = new PutLoggingConfigurationCommand(input);
69
69
  * const response = await client.send(command);
70
+ * // { // PutLoggingConfigurationResponse
71
+ * // LoggingConfiguration: { // LoggingConfiguration
72
+ * // ResourceArn: "STRING_VALUE", // required
73
+ * // LogDestinationConfigs: [ // LogDestinationConfigs // required
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // RedactedFields: [ // RedactedFields
77
+ * // { // FieldToMatch
78
+ * // Type: "STRING_VALUE", // required
79
+ * // Data: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // };
84
+ *
70
85
  * ```
71
86
  *
72
87
  * @param PutLoggingConfigurationCommandInput - {@link PutLoggingConfigurationCommandInput}
@@ -87,6 +102,8 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
87
102
  * @throws {@link WAFStaleDataException} (client fault)
88
103
  * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
89
104
  *
105
+ * @throws {@link WAFRegionalServiceException}
106
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
90
107
  *
91
108
  */
92
109
  export declare class PutLoggingConfigurationCommand extends $Command<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -72,6 +72,8 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
72
72
  * };
73
73
  * const command = new PutPermissionPolicyCommand(input);
74
74
  * const response = await client.send(command);
75
+ * // {};
76
+ *
75
77
  * ```
76
78
  *
77
79
  * @param PutPermissionPolicyCommandInput - {@link PutPermissionPolicyCommandInput}
@@ -121,6 +123,8 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
121
123
  * @throws {@link WAFStaleDataException} (client fault)
122
124
  * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
123
125
  *
126
+ * @throws {@link WAFRegionalServiceException}
127
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
124
128
  *
125
129
  */
126
130
  export declare class PutPermissionPolicyCommand extends $Command<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -46,6 +46,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
46
46
  * };
47
47
  * const command = new TagResourceCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // {};
50
+ *
49
51
  * ```
50
52
  *
51
53
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -114,6 +116,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
114
116
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
115
117
  * <p></p>
116
118
  *
119
+ * @throws {@link WAFRegionalServiceException}
120
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
117
121
  *
118
122
  */
119
123
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -42,6 +42,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
42
42
  * };
43
43
  * const command = new UntagResourceCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // {};
46
+ *
45
47
  * ```
46
48
  *
47
49
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -105,6 +107,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
105
107
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
106
108
  * <p></p>
107
109
  *
110
+ * @throws {@link WAFRegionalServiceException}
111
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
108
112
  *
109
113
  */
110
114
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -92,6 +92,10 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo
92
92
  * };
93
93
  * const command = new UpdateByteMatchSetCommand(input);
94
94
  * const response = await client.send(command);
95
+ * // { // UpdateByteMatchSetResponse
96
+ * // ChangeToken: "STRING_VALUE",
97
+ * // };
98
+ *
95
99
  * ```
96
100
  *
97
101
  * @param UpdateByteMatchSetCommandInput - {@link UpdateByteMatchSetCommandInput}
@@ -198,6 +202,8 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo
198
202
  * @throws {@link WAFStaleDataException} (client fault)
199
203
  * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
200
204
  *
205
+ * @throws {@link WAFRegionalServiceException}
206
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
201
207
  *
202
208
  * @example To update a byte match set
203
209
  * ```javascript
@@ -79,6 +79,10 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons
79
79
  * };
80
80
  * const command = new UpdateGeoMatchSetCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // { // UpdateGeoMatchSetResponse
83
+ * // ChangeToken: "STRING_VALUE",
84
+ * // };
85
+ *
82
86
  * ```
83
87
  *
84
88
  * @param UpdateGeoMatchSetCommandInput - {@link UpdateGeoMatchSetCommandInput}
@@ -196,6 +200,8 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons
196
200
  * @throws {@link WAFStaleDataException} (client fault)
197
201
  * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
198
202
  *
203
+ * @throws {@link WAFRegionalServiceException}
204
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
199
205
  *
200
206
  */
201
207
  export declare class UpdateGeoMatchSetCommand extends $Command<UpdateGeoMatchSetCommandInput, UpdateGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -114,6 +114,10 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
114
114
  * };
115
115
  * const command = new UpdateIPSetCommand(input);
116
116
  * const response = await client.send(command);
117
+ * // { // UpdateIPSetResponse
118
+ * // ChangeToken: "STRING_VALUE",
119
+ * // };
120
+ *
117
121
  * ```
118
122
  *
119
123
  * @param UpdateIPSetCommandInput - {@link UpdateIPSetCommandInput}
@@ -231,6 +235,8 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
231
235
  * @throws {@link WAFStaleDataException} (client fault)
232
236
  * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
233
237
  *
238
+ * @throws {@link WAFRegionalServiceException}
239
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
234
240
  *
235
241
  * @example To update an IP set
236
242
  * ```javascript