Skip to content

Get Repository Permissions Policy

codeartifact_get_repository_permissions_policy R Documentation

Returns the resource policy that is set on a repository

Description

Returns the resource policy that is set on a repository.

Usage

codeartifact_get_repository_permissions_policy(domain, domainOwner,
  repository)

Arguments

domain

[required] The name of the domain containing the repository whose associated resource policy is to be retrieved.

domainOwner

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

repository

[required] The name of the repository whose associated resource policy is to be retrieved.

Value

A list with the following syntax:

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

Request syntax

svc$get_repository_permissions_policy(
  domain = "string",
  domainOwner = "string",
  repository = "string"
)