AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetAssociatedPackageGroup operation.
Returns the most closely associated package group to the specified package. This API
does not require that the package exist in any repository in the domain. As such,
GetAssociatedPackageGroup
can be used to see which package group's origin configuration
applies to a package before that package is in a repository. This can be helpful to
check if public packages are blocked without ingesting them.
For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z
public class GetAssociatedPackageGroupRequest : AmazonCodeArtifactRequest IAmazonWebServiceRequest
The GetAssociatedPackageGroupRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetAssociatedPackageGroupRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Domain | System.String |
Gets and sets the property Domain. The name of the domain that contains the package from which to get the associated package group. |
![]() |
DomainOwner | System.String |
Gets and sets the property DomainOwner. The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
![]() |
Format | Amazon.CodeArtifact.PackageFormat |
Gets and sets the property Format. The format of the package from which to get the associated package group. |
![]() |
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example: The namespace is required when getting associated package groups from packages of the following formats:
|
![]() |
Package | System.String |
Gets and sets the property Package. The package from which to get the associated package group. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer