report_instance_status
async
¶
report_instance_status(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
instances: Optional[InstanceIdStringList] = None,
status: Optional[ReportStatusType] = None,
start_time: Optional[DateTime] = None,
end_time: Optional[DateTime] = None,
reason_codes: Optional[ReasonCodesList] = None,
description: Optional[ReportInstanceStatusRequestDescription] = None,
) -> None
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.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
instances(Optional[InstanceIdStringList], default:None) –The instances.
-
status(Optional[ReportStatusType], default:None) –The status of all instances listed.
-
start_time(Optional[DateTime], default:None) –The time at which the reported instance health state began.
-
end_time(Optional[DateTime], default:None) –The time at which the reported instance health state ended.
-
reason_codes(Optional[ReasonCodesList], default:None) –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]
-
-
description(Optional[ReportInstanceStatusRequestDescription], default:None) –Descriptive text about the health state of your instance.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
58253 58254 58255 58256 58257 58258 58259 58260 58261 58262 58263 58264 58265 58266 58267 58268 58269 58270 58271 58272 58273 58274 58275 58276 58277 58278 58279 58280 58281 58282 58283 58284 58285 58286 58287 58288 58289 58290 58291 58292 58293 58294 58295 58296 58297 58298 58299 58300 58301 58302 58303 58304 58305 58306 58307 58308 58309 58310 58311 58312 58313 58314 58315 58316 58317 58318 58319 58320 58321 58322 58323 58324 58325 58326 58327 58328 58329 58330 58331 58332 58333 58334 | |