| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.DeviceFarm.ListArtifacts
Description
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
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:
laNextToken- 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- The Run, Job, Suite, or Test ARN.laType- The artifacts' type. Allowed values include: * FILE: The artifacts are files. * LOG: The artifacts are logs. * SCREENSHOT: The artifacts are screenshots.
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.
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 #
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:
larsArtifacts- Information about the artifacts.larsNextToken- 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- -- | The response status code.
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.