ResilienceHubV2 / Client / start_dependency_insights
start_dependency_insights¶
- ResilienceHubV2.Client.start_dependency_insights(**kwargs)¶
Starts generating dependency insights for a service. Generation runs asynchronously; the response returns the initial status, and you retrieve the results with GetDependencyInsights. To use this operation, you must have the
resiliencehub:StartDependencyInsightspermission on the service.See also: AWS API Documentation
Request Syntax
response = client.start_dependency_insights( serviceArn='string', clientToken='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
clientToken (string) –
Idempotency token.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'status': 'IN_PROGRESS'|'COMPLETED'|'FAILED' }
Response Structure
(dict) –
status (string) –
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. Call GetDependencyInsights for the error code and message.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.ConflictExceptionResilienceHubV2.Client.exceptions.ThrottlingExceptionResilienceHubV2.Client.exceptions.AccessDeniedException