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_configTypes::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.



4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_arnString

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

Returns:

  • (String)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_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)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_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)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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

#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:



4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_includedBoolean

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

Returns:

  • (Boolean)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_arnString

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

Returns:

  • (String)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_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)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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

#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)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_timestampTime

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

Returns:

  • (Time)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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

#statusString

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

Returns:

  • (String)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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_headerTypes::TraceHeader

The trace headers associated with the durable execution.

Returns:



4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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

#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)


4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4538

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