You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::CreateScriptRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateScriptRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  dag_nodes: [
    {
      id: "CodeGenIdentifier", # required
      node_type: "CodeGenNodeType", # required
      args: [ # required
        {
          name: "CodeGenArgName", # required
          value: "CodeGenArgValue", # required
          param: false,
        },
      ],
      line_number: 1,
    },
  ],
  dag_edges: [
    {
      source: "CodeGenIdentifier", # required
      target: "CodeGenIdentifier", # required
      target_parameter: "CodeGenArgName",
    },
  ],
  language: "PYTHON", # accepts PYTHON, SCALA
}

Instance Attribute Summary collapse

Instance Attribute Details

#dag_edgesArray<Types::CodeGenEdge>

A list of the edges in the DAG.

Returns:

#dag_nodesArray<Types::CodeGenNode>

A list of the nodes in the DAG.

Returns:

#languageString

The programming language of the resulting code from the DAG.

Possible values:

  • PYTHON
  • SCALA

Returns:

  • (String)

    The programming language of the resulting code from the DAG.