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

Contents

Description

Gets information about one or more repositories.

See: AWS API Reference for ListRepositories.

Synopsis

Creating a Request

listRepositories :: ListRepositories Source

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

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

Request Lenses

lrNextToken :: Lens' ListRepositories (Maybe Text) Source

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.

lrOrder :: Lens' ListRepositories (Maybe OrderEnum) Source

The order in which to sort the results of a list repositories operation.

lrSortBy :: Lens' ListRepositories (Maybe SortByEnum) Source

The criteria used to sort the results of a list repositories operation.

Destructuring the Response

listRepositoriesResponse Source

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

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

Response Lenses

lrrsRepositories :: Lens' ListRepositoriesResponse [RepositoryNameIdPair] Source

Lists the repositories called by the list repositories operation.

lrrsNextToken :: Lens' ListRepositoriesResponse (Maybe Text) Source

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.