Copyright | (c) 2013-2021 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 |
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.
Instances
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:
$sel:nextToken: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.
$sel:arn:ListArtifacts'
, listArtifacts_arn
- The run, job, suite, or test ARN.
$sel:type':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.
ListArtifactsResponse' | |
|
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.
$sel:nextToken: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.