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_config ⇒ Types::DurableConfig

Configuration settings for the durable execution, including execution timeout, retention period for execution history, and an optional ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.



4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#durable_execution_arn ⇒ String

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

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#durable_execution_name ⇒ String

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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#end_timestamp ⇒ Time

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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#error ⇒ Types::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 1 MB.

Returns:



4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#execution_data_included ⇒ Boolean

Indicates whether execution data is included in this response. Returns false when IncludeExecutionData is set to false in the request.

Returns:

  • (Boolean)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#function_arn ⇒ String

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

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#input_payload ⇒ String

The JSON input payload that you provided when you started the durable execution. Asynchronous invocations support up to 1 MB, and synchronous invocations support up to 6 MB.

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#result ⇒ String

The JSON result returned by the durable execution if it completed successfully. This field is only present when the execution status is SUCCEEDED. Asynchronous invocations support up to 1 MB, and synchronous invocations support up to 6 MB.

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#start_timestamp ⇒ Time

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

Returns:

  • (Time)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#status ⇒ String

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

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#trace_header ⇒ Types::TraceHeader

The trace headers associated with the durable execution.

Returns:



4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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

#version ⇒ String

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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4700

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