Class: Aws::CodeArtifact::Types::GetPackageVersionAssetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::GetPackageVersionAssetRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass GetPackageVersionAssetRequest data as a hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
repository: "RepositoryName", # required
format: "npm", # required, accepts npm, pypi, maven, nuget
namespace: "PackageNamespace",
package: "PackageName", # required
package_version: "PackageVersion", # required
asset: "AssetName", # required
package_version_revision: "PackageVersionRevision",
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#asset ⇒ String
The name of the requested asset.
-
#domain ⇒ String
The name of the domain that contains the repository that contains the package version with the requested asset.
-
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain.
-
#format ⇒ String
A format that specifies the type of the package version with the requested asset file.
-
#namespace ⇒ String
The namespace of the package version with the requested asset file.
-
#package ⇒ String
The name of the package that contains the requested asset.
-
#package_version ⇒ String
A string that contains the package version (for example, `3.5.2`).
-
#package_version_revision ⇒ String
The name of the package version revision that contains the requested asset.
-
#repository ⇒ String
The repository that contains the package version with the requested asset.
Instance Attribute Details
#asset ⇒ String
The name of the requested asset.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#domain ⇒ String
The name of the domain that contains the repository that contains the package version with the requested asset.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
A format that specifies the type of the package version with the requested asset file.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the package version with the requested asset file. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its `groupId`.
-
The namespace of an npm package version is its `scope`.
-
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#package ⇒ String
The name of the package that contains the requested asset.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#package_version ⇒ String
A string that contains the package version (for example, `3.5.2`).
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#package_version_revision ⇒ String
The name of the package version revision that contains the requested asset.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The repository that contains the package version with the requested asset.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1441 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |