Skip to content

Deletes an attached file along with the underlying S3 Object

Description

Deletes an attached file along with the underlying S3 Object.

The attached file is permanently deleted if S3 bucket versioning is not enabled.

Usage

connect_delete_attached_file(InstanceId, FileId, AssociatedResourceArn)

Arguments

  • InstanceId

    [required] The unique identifier of the Connect instance.

  • FileId

    [required] The unique identifier of the attached file resource.

  • AssociatedResourceArn

    [required] The resource to which the attached file is (being) uploaded to. The supported resources are Cases, Email, and Task.

    This value must be a valid ARN.

Value

An empty list.

Request syntax

svc$delete_attached_file(
  InstanceId = "string",
  FileId = "string",
  AssociatedResourceArn = "string"
)