aws.codeartifact.get_package_version_asset
Example SQL Queries
SELECT * FROMaws.codeartifact.get_package_version_assetWHERE"domain" = 'VALUE'AND "repository" = 'VALUE'AND "format" = 'VALUE'AND "package" = 'VALUE'AND "package_version" = 'VALUE'AND "asset" = 'VALUE';Description
Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version.
Table Definition
| Column Name | Column Data Type |
|---|---|
| domain Required Input Column The name of the domain that contains the repository that contains the package version with the requested asset. | VARCHAR |
| format Required Input Column A format that specifies the type of the package version with the requested asset file. | VARCHAR |
| package Required Input Column The name of the package that contains the requested asset. | VARCHAR |
| package_version Required Input Column A string that contains the package version (for example, 3.5.2). | VARCHAR |
| repository Required Input Column The repository that contains the package version with the requested asset. | VARCHAR |
| domain_owner Input Column The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. | VARCHAR |
| namespace Input Column The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting assets from package versions of the following formats:
| VARCHAR |
| package_version_revision Input Column The name of the package version revision that contains the downloaded asset. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| _input_asset Input Column | VARCHAR |
| asset The binary file, or asset, that is downloaded. | BLOB |
| asset_name The name of the asset that is downloaded. | VARCHAR |