getRepositoryPolicy

Retrieves the repository policy for the specified repository.

Samples

// This example obtains the repository policy for the repository named ubuntu.
val resp = ecrClient.getRepositoryPolicy {
    repositoryName = "ubuntu"
}