amazonka-codeartifact-2.0: Amazon CodeArtifact SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeArtifact.DescribeRepository

Description

Returns a RepositoryDescription object that contains detailed information about the requested repository.

Synopsis

Creating a Request

data DescribeRepository Source #

See: newDescribeRepository smart constructor.

Constructors

DescribeRepository' 

Fields

  • domainOwner :: Maybe Text

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

  • domain :: Text

    The name of the domain that contains the repository to describe.

  • repository :: Text

    A string that specifies the name of the requested repository.

Instances

Instances details
ToHeaders DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

ToPath DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

ToQuery DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

AWSRequest DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Associated Types

type AWSResponse DescribeRepository #

Generic DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Associated Types

type Rep DescribeRepository :: Type -> Type #

Read DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Show DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

NFData DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Methods

rnf :: DescribeRepository -> () #

Eq DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Hashable DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

type AWSResponse DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

type Rep DescribeRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

type Rep DescribeRepository = D1 ('MetaData "DescribeRepository" "Amazonka.CodeArtifact.DescribeRepository" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "DescribeRepository'" '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))))

newDescribeRepository Source #

Create a value of DescribeRepository 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:

DescribeRepository, describeRepository_domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

$sel:domain:DescribeRepository', describeRepository_domain - The name of the domain that contains the repository to describe.

DescribeRepository, describeRepository_repository - A string that specifies the name of the requested repository.

Request Lenses

describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text) Source #

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

describeRepository_domain :: Lens' DescribeRepository Text Source #

The name of the domain that contains the repository to describe.

describeRepository_repository :: Lens' DescribeRepository Text Source #

A string that specifies the name of the requested repository.

Destructuring the Response

data DescribeRepositoryResponse Source #

See: newDescribeRepositoryResponse smart constructor.

Constructors

DescribeRepositoryResponse' 

Fields

Instances

Instances details
Generic DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Associated Types

type Rep DescribeRepositoryResponse :: Type -> Type #

Read DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Show DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

NFData DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

Eq DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

type Rep DescribeRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DescribeRepository

type Rep DescribeRepositoryResponse = D1 ('MetaData "DescribeRepositoryResponse" "Amazonka.CodeArtifact.DescribeRepository" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "DescribeRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeRepositoryResponse Source #

Create a value of DescribeRepositoryResponse 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:

DescribeRepository, describeRepositoryResponse_repository - A RepositoryDescription object that contains the requested repository information.

$sel:httpStatus:DescribeRepositoryResponse', describeRepositoryResponse_httpStatus - The response's http status code.

Response Lenses

describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription) Source #

A RepositoryDescription object that contains the requested repository information.