| 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.StartRun
Description
Starts a run.
Synopsis
- data StartRun = StartRun' {
- logLevel :: Maybe RunLogLevel
- name :: Maybe Text
- outputUri :: Maybe Text
- parameters :: Maybe RunParameters
- priority :: Maybe Natural
- runGroupId :: Maybe Text
- runId :: Maybe Text
- storageCapacity :: Maybe Natural
- tags :: Maybe (HashMap Text Text)
- workflowId :: Maybe Text
- workflowType :: Maybe WorkflowType
- requestId :: Text
- roleArn :: Text
- newStartRun :: Text -> Text -> StartRun
- startRun_logLevel :: Lens' StartRun (Maybe RunLogLevel)
- startRun_name :: Lens' StartRun (Maybe Text)
- startRun_outputUri :: Lens' StartRun (Maybe Text)
- startRun_parameters :: Lens' StartRun (Maybe RunParameters)
- startRun_priority :: Lens' StartRun (Maybe Natural)
- startRun_runGroupId :: Lens' StartRun (Maybe Text)
- startRun_runId :: Lens' StartRun (Maybe Text)
- startRun_storageCapacity :: Lens' StartRun (Maybe Natural)
- startRun_tags :: Lens' StartRun (Maybe (HashMap Text Text))
- startRun_workflowId :: Lens' StartRun (Maybe Text)
- startRun_workflowType :: Lens' StartRun (Maybe WorkflowType)
- startRun_requestId :: Lens' StartRun Text
- startRun_roleArn :: Lens' StartRun Text
- data StartRunResponse = StartRunResponse' {}
- newStartRunResponse :: Int -> StartRunResponse
- startRunResponse_arn :: Lens' StartRunResponse (Maybe Text)
- startRunResponse_id :: Lens' StartRunResponse (Maybe Text)
- startRunResponse_status :: Lens' StartRunResponse (Maybe RunStatus)
- startRunResponse_tags :: Lens' StartRunResponse (Maybe (HashMap Text Text))
- startRunResponse_httpStatus :: Lens' StartRunResponse Int
Creating a Request
See: newStartRun smart constructor.
Constructors
| StartRun' | |
Fields
| |
Instances
Create a value of StartRun 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:logLevel:StartRun', startRun_logLevel - A log level for the run.
StartRun, startRun_name - A name for the run.
$sel:outputUri:StartRun', startRun_outputUri - An output URI for the run.
$sel:parameters:StartRun', startRun_parameters - Parameters for the run.
StartRun, startRun_priority - A priority for the run.
$sel:runGroupId:StartRun', startRun_runGroupId - The run's group ID.
$sel:runId:StartRun', startRun_runId - The run's ID.
StartRun, startRun_storageCapacity - A storage capacity for the run.
StartRun, startRun_tags - Tags for the run.
StartRun, startRun_workflowId - The run's workflow ID.
$sel:workflowType:StartRun', startRun_workflowType - The run's workflows type.
$sel:requestId:StartRun', startRun_requestId - A request ID for the run.
StartRun, startRun_roleArn - A service role for the run.
Request Lenses
startRun_logLevel :: Lens' StartRun (Maybe RunLogLevel) Source #
A log level for the run.
startRun_parameters :: Lens' StartRun (Maybe RunParameters) Source #
Parameters for the run.
startRun_workflowType :: Lens' StartRun (Maybe WorkflowType) Source #
The run's workflows type.
Destructuring the Response
data StartRunResponse Source #
See: newStartRunResponse smart constructor.
Constructors
| StartRunResponse' | |
Instances
Arguments
| :: Int | |
| -> StartRunResponse |
Create a value of StartRunResponse 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:
StartRunResponse, startRunResponse_arn - The run's ARN.
StartRunResponse, startRunResponse_id - The run's ID.
StartRunResponse, startRunResponse_status - The run's status.
StartRun, startRunResponse_tags - The run's tags.
$sel:httpStatus:StartRunResponse', startRunResponse_httpStatus - The response's http status code.
Response Lenses
startRunResponse_arn :: Lens' StartRunResponse (Maybe Text) Source #
The run's ARN.
startRunResponse_id :: Lens' StartRunResponse (Maybe Text) Source #
The run's ID.
startRunResponse_status :: Lens' StartRunResponse (Maybe RunStatus) Source #
The run's status.
startRunResponse_tags :: Lens' StartRunResponse (Maybe (HashMap Text Text)) Source #
The run's tags.
startRunResponse_httpStatus :: Lens' StartRunResponse Int Source #
The response's http status code.