NAME
Paws::CodeGuruProfiler::AgentConfiguration
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::CodeGuruProfiler::AgentConfiguration object:
$service_obj->Method(Att1 => { AgentParameters => $value, ..., ShouldProfile => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruProfiler::AgentConfiguration object:
$result = $service_obj->Method(...);
$result->Att1->AgentParameters
DESCRIPTION
The response of ConfigureAgent
(https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) that specifies if an agent profiles or not and for how long to return profiling data.
ATTRIBUTES
AgentParameters => Paws::CodeGuruProfiler::AgentParameters
Parameters used by the profiler. The valid parameters are:
MaxStackDepth
- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA
, which calls methodB
, which calls methodC
, which calls methodD
, then the depth is 4. If themaxDepth
is set to 2, then the profiler evaluatesA
andB
.MemoryUsageLimitPercent
- The percentage of memory that is used by the profiler.MinimumTimeForReportingInMilliseconds
- The minimum time in milliseconds between sending reports.ReportingIntervalInMilliseconds
- The reporting interval in milliseconds used to report profiles.SamplingIntervalInMilliseconds
- The sampling interval in milliseconds that is used to profile samples.
REQUIRED PeriodInSeconds => Int
How long a profiling agent should send profiling data using ConfigureAgent
(https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html). For example, if this is set to 300, the profiling agent calls ConfigureAgent
(https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) every 5 minutes to submit the profiled data collected during that period.
REQUIRED ShouldProfile => Bool
A Boolean
that specifies whether the profiling agent collects profiling data or not. Set to true
to enable profiling.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CodeGuruProfiler
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