:doc:`Connect <../../connect>` / Client / complete_attached_file_upload

*****************************
complete_attached_file_upload
*****************************



.. py:method:: Connect.Client.complete_attached_file_upload(**kwargs)

  

  Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CompleteAttachedFileUpload>`_  


  **Request Syntax**
  ::

    response = client.complete_attached_file_upload(
        InstanceId='string',
        FileId='string',
        AssociatedResourceArn='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The unique identifier of the Amazon Connect instance.

    

  
  :type FileId: string
  :param FileId: **[REQUIRED]** 

    The unique identifier of the attached file resource.

    

  
  :type AssociatedResourceArn: string
  :param AssociatedResourceArn: **[REQUIRED]** 

    The resource to which the attached file is (being) uploaded to. The supported resources are `Cases <https://docs.aws.amazon.com/connect/latest/adminguide/cases.html>`__ and `Email <https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html>`__.

     

    .. note::

      

      This value must be a valid ARN.

      

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* Response from CompleteAttachedFileUpload API
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

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

  