CompletionReport class
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.
Constructors
- CompletionReport({required bool enabled, ReportFormat? format, String? path, ReportScope? scope})
-
CompletionReport.fromJson(Map<
String, dynamic> json) -
factory
Properties
- enabled → bool
-
Set
Enabled
toTrue
to generate aCompletionReport
when the task completes. If set totrue
, then you need to provide a reportScope
,Path
, andFormat
. SetEnabled
toFalse
if you do not want aCompletionReport
generated when the task completes.final - format → ReportFormat?
-
Required if
Enabled
is set totrue
. Specifies the format of theCompletionReport
.REPORT_CSV_20191124
is the only format currently supported. WhenFormat
is set toREPORT_CSV_20191124
, theCompletionReport
is provided in CSV format, and is delivered to{path}/task-{id}/failures.csv
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- path → String?
-
Required if
Enabled
is 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. ThePath
you provide must be located within the file system’s ExportPath. An examplePath
value is "s3://myBucket/myExportPath/optionalPrefix". The report provides the following information for each file in the report: FilePath, FileStatus, and ErrorCode. To learn more about a file system'sExportPath
, see .final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → ReportScope?
-
Required if
Enabled
is set totrue
. Specifies the scope of theCompletionReport
;FAILED_FILES_ONLY
is the only scope currently supported. WhenScope
is set toFAILED_FILES_ONLY
, theCompletionReport
only contains information about files that the data repository task failed to process.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited