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 |
Lists historical, current, and scheduled batch job executions for a specific application.
This operation returns paginated results.
Synopsis
- data ListBatchJobExecutions = ListBatchJobExecutions' {}
- newListBatchJobExecutions :: Text -> ListBatchJobExecutions
- listBatchJobExecutions_executionIds :: Lens' ListBatchJobExecutions (Maybe (NonEmpty Text))
- listBatchJobExecutions_jobName :: Lens' ListBatchJobExecutions (Maybe Text)
- listBatchJobExecutions_maxResults :: Lens' ListBatchJobExecutions (Maybe Natural)
- listBatchJobExecutions_nextToken :: Lens' ListBatchJobExecutions (Maybe Text)
- listBatchJobExecutions_startedAfter :: Lens' ListBatchJobExecutions (Maybe UTCTime)
- listBatchJobExecutions_startedBefore :: Lens' ListBatchJobExecutions (Maybe UTCTime)
- listBatchJobExecutions_status :: Lens' ListBatchJobExecutions (Maybe BatchJobExecutionStatus)
- listBatchJobExecutions_applicationId :: Lens' ListBatchJobExecutions Text
- data ListBatchJobExecutionsResponse = ListBatchJobExecutionsResponse' {}
- newListBatchJobExecutionsResponse :: Int -> ListBatchJobExecutionsResponse
- listBatchJobExecutionsResponse_nextToken :: Lens' ListBatchJobExecutionsResponse (Maybe Text)
- listBatchJobExecutionsResponse_httpStatus :: Lens' ListBatchJobExecutionsResponse Int
- listBatchJobExecutionsResponse_batchJobExecutions :: Lens' ListBatchJobExecutionsResponse [BatchJobExecutionSummary]
Creating a Request
data ListBatchJobExecutions Source #
See: newListBatchJobExecutions
smart constructor.
ListBatchJobExecutions' | |
|
Instances
newListBatchJobExecutions Source #
Create a value of ListBatchJobExecutions
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:executionIds:ListBatchJobExecutions'
, listBatchJobExecutions_executionIds
- The unique identifier of each batch job execution.
ListBatchJobExecutions
, listBatchJobExecutions_jobName
- The name of each batch job execution.
$sel:maxResults:ListBatchJobExecutions'
, listBatchJobExecutions_maxResults
- The maximum number of batch job executions to return.
ListBatchJobExecutions
, listBatchJobExecutions_nextToken
- A pagination token to control the number of batch job executions
displayed in the list.
$sel:startedAfter:ListBatchJobExecutions'
, listBatchJobExecutions_startedAfter
- The time after which the batch job executions started.
$sel:startedBefore:ListBatchJobExecutions'
, listBatchJobExecutions_startedBefore
- The time before the batch job executions started.
ListBatchJobExecutions
, listBatchJobExecutions_status
- The status of the batch job executions.
ListBatchJobExecutions
, listBatchJobExecutions_applicationId
- The unique identifier of the application.
Request Lenses
listBatchJobExecutions_executionIds :: Lens' ListBatchJobExecutions (Maybe (NonEmpty Text)) Source #
The unique identifier of each batch job execution.
listBatchJobExecutions_jobName :: Lens' ListBatchJobExecutions (Maybe Text) Source #
The name of each batch job execution.
listBatchJobExecutions_maxResults :: Lens' ListBatchJobExecutions (Maybe Natural) Source #
The maximum number of batch job executions to return.
listBatchJobExecutions_nextToken :: Lens' ListBatchJobExecutions (Maybe Text) Source #
A pagination token to control the number of batch job executions displayed in the list.
listBatchJobExecutions_startedAfter :: Lens' ListBatchJobExecutions (Maybe UTCTime) Source #
The time after which the batch job executions started.
listBatchJobExecutions_startedBefore :: Lens' ListBatchJobExecutions (Maybe UTCTime) Source #
The time before the batch job executions started.
listBatchJobExecutions_status :: Lens' ListBatchJobExecutions (Maybe BatchJobExecutionStatus) Source #
The status of the batch job executions.
listBatchJobExecutions_applicationId :: Lens' ListBatchJobExecutions Text Source #
The unique identifier of the application.
Destructuring the Response
data ListBatchJobExecutionsResponse Source #
See: newListBatchJobExecutionsResponse
smart constructor.
ListBatchJobExecutionsResponse' | |
|
Instances
newListBatchJobExecutionsResponse Source #
Create a value of ListBatchJobExecutionsResponse
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:
ListBatchJobExecutions
, listBatchJobExecutionsResponse_nextToken
- A pagination token that's returned when the response doesn't contain
all batch job executions.
$sel:httpStatus:ListBatchJobExecutionsResponse'
, listBatchJobExecutionsResponse_httpStatus
- The response's http status code.
$sel:batchJobExecutions:ListBatchJobExecutionsResponse'
, listBatchJobExecutionsResponse_batchJobExecutions
- Returns a list of batch job executions for an application.
Response Lenses
listBatchJobExecutionsResponse_nextToken :: Lens' ListBatchJobExecutionsResponse (Maybe Text) Source #
A pagination token that's returned when the response doesn't contain all batch job executions.
listBatchJobExecutionsResponse_httpStatus :: Lens' ListBatchJobExecutionsResponse Int Source #
The response's http status code.
listBatchJobExecutionsResponse_batchJobExecutions :: Lens' ListBatchJobExecutionsResponse [BatchJobExecutionSummary] Source #
Returns a list of batch job executions for an application.