AuditManager / Client / get_evidence_file_upload_url

get_evidence_file_upload_url#

AuditManager.Client.get_evidence_file_upload_url(**kwargs)#

Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.

The following restrictions apply to this operation:

  • Maximum size of an individual evidence file: 100 MB

  • Number of daily manual evidence uploads per control: 100

  • Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide

For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.

See also: AWS API Documentation

Request Syntax

response = client.get_evidence_file_upload_url(
    fileName='string'
)
Parameters:

fileName (string) –

[REQUIRED]

The file that you want to upload. For a list of supported file formats, see Supported file types for manual evidence in the Audit Manager User Guide.

Return type:

dict

Returns:

Response Syntax

{
    'evidenceFileName': 'string',
    'uploadUrl': 'string'
}

Response Structure

  • (dict) –

    • evidenceFileName (string) –

      The name of the uploaded manual evidence file that the presigned URL was generated for.

    • uploadUrl (string) –

      The presigned URL that was generated.

Exceptions

  • AuditManager.Client.exceptions.ValidationException

  • AuditManager.Client.exceptions.AccessDeniedException

  • AuditManager.Client.exceptions.InternalServerException

  • AuditManager.Client.exceptions.ThrottlingException