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

Class: Aws::CodeArtifact::Types::GetRepositoryEndpointRequest

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

Overview

Note:

When passing GetRepositoryEndpointRequest 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
}

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the repository.

Returns:

  • (String)

    The name of the domain that contains the repository.

#domain_ownerString

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

Returns:

  • (String)

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

#formatString

Returns which endpoint of a repository to return. A repository has one endpoint for each package format:

  • npm

  • pypi

  • maven

    Possible values:

    • npm
    • pypi
    • maven

Returns:

  • (String)

    Returns which endpoint of a repository to return.

#repositoryString

The name of the repository.

Returns:

  • (String)

    The name of the repository.