ecr_get_lifecycle_policy function

Retrieves the lifecycle policy for the specified repository