libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeArtifact.GetRepositoryEndpoint

Description

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

  • npm
  • pypi
  • maven
Synopsis

Creating a Request

data GetRepositoryEndpoint Source #

See: newGetRepositoryEndpoint smart constructor.

Constructors

GetRepositoryEndpoint' 

Fields

  • domainOwner :: Maybe Text

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

  • domain :: Text

    The name of the domain that contains the repository.

  • repository :: Text

    The name of the repository.

  • format :: PackageFormat

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

    • npm
    • pypi
    • maven

Instances

Instances details
Eq GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Read GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Show GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Generic GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Associated Types

type Rep GetRepositoryEndpoint :: Type -> Type #

NFData GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Methods

rnf :: GetRepositoryEndpoint -> () #

Hashable GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

AWSRequest GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Associated Types

type AWSResponse GetRepositoryEndpoint #

ToHeaders GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

ToPath GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

ToQuery GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

type Rep GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

type Rep GetRepositoryEndpoint = D1 ('MetaData "GetRepositoryEndpoint" "Amazonka.CodeArtifact.GetRepositoryEndpoint" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "GetRepositoryEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageFormat))))
type AWSResponse GetRepositoryEndpoint Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

newGetRepositoryEndpoint Source #

Create a value of GetRepositoryEndpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:domainOwner:GetRepositoryEndpoint', getRepositoryEndpoint_domainOwner - The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.

$sel:domain:GetRepositoryEndpoint', getRepositoryEndpoint_domain - The name of the domain that contains the repository.

$sel:repository:GetRepositoryEndpoint', getRepositoryEndpoint_repository - The name of the repository.

$sel:format:GetRepositoryEndpoint', getRepositoryEndpoint_format - Returns which endpoint of a repository to return. A repository has one endpoint for each package format:

  • npm
  • pypi
  • maven

Request Lenses

getRepositoryEndpoint_domainOwner :: Lens' GetRepositoryEndpoint (Maybe Text) Source #

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

getRepositoryEndpoint_domain :: Lens' GetRepositoryEndpoint Text Source #

The name of the domain that contains the repository.

getRepositoryEndpoint_format :: Lens' GetRepositoryEndpoint PackageFormat Source #

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

  • npm
  • pypi
  • maven

Destructuring the Response

data GetRepositoryEndpointResponse Source #

See: newGetRepositoryEndpointResponse smart constructor.

Constructors

GetRepositoryEndpointResponse' 

Fields

Instances

Instances details
Eq GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Read GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Show GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Generic GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

Associated Types

type Rep GetRepositoryEndpointResponse :: Type -> Type #

NFData GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

type Rep GetRepositoryEndpointResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.GetRepositoryEndpoint

type Rep GetRepositoryEndpointResponse = D1 ('MetaData "GetRepositoryEndpointResponse" "Amazonka.CodeArtifact.GetRepositoryEndpoint" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "GetRepositoryEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRepositoryEndpointResponse Source #

Create a value of GetRepositoryEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryEndpoint:GetRepositoryEndpointResponse', getRepositoryEndpointResponse_repositoryEndpoint - A string that specifies the URL of the returned endpoint.

$sel:httpStatus:GetRepositoryEndpointResponse', getRepositoryEndpointResponse_httpStatus - The response's http status code.

Response Lenses

getRepositoryEndpointResponse_repositoryEndpoint :: Lens' GetRepositoryEndpointResponse (Maybe Text) Source #

A string that specifies the URL of the returned endpoint.