The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CloudFront::TestResult

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudFront::TestResult object:

  $service_obj->Method(Att1 => { ComputeUtilization => $value, ..., FunctionSummary => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::TestResult object:

  $result = $service_obj->Method(...);
  $result->Att1->ComputeUtilization

DESCRIPTION

Contains the result of testing a CloudFront function with TestFunction.

ATTRIBUTES

ComputeUtilization => Str

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.

FunctionErrorMessage => Str

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

FunctionExecutionLogs => ArrayRef[Str|Undef]

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

FunctionOutput => Str

The event object returned by the function. For more information about the structure of the event object, see Event object structure (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html) in the Amazon CloudFront Developer Guide.

FunctionSummary => Paws::CloudFront::FunctionSummary

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudFront

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues