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.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
Eq ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Read ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Show ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Generic ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Associated Types

type Rep ListRepositories :: Type -> Type #

NFData ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Methods

rnf :: ListRepositories -> () #

Hashable ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

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

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

type Rep ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

type Rep ListRepositories = D1 ('MetaData "ListRepositories" "Amazonka.CodeCommit.ListRepositories" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" '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)))))
type AWSResponse ListRepositories Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

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:

$sel:nextToken: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

  • repositories :: Maybe [RepositoryNameIdPair]

    Lists the repositories called by the list repositories operation.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Read ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Show ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Generic ListRepositoriesResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.ListRepositories

Associated Types

type Rep ListRepositoriesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ListRepositoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositoryNameIdPair])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken: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:httpStatus:ListRepositoriesResponse', listRepositoriesResponse_httpStatus - The response's http status code.

Response Lenses

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

Lists the repositories called by the list repositories operation.

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.