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 |
Returns a list of artifacts for a specified app, branch, and job.
Synopsis
- data ListArtifacts = ListArtifacts' {}
- newListArtifacts :: Text -> Text -> Text -> ListArtifacts
- listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text)
- listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural)
- listArtifacts_appId :: Lens' ListArtifacts Text
- listArtifacts_branchName :: Lens' ListArtifacts Text
- listArtifacts_jobId :: Lens' ListArtifacts Text
- data ListArtifactsResponse = ListArtifactsResponse' {}
- newListArtifactsResponse :: Int -> ListArtifactsResponse
- listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text)
- listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int
- listArtifactsResponse_artifacts :: Lens' ListArtifactsResponse [Artifact]
Creating a Request
data ListArtifacts Source #
Describes the request structure for the list artifacts request.
See: newListArtifacts
smart constructor.
ListArtifacts' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> 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:
$sel:nextToken:ListArtifacts'
, listArtifacts_nextToken
- A pagination token. Set to null to start listing artifacts from start.
If a non-null pagination token is returned in a result, pass its value
in here to list more artifacts.
$sel:maxResults:ListArtifacts'
, listArtifacts_maxResults
- The maximum number of records to list in a single response.
$sel:appId:ListArtifacts'
, listArtifacts_appId
- The unique ID for an Amplify app.
$sel:branchName:ListArtifacts'
, listArtifacts_branchName
- The name of a branch that is part of an Amplify app.
$sel:jobId:ListArtifacts'
, listArtifacts_jobId
- The unique ID for a job.
Request Lenses
listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text) Source #
A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.
listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #
The maximum number of records to list in a single response.
listArtifacts_appId :: Lens' ListArtifacts Text Source #
The unique ID for an Amplify app.
listArtifacts_branchName :: Lens' ListArtifacts Text Source #
The name of a branch that is part of an Amplify app.
listArtifacts_jobId :: Lens' ListArtifacts Text Source #
The unique ID for a job.
Destructuring the Response
data ListArtifactsResponse Source #
The result structure for the list artifacts request.
See: newListArtifactsResponse
smart constructor.
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:nextToken:ListArtifacts'
, listArtifactsResponse_nextToken
- A pagination token. If a non-null pagination token is returned in a
result, pass its value in another request to retrieve more entries.
$sel:httpStatus:ListArtifactsResponse'
, listArtifactsResponse_httpStatus
- The response's http status code.
$sel:artifacts:ListArtifactsResponse'
, listArtifactsResponse_artifacts
- A list of artifacts.
Response Lenses
listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
listArtifactsResponse_httpStatus :: Lens' ListArtifactsResponse Int Source #
The response's http status code.
listArtifactsResponse_artifacts :: Lens' ListArtifactsResponse [Artifact] Source #
A list of artifacts.