Skip to content

Delete Attached File

connect_delete_attached_file R Documentation

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. Cases are the only current supported resource.

This value must be a valid ARN.

Value

An empty list.

Request syntax

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