Submits feedback about the status of an instance. The instance must be in the
running state. If your experience with the instance differs from the
instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon
EC2 collects this information to improve the accuracy of status checks.
Submits feedback about the status of an instance. The instance must be in the
running
state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks.Use of this action does not change the value returned by DescribeInstanceStatus.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ReportInstanceStatusCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ReportInstanceStatusCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ReportInstanceStatusCommand(input); const response = await client.send(command);
ReportInstanceStatusCommandInput for command's
input
shape.ReportInstanceStatusCommandOutput for command's
response
shape.config for EC2Client's
config
shape.