amazonka-codecommit-1.3.5: Amazon CodeCommit SDK.

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

Network.AWS.CodeCommit.BatchGetRepositories

Contents

Description

Gets 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 web page could 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 web page.

See: AWS API Reference for BatchGetRepositories.

Synopsis

Creating a Request

batchGetRepositories :: BatchGetRepositories Source

Creates a value of BatchGetRepositories with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

bgrRepositoryNames :: Lens' BatchGetRepositories [Text] Source

The names of the repositories to get information about.

Destructuring the Response

batchGetRepositoriesResponse Source

Creates a value of BatchGetRepositoriesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

bgrrsRepositories :: Lens' BatchGetRepositoriesResponse [RepositoryMetadata] Source

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

bgrrsRepositoriesNotFound :: Lens' BatchGetRepositoriesResponse [Text] Source

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