| 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.DeviceFarm.ListArtifacts
Description
Gets information about artifacts.
This operation returns paginated results.
Synopsis
- data ListArtifacts = ListArtifacts' {}
- newListArtifacts :: Text -> ArtifactCategory -> ListArtifacts
- listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text)
- listArtifacts_arn :: Lens' ListArtifacts Text
- listArtifacts_type :: Lens' ListArtifacts ArtifactCategory
- data ListArtifactsResponse = ListArtifactsResponse' {}
- newListArtifactsResponse :: Int -> ListArtifactsResponse
- listArtifactsResponse_artifacts :: Lens' ListArtifactsResponse (Maybe [Artifact])
- listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text)
- listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int
Creating a Request
data ListArtifacts Source #
Represents a request to the list artifacts operation.
See: newListArtifacts smart constructor.
Constructors
| ListArtifacts' | |
Instances
Arguments
| :: Text | |
| -> ArtifactCategory | |
| -> ListArtifacts |
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_nextToken - 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.
ListArtifacts, listArtifacts_arn - The run, job, suite, or test ARN.
ListArtifacts, listArtifacts_type - The artifacts' type.
Allowed values include:
- FILE
- LOG
- SCREENSHOT
Request Lenses
listArtifacts_nextToken :: 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.
listArtifacts_arn :: Lens' ListArtifacts Text Source #
The run, job, suite, or test ARN.
listArtifacts_type :: Lens' ListArtifacts ArtifactCategory Source #
The artifacts' type.
Allowed values include:
- FILE
- LOG
- SCREENSHOT
Destructuring the Response
data ListArtifactsResponse Source #
Represents the result of a list artifacts operation.
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:artifacts:ListArtifactsResponse', listArtifactsResponse_artifacts - Information about the artifacts.
ListArtifacts, listArtifactsResponse_nextToken - If the number of items that are returned is significantly large, this is
an identifier that is also returned. It can be used in a subsequent call
to this operation to return the next set of items in the list.
$sel:httpStatus:ListArtifactsResponse', listArtifactsResponse_httpStatus - The response's http status code.
Response Lenses
listArtifactsResponse_artifacts :: Lens' ListArtifactsResponse (Maybe [Artifact]) Source #
Information about the artifacts.
listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int Source #
The response's http status code.