Skip to content

/AWS1/CL_ART=>GETDOMAINPERMISSIONSPOLICY()

About GetDomainPermissionsPolicy

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the IAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain to which the resource policy is attached.

Optional arguments:

IV_DOMAINOWNER TYPE /AWS1/ARTACCOUNTID /AWS1/ARTACCOUNTID

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTGETDOMPERMSPLYRSLT /AWS1/CL_ARTGETDOMPERMSPLYRSLT