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