ResilienceHubV2 / Client / list_test_run_dependencies

list_test_run_dependencies

ResilienceHubV2.Client.list_test_run_dependencies(**kwargs)

Lists the dependencies that a test run blocked. Each dependency reflects the discovered classification captured when the run started, so results do not change if a dependency is reclassified after the run.

See also: AWS API Documentation

Request Syntax

response = client.list_test_run_dependencies(
    testRunId='string',
    serviceArn='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • testRunId (string) –

    [REQUIRED]

    The identifier of the test run to list dependencies for.

  • serviceArn (string) –

    [REQUIRED]

    The ARN of the service the test run belongs to.

  • maxResults (integer) – Pagination page size.

  • nextToken (string) – Pagination token.

Return type:

dict

Returns:

Response Syntax

{
    'dependencies': [
        {
            'dependencyId': 'string',
            'dependencyName': 'string',
            'dnsName': 'string',
            'criticality': 'HARD'|'SOFT'|'UNKNOWN',
            'source': 'DISCOVERED'|'MANUAL',
            'location': 'string',
            'sourceRegions': [
                'string',
            ],
            'provider': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • dependencies (list) –

      The list of dependencies the test run blocked.

      • (dict) –

        Contains summary information about a dependency that a test run blocked, as captured when the run started.

        • dependencyId (string) –

          The unique identifier of the dependency. Absent when the dependency was entered manually and was not part of dependency discovery.

        • dependencyName (string) –

          The name of the dependency.

        • dnsName (string) –

          The DNS name of the dependency that the test run blocked.

        • criticality (string) –

          The criticality classification of the dependency when the run started. A dependency that was not discovered has the UNKNOWN criticality.

        • source (string) –

          The origin of the dependency. A discovered dependency was found by dependency discovery; a manual dependency was entered when the run started.

        • location (string) –

          The location of the dependency.

        • sourceRegions (list) –

          The source Regions from which the dependency was detected.

          • (string) –

        • provider (string) –

          The provider of the dependency.

    • nextToken (string) –

      Pagination token.

Exceptions

  • ResilienceHubV2.Client.exceptions.InternalServerException

  • ResilienceHubV2.Client.exceptions.ResourceNotFoundException

  • ResilienceHubV2.Client.exceptions.ValidationException

  • ResilienceHubV2.Client.exceptions.AccessDeniedException