Class: Aws::Lambda::Types::InvocationResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::InvocationResponse
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:payload]
Instance Attribute Summary collapse
-
#durable_execution_arn ⇒ String
The ARN of the durable execution that was started.
-
#executed_version ⇒ String
The version of the function that executed.
-
#function_error ⇒ String
If present, indicates that an error occurred during function execution.
-
#log_result ⇒ String
The last 4 KB of the execution log, which is base64-encoded.
-
#payload ⇒ String
The response from the function, or an error object.
-
#status_code ⇒ Integer
The HTTP status code is in the 200 range for a successful request.
Instance Attribute Details
#durable_execution_arn ⇒ String
The ARN of the durable execution that was started. This is returned when invoking a durable function and provides a unique identifier for tracking the execution.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |
#executed_version ⇒ String
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |
#function_error ⇒ String
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |
#log_result ⇒ String
The last 4 KB of the execution log, which is base64-encoded.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |
#payload ⇒ String
The response from the function, or an error object.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |
#status_code ⇒ Integer
The HTTP status code is in the 200 range for a successful request.
For the RequestResponse invocation type, this status code is 200.
For the Event invocation type, this status code is 202. For the
DryRun invocation type, the status code is 204.
5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 5524 class InvocationResponse < Struct.new( :status_code, :function_error, :log_result, :payload, :executed_version, :durable_execution_arn) SENSITIVE = [:payload] include Aws::Structure end |