Copyright | (c) 2013-2015 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 |
Network.AWS.DeviceFarm.ListArtifacts
Description
Gets information about artifacts.
See: AWS API Reference for ListArtifacts.
- 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)
- larsStatus :: Lens' ListArtifactsResponse Int
Creating a Request
Arguments
:: Text | |
-> ArtifactCategory | |
-> ListArtifacts |
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.
Instances
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.
laArn :: Lens' ListArtifacts Text Source
The artifacts' ARNs.
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
Arguments
:: Int | |
-> ListArtifactsResponse |
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.
larsStatus :: Lens' ListArtifactsResponse Int Source
The response status code.