Instance / Action / report_status

report_status#

EC2.Instance.report_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 = instance.report_status(
    Description='string',
    DryRun=True|False,
    EndTime=datetime(2015, 1, 1),
    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'
)
Parameters:
  • Description (string) – Descriptive text about the health state of your instance.

  • DryRun (boolean) – 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.

  • EndTime (datetime) – The time at which the reported instance health state ended.

  • ReasonCodes (list) –

    [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]

    • (string) –

  • StartTime (datetime) – The time at which the reported instance health state began.

  • Status (string) –

    [REQUIRED]

    The status of all instances listed.

Returns:

None