Skip to main content

file_transfer_results

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

Overview

Namefile_transfer_results
TypeResource
Idaws.transfer.file_transfer_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
failure_codestringFor transfers that fail, this parameter contains a code indicating the reason. For example, RETRIEVE_FILE_NOT_FOUND
failure_messagestringFor transfers that fail, this parameter describes the reason for the failure.
file_pathstringThe filename and path to where the file was sent to or retrieved from. (pattern: <code>(.)+</code>)
status_codestringThe current status for the transfer. (QUEUED, IN_PROGRESS, COMPLETED, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_file_transfer_resultsselectregionReturns real-time updates and detailed information on the status of each individual file being transferred in a specific file transfer operation. You specify the file transfer by providing its ConnectorId and its TransferId. File transfer results are available up to 7 days after an operation has been requested.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Returns real-time updates and detailed information on the status of each individual file being transferred in a specific file transfer operation. You specify the file transfer by providing its ConnectorId and its TransferId. File transfer results are available up to 7 days after an operation has been requested.

SELECT
failure_code,
failure_message,
file_path,
status_code
FROM aws.transfer.file_transfer_results
WHERE region = '{{ region }}' -- required
;