| 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.Omics.GetRunTask
Description
Gets information about a workflow run task.
Synopsis
- data GetRunTask = GetRunTask' {}
- newGetRunTask :: Text -> Text -> GetRunTask
- getRunTask_id :: Lens' GetRunTask Text
- getRunTask_taskId :: Lens' GetRunTask Text
- data GetRunTaskResponse = GetRunTaskResponse' {}
- newGetRunTaskResponse :: Int -> GetRunTaskResponse
- getRunTaskResponse_cpus :: Lens' GetRunTaskResponse (Maybe Natural)
- getRunTaskResponse_creationTime :: Lens' GetRunTaskResponse (Maybe UTCTime)
- getRunTaskResponse_logStream :: Lens' GetRunTaskResponse (Maybe Text)
- getRunTaskResponse_memory :: Lens' GetRunTaskResponse (Maybe Natural)
- getRunTaskResponse_name :: Lens' GetRunTaskResponse (Maybe Text)
- getRunTaskResponse_startTime :: Lens' GetRunTaskResponse (Maybe UTCTime)
- getRunTaskResponse_status :: Lens' GetRunTaskResponse (Maybe TaskStatus)
- getRunTaskResponse_statusMessage :: Lens' GetRunTaskResponse (Maybe Text)
- getRunTaskResponse_stopTime :: Lens' GetRunTaskResponse (Maybe UTCTime)
- getRunTaskResponse_taskId :: Lens' GetRunTaskResponse (Maybe Text)
- getRunTaskResponse_httpStatus :: Lens' GetRunTaskResponse Int
Creating a Request
data GetRunTask Source #
See: newGetRunTask smart constructor.
Constructors
| GetRunTask' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetRunTask |
Create a value of GetRunTask 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:
GetRunTask, getRunTask_id - The task's ID.
GetRunTask, getRunTask_taskId - The task's ID.
Request Lenses
getRunTask_id :: Lens' GetRunTask Text Source #
The task's ID.
getRunTask_taskId :: Lens' GetRunTask Text Source #
The task's ID.
Destructuring the Response
data GetRunTaskResponse Source #
See: newGetRunTaskResponse smart constructor.
Constructors
| GetRunTaskResponse' | |
Fields
| |
Instances
newGetRunTaskResponse Source #
Arguments
| :: Int | |
| -> GetRunTaskResponse |
Create a value of GetRunTaskResponse 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:
GetRunTaskResponse, getRunTaskResponse_cpus - The task's CPU usage.
GetRunTaskResponse, getRunTaskResponse_creationTime - When the task was created.
$sel:logStream:GetRunTaskResponse', getRunTaskResponse_logStream - The task's log stream.
GetRunTaskResponse, getRunTaskResponse_memory - The task's memory setting.
GetRunTaskResponse, getRunTaskResponse_name - The task's name.
GetRunTaskResponse, getRunTaskResponse_startTime - The task's start time.
GetRunTaskResponse, getRunTaskResponse_status - The task's status.
GetRunTaskResponse, getRunTaskResponse_statusMessage - The task's status message.
GetRunTaskResponse, getRunTaskResponse_stopTime - The task's stop time.
GetRunTask, getRunTaskResponse_taskId - The task's ID.
$sel:httpStatus:GetRunTaskResponse', getRunTaskResponse_httpStatus - The response's http status code.
Response Lenses
getRunTaskResponse_cpus :: Lens' GetRunTaskResponse (Maybe Natural) Source #
The task's CPU usage.
getRunTaskResponse_creationTime :: Lens' GetRunTaskResponse (Maybe UTCTime) Source #
When the task was created.
getRunTaskResponse_logStream :: Lens' GetRunTaskResponse (Maybe Text) Source #
The task's log stream.
getRunTaskResponse_memory :: Lens' GetRunTaskResponse (Maybe Natural) Source #
The task's memory setting.
getRunTaskResponse_name :: Lens' GetRunTaskResponse (Maybe Text) Source #
The task's name.
getRunTaskResponse_startTime :: Lens' GetRunTaskResponse (Maybe UTCTime) Source #
The task's start time.
getRunTaskResponse_status :: Lens' GetRunTaskResponse (Maybe TaskStatus) Source #
The task's status.
getRunTaskResponse_statusMessage :: Lens' GetRunTaskResponse (Maybe Text) Source #
The task's status message.
getRunTaskResponse_stopTime :: Lens' GetRunTaskResponse (Maybe UTCTime) Source #
The task's stop time.
getRunTaskResponse_taskId :: Lens' GetRunTaskResponse (Maybe Text) Source #
The task's ID.
getRunTaskResponse_httpStatus :: Lens' GetRunTaskResponse Int Source #
The response's http status code.