Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReportInstanceStatusCommand

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.

example

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);
see

ReportInstanceStatusCommandInput for command's input shape.

see

ReportInstanceStatusCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ReportInstanceStatusCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions