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 |
Lists the jobs for the backend of an Amplify app.
This operation returns paginated results.
Synopsis
- data ListBackendJobs = ListBackendJobs' {}
- newListBackendJobs :: Text -> Text -> ListBackendJobs
- listBackendJobs_status :: Lens' ListBackendJobs (Maybe Text)
- listBackendJobs_jobId :: Lens' ListBackendJobs (Maybe Text)
- listBackendJobs_operation :: Lens' ListBackendJobs (Maybe Text)
- listBackendJobs_nextToken :: Lens' ListBackendJobs (Maybe Text)
- listBackendJobs_maxResults :: Lens' ListBackendJobs (Maybe Natural)
- listBackendJobs_appId :: Lens' ListBackendJobs Text
- listBackendJobs_backendEnvironmentName :: Lens' ListBackendJobs Text
- data ListBackendJobsResponse = ListBackendJobsResponse' {
- nextToken :: Maybe Text
- jobs :: Maybe [BackendJobRespObj]
- httpStatus :: Int
- newListBackendJobsResponse :: Int -> ListBackendJobsResponse
- listBackendJobsResponse_nextToken :: Lens' ListBackendJobsResponse (Maybe Text)
- listBackendJobsResponse_jobs :: Lens' ListBackendJobsResponse (Maybe [BackendJobRespObj])
- listBackendJobsResponse_httpStatus :: Lens' ListBackendJobsResponse Int
Creating a Request
data ListBackendJobs Source #
The request body for ListBackendJobs.
See: newListBackendJobs
smart constructor.
ListBackendJobs' | |
|
Instances
:: Text | |
-> Text | |
-> ListBackendJobs |
Create a value of ListBackendJobs
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:status:ListBackendJobs'
, listBackendJobs_status
- Filters the list of response objects to include only those with the
specified status.
$sel:jobId:ListBackendJobs'
, listBackendJobs_jobId
- The ID for the job.
$sel:operation:ListBackendJobs'
, listBackendJobs_operation
- Filters the list of response objects to include only those with the
specified operation name.
$sel:nextToken:ListBackendJobs'
, listBackendJobs_nextToken
- The token for the next set of results.
$sel:maxResults:ListBackendJobs'
, listBackendJobs_maxResults
- The maximum number of results that you want in the response.
$sel:appId:ListBackendJobs'
, listBackendJobs_appId
- The app ID.
$sel:backendEnvironmentName:ListBackendJobs'
, listBackendJobs_backendEnvironmentName
- The name of the backend environment.
Request Lenses
listBackendJobs_status :: Lens' ListBackendJobs (Maybe Text) Source #
Filters the list of response objects to include only those with the specified status.
listBackendJobs_jobId :: Lens' ListBackendJobs (Maybe Text) Source #
The ID for the job.
listBackendJobs_operation :: Lens' ListBackendJobs (Maybe Text) Source #
Filters the list of response objects to include only those with the specified operation name.
listBackendJobs_nextToken :: Lens' ListBackendJobs (Maybe Text) Source #
The token for the next set of results.
listBackendJobs_maxResults :: Lens' ListBackendJobs (Maybe Natural) Source #
The maximum number of results that you want in the response.
listBackendJobs_appId :: Lens' ListBackendJobs Text Source #
The app ID.
listBackendJobs_backendEnvironmentName :: Lens' ListBackendJobs Text Source #
The name of the backend environment.
Destructuring the Response
data ListBackendJobsResponse Source #
See: newListBackendJobsResponse
smart constructor.
ListBackendJobsResponse' | |
|
Instances
newListBackendJobsResponse Source #
Create a value of ListBackendJobsResponse
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:ListBackendJobs'
, listBackendJobsResponse_nextToken
- The token for the next set of results.
$sel:jobs:ListBackendJobsResponse'
, listBackendJobsResponse_jobs
- An array of jobs and their properties.
$sel:httpStatus:ListBackendJobsResponse'
, listBackendJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listBackendJobsResponse_nextToken :: Lens' ListBackendJobsResponse (Maybe Text) Source #
The token for the next set of results.
listBackendJobsResponse_jobs :: Lens' ListBackendJobsResponse (Maybe [BackendJobRespObj]) Source #
An array of jobs and their properties.
listBackendJobsResponse_httpStatus :: Lens' ListBackendJobsResponse Int Source #
The response's http status code.