putRepositoryPermissionsPolicy
abstract suspend fun putRepositoryPermissionsPolicy(input: PutRepositoryPermissionsPolicyRequest): 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.