Lists existing rules. In Amazon DataZone, a rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards.
See https://www.paws-r-sdk.com/docs/datazone_list_rules/ for full documentation.
Usage
datazone_list_rules(
domainIdentifier,
targetType,
targetIdentifier,
ruleType = NULL,
action = NULL,
projectIds = NULL,
assetTypes = NULL,
dataProduct = NULL,
includeCascaded = NULL,
maxResults = NULL,
nextToken = NULL
)Arguments
- domainIdentifier
[required] The ID of the domain in which the rules are to be listed.
- targetType
[required] The target type of the rule.
- targetIdentifier
[required] The target ID of the rule.
- ruleType
The type of the rule.
- action
The action of the rule.
- projectIds
The IDs of projects in which rules are to be listed.
- assetTypes
The asset types of the rule.
- dataProduct
The data product of the rule.
- includeCascaded
Specifies whether to include cascading rules in the results.
- maxResults
The maximum number of rules to return in a single call to
list_rules. When the number of rules to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call tolist_rulesto list the next set of rules.- nextToken
When the number of rules is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of rules, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call tolist_rulesto list the next set of rules.