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::CodeGuruProfiler::BatchGetFrameMetricData - Arguments for method BatchGetFrameMetricData on Paws::CodeGuruProfiler

DESCRIPTION

This class represents the parameters used for calling the method BatchGetFrameMetricData on the Amazon CodeGuru Profiler service. Use the attributes of this class as arguments to method BatchGetFrameMetricData.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetFrameMetricData.

SYNOPSIS

    my $codeguru-profiler = Paws->service('CodeGuruProfiler');
    my $BatchGetFrameMetricDataResponse =
      $codeguru -profiler->BatchGetFrameMetricData(
      ProfilingGroupName => 'MyProfilingGroupName',
      EndTime            => '1970-01-01T01:00:00',    # OPTIONAL
      FrameMetrics       => [
        {
          FrameName    => 'MyString',
          ThreadStates => [ 'MyString', ... ],
          Type         =>
            'AggregatedRelativeTotalTime', # values: AggregatedRelativeTotalTime

        },
        ...
      ],    # OPTIONAL
      Period           => 'MyPeriod',               # OPTIONAL
      StartTime        => '1970-01-01T01:00:00',    # OPTIONAL
      TargetResolution => 'PT5M',                   # OPTIONAL
      );

    # Results:
    my $EndTime         = $BatchGetFrameMetricDataResponse->EndTime;
    my $EndTimes        = $BatchGetFrameMetricDataResponse->EndTimes;
    my $FrameMetricData = $BatchGetFrameMetricDataResponse->FrameMetricData;
    my $Resolution      = $BatchGetFrameMetricDataResponse->Resolution;
    my $StartTime       = $BatchGetFrameMetricDataResponse->StartTime;
    my $UnprocessedEndTimes =
      $BatchGetFrameMetricDataResponse->UnprocessedEndTimes;

  # Returns a L<Paws::CodeGuruProfiler::BatchGetFrameMetricDataResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codeguru-profiler/BatchGetFrameMetricData

ATTRIBUTES

EndTime => Str

The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

FrameMetrics => ArrayRef[Paws::CodeGuruProfiler::FrameMetric]

The details of the metrics that are used to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.

Period => Str

The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The maximum period duration is one day (PT24H or P1D).

REQUIRED ProfilingGroupName => Str

The name of the profiling group associated with the the frame metrics used to return the time series values.

StartTime => Str

The start time of the time period for the frame metrics used to return the time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

TargetResolution => Str

The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.

  • P1D - 1 day

  • PT1H - 1 hour

  • PT5M - 5 minutes

Valid values are: "PT5M", "PT1H", "P1D"

SEE ALSO

This class forms part of Paws, documenting arguments for method BatchGetFrameMetricData 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