Skip to content

GetDependencyInsightsResponse

Source code in docs_src/capo_resiliencehubv2/types/get_dependency_insights_response.py
class GetDependencyInsightsResponse(TypedDict, closed=True):
    overview: NotRequired["str"]
    """<p>A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.</p>"""
    insights: NotRequired[
        "capo_resiliencehubv2.types.dependency_insights_list.DependencyInsightsList"
    ]
    """<p>The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.</p>"""
    status: (
        "capo_resiliencehubv2.types.dependency_insights_status.DependencyInsightsStatus"
    )
    """<p>The status of the dependency insights generation. Valid values:</p> <ul> <li> <p>IN_PROGRESS - Insights generation is in progress.</p> </li> <li> <p>COMPLETED - Insights generation completed successfully.</p> </li> <li> <p>FAILED - Insights generation failed. See errorCode and errorMessage for details.</p> </li> </ul>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the dependency insights were generated.</p>"""
    error_code: NotRequired[
        "capo_resiliencehubv2.types.dependency_insights_error_code.DependencyInsightsErrorCode"
    ]
    """<p>The error code returned when insights generation failed. Valid values:</p> <ul> <li> <p>INSUFFICIENT_DATA - There was not enough dependency data to generate insights.</p> </li> <li> <p>LLM_GENERATION_FAILED - The insights could not be generated.</p> </li> <li> <p>INTERNAL_ERROR - An internal error occurred while generating insights.</p> </li> </ul>"""
    error_message: NotRequired["str"]
    """<p>A message describing why insights generation failed.</p>"""

created_at instance-attribute

created_at: NotRequired[datetime]

The timestamp when the dependency insights were generated.

error_code instance-attribute

error_code: NotRequired[DependencyInsightsErrorCode]

The error code returned when insights generation failed. Valid values:

  • INSUFFICIENT_DATA - There was not enough dependency data to generate insights.

  • LLM_GENERATION_FAILED - The insights could not be generated.

  • INTERNAL_ERROR - An internal error occurred while generating insights.

error_message instance-attribute

error_message: NotRequired[str]

A message describing why insights generation failed.

insights instance-attribute

insights: NotRequired[DependencyInsightsList]

The list of dependency insights generated for the service. This field is not returned until the status is COMPLETED.

overview instance-attribute

overview: NotRequired[str]

A summary of the dependency insights for the service. This field is not returned until the status is COMPLETED.

status instance-attribute

The status of the dependency insights generation. Valid values:

  • IN_PROGRESS - Insights generation is in progress.

  • COMPLETED - Insights generation completed successfully.

  • FAILED - Insights generation failed. See errorCode and errorMessage for details.