Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Transforms a directed acyclic graph (DAG) into a Python script.
- createScript :: CreateScript
- data CreateScript
- csDagEdges :: Lens' CreateScript [CodeGenEdge]
- csDagNodes :: Lens' CreateScript [CodeGenNode]
- createScriptResponse :: Int -> CreateScriptResponse
- data CreateScriptResponse
- csrsPythonScript :: Lens' CreateScriptResponse (Maybe Text)
- csrsResponseStatus :: Lens' CreateScriptResponse Int
Creating a Request
createScript :: CreateScript Source #
Creates a value of CreateScript
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csDagEdges
- A list of the edges in the DAG.csDagNodes
- A list of the nodes in the DAG.
data CreateScript Source #
See: createScript
smart constructor.
Request Lenses
csDagEdges :: Lens' CreateScript [CodeGenEdge] Source #
A list of the edges in the DAG.
csDagNodes :: Lens' CreateScript [CodeGenNode] Source #
A list of the nodes in the DAG.
Destructuring the Response
Creates a value of CreateScriptResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csrsPythonScript
- The Python script generated from the DAG.csrsResponseStatus
- -- | The response status code.
data CreateScriptResponse Source #
See: createScriptResponse
smart constructor.
Response Lenses
csrsPythonScript :: Lens' CreateScriptResponse (Maybe Text) Source #
The Python script generated from the DAG.
csrsResponseStatus :: Lens' CreateScriptResponse Int Source #
- - | The response status code.