amazonka-proton-2.0: Amazon Proton 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.Proton.GetRepository

Description

Get detail data for a linked repository.

Synopsis

Creating a Request

data GetRepository Source #

See: newGetRepository smart constructor.

Constructors

GetRepository' 

Fields

Instances

Instances details
ToJSON GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

ToHeaders GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

ToPath GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

ToQuery GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

AWSRequest GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Associated Types

type AWSResponse GetRepository #

Generic GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Associated Types

type Rep GetRepository :: Type -> Type #

Read GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Show GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

NFData GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Methods

rnf :: GetRepository -> () #

Eq GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Hashable GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

type AWSResponse GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

type Rep GetRepository Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

type Rep GetRepository = D1 ('MetaData "GetRepository" "Amazonka.Proton.GetRepository" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "provider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryProvider)))

newGetRepository Source #

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

GetRepository, getRepository_name - The repository name, for example myrepos/myrepo.

GetRepository, getRepository_provider - The repository provider.

Request Lenses

getRepository_name :: Lens' GetRepository Text Source #

The repository name, for example myrepos/myrepo.

Destructuring the Response

data GetRepositoryResponse Source #

See: newGetRepositoryResponse smart constructor.

Constructors

GetRepositoryResponse' 

Fields

Instances

Instances details
Generic GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Associated Types

type Rep GetRepositoryResponse :: Type -> Type #

Read GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Show GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

NFData GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

Methods

rnf :: GetRepositoryResponse -> () #

Eq GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

type Rep GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.Proton.GetRepository

type Rep GetRepositoryResponse = D1 ('MetaData "GetRepositoryResponse" "Amazonka.Proton.GetRepository" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Repository)))

newGetRepositoryResponse Source #

Create a value of GetRepositoryResponse 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:httpStatus:GetRepositoryResponse', getRepositoryResponse_httpStatus - The response's http status code.

$sel:repository:GetRepositoryResponse', getRepositoryResponse_repository - The repository link's detail data that's returned by Proton.

Response Lenses

getRepositoryResponse_repository :: Lens' GetRepositoryResponse Repository Source #

The repository link's detail data that's returned by Proton.