amazonka-codecommit-1.4.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2016 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.

This operation returns paginated results.

Synopsis

Creating a Request

listRepositories :: ListRepositories #

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:

  • lrNextToken - 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 - The order in which to sort the results of a list repositories operation.
  • lrSortBy - The criteria used to sort the results of a list repositories operation.

data ListRepositories #

Represents the input of a list repositories operation.

See: listRepositories smart constructor.

Instances

Eq ListRepositories # 
Data ListRepositories # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListRepositories -> c ListRepositories #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListRepositories #

toConstr :: ListRepositories -> Constr #

dataTypeOf :: ListRepositories -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListRepositories) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListRepositories) #

gmapT :: (forall b. Data b => b -> b) -> ListRepositories -> ListRepositories #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListRepositories -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListRepositories -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListRepositories -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListRepositories -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListRepositories -> m ListRepositories #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRepositories -> m ListRepositories #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRepositories -> m ListRepositories #

Read ListRepositories # 
Show ListRepositories # 
Generic ListRepositories # 
Hashable ListRepositories # 
ToJSON ListRepositories # 
NFData ListRepositories # 

Methods

rnf :: ListRepositories -> () #

AWSPager ListRepositories # 
AWSRequest ListRepositories # 
ToQuery ListRepositories # 
ToPath ListRepositories # 
ToHeaders ListRepositories # 
type Rep ListRepositories # 
type Rep ListRepositories = D1 (MetaData "ListRepositories" "Network.AWS.CodeCommit.ListRepositories" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "ListRepositories'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lrOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OrderEnum))) (S1 (MetaSel (Just Symbol "_lrSortBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortByEnum))))))
type Rs ListRepositories # 

Request Lenses

lrNextToken :: Lens' ListRepositories (Maybe Text) #

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) #

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

lrSortBy :: Lens' ListRepositories (Maybe SortByEnum) #

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

Destructuring the Response

listRepositoriesResponse #

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:

  • lrrsRepositories - Lists the repositories called by the list repositories operation.
  • lrrsNextToken - 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.
  • lrrsResponseStatus - -- | The response status code.

data ListRepositoriesResponse #

Represents the output of a list repositories operation.

See: listRepositoriesResponse smart constructor.

Instances

Eq ListRepositoriesResponse # 
Data ListRepositoriesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListRepositoriesResponse -> c ListRepositoriesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListRepositoriesResponse #

toConstr :: ListRepositoriesResponse -> Constr #

dataTypeOf :: ListRepositoriesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListRepositoriesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListRepositoriesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListRepositoriesResponse -> ListRepositoriesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListRepositoriesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListRepositoriesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListRepositoriesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListRepositoriesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListRepositoriesResponse -> m ListRepositoriesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRepositoriesResponse -> m ListRepositoriesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListRepositoriesResponse -> m ListRepositoriesResponse #

Read ListRepositoriesResponse # 
Show ListRepositoriesResponse # 
Generic ListRepositoriesResponse # 
NFData ListRepositoriesResponse # 
type Rep ListRepositoriesResponse # 
type Rep ListRepositoriesResponse = D1 (MetaData "ListRepositoriesResponse" "Network.AWS.CodeCommit.ListRepositories" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "ListRepositoriesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsRepositories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RepositoryNameIdPair]))) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lrrsRepositories :: Lens' ListRepositoriesResponse [RepositoryNameIdPair] #

Lists the repositories called by the list repositories operation.

lrrsNextToken :: Lens' ListRepositoriesResponse (Maybe Text) #

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.

lrrsResponseStatus :: Lens' ListRepositoriesResponse Int #

  • - | The response status code.