GlueDataBrew.Client.
list_rulesets
(**kwargs)¶List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
See also: AWS API Documentation
Request Syntax
response = client.list_rulesets(
TargetArn='string',
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'Rulesets': [
{
'AccountId': 'string',
'CreatedBy': 'string',
'CreateDate': datetime(2015, 1, 1),
'Description': 'string',
'LastModifiedBy': 'string',
'LastModifiedDate': datetime(2015, 1, 1),
'Name': 'string',
'ResourceArn': 'string',
'RuleCount': 123,
'Tags': {
'string': 'string'
},
'TargetArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Rulesets (list) --
A list of RulesetItem. RulesetItem contains meta data of a ruleset.
(dict) --
Contains metadata about the ruleset.
AccountId (string) --
The ID of the Amazon Web Services account that owns the ruleset.
CreatedBy (string) --
The Amazon Resource Name (ARN) of the user who created the ruleset.
CreateDate (datetime) --
The date and time that the ruleset was created.
Description (string) --
The description of the ruleset.
LastModifiedBy (string) --
The Amazon Resource Name (ARN) of the user who last modified the ruleset.
LastModifiedDate (datetime) --
The modification date and time of the ruleset.
Name (string) --
The name of the ruleset.
ResourceArn (string) --
The Amazon Resource Name (ARN) for the ruleset.
RuleCount (integer) --
The number of rules that are defined in the ruleset.
Tags (dict) --
Metadata tags that have been applied to the ruleset.
TargetArn (string) --
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
NextToken (string) --
A token that you can use in a subsequent call to retrieve the next set of results.
Exceptions
GlueDataBrew.Client.exceptions.ResourceNotFoundException
GlueDataBrew.Client.exceptions.ValidationException