Class: Aws::Lambda::Types::GetDurableExecutionResponse

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

Overview

The response from the GetDurableExecution operation, containing detailed information about the durable execution.

Constant Summary collapse

SENSITIVE =
[:input_payload, :result]

Instance Attribute Summary collapse

Instance Attribute Details

#durable_execution_arnString

The Amazon Resource Name (ARN) of the durable execution.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#durable_execution_nameString

The name of the durable execution. This is either the name you provided when invoking the function, or a system-generated unique identifier if no name was provided.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#end_timestampTime

The date and time when the durable execution ended, in Unix timestamp format. This field is only present if the execution has completed (status is SUCCEEDED, FAILED, TIMED_OUT, or STOPPED).

Returns:

  • (Time)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#errorTypes::ErrorObject

Error information if the durable execution failed. This field is only present when the execution status is FAILED, TIMED_OUT, or STOPPED. The combined size of all error fields is limited to 256 KB.

Returns:



4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) of the Lambda function that was invoked to start this durable execution.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#input_payloadString

The JSON input payload that was provided when the durable execution was started. For asynchronous invocations, this is limited to 256 KB. For synchronous invocations, this can be up to 6 MB.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#resultString

The JSON result returned by the durable execution if it completed successfully. This field is only present when the execution status is SUCCEEDED. The result is limited to 256 KB.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#start_timestampTime

The date and time when the durable execution started, in Unix timestamp format.

Returns:

  • (Time)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#statusString

The current status of the durable execution. Valid values are RUNNING, SUCCEEDED, FAILED, TIMED_OUT, and STOPPED.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#trace_headerTypes::TraceHeader

The trace headers associated with the durable execution.

Returns:



4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#versionString

The version of the Lambda function that was invoked for this durable execution. This ensures that all replays during the execution use the same function version.

Returns:

  • (String)


4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4273

class GetDurableExecutionResponse < Struct.new(
  :durable_execution_arn,
  :durable_execution_name,
  :function_arn,
  :input_payload,
  :result,
  :error,
  :start_timestamp,
  :status,
  :end_timestamp,
  :version,
  :trace_header)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end