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
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Use a bare-bones client and the command you need to make an API call.
import { CodeGuruProfilerClient, SubmitFeedbackCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import// const { CodeGuruProfilerClient, SubmitFeedbackCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS importconst client = new CodeGuruProfilerClient(config);const input = { // SubmitFeedbackRequest profilingGroupName: "STRING_VALUE", // required anomalyInstanceId: "STRING_VALUE", // required type: "STRING_VALUE", // required comment: "STRING_VALUE",};const command = new SubmitFeedbackCommand(input);const response = await client.send(command);// {};
SubmitFeedbackCommandInput
SubmitFeedbackCommandOutput
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
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Example
Use a bare-bones client and the command you need to make an API call.
Param
SubmitFeedbackCommandInput
Returns
SubmitFeedbackCommandOutput
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.