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 |
Lists the artifacts in your account and their properties.
This operation returns paginated results.
Synopsis
- data ListArtifacts = ListArtifacts' {}
- newListArtifacts :: ListArtifacts
- listArtifacts_createdAfter :: Lens' ListArtifacts (Maybe UTCTime)
- listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text)
- listArtifacts_sortOrder :: Lens' ListArtifacts (Maybe SortOrder)
- listArtifacts_sourceUri :: Lens' ListArtifacts (Maybe Text)
- listArtifacts_artifactType :: Lens' ListArtifacts (Maybe Text)
- listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural)
- listArtifacts_createdBefore :: Lens' ListArtifacts (Maybe UTCTime)
- listArtifacts_sortBy :: Lens' ListArtifacts (Maybe SortArtifactsBy)
- data ListArtifactsResponse = ListArtifactsResponse' {}
- newListArtifactsResponse :: Int -> ListArtifactsResponse
- listArtifactsResponse_artifactSummaries :: Lens' ListArtifactsResponse (Maybe [ArtifactSummary])
- listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text)
- listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int
Creating a Request
data ListArtifacts Source #
See: newListArtifacts
smart constructor.
ListArtifacts' | |
|
Instances
newListArtifacts :: ListArtifacts Source #
Create a value of ListArtifacts
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:createdAfter:ListArtifacts'
, listArtifacts_createdAfter
- A filter that returns only artifacts created on or after the specified
time.
$sel:nextToken:ListArtifacts'
, listArtifacts_nextToken
- If the previous call to ListArtifacts
didn't return the full set of
artifacts, the call returns a token for getting the next set of
artifacts.
$sel:sortOrder:ListArtifacts'
, listArtifacts_sortOrder
- The sort order. The default value is Descending
.
$sel:sourceUri:ListArtifacts'
, listArtifacts_sourceUri
- A filter that returns only artifacts with the specified source URI.
$sel:artifactType:ListArtifacts'
, listArtifacts_artifactType
- A filter that returns only artifacts of the specified type.
$sel:maxResults:ListArtifacts'
, listArtifacts_maxResults
- The maximum number of artifacts to return in the response. The default
value is 10.
$sel:createdBefore:ListArtifacts'
, listArtifacts_createdBefore
- A filter that returns only artifacts created on or before the specified
time.
$sel:sortBy:ListArtifacts'
, listArtifacts_sortBy
- The property used to sort results. The default value is CreationTime
.
Request Lenses
listArtifacts_createdAfter :: Lens' ListArtifacts (Maybe UTCTime) Source #
A filter that returns only artifacts created on or after the specified time.
listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text) Source #
If the previous call to ListArtifacts
didn't return the full set of
artifacts, the call returns a token for getting the next set of
artifacts.
listArtifacts_sortOrder :: Lens' ListArtifacts (Maybe SortOrder) Source #
The sort order. The default value is Descending
.
listArtifacts_sourceUri :: Lens' ListArtifacts (Maybe Text) Source #
A filter that returns only artifacts with the specified source URI.
listArtifacts_artifactType :: Lens' ListArtifacts (Maybe Text) Source #
A filter that returns only artifacts of the specified type.
listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #
The maximum number of artifacts to return in the response. The default value is 10.
listArtifacts_createdBefore :: Lens' ListArtifacts (Maybe UTCTime) Source #
A filter that returns only artifacts created on or before the specified time.
listArtifacts_sortBy :: Lens' ListArtifacts (Maybe SortArtifactsBy) Source #
The property used to sort results. The default value is CreationTime
.
Destructuring the Response
data ListArtifactsResponse Source #
See: newListArtifactsResponse
smart constructor.
ListArtifactsResponse' | |
|
Instances
newListArtifactsResponse Source #
Create a value of ListArtifactsResponse
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:artifactSummaries:ListArtifactsResponse'
, listArtifactsResponse_artifactSummaries
- A list of artifacts and their properties.
$sel:nextToken:ListArtifacts'
, listArtifactsResponse_nextToken
- A token for getting the next set of artifacts, if there are any.
$sel:httpStatus:ListArtifactsResponse'
, listArtifactsResponse_httpStatus
- The response's http status code.
Response Lenses
listArtifactsResponse_artifactSummaries :: Lens' ListArtifactsResponse (Maybe [ArtifactSummary]) Source #
A list of artifacts and their properties.
listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #
A token for getting the next set of artifacts, if there are any.
listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int Source #
The response's http status code.