libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.CreateScript

Description

Transforms a directed acyclic graph (DAG) into code.

Synopsis

Creating a Request

data CreateScript Source #

See: newCreateScript smart constructor.

Constructors

CreateScript' 

Fields

Instances

Instances details
Eq CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Read CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Show CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Generic CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Associated Types

type Rep CreateScript :: Type -> Type #

NFData CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Methods

rnf :: CreateScript -> () #

Hashable CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

ToJSON CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

AWSRequest CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Associated Types

type AWSResponse CreateScript #

ToHeaders CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

ToPath CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

ToQuery CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

type Rep CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

type Rep CreateScript = D1 ('MetaData "CreateScript" "Amazonka.Glue.CreateScript" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateScript'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dagEdges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeGenEdge])) :*: (S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Language)) :*: S1 ('MetaSel ('Just "dagNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeGenNode])))))
type AWSResponse CreateScript Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

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:language:CreateScript', createScript_language - The programming language of the resulting code from the DAG.

$sel:dagNodes:CreateScript', createScript_dagNodes - A list of the nodes in the DAG.

Request Lenses

createScript_dagEdges :: Lens' CreateScript (Maybe [CodeGenEdge]) Source #

A list of the edges in the DAG.

createScript_language :: Lens' CreateScript (Maybe Language) Source #

The programming language of the resulting code from the DAG.

createScript_dagNodes :: Lens' CreateScript (Maybe [CodeGenNode]) Source #

A list of the nodes in the DAG.

Destructuring the Response

data CreateScriptResponse Source #

See: newCreateScriptResponse smart constructor.

Constructors

CreateScriptResponse' 

Fields

Instances

Instances details
Eq CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Read CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Show CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Generic CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Associated Types

type Rep CreateScriptResponse :: Type -> Type #

NFData CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

Methods

rnf :: CreateScriptResponse -> () #

type Rep CreateScriptResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateScript

type Rep CreateScriptResponse = D1 ('MetaData "CreateScriptResponse" "Amazonka.Glue.CreateScript" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateScriptResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pythonScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scalaCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateScriptResponse Source #

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.