EC2.Client.
report_instance_status
(**kwargs)¶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 also: AWS API Documentation
Request Syntax
response = client.report_instance_status(
Description='string',
DryRun=True|False,
EndTime=datetime(2015, 1, 1),
Instances=[
'string',
],
ReasonCodes=[
'instance-stuck-in-state'|'unresponsive'|'not-accepting-credentials'|'password-not-available'|'performance-network'|'performance-instance-store'|'performance-ebs-volume'|'performance-other'|'other',
],
StartTime=datetime(2015, 1, 1),
Status='ok'|'impaired'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The instances.
[REQUIRED]
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][REQUIRED]
The status of all instances listed.
None