Class: Aws::CloudFront::Types::TestResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::TestResult
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
Contains the result of testing a CloudFront function with
TestFunction
.
Constant Summary collapse
- SENSITIVE =
[:function_execution_logs, :function_error_message, :function_output]
Instance Attribute Summary collapse
-
#compute_utilization ⇒ String
The amount of time that the function took to run as a percentage of the maximum allowed time.
-
#function_error_message ⇒ String
If the result of testing the function was an error, this field contains the error message.
-
#function_execution_logs ⇒ Array<String>
Contains the log lines that the function wrote (if any) when running the test.
-
#function_output ⇒ String
The event object returned by the function.
-
#function_summary ⇒ Types::FunctionSummary
Contains configuration information and metadata about the CloudFront function that was tested.
Instance Attribute Details
#compute_utilization ⇒ String
The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
11912 11913 11914 11915 11916 11917 11918 11919 11920 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11912 class TestResult < Struct.new( :function_summary, :compute_utilization, :function_execution_logs, :function_error_message, :function_output) SENSITIVE = [:function_execution_logs, :function_error_message, :function_output] include Aws::Structure end |
#function_error_message ⇒ String
If the result of testing the function was an error, this field contains the error message.
11912 11913 11914 11915 11916 11917 11918 11919 11920 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11912 class TestResult < Struct.new( :function_summary, :compute_utilization, :function_execution_logs, :function_error_message, :function_output) SENSITIVE = [:function_execution_logs, :function_error_message, :function_output] include Aws::Structure end |
#function_execution_logs ⇒ Array<String>
Contains the log lines that the function wrote (if any) when running the test.
11912 11913 11914 11915 11916 11917 11918 11919 11920 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11912 class TestResult < Struct.new( :function_summary, :compute_utilization, :function_execution_logs, :function_error_message, :function_output) SENSITIVE = [:function_execution_logs, :function_error_message, :function_output] include Aws::Structure end |
#function_output ⇒ String
The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
11912 11913 11914 11915 11916 11917 11918 11919 11920 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11912 class TestResult < Struct.new( :function_summary, :compute_utilization, :function_execution_logs, :function_error_message, :function_output) SENSITIVE = [:function_execution_logs, :function_error_message, :function_output] include Aws::Structure end |
#function_summary ⇒ Types::FunctionSummary
Contains configuration information and metadata about the CloudFront function that was tested.
11912 11913 11914 11915 11916 11917 11918 11919 11920 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11912 class TestResult < Struct.new( :function_summary, :compute_utilization, :function_execution_logs, :function_error_message, :function_output) SENSITIVE = [:function_execution_logs, :function_error_message, :function_output] include Aws::Structure end |