AmplifyGen3 / Paginator / ListSourceUploads

ListSourceUploads

class AmplifyGen3.Paginator.ListSourceUploads
paginator = client.get_paginator('list_source_uploads')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AmplifyGen3.Client.list_source_uploads().

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

{
    'SourceUploads': [
        {
            'SourceUploadId': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'UploadExpiresAt': datetime(2015, 1, 1),
            'SizeInBytes': 123
        },
    ],

}

Response Structure

  • (dict) –

    • SourceUploads (list) –

      The source uploads.

      • (dict) –

        Summary information for a source upload.

        • SourceUploadId (string) –

          The ID of the source upload.

        • CreatedAt (datetime) –

          The time at which the source upload was created. The value is in ISO-8601 format.

        • UploadExpiresAt (datetime) –

          The time at which the upload expires. The value is in ISO-8601 format.

        • SizeInBytes (integer) –

          The size of the source upload, in bytes.