Skip to content

/AWS1/CL_DZN=>GETRULE()

About GetRule

Gets the details of a rule 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.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID

The ID of the domain where the GetRule action is to be invoked.

IV_IDENTIFIER TYPE /AWS1/DZNRULEID /AWS1/DZNRULEID

The ID of the rule.

Optional arguments:

IV_REVISION TYPE /AWS1/DZNREVISION /AWS1/DZNREVISION

The revision of the rule.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DZNGETRULEOUTPUT /AWS1/CL_DZNGETRULEOUTPUT