Connect / Client / complete_attached_file_upload

complete_attached_file_upload#

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

Request Syntax

response = client.complete_attached_file_upload(
    InstanceId='string',
    FileId='string',
    AssociatedResourceArn='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The unique identifier of the Connect instance.

  • FileId (string) –

    [REQUIRED]

    The unique identifier of the attached file resource.

  • AssociatedResourceArn (string) –

    [REQUIRED]

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    Note

    This value must be a valid ARN.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) – Response from CompleteAttachedFileUpload API

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException