ResilienceHubV2 / Paginator / ListTestRunDependencies

ListTestRunDependencies

class ResilienceHubV2.Paginator.ListTestRunDependencies
paginator = client.get_paginator('list_test_run_dependencies')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ResilienceHubV2.Client.list_test_run_dependencies().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    testRunId='string',
    serviceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': '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.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.