AmplifyGen3 / Client / get_source_upload
get_source_upload¶
- AmplifyGen3.Client.get_source_upload(**kwargs)¶
Retrieves a source upload.
See also: AWS API Documentation
Request Syntax
response = client.get_source_upload( SourceUploadId='string' )
- Parameters:
SourceUploadId (string) –
[REQUIRED]
The ID of the source upload.
- Return type:
dict
- Returns:
Response Syntax
{ 'SourceUploadId': 'string', 'ZipUpload': { 'Digest': 'string', 'UploadUrl': 'string', 'UrlExpiresAt': datetime(2015, 1, 1) }, 'CreatedAt': datetime(2015, 1, 1), 'UploadExpiresAt': datetime(2015, 1, 1), 'SizeInBytes': 123 }
Response Structure
(dict) –
SourceUploadId (string) –
The ID of the source upload.
ZipUpload (dict) –
The .zip file upload information.
Digest (string) –
The digest of the uploaded .zip file.
UploadUrl (string) –
The presigned URL to upload the .zip file to.
UrlExpiresAt (datetime) –
The time at which the URL expires. The value is in ISO-8601 format.
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.
Exceptions
AmplifyGen3.Client.exceptions.ThrottlingExceptionAmplifyGen3.Client.exceptions.AccessDeniedExceptionAmplifyGen3.Client.exceptions.ResourceNotFoundExceptionAmplifyGen3.Client.exceptions.ValidationExceptionAmplifyGen3.Client.exceptions.InternalServerException