| 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.Glue.CreateScript
Description
Transforms a directed acyclic graph (DAG) into code.
Synopsis
- data CreateScript = CreateScript' {
- dagEdges :: Maybe [CodeGenEdge]
- dagNodes :: Maybe [CodeGenNode]
- language :: Maybe Language
- newCreateScript :: CreateScript
- createScript_dagEdges :: Lens' CreateScript (Maybe [CodeGenEdge])
- createScript_dagNodes :: Lens' CreateScript (Maybe [CodeGenNode])
- createScript_language :: Lens' CreateScript (Maybe Language)
- data CreateScriptResponse = CreateScriptResponse' {
- pythonScript :: Maybe Text
- scalaCode :: Maybe Text
- httpStatus :: Int
- newCreateScriptResponse :: Int -> CreateScriptResponse
- createScriptResponse_pythonScript :: Lens' CreateScriptResponse (Maybe Text)
- createScriptResponse_scalaCode :: Lens' CreateScriptResponse (Maybe Text)
- createScriptResponse_httpStatus :: Lens' CreateScriptResponse Int
Creating a Request
data CreateScript Source #
See: newCreateScript smart constructor.
Constructors
| CreateScript' | |
Fields
| |
Instances
newCreateScript :: CreateScript Source #
Create a value of CreateScript 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:dagEdges:CreateScript', createScript_dagEdges - A list of the edges in the DAG.
$sel:dagNodes:CreateScript', createScript_dagNodes - A list of the nodes in the DAG.
$sel:language:CreateScript', createScript_language - The programming language of the resulting code from the DAG.
Request Lenses
createScript_dagEdges :: Lens' CreateScript (Maybe [CodeGenEdge]) Source #
A list of the edges in the DAG.
createScript_dagNodes :: Lens' CreateScript (Maybe [CodeGenNode]) Source #
A list of the nodes in the DAG.
createScript_language :: Lens' CreateScript (Maybe Language) Source #
The programming language of the resulting code from the DAG.
Destructuring the Response
data CreateScriptResponse Source #
See: newCreateScriptResponse smart constructor.
Constructors
| CreateScriptResponse' | |
Fields
| |
Instances
newCreateScriptResponse Source #
Arguments
| :: Int | |
| -> CreateScriptResponse |
Create a value of CreateScriptResponse 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:pythonScript:CreateScriptResponse', createScriptResponse_pythonScript - The Python script generated from the DAG.
$sel:scalaCode:CreateScriptResponse', createScriptResponse_scalaCode - The Scala code generated from the DAG.
$sel:httpStatus:CreateScriptResponse', createScriptResponse_httpStatus - The response's http status code.
Response Lenses
createScriptResponse_pythonScript :: Lens' CreateScriptResponse (Maybe Text) Source #
The Python script generated from the DAG.
createScriptResponse_scalaCode :: Lens' CreateScriptResponse (Maybe Text) Source #
The Scala code generated from the DAG.
createScriptResponse_httpStatus :: Lens' CreateScriptResponse Int Source #
The response's http status code.