libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Description

Returns the time series of values for a requested list of frame metrics from a time period.

Synopsis

Creating a Request

data BatchGetFrameMetricData Source #

The structure representing the BatchGetFrameMetricDataRequest.

See: newBatchGetFrameMetricData smart constructor.

Constructors

BatchGetFrameMetricData' 

Fields

  • targetResolution :: Maybe AggregationPeriod

    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
  • frameMetrics :: Maybe [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.

  • startTime :: Maybe POSIX

    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.

  • period :: Maybe Text

    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).

  • endTime :: Maybe POSIX

    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.

  • profilingGroupName :: Text

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

Instances

Instances details
Eq BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Read BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Show BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Generic BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Associated Types

type Rep BatchGetFrameMetricData :: Type -> Type #

NFData BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Methods

rnf :: BatchGetFrameMetricData -> () #

Hashable BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

ToJSON BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

AWSRequest BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

ToHeaders BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

ToPath BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

ToQuery BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

type Rep BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

type Rep BatchGetFrameMetricData = D1 ('MetaData "BatchGetFrameMetricData" "Amazonka.CodeGuruProfiler.BatchGetFrameMetricData" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "BatchGetFrameMetricData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetResolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AggregationPeriod)) :*: (S1 ('MetaSel ('Just "frameMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FrameMetric])) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse BatchGetFrameMetricData Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

newBatchGetFrameMetricData Source #

Create a value of BatchGetFrameMetricData with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:targetResolution:BatchGetFrameMetricData', batchGetFrameMetricData_targetResolution - 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

$sel:frameMetrics:BatchGetFrameMetricData', batchGetFrameMetricData_frameMetrics - 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.

$sel:startTime:BatchGetFrameMetricData', batchGetFrameMetricData_startTime - 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.

$sel:period:BatchGetFrameMetricData', batchGetFrameMetricData_period - 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).

$sel:endTime:BatchGetFrameMetricData', batchGetFrameMetricData_endTime - 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.

$sel:profilingGroupName:BatchGetFrameMetricData', batchGetFrameMetricData_profilingGroupName - The name of the profiling group associated with the the frame metrics used to return the time series values.

Request Lenses

batchGetFrameMetricData_targetResolution :: Lens' BatchGetFrameMetricData (Maybe AggregationPeriod) Source #

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

batchGetFrameMetricData_frameMetrics :: Lens' BatchGetFrameMetricData (Maybe [FrameMetric]) Source #

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.

batchGetFrameMetricData_startTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) Source #

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.

batchGetFrameMetricData_period :: Lens' BatchGetFrameMetricData (Maybe Text) Source #

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).

batchGetFrameMetricData_endTime :: Lens' BatchGetFrameMetricData (Maybe UTCTime) Source #

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.

batchGetFrameMetricData_profilingGroupName :: Lens' BatchGetFrameMetricData Text Source #

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

Destructuring the Response

data BatchGetFrameMetricDataResponse Source #

The structure representing the BatchGetFrameMetricDataResponse.

See: newBatchGetFrameMetricDataResponse smart constructor.

Constructors

BatchGetFrameMetricDataResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • endTime :: POSIX

    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.

  • endTimes :: [TimestampStructure]

    List of instances, or time steps, in the time series. For example, if the period is one day (PT24H)), and the resolution is five minutes (PT5M), then there are 288 endTimes in the list that are each five minutes appart.

  • frameMetricData :: [FrameMetricDatum]

    Details of the metrics 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.

  • resolution :: AggregationPeriod

    Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.

    • P1D — 1 day
    • PT1H — 1 hour
    • PT5M — 5 minutes
  • startTime :: POSIX

    The start 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.

  • unprocessedEndTimes :: HashMap Text [TimestampStructure]

    List of instances which remained unprocessed. This will create a missing time step in the list of end times.

Instances

Instances details
Eq BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Read BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Show BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Generic BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

Associated Types

type Rep BatchGetFrameMetricDataResponse :: Type -> Type #

NFData BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

type Rep BatchGetFrameMetricDataResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.BatchGetFrameMetricData

type Rep BatchGetFrameMetricDataResponse = D1 ('MetaData "BatchGetFrameMetricDataResponse" "Amazonka.CodeGuruProfiler.BatchGetFrameMetricData" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "BatchGetFrameMetricDataResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "endTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TimestampStructure]))) :*: ((S1 ('MetaSel ('Just "frameMetricData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FrameMetricDatum]) :*: S1 ('MetaSel ('Just "resolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AggregationPeriod)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "unprocessedEndTimes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text [TimestampStructure]))))))

newBatchGetFrameMetricDataResponse Source #

Create a value of BatchGetFrameMetricDataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:BatchGetFrameMetricDataResponse', batchGetFrameMetricDataResponse_httpStatus - The response's http status code.

$sel:endTime:BatchGetFrameMetricData', batchGetFrameMetricDataResponse_endTime - 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.

$sel:endTimes:BatchGetFrameMetricDataResponse', batchGetFrameMetricDataResponse_endTimes - List of instances, or time steps, in the time series. For example, if the period is one day (PT24H)), and the resolution is five minutes (PT5M), then there are 288 endTimes in the list that are each five minutes appart.

$sel:frameMetricData:BatchGetFrameMetricDataResponse', batchGetFrameMetricDataResponse_frameMetricData - Details of the metrics 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.

$sel:resolution:BatchGetFrameMetricDataResponse', batchGetFrameMetricDataResponse_resolution - Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

$sel:startTime:BatchGetFrameMetricData', batchGetFrameMetricDataResponse_startTime - The start 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.

$sel:unprocessedEndTimes:BatchGetFrameMetricDataResponse', batchGetFrameMetricDataResponse_unprocessedEndTimes - List of instances which remained unprocessed. This will create a missing time step in the list of end times.

Response Lenses

batchGetFrameMetricDataResponse_endTime :: Lens' BatchGetFrameMetricDataResponse UTCTime Source #

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.

batchGetFrameMetricDataResponse_endTimes :: Lens' BatchGetFrameMetricDataResponse [TimestampStructure] Source #

List of instances, or time steps, in the time series. For example, if the period is one day (PT24H)), and the resolution is five minutes (PT5M), then there are 288 endTimes in the list that are each five minutes appart.

batchGetFrameMetricDataResponse_frameMetricData :: Lens' BatchGetFrameMetricDataResponse [FrameMetricDatum] Source #

Details of the metrics 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.

batchGetFrameMetricDataResponse_resolution :: Lens' BatchGetFrameMetricDataResponse AggregationPeriod Source #

Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

batchGetFrameMetricDataResponse_startTime :: Lens' BatchGetFrameMetricDataResponse UTCTime Source #

The start 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.

batchGetFrameMetricDataResponse_unprocessedEndTimes :: Lens' BatchGetFrameMetricDataResponse (HashMap Text [TimestampStructure]) Source #

List of instances which remained unprocessed. This will create a missing time step in the list of end times.