AmplifyGen3 / Client / list_source_uploads

list_source_uploads

AmplifyGen3.Client.list_source_uploads(**kwargs)

Returns a list of the source uploads in the account.

See also: AWS API Documentation

Request Syntax

response = client.list_source_uploads(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of results to return in a single response.

  • NextToken (string) – The pagination token returned in a previous response, used to retrieve the next page of results.

Return type:

dict

Returns:

Response Syntax

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

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.

    • NextToken (string) –

      The pagination token returned in a previous response, used to retrieve the next page of results.

Exceptions

  • AmplifyGen3.Client.exceptions.ThrottlingException

  • AmplifyGen3.Client.exceptions.AccessDeniedException

  • AmplifyGen3.Client.exceptions.ValidationException

  • AmplifyGen3.Client.exceptions.InternalServerException