Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about artifacts.
This operation returns paginated results.
- listArtifacts :: Text -> ArtifactCategory -> ListArtifacts
- data ListArtifacts
- laNextToken :: Lens' ListArtifacts (Maybe Text)
- laArn :: Lens' ListArtifacts Text
- laType :: Lens' ListArtifacts ArtifactCategory
- listArtifactsResponse :: Int -> ListArtifactsResponse
- data ListArtifactsResponse
- larsArtifacts :: Lens' ListArtifactsResponse [Artifact]
- larsNextToken :: Lens' ListArtifactsResponse (Maybe Text)
- larsResponseStatus :: Lens' ListArtifactsResponse Int
Creating a Request
Creates a value of ListArtifacts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListArtifacts Source #
Represents a request to the list artifacts operation.
See: listArtifacts
smart constructor.
Request Lenses
laNextToken :: Lens' ListArtifacts (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
laType :: Lens' ListArtifacts ArtifactCategory Source #
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
Destructuring the Response
listArtifactsResponse Source #
Creates a value of ListArtifactsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListArtifactsResponse Source #
Represents the result of a list artifacts operation.
See: listArtifactsResponse
smart constructor.
Response Lenses
larsArtifacts :: Lens' ListArtifactsResponse [Artifact] Source #
Information about the artifacts.
larsNextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
larsResponseStatus :: Lens' ListArtifactsResponse Int Source #
The response status code.