Skip to content

State

Source code in docs_src/capo_inspector2/types/state.py
class State(TypedDict, closed=True):
    status: "capo_inspector2.types.status.Status"
    """<p>The status of Amazon Inspector for the account.</p>"""
    error_code: "capo_inspector2.types.error_code.ErrorCode"
    """<p>The error code explaining why the account failed to enable Amazon Inspector.</p>"""
    error_message: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The error message received when the account failed to enable Amazon Inspector.</p>"""

error_code instance-attribute

error_code: ErrorCode

The error code explaining why the account failed to enable Amazon Inspector.

error_message instance-attribute

error_message: NonEmptyString

The error message received when the account failed to enable Amazon Inspector.

status instance-attribute

status: Status

The status of Amazon Inspector for the account.