mgn / Paginator / ListWaves

ListWaves#

class mgn.Paginator.ListWaves#
paginator = client.get_paginator('list_waves')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from mgn.Client.list_waves().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    accountID='string',
    filters={
        'isArchived': True|False,
        'waveIDs': [
            'string',
        ]
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • accountID (string) – Request account ID.

  • filters (dict) –

    Waves list filters.

    • isArchived (boolean) –

      Filter waves list by archival status.

    • waveIDs (list) –

      Filter waves list by wave ID.

      • (string) –

  • 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

{
    'items': [
        {
            'arn': 'string',
            'creationDateTime': 'string',
            'description': 'string',
            'isArchived': True|False,
            'lastModifiedDateTime': 'string',
            'name': 'string',
            'tags': {
                'string': 'string'
            },
            'waveAggregatedStatus': {
                'healthStatus': 'HEALTHY'|'LAGGING'|'ERROR',
                'lastUpdateDateTime': 'string',
                'progressStatus': 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED',
                'replicationStartedDateTime': 'string',
                'totalApplications': 123
            },
            'waveID': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Waves list.

      • (dict) –

        • arn (string) –

          Wave ARN.

        • creationDateTime (string) –

          Wave creation dateTime.

        • description (string) –

          Wave description.

        • isArchived (boolean) –

          Wave archival status.

        • lastModifiedDateTime (string) –

          Wave last modified dateTime.

        • name (string) –

          Wave name.

        • tags (dict) –

          Wave tags.

          • (string) –

            • (string) –

        • waveAggregatedStatus (dict) –

          Wave aggregated status.

          • healthStatus (string) –

            Wave aggregated status health status.

          • lastUpdateDateTime (string) –

            Wave aggregated status last update dateTime.

          • progressStatus (string) –

            Wave aggregated status progress status.

          • replicationStartedDateTime (string) –

            DateTime marking when the first source server in the wave started replication.

          • totalApplications (integer) –

            Wave aggregated status total applications amount.

        • waveID (string) –

          Wave ID.

    • NextToken (string) –

      A token to resume pagination.