Skip to content

/AWS1/CL_ECR=>GETLIFECYCLEPOLICY()

About GetLifecyclePolicy

Retrieves the lifecycle policy for the specified repository.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/ECRREPOSITORYNAME /AWS1/ECRREPOSITORYNAME

The name of the repository.

Optional arguments:

IV_REGISTRYID TYPE /AWS1/ECRREGISTRYID /AWS1/ECRREGISTRYID

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECRGETLCPOLICYRSP /AWS1/CL_ECRGETLCPOLICYRSP