putRepositoryPermissionsPolicy
inline suspend fun CodeartifactClient.putRepositoryPermissionsPolicy(crossinline block: PutRepositoryPermissionsPolicyRequest.Builder.() -> Unit): PutRepositoryPermissionsPolicyResponse
Sets the resource policy on a repository that specifies permissions to access it.
When you call PutRepositoryPermissionsPolicy
, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.