@aws-sdk/client-waf-regional 3.321.1 → 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 +16 -16
@@ -55,6 +55,10 @@ export interface DeleteSizeConstraintSetCommandOutput extends DeleteSizeConstrai
55
55
  * };
56
56
  * const command = new DeleteSizeConstraintSetCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteSizeConstraintSetResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteSizeConstraintSetCommandInput - {@link DeleteSizeConstraintSetCommandInput}
@@ -104,6 +108,8 @@ export interface DeleteSizeConstraintSetCommandOutput extends DeleteSizeConstrai
104
108
  * @throws {@link WAFStaleDataException} (client fault)
105
109
  * <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>
106
110
  *
111
+ * @throws {@link WAFRegionalServiceException}
112
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
107
113
  *
108
114
  * @example To delete a size constraint set
109
115
  * ```javascript
@@ -56,6 +56,10 @@ export interface DeleteSqlInjectionMatchSetCommandOutput extends DeleteSqlInject
56
56
  * };
57
57
  * const command = new DeleteSqlInjectionMatchSetCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // DeleteSqlInjectionMatchSetResponse
60
+ * // ChangeToken: "STRING_VALUE",
61
+ * // };
62
+ *
59
63
  * ```
60
64
  *
61
65
  * @param DeleteSqlInjectionMatchSetCommandInput - {@link DeleteSqlInjectionMatchSetCommandInput}
@@ -105,6 +109,8 @@ export interface DeleteSqlInjectionMatchSetCommandOutput extends DeleteSqlInject
105
109
  * @throws {@link WAFStaleDataException} (client fault)
106
110
  * <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>
107
111
  *
112
+ * @throws {@link WAFRegionalServiceException}
113
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
108
114
  *
109
115
  * @example To delete a SQL injection match set
110
116
  * ```javascript
@@ -53,6 +53,10 @@ export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __Metad
53
53
  * };
54
54
  * const command = new DeleteWebACLCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // DeleteWebACLResponse
57
+ * // ChangeToken: "STRING_VALUE",
58
+ * // };
59
+ *
56
60
  * ```
57
61
  *
58
62
  * @param DeleteWebACLCommandInput - {@link DeleteWebACLCommandInput}
@@ -108,6 +112,8 @@ export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __Metad
108
112
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
109
113
  * <p></p>
110
114
  *
115
+ * @throws {@link WAFRegionalServiceException}
116
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
111
117
  *
112
118
  * @example To delete a web ACL
113
119
  * ```javascript
@@ -56,6 +56,10 @@ export interface DeleteXssMatchSetCommandOutput extends DeleteXssMatchSetRespons
56
56
  * };
57
57
  * const command = new DeleteXssMatchSetCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // DeleteXssMatchSetResponse
60
+ * // ChangeToken: "STRING_VALUE",
61
+ * // };
62
+ *
59
63
  * ```
60
64
  *
61
65
  * @param DeleteXssMatchSetCommandInput - {@link DeleteXssMatchSetCommandInput}
@@ -105,6 +109,8 @@ export interface DeleteXssMatchSetCommandOutput extends DeleteXssMatchSetRespons
105
109
  * @throws {@link WAFStaleDataException} (client fault)
106
110
  * <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>
107
111
  *
112
+ * @throws {@link WAFRegionalServiceException}
113
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
108
114
  *
109
115
  * @example To delete an XSS match set
110
116
  * ```javascript
@@ -39,6 +39,8 @@ export interface DisassociateWebACLCommandOutput extends DisassociateWebACLRespo
39
39
  * };
40
40
  * const command = new DisassociateWebACLCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param DisassociateWebACLCommandInput - {@link DisassociateWebACLCommandInput}
@@ -96,6 +98,8 @@ export interface DisassociateWebACLCommandOutput extends DisassociateWebACLRespo
96
98
  * @throws {@link WAFNonexistentItemException} (client fault)
97
99
  * <p>The operation failed because the referenced object doesn't exist.</p>
98
100
  *
101
+ * @throws {@link WAFRegionalServiceException}
102
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
99
103
  *
100
104
  */
101
105
  export declare class DisassociateWebACLCommand extends $Command<DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,24 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _
39
39
  * };
40
40
  * const command = new GetByteMatchSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetByteMatchSetResponse
43
+ * // ByteMatchSet: { // ByteMatchSet
44
+ * // ByteMatchSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // ByteMatchTuples: [ // ByteMatchTuples // required
47
+ * // { // ByteMatchTuple
48
+ * // FieldToMatch: { // FieldToMatch
49
+ * // Type: "STRING_VALUE", // required
50
+ * // Data: "STRING_VALUE",
51
+ * // },
52
+ * // TargetString: "BLOB_VALUE", // required
53
+ * // TextTransformation: "STRING_VALUE", // required
54
+ * // PositionalConstraint: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // };
59
+ *
42
60
  * ```
43
61
  *
44
62
  * @param GetByteMatchSetCommandInput - {@link GetByteMatchSetCommandInput}
@@ -56,6 +74,8 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _
56
74
  * @throws {@link WAFNonexistentItemException} (client fault)
57
75
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
76
  *
77
+ * @throws {@link WAFRegionalServiceException}
78
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
79
  *
60
80
  * @example To get a byte match set
61
81
  * ```javascript
@@ -43,6 +43,10 @@ export interface GetChangeTokenCommandOutput extends GetChangeTokenResponse, __M
43
43
  * const input = {};
44
44
  * const command = new GetChangeTokenCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // GetChangeTokenResponse
47
+ * // ChangeToken: "STRING_VALUE",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param GetChangeTokenCommandInput - {@link GetChangeTokenCommandInput}
@@ -54,6 +58,8 @@ export interface GetChangeTokenCommandOutput extends GetChangeTokenResponse, __M
54
58
  * @throws {@link WAFInternalErrorException} (server fault)
55
59
  * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
56
60
  *
61
+ * @throws {@link WAFRegionalServiceException}
62
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
63
  *
58
64
  * @example To get a change token
59
65
  * ```javascript
@@ -55,6 +55,10 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR
55
55
  * };
56
56
  * const command = new GetChangeTokenStatusCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // GetChangeTokenStatusResponse
59
+ * // ChangeTokenStatus: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param GetChangeTokenStatusCommandInput - {@link GetChangeTokenStatusCommandInput}
@@ -69,6 +73,8 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR
69
73
  * @throws {@link WAFNonexistentItemException} (client fault)
70
74
  * <p>The operation failed because the referenced object doesn't exist.</p>
71
75
  *
76
+ * @throws {@link WAFRegionalServiceException}
77
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
72
78
  *
73
79
  * @example To get the change token status
74
80
  * ```javascript
@@ -39,6 +39,19 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M
39
39
  * };
40
40
  * const command = new GetGeoMatchSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetGeoMatchSetResponse
43
+ * // GeoMatchSet: { // GeoMatchSet
44
+ * // GeoMatchSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // GeoMatchConstraints: [ // GeoMatchConstraints // required
47
+ * // { // GeoMatchConstraint
48
+ * // Type: "STRING_VALUE", // required
49
+ * // Value: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // };
54
+ *
42
55
  * ```
43
56
  *
44
57
  * @param GetGeoMatchSetCommandInput - {@link GetGeoMatchSetCommandInput}
@@ -56,6 +69,8 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M
56
69
  * @throws {@link WAFNonexistentItemException} (client fault)
57
70
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
71
  *
72
+ * @throws {@link WAFRegionalServiceException}
73
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
74
  *
60
75
  */
61
76
  export declare class GetGeoMatchSetCommand extends $Command<GetGeoMatchSetCommandInput, GetGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,19 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare
39
39
  * };
40
40
  * const command = new GetIPSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetIPSetResponse
43
+ * // IPSet: { // IPSet
44
+ * // IPSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // IPSetDescriptors: [ // IPSetDescriptors // required
47
+ * // { // IPSetDescriptor
48
+ * // Type: "STRING_VALUE", // required
49
+ * // Value: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // };
54
+ *
42
55
  * ```
43
56
  *
44
57
  * @param GetIPSetCommandInput - {@link GetIPSetCommandInput}
@@ -56,6 +69,8 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare
56
69
  * @throws {@link WAFNonexistentItemException} (client fault)
57
70
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
71
  *
72
+ * @throws {@link WAFRegionalServiceException}
73
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
74
  *
60
75
  * @example To get an IP set
61
76
  * ```javascript
@@ -39,6 +39,21 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
39
39
  * };
40
40
  * const command = new GetLoggingConfigurationCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetLoggingConfigurationResponse
43
+ * // LoggingConfiguration: { // LoggingConfiguration
44
+ * // ResourceArn: "STRING_VALUE", // required
45
+ * // LogDestinationConfigs: [ // LogDestinationConfigs // required
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // RedactedFields: [ // RedactedFields
49
+ * // { // FieldToMatch
50
+ * // Type: "STRING_VALUE", // required
51
+ * // Data: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // },
55
+ * // };
56
+ *
42
57
  * ```
43
58
  *
44
59
  * @param GetLoggingConfigurationCommandInput - {@link GetLoggingConfigurationCommandInput}
@@ -53,6 +68,8 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
53
68
  * @throws {@link WAFNonexistentItemException} (client fault)
54
69
  * <p>The operation failed because the referenced object doesn't exist.</p>
55
70
  *
71
+ * @throws {@link WAFRegionalServiceException}
72
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
56
73
  *
57
74
  */
58
75
  export declare class GetLoggingConfigurationCommand extends $Command<GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,10 @@ export interface GetPermissionPolicyCommandOutput extends GetPermissionPolicyRes
39
39
  * };
40
40
  * const command = new GetPermissionPolicyCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetPermissionPolicyResponse
43
+ * // Policy: "STRING_VALUE",
44
+ * // };
45
+ *
42
46
  * ```
43
47
  *
44
48
  * @param GetPermissionPolicyCommandInput - {@link GetPermissionPolicyCommandInput}
@@ -53,6 +57,8 @@ export interface GetPermissionPolicyCommandOutput extends GetPermissionPolicyRes
53
57
  * @throws {@link WAFNonexistentItemException} (client fault)
54
58
  * <p>The operation failed because the referenced object doesn't exist.</p>
55
59
  *
60
+ * @throws {@link WAFRegionalServiceException}
61
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
56
62
  *
57
63
  */
58
64
  export declare class GetPermissionPolicyCommand extends $Command<GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -41,6 +41,23 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse,
41
41
  * };
42
42
  * const command = new GetRateBasedRuleCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // GetRateBasedRuleResponse
45
+ * // Rule: { // RateBasedRule
46
+ * // RuleId: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE",
48
+ * // MetricName: "STRING_VALUE",
49
+ * // MatchPredicates: [ // Predicates // required
50
+ * // { // Predicate
51
+ * // Negated: true || false, // required
52
+ * // Type: "STRING_VALUE", // required
53
+ * // DataId: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // RateKey: "STRING_VALUE", // required
57
+ * // RateLimit: Number("long"), // required
58
+ * // },
59
+ * // };
60
+ *
44
61
  * ```
45
62
  *
46
63
  * @param GetRateBasedRuleCommandInput - {@link GetRateBasedRuleCommandInput}
@@ -58,6 +75,8 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse,
58
75
  * @throws {@link WAFNonexistentItemException} (client fault)
59
76
  * <p>The operation failed because the referenced object doesn't exist.</p>
60
77
  *
78
+ * @throws {@link WAFRegionalServiceException}
79
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
61
80
  *
62
81
  */
63
82
  export declare class GetRateBasedRuleCommand extends $Command<GetRateBasedRuleCommandInput, GetRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -42,6 +42,13 @@ export interface GetRateBasedRuleManagedKeysCommandOutput extends GetRateBasedRu
42
42
  * };
43
43
  * const command = new GetRateBasedRuleManagedKeysCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // GetRateBasedRuleManagedKeysResponse
46
+ * // ManagedKeys: [ // ManagedKeys
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // NextMarker: "STRING_VALUE",
50
+ * // };
51
+ *
45
52
  * ```
46
53
  *
47
54
  * @param GetRateBasedRuleManagedKeysCommandInput - {@link GetRateBasedRuleManagedKeysCommandInput}
@@ -99,6 +106,8 @@ export interface GetRateBasedRuleManagedKeysCommandOutput extends GetRateBasedRu
99
106
  * @throws {@link WAFNonexistentItemException} (client fault)
100
107
  * <p>The operation failed because the referenced object doesn't exist.</p>
101
108
  *
109
+ * @throws {@link WAFRegionalServiceException}
110
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
102
111
  *
103
112
  */
104
113
  export declare class GetRateBasedRuleManagedKeysCommand extends $Command<GetRateBasedRuleManagedKeysCommandInput, GetRateBasedRuleManagedKeysCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,23 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse,
39
39
  * };
40
40
  * const command = new GetRegexMatchSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetRegexMatchSetResponse
43
+ * // RegexMatchSet: { // RegexMatchSet
44
+ * // RegexMatchSetId: "STRING_VALUE",
45
+ * // Name: "STRING_VALUE",
46
+ * // RegexMatchTuples: [ // RegexMatchTuples
47
+ * // { // RegexMatchTuple
48
+ * // FieldToMatch: { // FieldToMatch
49
+ * // Type: "STRING_VALUE", // required
50
+ * // Data: "STRING_VALUE",
51
+ * // },
52
+ * // TextTransformation: "STRING_VALUE", // required
53
+ * // RegexPatternSetId: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // };
58
+ *
42
59
  * ```
43
60
  *
44
61
  * @param GetRegexMatchSetCommandInput - {@link GetRegexMatchSetCommandInput}
@@ -56,6 +73,8 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse,
56
73
  * @throws {@link WAFNonexistentItemException} (client fault)
57
74
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
75
  *
76
+ * @throws {@link WAFRegionalServiceException}
77
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
78
  *
60
79
  */
61
80
  export declare class GetRegexMatchSetCommand extends $Command<GetRegexMatchSetCommandInput, GetRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,16 @@ export interface GetRegexPatternSetCommandOutput extends GetRegexPatternSetRespo
39
39
  * };
40
40
  * const command = new GetRegexPatternSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetRegexPatternSetResponse
43
+ * // RegexPatternSet: { // RegexPatternSet
44
+ * // RegexPatternSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // RegexPatternStrings: [ // RegexPatternStrings // required
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // },
50
+ * // };
51
+ *
42
52
  * ```
43
53
  *
44
54
  * @param GetRegexPatternSetCommandInput - {@link GetRegexPatternSetCommandInput}
@@ -56,6 +66,8 @@ export interface GetRegexPatternSetCommandOutput extends GetRegexPatternSetRespo
56
66
  * @throws {@link WAFNonexistentItemException} (client fault)
57
67
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
68
  *
69
+ * @throws {@link WAFRegionalServiceException}
70
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
71
  *
60
72
  */
61
73
  export declare class GetRegexPatternSetCommand extends $Command<GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -39,6 +39,21 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
39
39
  * };
40
40
  * const command = new GetRuleCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetRuleResponse
43
+ * // Rule: { // Rule
44
+ * // RuleId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // MetricName: "STRING_VALUE",
47
+ * // Predicates: [ // Predicates // required
48
+ * // { // Predicate
49
+ * // Negated: true || false, // required
50
+ * // Type: "STRING_VALUE", // required
51
+ * // DataId: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // },
55
+ * // };
56
+ *
42
57
  * ```
43
58
  *
44
59
  * @param GetRuleCommandInput - {@link GetRuleCommandInput}
@@ -56,6 +71,8 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
56
71
  * @throws {@link WAFNonexistentItemException} (client fault)
57
72
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
73
  *
74
+ * @throws {@link WAFRegionalServiceException}
75
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
76
  *
60
77
  * @example To get a rule
61
78
  * ```javascript
@@ -40,6 +40,14 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
40
40
  * };
41
41
  * const command = new GetRuleGroupCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // GetRuleGroupResponse
44
+ * // RuleGroup: { // RuleGroup
45
+ * // RuleGroupId: "STRING_VALUE", // required
46
+ * // Name: "STRING_VALUE",
47
+ * // MetricName: "STRING_VALUE",
48
+ * // },
49
+ * // };
50
+ *
43
51
  * ```
44
52
  *
45
53
  * @param GetRuleGroupCommandInput - {@link GetRuleGroupCommandInput}
@@ -54,6 +62,8 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
54
62
  * @throws {@link WAFNonexistentItemException} (client fault)
55
63
  * <p>The operation failed because the referenced object doesn't exist.</p>
56
64
  *
65
+ * @throws {@link WAFRegionalServiceException}
66
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
57
67
  *
58
68
  */
59
69
  export declare class GetRuleGroupCommand extends $Command<GetRuleGroupCommandInput, GetRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -49,6 +49,35 @@ export interface GetSampledRequestsCommandOutput extends GetSampledRequestsRespo
49
49
  * };
50
50
  * const command = new GetSampledRequestsCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // GetSampledRequestsResponse
53
+ * // SampledRequests: [ // SampledHTTPRequests
54
+ * // { // SampledHTTPRequest
55
+ * // Request: { // HTTPRequest
56
+ * // ClientIP: "STRING_VALUE",
57
+ * // Country: "STRING_VALUE",
58
+ * // URI: "STRING_VALUE",
59
+ * // Method: "STRING_VALUE",
60
+ * // HTTPVersion: "STRING_VALUE",
61
+ * // Headers: [ // HTTPHeaders
62
+ * // { // HTTPHeader
63
+ * // Name: "STRING_VALUE",
64
+ * // Value: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // Weight: Number("long"), // required
69
+ * // Timestamp: new Date("TIMESTAMP"),
70
+ * // Action: "STRING_VALUE",
71
+ * // RuleWithinRuleGroup: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // PopulationSize: Number("long"),
75
+ * // TimeWindow: { // TimeWindow
76
+ * // StartTime: new Date("TIMESTAMP"), // required
77
+ * // EndTime: new Date("TIMESTAMP"), // required
78
+ * // },
79
+ * // };
80
+ *
52
81
  * ```
53
82
  *
54
83
  * @param GetSampledRequestsCommandInput - {@link GetSampledRequestsCommandInput}
@@ -63,6 +92,8 @@ export interface GetSampledRequestsCommandOutput extends GetSampledRequestsRespo
63
92
  * @throws {@link WAFNonexistentItemException} (client fault)
64
93
  * <p>The operation failed because the referenced object doesn't exist.</p>
65
94
  *
95
+ * @throws {@link WAFRegionalServiceException}
96
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
66
97
  *
67
98
  * @example To get a sampled requests
68
99
  * ```javascript
@@ -39,6 +39,24 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR
39
39
  * };
40
40
  * const command = new GetSizeConstraintSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetSizeConstraintSetResponse
43
+ * // SizeConstraintSet: { // SizeConstraintSet
44
+ * // SizeConstraintSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // SizeConstraints: [ // SizeConstraints // required
47
+ * // { // SizeConstraint
48
+ * // FieldToMatch: { // FieldToMatch
49
+ * // Type: "STRING_VALUE", // required
50
+ * // Data: "STRING_VALUE",
51
+ * // },
52
+ * // TextTransformation: "STRING_VALUE", // required
53
+ * // ComparisonOperator: "STRING_VALUE", // required
54
+ * // Size: Number("long"), // required
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // };
59
+ *
42
60
  * ```
43
61
  *
44
62
  * @param GetSizeConstraintSetCommandInput - {@link GetSizeConstraintSetCommandInput}
@@ -56,6 +74,8 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR
56
74
  * @throws {@link WAFNonexistentItemException} (client fault)
57
75
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
76
  *
77
+ * @throws {@link WAFRegionalServiceException}
78
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
79
  *
60
80
  * @example To get a size constraint set
61
81
  * ```javascript
@@ -39,6 +39,22 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat
39
39
  * };
40
40
  * const command = new GetSqlInjectionMatchSetCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetSqlInjectionMatchSetResponse
43
+ * // SqlInjectionMatchSet: { // SqlInjectionMatchSet
44
+ * // SqlInjectionMatchSetId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required
47
+ * // { // SqlInjectionMatchTuple
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 GetSqlInjectionMatchSetCommandInput - {@link GetSqlInjectionMatchSetCommandInput}
@@ -56,6 +72,8 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat
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 a SQL injection match set
61
79
  * ```javascript
@@ -39,6 +39,36 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
39
39
  * };
40
40
  * const command = new GetWebACLCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetWebACLResponse
43
+ * // WebACL: { // WebACL
44
+ * // WebACLId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE",
46
+ * // MetricName: "STRING_VALUE",
47
+ * // DefaultAction: { // WafAction
48
+ * // Type: "STRING_VALUE", // required
49
+ * // },
50
+ * // Rules: [ // ActivatedRules // required
51
+ * // { // ActivatedRule
52
+ * // Priority: Number("int"), // required
53
+ * // RuleId: "STRING_VALUE", // required
54
+ * // Action: {
55
+ * // Type: "STRING_VALUE", // required
56
+ * // },
57
+ * // OverrideAction: { // WafOverrideAction
58
+ * // Type: "STRING_VALUE", // required
59
+ * // },
60
+ * // Type: "STRING_VALUE",
61
+ * // ExcludedRules: [ // ExcludedRules
62
+ * // { // ExcludedRule
63
+ * // RuleId: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // ],
68
+ * // WebACLArn: "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
42
72
  * ```
43
73
  *
44
74
  * @param GetWebACLCommandInput - {@link GetWebACLCommandInput}
@@ -56,6 +86,8 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
56
86
  * @throws {@link WAFNonexistentItemException} (client fault)
57
87
  * <p>The operation failed because the referenced object doesn't exist.</p>
58
88
  *
89
+ * @throws {@link WAFRegionalServiceException}
90
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
59
91
  *
60
92
  * @example To get a web ACL
61
93
  * ```javascript
@@ -39,6 +39,13 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
39
39
  * };
40
40
  * const command = new GetWebACLForResourceCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetWebACLForResourceResponse
43
+ * // WebACLSummary: { // WebACLSummary
44
+ * // WebACLId: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE", // required
46
+ * // },
47
+ * // };
48
+ *
42
49
  * ```
43
50
  *
44
51
  * @param GetWebACLForResourceCommandInput - {@link GetWebACLForResourceCommandInput}
@@ -100,6 +107,8 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
100
107
  * <p>The operation failed because the entity
101
108
  * referenced is temporarily unavailable. Retry your request.</p>
102
109
  *
110
+ * @throws {@link WAFRegionalServiceException}
111
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
103
112
  *
104
113
  */
105
114
  export declare class GetWebACLForResourceCommand extends $Command<GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutput, WAFRegionalClientResolvedConfig> {