ReportInstanceStatus - Amazon Elastic Compute Cloud

ReportInstanceStatus

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.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

Description

This parameter has been deprecated.

Descriptive text about the health state of your instance.

Type: String

Required: No

DryRun

Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

EndTime

The time at which the reported instance health state ended.

Type: Timestamp

Required: No

InstanceId.N

The instances.

Type: Array of strings

Required: Yes

ReasonCode.N

The reason codes that describe the health state of your instance.

  • instance-stuck-in-state: My instance is stuck in a state.

  • unresponsive: My instance is unresponsive.

  • not-accepting-credentials: My instance is not accepting my credentials.

  • password-not-available: A password is not available for my instance.

  • performance-network: My instance is experiencing performance problems that I believe are network related.

  • performance-instance-store: My instance is experiencing performance problems that I believe are related to the instance stores.

  • performance-ebs-volume: My instance is experiencing performance problems that I believe are related to an EBS volume.

  • performance-other: My instance is experiencing performance problems.

  • other: [explain using the description parameter]

Type: Array of strings

Valid Values: instance-stuck-in-state | unresponsive | not-accepting-credentials | password-not-available | performance-network | performance-instance-store | performance-ebs-volume | performance-other | other

Required: Yes

StartTime

The time at which the reported instance health state began.

Type: Timestamp

Required: No

Status

The status of all instances listed.

Type: String

Valid Values: ok | impaired

Required: Yes

Response Elements

The following elements are returned by the service.

requestId

The ID of the request.

Type: String

return

Is true if the request succeeds, and an error otherwise.

Type: Boolean

Errors

For information about the errors that are common to all actions, see Common client error codes.

Examples

Example 1

This example reports instance health state for two instances.

Sample Request

https://ec2.amazonaws.com/?Action=ReportInstanceStatus &Status=impaired &InstanceId.1=i-1234567890abcdef0 &InstanceId.2=i-0598c7d356eba48d7 &AUTHPARAMS

Example 2

This example reports instance health state for two instances with reason codes.

Sample Request

https://ec2.amazonaws.com/?Action=ReportInstanceStatus &Description=Description+of+my+issue. &Status=impaired &InstanceId.1=i-1234567890abcdef0 &InstanceId.2=i-0598c7d356eba48d7 &ReasonCode.1=instance-performance-network &ReasonCode.2=instance-performance-disk &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: