| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.ListArtifacts
Description
Lists the artifacts in your account and their properties.
This operation returns paginated results.
Synopsis
- data ListArtifacts = ListArtifacts' {}
 - newListArtifacts :: ListArtifacts
 - listArtifacts_artifactType :: Lens' ListArtifacts (Maybe Text)
 - listArtifacts_createdAfter :: Lens' ListArtifacts (Maybe UTCTime)
 - listArtifacts_createdBefore :: Lens' ListArtifacts (Maybe UTCTime)
 - listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural)
 - listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text)
 - listArtifacts_sortBy :: Lens' ListArtifacts (Maybe SortArtifactsBy)
 - listArtifacts_sortOrder :: Lens' ListArtifacts (Maybe SortOrder)
 - listArtifacts_sourceUri :: Lens' ListArtifacts (Maybe Text)
 - 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.
Constructors
| ListArtifacts' | |
Fields 
  | |
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:
ListArtifacts, listArtifacts_artifactType - A filter that returns only artifacts of the specified type.
ListArtifacts, listArtifacts_createdAfter - A filter that returns only artifacts created on or after the specified
 time.
ListArtifacts, listArtifacts_createdBefore - A filter that returns only artifacts created on or before the specified
 time.
$sel:maxResults:ListArtifacts', listArtifacts_maxResults - The maximum number of artifacts to return in the response. The default
 value is 10.
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:sortBy:ListArtifacts', listArtifacts_sortBy - The property used to sort results. The default value is CreationTime.
$sel:sortOrder:ListArtifacts', listArtifacts_sortOrder - The sort order. The default value is Descending.
ListArtifacts, listArtifacts_sourceUri - A filter that returns only artifacts with the specified source URI.
Request Lenses
listArtifacts_artifactType :: Lens' ListArtifacts (Maybe Text) Source #
A filter that returns only artifacts of the specified type.
listArtifacts_createdAfter :: Lens' ListArtifacts (Maybe UTCTime) Source #
A filter that returns only artifacts created on or after the specified time.
listArtifacts_createdBefore :: Lens' ListArtifacts (Maybe UTCTime) Source #
A filter that returns only artifacts created on or before the specified time.
listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #
The maximum number of artifacts to return in the response. The default value is 10.
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_sortBy :: Lens' ListArtifacts (Maybe SortArtifactsBy) Source #
The property used to sort results. The default value is CreationTime.
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.
Destructuring the Response
data ListArtifactsResponse Source #
See: newListArtifactsResponse smart constructor.
Constructors
| ListArtifactsResponse' | |
Fields 
  | |
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.
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.