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.BatchGetRepositories

Description

Returns information about one or more repositories.

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 BatchGetRepositories Source #

Represents the input of a batch get repositories operation.

See: newBatchGetRepositories smart constructor.

Constructors

BatchGetRepositories' 

Fields

  • repositoryNames :: [Text]

    The names of the repositories to get information about.

    The length constraint limit is for each string in the array. The array itself can be empty.

Instances

Instances details
Eq BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Read BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Show BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Generic BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Associated Types

type Rep BatchGetRepositories :: Type -> Type #

NFData BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Methods

rnf :: BatchGetRepositories -> () #

Hashable BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

ToJSON BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

AWSRequest BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Associated Types

type AWSResponse BatchGetRepositories #

ToHeaders BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

ToPath BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

ToQuery BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

type Rep BatchGetRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

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

Defined in Amazonka.CodeCommit.BatchGetRepositories

newBatchGetRepositories :: BatchGetRepositories Source #

Create a value of BatchGetRepositories 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:repositoryNames:BatchGetRepositories', batchGetRepositories_repositoryNames - The names of the repositories to get information about.

The length constraint limit is for each string in the array. The array itself can be empty.

Request Lenses

batchGetRepositories_repositoryNames :: Lens' BatchGetRepositories [Text] Source #

The names of the repositories to get information about.

The length constraint limit is for each string in the array. The array itself can be empty.

Destructuring the Response

data BatchGetRepositoriesResponse Source #

Represents the output of a batch get repositories operation.

See: newBatchGetRepositoriesResponse smart constructor.

Constructors

BatchGetRepositoriesResponse' 

Fields

Instances

Instances details
Eq BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Read BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Show BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Generic BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

Associated Types

type Rep BatchGetRepositoriesResponse :: Type -> Type #

NFData BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

type Rep BatchGetRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.BatchGetRepositories

type Rep BatchGetRepositoriesResponse = D1 ('MetaData "BatchGetRepositoriesResponse" "Amazonka.CodeCommit.BatchGetRepositories" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "BatchGetRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositoryMetadata])) :*: (S1 ('MetaSel ('Just "repositoriesNotFound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetRepositoriesResponse Source #

Create a value of BatchGetRepositoriesResponse 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:repositories:BatchGetRepositoriesResponse', batchGetRepositoriesResponse_repositories - A list of repositories returned by the batch get repositories operation.

$sel:repositoriesNotFound:BatchGetRepositoriesResponse', batchGetRepositoriesResponse_repositoriesNotFound - Returns a list of repository names for which information could not be found.

$sel:httpStatus:BatchGetRepositoriesResponse', batchGetRepositoriesResponse_httpStatus - The response's http status code.

Response Lenses

batchGetRepositoriesResponse_repositories :: Lens' BatchGetRepositoriesResponse (Maybe [RepositoryMetadata]) Source #

A list of repositories returned by the batch get repositories operation.

batchGetRepositoriesResponse_repositoriesNotFound :: Lens' BatchGetRepositoriesResponse (Maybe [Text]) Source #

Returns a list of repository names for which information could not be found.