:doc:`AuditManager <../../auditmanager>` / Client / get_evidence_file_upload_url

****************************
get_evidence_file_upload_url
****************************



.. py:method:: 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 <https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files>`__ 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 <https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files>`__ in the *Audit Manager User Guide*
  

   

  For more information about Audit Manager service restrictions, see `Quotas and restrictions for Audit Manager <https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl>`_  


  **Request Syntax**
  ::

    response = client.get_evidence_file_upload_url(
        fileName='string'
    )
    
  :type fileName: string
  :param fileName: **[REQUIRED]** 

    The file that you want to upload. For a list of supported file formats, see `Supported file types for manual evidence <https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files>`__ in the *Audit Manager User Guide*.

    

  
  
  :rtype: 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**
  
  *   :py:class:`AuditManager.Client.exceptions.ValidationException`

  
  *   :py:class:`AuditManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AuditManager.Client.exceptions.InternalServerException`

  
  *   :py:class:`AuditManager.Client.exceptions.ThrottlingException`

  