getRepositoryPolicy

Retrieves the repository policy for the specified repository.

Samples


fun main() { 
   //sampleStart 
   // This example obtains the repository policy for the repository named ubuntu.
val resp = ecrClient.getRepositoryPolicy {
    repositoryName = "ubuntu"
} 
   //sampleEnd
}