You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::GetPackageVersionAssetRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetPackageVersionAssetRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  domain: "DomainName", # required
  domain_owner: "AccountId",
  repository: "RepositoryName", # required
  format: "npm", # required, accepts npm, pypi, maven
  namespace: "PackageNamespace",
  package: "PackageName", # required
  package_version: "PackageVersion", # required
  asset: "AssetName", # required
  package_version_revision: "PackageVersionRevision",
}

Instance Attribute Summary collapse

Instance Attribute Details

#assetString

The name of the requested asset.

Returns:

  • (String)

    The name of the requested asset.

#domainString

The domain that contains the repository that contains the package version with the requested asset.

Returns:

  • (String)

    The domain that contains the repository that contains the package version with the requested asset.

#domain_ownerString

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)

    The 12-digit account number of the AWS account that owns the domain.

#formatString

A format that specifies the type of the package version with the requested asset file. The valid values are:

  • npm

  • pypi

  • maven

    Possible values:

    • npm
    • pypi
    • maven

Returns:

  • (String)

    A format that specifies the type of the package version with the requested asset file.

#namespaceString

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.

Returns:

  • (String)

    The namespace of the package.

#packageString

The name of the package that contains the requested asset.

Returns:

  • (String)

    The name of the package that contains the requested asset.

#package_versionString

A string that contains the package version (for example, 3.5.2).

Returns:

  • (String)

    A string that contains the package version (for example, 3.5.2).

#package_version_revisionString

The name of the package version revision that contains the requested asset.

Returns:

  • (String)

    The name of the package version revision that contains the requested asset.

#repositoryString

The repository that contains the package version with the requested asset.

Returns:

  • (String)

    The repository that contains the package version with the requested asset.