Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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.
Synopsis
- data ReportInstanceStatus = ReportInstanceStatus' {}
- newReportInstanceStatus :: ReportStatusType -> ReportInstanceStatus
- reportInstanceStatus_description :: Lens' ReportInstanceStatus (Maybe Text)
- reportInstanceStatus_dryRun :: Lens' ReportInstanceStatus (Maybe Bool)
- reportInstanceStatus_endTime :: Lens' ReportInstanceStatus (Maybe UTCTime)
- reportInstanceStatus_startTime :: Lens' ReportInstanceStatus (Maybe UTCTime)
- reportInstanceStatus_instances :: Lens' ReportInstanceStatus [Text]
- reportInstanceStatus_reasonCodes :: Lens' ReportInstanceStatus [ReportInstanceReasonCodes]
- reportInstanceStatus_status :: Lens' ReportInstanceStatus ReportStatusType
- data ReportInstanceStatusResponse = ReportInstanceStatusResponse' {
- newReportInstanceStatusResponse :: ReportInstanceStatusResponse
Creating a Request
data ReportInstanceStatus Source #
See: newReportInstanceStatus
smart constructor.
ReportInstanceStatus' | |
|
Instances
newReportInstanceStatus Source #
Create a value of ReportInstanceStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ReportInstanceStatus
, reportInstanceStatus_description
- Descriptive text about the health state of your instance.
$sel:dryRun:ReportInstanceStatus'
, reportInstanceStatus_dryRun
- 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
.
ReportInstanceStatus
, reportInstanceStatus_endTime
- The time at which the reported instance health state ended.
ReportInstanceStatus
, reportInstanceStatus_startTime
- The time at which the reported instance health state began.
ReportInstanceStatus
, reportInstanceStatus_instances
- The instances.
$sel:reasonCodes:ReportInstanceStatus'
, reportInstanceStatus_reasonCodes
- 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]
ReportInstanceStatus
, reportInstanceStatus_status
- The status of all instances listed.
Request Lenses
reportInstanceStatus_description :: Lens' ReportInstanceStatus (Maybe Text) Source #
Descriptive text about the health state of your instance.
reportInstanceStatus_dryRun :: 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
.
reportInstanceStatus_endTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source #
The time at which the reported instance health state ended.
reportInstanceStatus_startTime :: Lens' ReportInstanceStatus (Maybe UTCTime) Source #
The time at which the reported instance health state began.
reportInstanceStatus_instances :: Lens' ReportInstanceStatus [Text] Source #
The instances.
reportInstanceStatus_reasonCodes :: Lens' ReportInstanceStatus [ReportInstanceReasonCodes] Source #
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]
reportInstanceStatus_status :: Lens' ReportInstanceStatus ReportStatusType Source #
The status of all instances listed.
Destructuring the Response
data ReportInstanceStatusResponse Source #
See: newReportInstanceStatusResponse
smart constructor.
Instances
newReportInstanceStatusResponse :: ReportInstanceStatusResponse Source #
Create a value of ReportInstanceStatusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.