

# ListDataQualityRulesets
<a name="API_ListDataQualityRulesets"></a>

Returns a paginated list of rulesets for the specified list of AWS Glue tables.

## Request Syntax
<a name="API_ListDataQualityRulesets_RequestSyntax"></a>

```
{
   "Filter": { 
      "CreatedAfter": number,
      "CreatedBefore": number,
      "Description": "string",
      "LastModifiedAfter": number,
      "LastModifiedBefore": number,
      "Name": "string",
      "TargetTable": { 
         "CatalogId": "string",
         "DatabaseName": "string",
         "TableName": "string"
      }
   },
   "MaxResults": number,
   "NextToken": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Request Parameters
<a name="API_ListDataQualityRulesets_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [Filter](#API_ListDataQualityRulesets_RequestSyntax) **   <a name="Glue-ListDataQualityRulesets-request-Filter"></a>
The filter criteria.   
Type: [DataQualityRulesetFilterCriteria](API_DataQualityRulesetFilterCriteria.md) object  
Required: No

 ** [MaxResults](#API_ListDataQualityRulesets_RequestSyntax) **   <a name="Glue-ListDataQualityRulesets-request-MaxResults"></a>
The maximum number of results to return.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1000.  
Required: No

 ** [NextToken](#API_ListDataQualityRulesets_RequestSyntax) **   <a name="Glue-ListDataQualityRulesets-request-NextToken"></a>
A paginated token to offset the results.  
Type: String  
Required: No

 ** [Tags](#API_ListDataQualityRulesets_RequestSyntax) **   <a name="Glue-ListDataQualityRulesets-request-Tags"></a>
A list of key-value pair tags.  
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_ListDataQualityRulesets_ResponseSyntax"></a>

```
{
   "NextToken": "string",
   "Rulesets": [ 
      { 
         "CreatedOn": number,
         "Description": "string",
         "LastModifiedOn": number,
         "Name": "string",
         "RecommendationRunId": "string",
         "RuleCount": number,
         "TargetTable": { 
            "CatalogId": "string",
            "DatabaseName": "string",
            "TableName": "string"
         }
      }
   ]
}
```

## Response Elements
<a name="API_ListDataQualityRulesets_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_ListDataQualityRulesets_ResponseSyntax) **   <a name="Glue-ListDataQualityRulesets-response-NextToken"></a>
A pagination token, if more results are available.  
Type: String

 ** [Rulesets](#API_ListDataQualityRulesets_ResponseSyntax) **   <a name="Glue-ListDataQualityRulesets-response-Rulesets"></a>
A paginated list of rulesets for the specified list of AWS Glue tables.  
Type: Array of [DataQualityRulesetListDetails](API_DataQualityRulesetListDetails.md) objects

## Errors
<a name="API_ListDataQualityRulesets_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** EntityNotFoundException **   
A specified entity does not exist    
 ** FromFederationSource **   
Indicates whether or not the exception relates to a federated source.  
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

 ** InternalServiceException **   
An internal service error occurred.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 500

 ** InvalidInputException **   
The input provided was not valid.    
 ** FromFederationSource **   
Indicates whether or not the exception relates to a federated source.  
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

 ** OperationTimeoutException **   
The operation timed out.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

## See Also
<a name="API_ListDataQualityRulesets_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/glue-2017-03-31/ListDataQualityRulesets) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/glue-2017-03-31/ListDataQualityRulesets) 