Create Package Group
codeartifact_create_package_group | R Documentation |
Creates a package group¶
Description¶
Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
Usage¶
codeartifact_create_package_group(domain, domainOwner, packageGroup,
contactInfo, description, tags)
Arguments¶
domain |
[required] The name of the domain in which you want to create a package group. |
domainOwner |
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
packageGroup |
[required] The pattern of the package group to create. The pattern is also the identifier of the package group. |
contactInfo |
The contact information for the created package group. |
description |
A description of the package group. |
tags |
One or more tag key-value pairs for the package group. |
Value¶
A list with the following syntax:
list(
packageGroup = list(
arn = "string",
pattern = "string",
domainName = "string",
domainOwner = "string",
createdTime = as.POSIXct(
"2015-01-01"
),
contactInfo = "string",
description = "string",
originConfiguration = list(
restrictions = list(
list(
mode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
effectiveMode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT",
inheritedFrom = list(
arn = "string",
pattern = "string"
),
repositoriesCount = 123
)
)
),
parent = list(
arn = "string",
pattern = "string"
)
)
)
Request syntax¶
svc$create_package_group(
domain = "string",
domainOwner = "string",
packageGroup = "string",
contactInfo = "string",
description = "string",
tags = list(
list(
key = "string",
value = "string"
)
)
)