Skip to content

Delete Domain Permissions Policy

codeartifact_delete_domain_permissions_policy R Documentation

Deletes the resource policy set on a domain

Description

Deletes the resource policy set on a domain.

Usage

codeartifact_delete_domain_permissions_policy(domain, domainOwner,
  policyRevision)

Arguments

domain

[required] The name of the domain associated with the resource policy to be deleted.

domainOwner

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

policyRevision

The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.

Value

A list with the following syntax:

list(
  policy = list(
    resourceArn = "string",
    revision = "string",
    document = "string"
  )
)

Request syntax

svc$delete_domain_permissions_policy(
  domain = "string",
  domainOwner = "string",
  policyRevision = "string"
)