Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . codeguruprofiler ]

get-profile

Description

Gets the aggregated profile of a profiling group for the specified time range. If the requested time range does not align with the available aggregated profiles, it is expanded to attain alignment. If aggregated profiles are available only for part of the period requested, the profile is returned from the earliest available to the latest within the requested time range.

For example, if the requested time range is from 00:00 to 00:20 and the available profiles are from 00:15 to 00:25, the returned profile will be from 00:15 to 00:20.

You must specify exactly two of the following parameters: startTime , period , and endTime .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-profile
[--accept <value>]
[--end-time <value>]
[--max-depth <value>]
[--period <value>]
--profiling-group-name <value>
[--start-time <value>]
outfile <value>

Options

--accept (string)

The format of the profile to return. You can choose application/json or the default application/x-amzn-ion .

--end-time (timestamp)

You must specify exactly two of the following parameters: startTime , period , and endTime .

--max-depth (integer)

The maximum depth of the graph.

--period (string)

The period of the profile to get. The time range must be in the past and not longer than one week.

You must specify exactly two of the following parameters: startTime , period , and endTime .

--profiling-group-name (string)

The name of the profiling group to get.

--start-time (timestamp)

The start time of the profile to get.

You must specify exactly two of the following parameters: startTime , period , and endTime .

outfile (string) Filename where the content will be saved

See 'aws help' for descriptions of global parameters.

Output

contentEncoding -> (string)

The content encoding of the profile.

contentType -> (string)

The content type of the profile in the payload. It is either application/json or the default application/x-amzn-ion .

profile -> (blob)

Information about the profile.