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.
-
#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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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. 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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`).
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 1327 class GetPackageVersionAssetRequest < Struct.new( :domain, :domain_owner, :repository, :format, :namespace, :package, :package_version, :asset, :package_version_revision) SENSITIVE = [] include Aws::Structure end |