Skip to content

CodeSnippetError

Source code in docs_src/capo_inspector2/types/code_snippet_error.py
class CodeSnippetError(TypedDict, closed=True):
    finding_arn: "capo_inspector2.types.finding_arn.FindingArn"
    """<p>The ARN of the finding that a code snippet couldn't be retrieved for.</p>"""
    error_code: "capo_inspector2.types.code_snippet_error_code.CodeSnippetErrorCode"
    """<p>The error code for the error that prevented a code snippet from being retrieved.</p>"""
    error_message: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The error message received when Amazon Inspector failed to retrieve a code snippet.</p>"""

error_code instance-attribute

The error code for the error that prevented a code snippet from being retrieved.

error_message instance-attribute

error_message: NonEmptyString

The error message received when Amazon Inspector failed to retrieve a code snippet.

finding_arn instance-attribute

finding_arn: FindingArn

The ARN of the finding that a code snippet couldn't be retrieved for.