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.

Constant Summary collapse

SENSITIVE =
[]

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)


5116
5117
5118
5119
5120
5121
5122
5123
5124
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5116

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

#idString

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

Returns:

  • (String)


5116
5117
5118
5119
5120
5121
5122
5123
5124
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5116

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

#inputString

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

Returns:

  • (String)


5116
5117
5118
5119
5120
5121
5122
5123
5124
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5116

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

#nameString

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

Returns:

  • (String)


5116
5117
5118
5119
5120
5121
5122
5123
5124
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5116

class ScheduleLambdaFunctionDecisionAttributes < Struct.new(
  :id,
  :name,
  :control,
  :input,
  :start_to_close_timeout)
  SENSITIVE = []
  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)


5116
5117
5118
5119
5120
5121
5122
5123
5124
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5116

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