ecr_get_repository_policy function

Retrieves the repository policy for the specified repository