amazonka-ec2-1.3.3.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ReportInstanceStatus

Contents

Description

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.

See: AWS API Reference for ReportInstanceStatus.

Synopsis

Creating a Request

reportInstanceStatus Source

Creates a value of ReportInstanceStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

risStartTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source

The time at which the reported instance health state began.

risEndTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source

The time at which the reported instance health state ended.

risDescription :: Lens' ReportInstanceStatus (Maybe Text) Source

Descriptive text about the health state of your instance.

risDryRun :: Lens' ReportInstanceStatus (Maybe Bool) Source

Checks whether you have the required permissions for the action, 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.

risStatus :: Lens' ReportInstanceStatus ReportStatusType Source

The status of all instances listed.

risReasonCodes :: Lens' ReportInstanceStatus [ReportInstanceReasonCodes] Source

One or more reason codes that describes 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 which I believe are network related.
  • 'performance-instance-store': My instance is experiencing performance problems which I believe are related to the instance stores.
  • 'performance-ebs-volume': My instance is experiencing performance problems which I believe are related to an EBS volume.
  • 'performance-other': My instance is experiencing performance problems.
  • other: [explain using the description parameter]

Destructuring the Response

reportInstanceStatusResponse :: ReportInstanceStatusResponse Source

Creates a value of ReportInstanceStatusResponse with the minimum fields required to make a request.