Skip to main content

prompt_files

Creates, updates, deletes, gets or lists a prompt_files resource.

Overview​

Nameprompt_files
TypeResource
Idaws.connect.prompt_files

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
last_modified_regionstringThe Amazon Web Services Region where this resource was last modified. (pattern: <code>[a-z]{2}(-[a-z]+){1,2}(-[0-9])?</code>)
last_modified_timestring (date-time)The timestamp when this resource was last modified.
prompt_presigned_urlstringA 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_prompt_fileselectinstance_id, prompt_id, regionGets 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.

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
prompt_idstringA unique identifier for the prompt.
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;