Class: Aws::CodeArtifact::Types::GetPackageVersionReadmeRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

Note:

When making an API call, you may pass GetPackageVersionReadmeRequest 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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the repository that contains the package version with the requested readme file.

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

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

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

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

  • `npm`

  • `pypi`

  • `maven`

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#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)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

The name of the package version that contains the requested readme file.

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#package_versionString

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

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

The repository that contains the package with the requested readme file.

Returns:

  • (String)


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
# File 'lib/aws-sdk-codeartifact/types.rb', line 1491

class GetPackageVersionReadmeRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version)
  SENSITIVE = []
  include Aws::Structure
end