Skip to main content

attached_file_metadatas

Creates, updates, deletes, gets or lists an attached_file_metadatas resource.

Overview

Nameattached_file_metadatas
TypeResource
Idaws.connect.attached_file_metadatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorsarrayList of errors of attached files that could not be retrieved.
filesarrayList of attached files that were successfully retrieved.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_attached_file_metadataselectinstance_id, associatedResourceArn, regionAllows you to retrieve metadata about multiple attached files on an associated resource. Each attached file provided in the input list must be associated with the input AssociatedResourceArn.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
associatedResourceArnstringThe 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.
instance_idstringThe unique identifier of the Connect instance.
regionstringAWS region (default: us-east-1)

SELECT examples

Allows you to retrieve metadata about multiple attached files on an associated resource. Each attached file provided in the input list must be associated with the input AssociatedResourceArn.

SELECT
errors,
files
FROM aws.connect.attached_file_metadatas
WHERE instance_id = '{{ instance_id }}' -- required
AND associatedResourceArn = '{{ associatedResourceArn }}' -- required
AND region = '{{ region }}' -- required
;