amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeCommit.ListRepositories

Description

Gets information about one or more repositories.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRepositories Source #

Represents the input of a list repositories operation.

See: newListRepositories smart constructor.

Constructors

ListRepositories' 

Fields

  • nextToken :: 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.

  • order :: Maybe OrderEnum

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

  • sortBy :: Maybe SortByEnum

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

Instances

Instances details
ToJSON ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

ToHeaders ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

ToPath ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

ToQuery ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

AWSPager ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

AWSRequest ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Associated Types

type AWSResponse ListRepositories #

Generic ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Associated Types

type Rep ListRepositories :: Type -> Type #

Read ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Show ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

NFData ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Methods

rnf :: ListRepositories -> () #

Eq ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Hashable ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type AWSResponse ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type Rep ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type Rep ListRepositories = D1 ('MetaData "ListRepositories" "Amazonka.CodeCommit.ListRepositories" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ListRepositories'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "order") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderEnum)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortByEnum)))))

newListRepositories :: ListRepositories Source #

Create a value of ListRepositories 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:

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

$sel:order:ListRepositories', listRepositories_order - The order in which to sort the results of a list repositories operation.

$sel:sortBy:ListRepositories', listRepositories_sortBy - The criteria used to sort the results of a list repositories operation.

Request Lenses

listRepositories_nextToken :: 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.

listRepositories_order :: Lens' ListRepositories (Maybe OrderEnum) Source #

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

listRepositories_sortBy :: Lens' ListRepositories (Maybe SortByEnum) Source #

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

Destructuring the Response

data ListRepositoriesResponse Source #

Represents the output of a list repositories operation.

See: newListRepositoriesResponse smart constructor.

Constructors

ListRepositoriesResponse' 

Fields

  • nextToken :: 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.

  • repositories :: Maybe [RepositoryNameIdPair]

    Lists the repositories called by the list repositories operation.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Associated Types

type Rep ListRepositoriesResponse :: Type -> Type #

Read ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Show ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

NFData ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Eq ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type Rep ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type Rep ListRepositoriesResponse = D1 ('MetaData "ListRepositoriesResponse" "Amazonka.CodeCommit.ListRepositories" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "ListRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositoryNameIdPair])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRepositoriesResponse Source #

Create a value of ListRepositoriesResponse 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:

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

$sel:repositories:ListRepositoriesResponse', listRepositoriesResponse_repositories - Lists the repositories called by the list repositories operation.

$sel:httpStatus:ListRepositoriesResponse', listRepositoriesResponse_httpStatus - The response's http status code.

Response Lenses

listRepositoriesResponse_nextToken :: 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.

listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositoryNameIdPair]) Source #

Lists the repositories called by the list repositories operation.