getRepositoryPolicy
inline suspend fun EcrClient.getRepositoryPolicy(crossinline block: GetRepositoryPolicyRequest.Builder.() -> Unit): GetRepositoryPolicyResponse
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
}