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 a list of the Git repositories in your account.
This operation returns paginated results.
Synopsis
- data ListCodeRepositories = ListCodeRepositories' {}
- newListCodeRepositories :: ListCodeRepositories
- listCodeRepositories_nameContains :: Lens' ListCodeRepositories (Maybe Text)
- listCodeRepositories_lastModifiedTimeBefore :: Lens' ListCodeRepositories (Maybe UTCTime)
- listCodeRepositories_creationTimeAfter :: Lens' ListCodeRepositories (Maybe UTCTime)
- listCodeRepositories_nextToken :: Lens' ListCodeRepositories (Maybe Text)
- listCodeRepositories_sortOrder :: Lens' ListCodeRepositories (Maybe CodeRepositorySortOrder)
- listCodeRepositories_lastModifiedTimeAfter :: Lens' ListCodeRepositories (Maybe UTCTime)
- listCodeRepositories_creationTimeBefore :: Lens' ListCodeRepositories (Maybe UTCTime)
- listCodeRepositories_maxResults :: Lens' ListCodeRepositories (Maybe Natural)
- listCodeRepositories_sortBy :: Lens' ListCodeRepositories (Maybe CodeRepositorySortBy)
- data ListCodeRepositoriesResponse = ListCodeRepositoriesResponse' {}
- newListCodeRepositoriesResponse :: Int -> ListCodeRepositoriesResponse
- listCodeRepositoriesResponse_nextToken :: Lens' ListCodeRepositoriesResponse (Maybe Text)
- listCodeRepositoriesResponse_httpStatus :: Lens' ListCodeRepositoriesResponse Int
- listCodeRepositoriesResponse_codeRepositorySummaryList :: Lens' ListCodeRepositoriesResponse [CodeRepositorySummary]
Creating a Request
data ListCodeRepositories Source #
See: newListCodeRepositories
smart constructor.
ListCodeRepositories' | |
|
Instances
newListCodeRepositories :: ListCodeRepositories Source #
Create a value of ListCodeRepositories
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:nameContains:ListCodeRepositories'
, listCodeRepositories_nameContains
- A string in the Git repositories name. This filter returns only
repositories whose name contains the specified string.
$sel:lastModifiedTimeBefore:ListCodeRepositories'
, listCodeRepositories_lastModifiedTimeBefore
- A filter that returns only Git repositories that were last modified
before the specified time.
$sel:creationTimeAfter:ListCodeRepositories'
, listCodeRepositories_creationTimeAfter
- A filter that returns only Git repositories that were created after the
specified time.
$sel:nextToken:ListCodeRepositories'
, listCodeRepositories_nextToken
- If the result of a ListCodeRepositoriesOutput
request was truncated,
the response includes a NextToken
. To get the next set of Git
repositories, use the token in the next request.
$sel:sortOrder:ListCodeRepositories'
, listCodeRepositories_sortOrder
- The sort order for results. The default is Ascending
.
$sel:lastModifiedTimeAfter:ListCodeRepositories'
, listCodeRepositories_lastModifiedTimeAfter
- A filter that returns only Git repositories that were last modified
after the specified time.
$sel:creationTimeBefore:ListCodeRepositories'
, listCodeRepositories_creationTimeBefore
- A filter that returns only Git repositories that were created before the
specified time.
$sel:maxResults:ListCodeRepositories'
, listCodeRepositories_maxResults
- The maximum number of Git repositories to return in the response.
$sel:sortBy:ListCodeRepositories'
, listCodeRepositories_sortBy
- The field to sort results by. The default is Name
.
Request Lenses
listCodeRepositories_nameContains :: Lens' ListCodeRepositories (Maybe Text) Source #
A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.
listCodeRepositories_lastModifiedTimeBefore :: Lens' ListCodeRepositories (Maybe UTCTime) Source #
A filter that returns only Git repositories that were last modified before the specified time.
listCodeRepositories_creationTimeAfter :: Lens' ListCodeRepositories (Maybe UTCTime) Source #
A filter that returns only Git repositories that were created after the specified time.
listCodeRepositories_nextToken :: Lens' ListCodeRepositories (Maybe Text) Source #
If the result of a ListCodeRepositoriesOutput
request was truncated,
the response includes a NextToken
. To get the next set of Git
repositories, use the token in the next request.
listCodeRepositories_sortOrder :: Lens' ListCodeRepositories (Maybe CodeRepositorySortOrder) Source #
The sort order for results. The default is Ascending
.
listCodeRepositories_lastModifiedTimeAfter :: Lens' ListCodeRepositories (Maybe UTCTime) Source #
A filter that returns only Git repositories that were last modified after the specified time.
listCodeRepositories_creationTimeBefore :: Lens' ListCodeRepositories (Maybe UTCTime) Source #
A filter that returns only Git repositories that were created before the specified time.
listCodeRepositories_maxResults :: Lens' ListCodeRepositories (Maybe Natural) Source #
The maximum number of Git repositories to return in the response.
listCodeRepositories_sortBy :: Lens' ListCodeRepositories (Maybe CodeRepositorySortBy) Source #
The field to sort results by. The default is Name
.
Destructuring the Response
data ListCodeRepositoriesResponse Source #
See: newListCodeRepositoriesResponse
smart constructor.
ListCodeRepositoriesResponse' | |
|
Instances
newListCodeRepositoriesResponse Source #
Create a value of ListCodeRepositoriesResponse
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:ListCodeRepositories'
, listCodeRepositoriesResponse_nextToken
- If the result of a ListCodeRepositoriesOutput
request was truncated,
the response includes a NextToken
. To get the next set of Git
repositories, use the token in the next request.
$sel:httpStatus:ListCodeRepositoriesResponse'
, listCodeRepositoriesResponse_httpStatus
- The response's http status code.
$sel:codeRepositorySummaryList:ListCodeRepositoriesResponse'
, listCodeRepositoriesResponse_codeRepositorySummaryList
- Gets a list of summaries of the Git repositories. Each summary specifies
the following values for the repository:
- Name
- Amazon Resource Name (ARN)
- Creation time
- Last modified time
- Configuration information, including the URL location of the repository and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
Response Lenses
listCodeRepositoriesResponse_nextToken :: Lens' ListCodeRepositoriesResponse (Maybe Text) Source #
If the result of a ListCodeRepositoriesOutput
request was truncated,
the response includes a NextToken
. To get the next set of Git
repositories, use the token in the next request.
listCodeRepositoriesResponse_httpStatus :: Lens' ListCodeRepositoriesResponse Int Source #
The response's http status code.
listCodeRepositoriesResponse_codeRepositorySummaryList :: Lens' ListCodeRepositoriesResponse [CodeRepositorySummary] Source #
Gets a list of summaries of the Git repositories. Each summary specifies the following values for the repository:
- Name
- Amazon Resource Name (ARN)
- Creation time
- Last modified time
- Configuration information, including the URL location of the repository and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.