Class: Aws::CloudFront::Types::TestResult

Inherits:
Struct
  • Object
show all
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 =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compute_utilizationString

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.

Returns:

  • (String)


11858
11859
11860
11861
11862
11863
11864
11865
11866
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11858

class TestResult < Struct.new(
  :function_summary,
  :compute_utilization,
  :function_execution_logs,
  :function_error_message,
  :function_output)
  SENSITIVE = []
  include Aws::Structure
end

#function_error_messageString

If the result of testing the function was an error, this field contains the error message.

Returns:

  • (String)


11858
11859
11860
11861
11862
11863
11864
11865
11866
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11858

class TestResult < Struct.new(
  :function_summary,
  :compute_utilization,
  :function_execution_logs,
  :function_error_message,
  :function_output)
  SENSITIVE = []
  include Aws::Structure
end

#function_execution_logsArray<String>

Contains the log lines that the function wrote (if any) when running the test.

Returns:

  • (Array<String>)


11858
11859
11860
11861
11862
11863
11864
11865
11866
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11858

class TestResult < Struct.new(
  :function_summary,
  :compute_utilization,
  :function_execution_logs,
  :function_error_message,
  :function_output)
  SENSITIVE = []
  include Aws::Structure
end

#function_outputString

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.

Returns:

  • (String)


11858
11859
11860
11861
11862
11863
11864
11865
11866
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11858

class TestResult < Struct.new(
  :function_summary,
  :compute_utilization,
  :function_execution_logs,
  :function_error_message,
  :function_output)
  SENSITIVE = []
  include Aws::Structure
end

#function_summaryTypes::FunctionSummary

Contains configuration information and metadata about the CloudFront function that was tested.



11858
11859
11860
11861
11862
11863
11864
11865
11866
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11858

class TestResult < Struct.new(
  :function_summary,
  :compute_utilization,
  :function_execution_logs,
  :function_error_message,
  :function_output)
  SENSITIVE = []
  include Aws::Structure
end