Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about one or more repositories.
This operation returns paginated results.
Synopsis
- data ListRepositories = ListRepositories' {}
- newListRepositories :: ListRepositories
- listRepositories_nextToken :: Lens' ListRepositories (Maybe Text)
- listRepositories_order :: Lens' ListRepositories (Maybe OrderEnum)
- listRepositories_sortBy :: Lens' ListRepositories (Maybe SortByEnum)
- data ListRepositoriesResponse = ListRepositoriesResponse' {}
- newListRepositoriesResponse :: Int -> ListRepositoriesResponse
- listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositoryNameIdPair])
- listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text)
- listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int
Creating a Request
data ListRepositories Source #
Represents the input of a list repositories operation.
See: newListRepositories
smart constructor.
ListRepositories' | |
|
Instances
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.
ListRepositoriesResponse' | |
|
Instances
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.
listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int Source #
The response's http status code.