class Aws::CloudFront::Types::TestResult

Contains the result of testing a CloudFront function with `TestFunction`.

@!attribute [rw] function_summary

Contains configuration information and metadata about the CloudFront
function that was tested.
@return [Types::FunctionSummary]

@!attribute [rw] compute_utilization

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.
@return [String]

@!attribute [rw] function_execution_logs

Contains the log lines that the function wrote (if any) when running
the test.
@return [Array<String>]

@!attribute [rw] function_error_message

If the result of testing the function was an error, this field
contains the error message.
@return [String]

@!attribute [rw] function_output

The event object returned by the function. For more information
about the structure of the event object, see [Event object
structure][1] in the *Amazon CloudFront Developer Guide*.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestResult AWS API Documentation

Constants

SENSITIVE