NAME
Paws::CodeArtifact::GetPackageVersionAsset - Arguments for method GetPackageVersionAsset on Paws::CodeArtifact
DESCRIPTION
This class represents the parameters used for calling the method GetPackageVersionAsset on the CodeArtifact service. Use the attributes of this class as arguments to method GetPackageVersionAsset.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetPackageVersionAsset.
SYNOPSIS
my $codeartifact = Paws->service('CodeArtifact');
my $GetPackageVersionAssetResult = $codeartifact->GetPackageVersionAsset(
Asset => 'MyAssetName',
Domain => 'MyDomainName',
Format => 'npm',
Package => 'MyPackageName',
PackageVersion => 'MyPackageVersion',
Repository => 'MyRepositoryName',
DomainOwner => 'MyAccountId', # OPTIONAL
Namespace => 'MyPackageNamespace', # OPTIONAL
PackageVersionRevision => 'MyPackageVersionRevision', # OPTIONAL
);
# Results:
my $Asset = $GetPackageVersionAssetResult->Asset;
my $AssetName = $GetPackageVersionAssetResult->AssetName;
my $PackageVersion = $GetPackageVersionAssetResult->PackageVersion;
my $PackageVersionRevision =
$GetPackageVersionAssetResult->PackageVersionRevision;
# Returns a L<Paws::CodeArtifact::GetPackageVersionAssetResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codeartifact/GetPackageVersionAsset
ATTRIBUTES
REQUIRED Asset => Str
The name of the requested asset.
REQUIRED Domain => Str
The name of the domain that contains the repository that contains the package version with the requested asset.
DomainOwner => Str
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
REQUIRED Format => Str
A format that specifies the type of the package version with the requested asset file. The valid values are:
npm
pypi
maven
Valid values are: "npm"
, "pypi"
, "maven"
, "nuget"
Namespace => Str
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its
groupId
.The namespace of an npm package is its
scope
.A Python package does not contain a corresponding component, so Python packages do not have a namespace.
REQUIRED Package => Str
The name of the package that contains the requested asset.
REQUIRED PackageVersion => Str
A string that contains the package version (for example, 3.5.2
).
PackageVersionRevision => Str
The name of the package version revision that contains the requested asset.
REQUIRED Repository => Str
The repository that contains the package version with the requested asset.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetPackageVersionAsset in Paws::CodeArtifact
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues