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.



4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#durable_execution_arn ⇒ String

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

Returns:

  • (String)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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:



4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#expected_execution_timeout_timestamp ⇒ Time

The date and time when the durable execution will time out, in Unix timestamp format. This value includes any extension from time the execution spent paused. While the execution is paused with its execution timeout paused, this value is 366 days after the start time. This field isn't present for completed executions.

Returns:

  • (Time)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#pause_details ⇒ Types::PauseDetails

The details of the pause, including when you requested it and whether it pauses the execution timeout. This field is only present when the execution status is PAUSING or PAUSED.

Returns:



4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#status ⇒ String

The durable execution has one of the following statuses:

  • RUNNING – The execution is running or waiting for pending operations to complete.

  • PAUSING – The execution is waiting for an in-progress invocation to reach its next checkpoint before it pauses.

  • PAUSED – The execution is paused, and Lambda doesn't invoke your function.

  • SUCCEEDED – The execution completed successfully.

  • FAILED – The execution completed with an error.

  • TIMED_OUT – The execution exceeded its execution timeout.

  • STOPPED – A StopDurableExecution request stopped the execution.

  • DELETING – A DeleteDurableExecution request is deleting the execution and its data.

Returns:

  • (String)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end

#trace_header ⇒ Types::TraceHeader

The trace headers associated with the durable execution.

Returns:



4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  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)


4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4910

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,
  :pause_details,
  :expected_execution_timeout_timestamp)
  SENSITIVE = [:input_payload, :result]
  include Aws::Structure
end