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

Class: Aws::SWF::Types::ScheduleLambdaFunctionDecisionAttributes

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

Overview

Note:

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

{
  id: "FunctionId", # required
  name: "FunctionName", # required
  control: "Data",
  input: "FunctionInput",
  start_to_close_timeout: "DurationInSecondsOptional",
}

Decision attributes specified in scheduleLambdaFunctionDecisionAttributes within the list of decisions decisions passed to RespondDecisionTaskCompleted.

Instance Attribute Summary collapse

Instance Attribute Details

#controlString

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

Returns:

  • (String)


4881
4882
4883
4884
4885
4886
4887
4888
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4881

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  include Aws::Structure
end

#idString

A string that identifies the Lambda function execution in the event history.

Returns:

  • (String)


4881
4882
4883
4884
4885
4886
4887
4888
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4881

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  include Aws::Structure
end

#inputString

The optional input data to be supplied to the Lambda function.

Returns:

  • (String)


4881
4882
4883
4884
4885
4886
4887
4888
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4881

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  include Aws::Structure
end

#nameString

The name, or ARN, of the Lambda function to schedule.

Returns:

  • (String)


4881
4882
4883
4884
4885
4886
4887
4888
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4881

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  include Aws::Structure
end

#start_to_close_timeoutString

The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-300 (1s-5m). If no value is supplied, than a default value of 300s is assumed.

Returns:

  • (String)


4881
4882
4883
4884
4885
4886
4887
4888
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 4881

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  include Aws::Structure
end