Skip to content

/AWS1/CL_ART=>DELETEREPOSITORYPERMSPOLICY()

About DeleteRepositoryPermissionsPolicy

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain that contains the repository associated with the resource policy to be deleted.

IV_REPOSITORY TYPE /AWS1/ARTREPOSITORYNAME /AWS1/ARTREPOSITORYNAME

The name of the repository that is associated with the resource policy to be deleted

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.

IV_POLICYREVISION TYPE /AWS1/ARTPOLICYREVISION /AWS1/ARTPOLICYREVISION

The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTDELREPOSITORYPER01 /AWS1/CL_ARTDELREPOSITORYPER01