Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DescribeFeedbackCommandProtected

Returns the most recent feedback submitted in the current Amazon Web Services account and Region.

Example

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

import { DevOpsGuruClient, DescribeFeedbackCommand } from "@aws-sdk/client-devops-guru"; // ES Modules import
// const { DevOpsGuruClient, DescribeFeedbackCommand } = require("@aws-sdk/client-devops-guru"); // CommonJS import
const client = new DevOpsGuruClient(config);
const input = { // DescribeFeedbackRequest
InsightId: "STRING_VALUE",
};
const command = new DescribeFeedbackCommand(input);
const response = await client.send(command);
// { // DescribeFeedbackResponse
// InsightFeedback: { // InsightFeedback
// Id: "STRING_VALUE",
// Feedback: "VALID_COLLECTION" || "RECOMMENDATION_USEFUL" || "ALERT_TOO_SENSITIVE" || "DATA_NOISY_ANOMALY" || "DATA_INCORRECT",
// },
// };

Param

DescribeFeedbackCommandInput

Returns

DescribeFeedbackCommandOutput

See

Throws

AccessDeniedException (client fault)

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

Throws

InternalServerException (server fault)

An internal failure in an Amazon service occurred.

Throws

ResourceNotFoundException (client fault)

A requested resource could not be found

Throws

ThrottlingException (client fault)

The request was denied due to a request throttling.

Throws

ValidationException (client fault)

Contains information about data passed in to a field during a request that is not valid.

Throws

DevOpsGuruServiceException

Base exception class for all service exceptions from DevOpsGuru service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods