We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
List the available reports for a given profiling group and time range.
Use a bare-bones client and the command you need to make an API call.
import { CodeGuruProfilerClient, ListFindingsReportsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import// const { CodeGuruProfilerClient, ListFindingsReportsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS importconst client = new CodeGuruProfilerClient(config);const input = { // ListFindingsReportsRequest profilingGroupName: "STRING_VALUE", // required startTime: new Date("TIMESTAMP"), // required endTime: new Date("TIMESTAMP"), // required nextToken: "STRING_VALUE", maxResults: Number("int"), dailyReportsOnly: true || false,};const command = new ListFindingsReportsCommand(input);const response = await client.send(command);// { // ListFindingsReportsResponse// findingsReportSummaries: [ // FindingsReportSummaries // required// { // FindingsReportSummary// id: "STRING_VALUE",// profilingGroupName: "STRING_VALUE",// profileStartTime: new Date("TIMESTAMP"),// profileEndTime: new Date("TIMESTAMP"),// totalNumberOfFindings: Number("int"),// },// ],// nextToken: "STRING_VALUE",// };
ListFindingsReportsCommandInput
ListFindingsReportsCommandOutput
input
response
config
InternalServerException (server fault)
The server encountered an internal error and is unable to complete the request.
ResourceNotFoundException (client fault)
The resource specified in the request does not exist.
ThrottlingException (client fault)
The request was denied due to request throttling.
ValidationException (client fault)
The parameter is not valid.
CodeGuruProfilerServiceException
Base exception class for all service exceptions from CodeGuruProfiler service.
Readonly
Static
List the available reports for a given profiling group and time range.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListFindingsReportsCommandInput
Returns
ListFindingsReportsCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
The server encountered an internal error and is unable to complete the request.
Throws
ResourceNotFoundException (client fault)
The resource specified in the request does not exist.
Throws
ThrottlingException (client fault)
The request was denied due to request throttling.
Throws
ValidationException (client fault)
The parameter is not valid.
Throws
CodeGuruProfilerServiceException
Base exception class for all service exceptions from CodeGuruProfiler service.