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

Class: Aws::EMR::Types::AddJobFlowStepsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass AddJobFlowStepsInput data as a hash:

{
  job_flow_id: "XmlStringMaxLen256", # required
  steps: [ # required
    {
      name: "XmlStringMaxLen256", # required
      action_on_failure: "TERMINATE_JOB_FLOW", # accepts TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
      hadoop_jar_step: { # required
        properties: [
          {
            key: "XmlString",
            value: "XmlString",
          },
        ],
        jar: "XmlString", # required
        main_class: "XmlString",
        args: ["XmlString"],
      },
    },
  ],
}

The input argument to the AddJobFlowSteps operation.

Instance Attribute Summary collapse

Instance Attribute Details

#job_flow_idString

A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.

Returns:

  • (String)


247
248
249
250
251
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 247

class AddJobFlowStepsInput < Struct.new(
  :job_flow_id,
  :steps)
  include Aws::Structure
end

#stepsArray<Types::StepConfig>

A list of StepConfig to be executed by the job flow.

Returns:



247
248
249
250
251
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 247

class AddJobFlowStepsInput < Struct.new(
  :job_flow_id,
  :steps)
  include Aws::Structure
end