prompt_files
Creates, updates, deletes, gets or lists a prompt_files resource.
Overview
| Name | prompt_files |
| Type | Resource |
| Id | aws.connect.prompt_files |
Fields
The following fields are returned by SELECT queries:
- get_prompt_file
| Name | Datatype | Description |
|---|---|---|
last_modified_region | string | The Amazon Web Services Region where this resource was last modified. (pattern: <code>[a-z]{2}(-[a-z]+){1,2}(-[0-9])?</code>) |
last_modified_time | string (date-time) | The timestamp when this resource was last modified. |
prompt_presigned_url | string | A generated URL to the prompt that can be given to an unauthorized user so they can access the prompt in S3. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_prompt_file | select | instance_id, prompt_id, region | Gets the prompt file. |
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 |
|---|---|---|
instance_id | string | The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. |
prompt_id | string | A unique identifier for the prompt. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_prompt_file
Gets the prompt file.
SELECT
last_modified_region,
last_modified_time,
prompt_presigned_url
FROM aws.connect.prompt_files
WHERE instance_id = '{{ instance_id }}' -- required
AND prompt_id = '{{ prompt_id }}' -- required
AND region = '{{ region }}' -- required
;