libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.GetRepository

Description

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Synopsis

Creating a Request

data GetRepository Source #

Represents the input of a get repository operation.

See: newGetRepository smart constructor.

Constructors

GetRepository' 

Fields

Instances

Instances details
Eq GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Read GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Show GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Generic GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Associated Types

type Rep GetRepository :: Type -> Type #

NFData GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Methods

rnf :: GetRepository -> () #

Hashable GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

ToJSON GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

AWSRequest GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Associated Types

type AWSResponse GetRepository #

ToHeaders GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

ToPath GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

ToQuery GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

type Rep GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

type Rep GetRepository = D1 ('MetaData "GetRepository" "Amazonka.CodeCommit.GetRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "GetRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

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:

$sel:repositoryName:GetRepository', getRepository_repositoryName - The name of the repository to get information about.

Request Lenses

getRepository_repositoryName :: Lens' GetRepository Text Source #

The name of the repository to get information about.

Destructuring the Response

data GetRepositoryResponse Source #

Represents the output of a get repository operation.

See: newGetRepositoryResponse smart constructor.

Constructors

GetRepositoryResponse' 

Fields

Instances

Instances details
Eq GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Read GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Show GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Generic GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Associated Types

type Rep GetRepositoryResponse :: Type -> Type #

NFData GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

Methods

rnf :: GetRepositoryResponse -> () #

type Rep GetRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.GetRepository

type Rep GetRepositoryResponse = D1 ('MetaData "GetRepositoryResponse" "Amazonka.CodeCommit.GetRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "GetRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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:repositoryMetadata:GetRepositoryResponse', getRepositoryResponse_repositoryMetadata - Information about the repository.

$sel:httpStatus:GetRepositoryResponse', getRepositoryResponse_httpStatus - The response's http status code.

Response Lenses