attached_file_metadatas
Creates, updates, deletes, gets or lists an attached_file_metadatas resource.
Overview
| Name | attached_file_metadatas |
| Type | Resource |
| Id | aws.connect.attached_file_metadatas |
Fields
The following fields are returned by SELECT queries:
- batch_get_attached_file_metadata
| Name | Datatype | Description |
|---|---|---|
errors | array | List of errors of attached files that could not be retrieved. |
files | array | List of attached files that were successfully retrieved. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
batch_get_attached_file_metadata | select | instance_id, associatedResourceArn, region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
associatedResourceArn | string | 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. |
instance_id | string | The unique identifier of the Connect instance. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- batch_get_attached_file_metadata
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
;