Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetRecommendationsCommand

Returns a list of Recommendation objects that contain recommendations for a profiling group for a given time period. A list of Anomaly objects that contains details about anomalies detected in the profiling group for the same time period is also returned.

example

Use a bare-bones client and the command you need to make an API call.

import { CodeGuruProfilerClient, GetRecommendationsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
// const { CodeGuruProfilerClient, GetRecommendationsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
const client = new CodeGuruProfilerClient(config);
const command = new GetRecommendationsCommand(input);
const response = await client.send(command);
see

GetRecommendationsCommandInput for command's input shape.

see

GetRecommendationsCommandOutput for command's response shape.

see

config for CodeGuruProfilerClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetRecommendationsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions