MediaConvert / Paginator / ListVersions

ListVersions#

class MediaConvert.Paginator.ListVersions#
paginator = client.get_paginator('list_versions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MediaConvert.Client.list_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'Versions': [
        {
            'ExpirationDate': datetime(2015, 1, 1),
            'Version': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Versions (list) – Retrieve a JSON array of all available Job engine versions and the date they expire.

      • (dict) – Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. Job engine versions are in a YYYY-MM-DD format.

        • ExpirationDate (datetime) – The date that this Job engine version expires. Requests to create jobs with an expired version result in a regular job, as if no specific Job engine version was requested.

        • Version (string) – Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. Job engine versions are in a YYYY-MM-DD format.