report_instance_status¶
Operation¶
report_instance_status
async
¶
report_instance_status(request: ReportInstanceStatusInput | ReportInstanceStatusInputDict, /, *, plugins: list[Plugin] | None = None) -> ReportInstanceStatusOutput
report_instance_status(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[ReportInstanceStatusInputDict]) -> ReportInstanceStatusOutput
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:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ReportInstanceStatusOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
ReportInstanceStatusInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReportInstanceStatusInput structure.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = ...
Descriptive text about the health state of your instance.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
end_time
class-attribute
instance-attribute
¶
end_time: datetime | None = ...
The time at which the reported instance health state ended.
reason_codes
class-attribute
instance-attribute
¶
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]
Dictionaries¶
ReportInstanceStatusInputDict
¶
Bases: TypedDict
Dictionary form of ReportInstanceStatusInput.
Attributes¶
description
instance-attribute
¶
description: str | None
Descriptive text about the health state of your instance.
dry_run
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
end_time
instance-attribute
¶
end_time: datetime | None
The time at which the reported instance health state ended.
reason_codes
instance-attribute
¶
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]
Output¶
ReportInstanceStatusOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ReportInstanceStatusOutput structure.