ECR / Paginator / DescribeReplicationBackfillResults

DescribeReplicationBackfillResults

class ECR.Paginator.DescribeReplicationBackfillResults
paginator = client.get_paginator('describe_replication_backfill_results')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ECR.Client.describe_replication_backfill_results().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    registryId='string',
    replicationBackfillId='string',
    resultStatusFilter='COMPLETE'|'FAILED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • registryId (string) – The Amazon Web Services account ID associated with the registry that contains the replication backfill to describe. If you do not specify a registry, the default registry is assumed.

  • replicationBackfillId (string) –

    [REQUIRED]

    The ID of the replication backfill to describe.

  • resultStatusFilter (string) – The status used to filter the returned results. Each result has a status of COMPLETE or FAILED. If you omit this parameter, results with both statuses are returned.

  • 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

{
    'registryId': 'string',
    'replicationBackfillId': 'string',
    'destination': {
        'region': 'string',
        'registryId': 'string'
    },
    'status': 'PREPARING'|'IN_PROGRESS'|'COMPLETE'|'FAILED'|'STOPPING'|'STOPPED',
    'failureCode': 'string',
    'progress': {
        'totalReplicationCount': 123,
        'completedReplicationCount': 123,
        'failedReplicationCount': 123,
        'failureCodes': [
            'string',
        ]
    },
    'results': [
        {
            'repositoryName': 'string',
            'imageId': {
                'imageDigest': 'string',
                'imageTag': 'string'
            },
            'status': 'COMPLETE'|'FAILED',
            'failureCode': 'string',
            'subImageFailureCodes': [
                'string',
            ]
        },
    ],
    'startedAt': datetime(2015, 1, 1),
    'endedAt': datetime(2015, 1, 1),
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • registryId (string) –

      The registry ID associated with the request.

    • replicationBackfillId (string) –

      The ID of the replication backfill.

    • destination (dict) –

      The destination Region and registry to which the images are replicated.

      • region (string) –

        The Region to replicate to.

      • registryId (string) –

        The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.

    • status (string) –

      The current status of the replication backfill.

    • failureCode (string) –

      The failure code for a replication backfill that has failed.

    • progress (dict) –

      The progress of the replication backfill, including the total, completed, and failed replication counts. This value is null until the replication backfill finishes preparing the set of images to replicate. It is therefore null while the replication backfill is PREPARING, and remains null if the replication backfill is stopped before preparation completes.

      • totalReplicationCount (integer) –

        The total number of replications that the backfill will perform. Each image and tag combination is counted as a single replication.

      • completedReplicationCount (integer) –

        The number of replications that have completed successfully.

      • failedReplicationCount (integer) –

        The number of replications that have failed.

      • failureCodes (list) –

        The distinct failure codes for the replications that have failed. Each failure code appears at most once, regardless of how many replications failed with that code.

        • (string) –

    • results (list) –

      The per-image results for the replication backfill. Results are available only after the replication backfill reaches a terminal status.

      • (dict) –

        An object representing the result of a single replication during a replication backfill. Each image and tag combination is replicated as a single replication.

        • repositoryName (string) –

          The name of the repository that contains the image.

        • imageId (dict) –

          An object with identifying information for the image.

          • imageDigest (string) –

            The sha256 digest of the image manifest.

          • imageTag (string) –

            The tag used for the image.

        • status (string) –

          The replication status of the image.

        • failureCode (string) –

          The failure code for a replication that has failed.

        • subImageFailureCodes (list) –

          The distinct failure codes for the images referenced by a manifest list that failed to replicate. Each failure code appears at most once, regardless of how many referenced images failed with that code. This field is present only when the image is a manifest list.

          • (string) –

    • startedAt (datetime) –

      The date and time, in JavaScript date format, when the replication backfill was started.

    • endedAt (datetime) –

      The date and time, in JavaScript date format, when the replication backfill ended. This value is null while the replication backfill is still in progress.

    • NextToken (string) –

      A token to resume pagination.