Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- reportInstanceStatus :: ReportStatusType -> ReportInstanceStatus
- data ReportInstanceStatus
- risStartTime :: Lens' ReportInstanceStatus (Maybe UTCTime)
- risEndTime :: Lens' ReportInstanceStatus (Maybe UTCTime)
- risDescription :: Lens' ReportInstanceStatus (Maybe Text)
- risDryRun :: Lens' ReportInstanceStatus (Maybe Bool)
- risInstances :: Lens' ReportInstanceStatus [Text]
- risStatus :: Lens' ReportInstanceStatus ReportStatusType
- risReasonCodes :: Lens' ReportInstanceStatus [ReportInstanceReasonCodes]
- reportInstanceStatusResponse :: ReportInstanceStatusResponse
- data ReportInstanceStatusResponse
Creating a Request
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:
data ReportInstanceStatus Source
See: reportInstanceStatus
smart constructor.
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
.
risInstances :: Lens' ReportInstanceStatus [Text] Source
One or more instances.
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.
data ReportInstanceStatusResponse Source
See: reportInstanceStatusResponse
smart constructor.