| 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.M2.GetBatchJobExecution
Description
Gets the details of a specific batch job execution for a specific application.
Synopsis
- data GetBatchJobExecution = GetBatchJobExecution' {
- applicationId :: Text
- executionId :: Text
- newGetBatchJobExecution :: Text -> Text -> GetBatchJobExecution
- getBatchJobExecution_applicationId :: Lens' GetBatchJobExecution Text
- getBatchJobExecution_executionId :: Lens' GetBatchJobExecution Text
- data GetBatchJobExecutionResponse = GetBatchJobExecutionResponse' {
- endTime :: Maybe POSIX
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobType :: Maybe BatchJobType
- jobUser :: Maybe Text
- statusReason :: Maybe Text
- httpStatus :: Int
- applicationId :: Text
- executionId :: Text
- startTime :: POSIX
- status :: BatchJobExecutionStatus
- newGetBatchJobExecutionResponse :: Int -> Text -> Text -> UTCTime -> BatchJobExecutionStatus -> GetBatchJobExecutionResponse
- getBatchJobExecutionResponse_endTime :: Lens' GetBatchJobExecutionResponse (Maybe UTCTime)
- getBatchJobExecutionResponse_jobId :: Lens' GetBatchJobExecutionResponse (Maybe Text)
- getBatchJobExecutionResponse_jobName :: Lens' GetBatchJobExecutionResponse (Maybe Text)
- getBatchJobExecutionResponse_jobType :: Lens' GetBatchJobExecutionResponse (Maybe BatchJobType)
- getBatchJobExecutionResponse_jobUser :: Lens' GetBatchJobExecutionResponse (Maybe Text)
- getBatchJobExecutionResponse_statusReason :: Lens' GetBatchJobExecutionResponse (Maybe Text)
- getBatchJobExecutionResponse_httpStatus :: Lens' GetBatchJobExecutionResponse Int
- getBatchJobExecutionResponse_applicationId :: Lens' GetBatchJobExecutionResponse Text
- getBatchJobExecutionResponse_executionId :: Lens' GetBatchJobExecutionResponse Text
- getBatchJobExecutionResponse_startTime :: Lens' GetBatchJobExecutionResponse UTCTime
- getBatchJobExecutionResponse_status :: Lens' GetBatchJobExecutionResponse BatchJobExecutionStatus
Creating a Request
data GetBatchJobExecution Source #
See: newGetBatchJobExecution smart constructor.
Constructors
| GetBatchJobExecution' | |
Fields
| |
Instances
newGetBatchJobExecution Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetBatchJobExecution |
Create a value of GetBatchJobExecution 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:
GetBatchJobExecution, getBatchJobExecution_applicationId - The identifier of the application.
GetBatchJobExecution, getBatchJobExecution_executionId - The unique identifier of the batch job execution.
Request Lenses
getBatchJobExecution_applicationId :: Lens' GetBatchJobExecution Text Source #
The identifier of the application.
getBatchJobExecution_executionId :: Lens' GetBatchJobExecution Text Source #
The unique identifier of the batch job execution.
Destructuring the Response
data GetBatchJobExecutionResponse Source #
See: newGetBatchJobExecutionResponse smart constructor.
Constructors
| GetBatchJobExecutionResponse' | |
Fields
| |
Instances
newGetBatchJobExecutionResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> UTCTime | |
| -> BatchJobExecutionStatus | |
| -> GetBatchJobExecutionResponse |
Create a value of GetBatchJobExecutionResponse 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:
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_endTime - The timestamp when the batch job execution ended.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_jobId - The unique identifier for this batch job.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_jobName - The name of this batch job.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_jobType - The type of job.
$sel:jobUser:GetBatchJobExecutionResponse', getBatchJobExecutionResponse_jobUser - The user for the job.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_statusReason - The reason for the reported status.
$sel:httpStatus:GetBatchJobExecutionResponse', getBatchJobExecutionResponse_httpStatus - The response's http status code.
GetBatchJobExecution, getBatchJobExecutionResponse_applicationId - The identifier of the application.
GetBatchJobExecution, getBatchJobExecutionResponse_executionId - The unique identifier for this batch job execution.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_startTime - The timestamp when the batch job execution started.
GetBatchJobExecutionResponse, getBatchJobExecutionResponse_status - The status of the batch job execution.
Response Lenses
getBatchJobExecutionResponse_endTime :: Lens' GetBatchJobExecutionResponse (Maybe UTCTime) Source #
The timestamp when the batch job execution ended.
getBatchJobExecutionResponse_jobId :: Lens' GetBatchJobExecutionResponse (Maybe Text) Source #
The unique identifier for this batch job.
getBatchJobExecutionResponse_jobName :: Lens' GetBatchJobExecutionResponse (Maybe Text) Source #
The name of this batch job.
getBatchJobExecutionResponse_jobType :: Lens' GetBatchJobExecutionResponse (Maybe BatchJobType) Source #
The type of job.
getBatchJobExecutionResponse_jobUser :: Lens' GetBatchJobExecutionResponse (Maybe Text) Source #
The user for the job.
getBatchJobExecutionResponse_statusReason :: Lens' GetBatchJobExecutionResponse (Maybe Text) Source #
The reason for the reported status.
getBatchJobExecutionResponse_httpStatus :: Lens' GetBatchJobExecutionResponse Int Source #
The response's http status code.
getBatchJobExecutionResponse_applicationId :: Lens' GetBatchJobExecutionResponse Text Source #
The identifier of the application.
getBatchJobExecutionResponse_executionId :: Lens' GetBatchJobExecutionResponse Text Source #
The unique identifier for this batch job execution.
getBatchJobExecutionResponse_startTime :: Lens' GetBatchJobExecutionResponse UTCTime Source #
The timestamp when the batch job execution started.
getBatchJobExecutionResponse_status :: Lens' GetBatchJobExecutionResponse BatchJobExecutionStatus Source #
The status of the batch job execution.