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 |
Returns a list of artifacts for a specified app, branch, and job.
Synopsis
- data ListArtifacts = ListArtifacts' {}
- newListArtifacts :: Text -> Text -> Text -> ListArtifacts
- listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural)
- listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text)
- 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
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:maxResults:ListArtifacts'
, listArtifacts_maxResults
- The maximum number of records to list in a single response.
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.
ListArtifacts
, listArtifacts_appId
- The unique ID for an Amplify app.
ListArtifacts
, listArtifacts_branchName
- The name of a branch that is part of an Amplify app.
ListArtifacts
, listArtifacts_jobId
- The unique ID for a job.
Request Lenses
listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #
The maximum number of records to list in a single response.
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_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:
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.