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 |
Returns a list of
RepositorySummary
objects. Each RepositorySummary
contains information about a
repository in the specified AWS account and that matches the input
parameters.
This operation returns paginated results.
Synopsis
- data ListRepositories = ListRepositories' {}
- newListRepositories :: ListRepositories
- listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text)
- listRepositories_nextToken :: Lens' ListRepositories (Maybe Text)
- listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural)
- data ListRepositoriesResponse = ListRepositoriesResponse' {}
- newListRepositoriesResponse :: Int -> ListRepositoriesResponse
- listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositorySummary])
- listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text)
- listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int
Creating a Request
data ListRepositories Source #
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:repositoryPrefix:ListRepositories'
, listRepositories_repositoryPrefix
- A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
$sel:nextToken:ListRepositories'
, listRepositories_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:maxResults:ListRepositories'
, listRepositories_maxResults
- The maximum number of results to return per page.
Request Lenses
listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text) Source #
A prefix used to filter returned repositories. Only repositories with
names that start with repositoryPrefix
are returned.
listRepositories_nextToken :: Lens' ListRepositories (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural) Source #
The maximum number of results to return per page.
Destructuring the Response
data ListRepositoriesResponse Source #
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
- The returned list of
RepositorySummary
objects.
$sel:nextToken:ListRepositories'
, listRepositoriesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListRepositoriesResponse'
, listRepositoriesResponse_httpStatus
- The response's http status code.
Response Lenses
listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositorySummary]) Source #
The returned list of RepositorySummary objects.
listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int Source #
The response's http status code.