CompletionReport
Provides a report detailing the data repository task results of the files processed that match the criteria specified in the report Scope parameter.
FSx delivers the report to the file system's linked data repository in Amazon S3,
using the path specified in the report Path parameter.
You can specify whether or not a report gets generated for a task using the Enabled parameter.
Contents
- Enabled
-
Set
EnabledtoTrueto generate aCompletionReportwhen the task completes. If set totrue, then you need to provide a reportScope,Path, andFormat. SetEnabledtoFalseif you do not want aCompletionReportgenerated when the task completes.Type: Boolean
Required: Yes
- Format
-
Required if
Enabledis set totrue. Specifies the format of theCompletionReport.REPORT_CSV_20191124is the only format currently supported. WhenFormatis set toREPORT_CSV_20191124, theCompletionReportis provided in CSV format, and is delivered to{path}/task-{id}/failures.csv.Type: String
Valid Values:
REPORT_CSV_20191124Required: No
- Path
-
Required if
Enabledis set totrue. Specifies the location of the report on the file system's linked S3 data repository. An absolute path that defines where the completion report will be stored in the destination location. ThePathyou provide must be located within the file system’s ExportPath. An examplePathvalue is "s3://amzn-s3-demo-bucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode.Type: String
Length Constraints: Minimum length of 3. Maximum length of 4357.
Pattern:
^[^\u0000\u0085\u2028\u2029\r\n]{3,4357}$Required: No
- Scope
-
Required if
Enabledis set totrue. Specifies the scope of theCompletionReport;FAILED_FILES_ONLYis the only scope currently supported. WhenScopeis set toFAILED_FILES_ONLY, theCompletionReportonly contains information about files that the data repository task failed to process.Type: String
Valid Values:
FAILED_FILES_ONLYRequired: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: