| 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.CreateWorkflow
Description
Creates a workflow.
Synopsis
- data CreateWorkflow = CreateWorkflow' {}
- newCreateWorkflow :: Text -> CreateWorkflow
- createWorkflow_definitionUri :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_definitionZip :: Lens' CreateWorkflow (Maybe ByteString)
- createWorkflow_description :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_engine :: Lens' CreateWorkflow (Maybe WorkflowEngine)
- createWorkflow_main :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_name :: Lens' CreateWorkflow (Maybe Text)
- createWorkflow_parameterTemplate :: Lens' CreateWorkflow (Maybe (HashMap Text WorkflowParameter))
- createWorkflow_storageCapacity :: Lens' CreateWorkflow (Maybe Natural)
- createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text))
- createWorkflow_requestId :: Lens' CreateWorkflow Text
- data CreateWorkflowResponse = CreateWorkflowResponse' {}
- newCreateWorkflowResponse :: Int -> CreateWorkflowResponse
- createWorkflowResponse_arn :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_id :: Lens' CreateWorkflowResponse (Maybe Text)
- createWorkflowResponse_status :: Lens' CreateWorkflowResponse (Maybe WorkflowStatus)
- createWorkflowResponse_tags :: Lens' CreateWorkflowResponse (Maybe (HashMap Text Text))
- createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int
Creating a Request
data CreateWorkflow Source #
See: newCreateWorkflow smart constructor.
Constructors
| CreateWorkflow' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateWorkflow |
Create a value of CreateWorkflow 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:definitionUri:CreateWorkflow', createWorkflow_definitionUri - The URI of a definition for the workflow.
$sel:definitionZip:CreateWorkflow', createWorkflow_definitionZip - A ZIP archive for the workflow.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
CreateWorkflow, createWorkflow_description - A description for the workflow.
$sel:engine:CreateWorkflow', createWorkflow_engine - An engine for the workflow.
$sel:main:CreateWorkflow', createWorkflow_main - The path of the main definition file for the workflow.
CreateWorkflow, createWorkflow_name - A name for the workflow.
$sel:parameterTemplate:CreateWorkflow', createWorkflow_parameterTemplate - A parameter template for the workflow.
CreateWorkflow, createWorkflow_storageCapacity - A storage capacity for the workflow.
CreateWorkflow, createWorkflow_tags - Tags for the workflow.
$sel:requestId:CreateWorkflow', createWorkflow_requestId - A request ID for the workflow.
Request Lenses
createWorkflow_definitionUri :: Lens' CreateWorkflow (Maybe Text) Source #
The URI of a definition for the workflow.
createWorkflow_definitionZip :: Lens' CreateWorkflow (Maybe ByteString) Source #
A ZIP archive for the workflow.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
createWorkflow_description :: Lens' CreateWorkflow (Maybe Text) Source #
A description for the workflow.
createWorkflow_engine :: Lens' CreateWorkflow (Maybe WorkflowEngine) Source #
An engine for the workflow.
createWorkflow_main :: Lens' CreateWorkflow (Maybe Text) Source #
The path of the main definition file for the workflow.
createWorkflow_name :: Lens' CreateWorkflow (Maybe Text) Source #
A name for the workflow.
createWorkflow_parameterTemplate :: Lens' CreateWorkflow (Maybe (HashMap Text WorkflowParameter)) Source #
A parameter template for the workflow.
createWorkflow_storageCapacity :: Lens' CreateWorkflow (Maybe Natural) Source #
A storage capacity for the workflow.
createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #
Tags for the workflow.
createWorkflow_requestId :: Lens' CreateWorkflow Text Source #
A request ID for the workflow.
Destructuring the Response
data CreateWorkflowResponse Source #
See: newCreateWorkflowResponse smart constructor.
Constructors
| CreateWorkflowResponse' | |
Instances
newCreateWorkflowResponse Source #
Create a value of CreateWorkflowResponse 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:
CreateWorkflowResponse, createWorkflowResponse_arn - The workflow's ARN.
CreateWorkflowResponse, createWorkflowResponse_id - The workflow's ID.
CreateWorkflowResponse, createWorkflowResponse_status - The workflow's status.
CreateWorkflow, createWorkflowResponse_tags - The workflow's tags.
$sel:httpStatus:CreateWorkflowResponse', createWorkflowResponse_httpStatus - The response's http status code.
Response Lenses
createWorkflowResponse_arn :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The workflow's ARN.
createWorkflowResponse_id :: Lens' CreateWorkflowResponse (Maybe Text) Source #
The workflow's ID.
createWorkflowResponse_status :: Lens' CreateWorkflowResponse (Maybe WorkflowStatus) Source #
The workflow's status.
createWorkflowResponse_tags :: Lens' CreateWorkflowResponse (Maybe (HashMap Text Text)) Source #
The workflow's tags.
createWorkflowResponse_httpStatus :: Lens' CreateWorkflowResponse Int Source #
The response's http status code.