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