DataRepositoryTask
A description of the data repository task.
-
You use import and export data repository tasks to perform bulk transfer operations between an Amazon FSx for Lustre file system and a linked data repository.
-
You use release data repository tasks to release files that have been exported to a linked S3 bucket from your Amazon FSx for Lustre file system.
-
An Amazon File Cache resource uses a task to automatically release files from the cache.
To learn more about data repository tasks, see Data Repository Tasks.
Contents
- CreationTime
-
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
Type: Timestamp
Required: Yes
- Lifecycle
-
The lifecycle status of the data repository task, as follows:
-
PENDING
- The task has not started. -
EXECUTING
- The task is in process. -
FAILED
- The task was not able to be completed. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures. -
SUCCEEDED
- The task has completed successfully. -
CANCELED
- The task was canceled and it did not complete. -
CANCELING
- The task is in process of being canceled.
Note
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the
PENDING
orEXECUTING
states. Please retry when the data repository task is finished (with a status ofCANCELED
,SUCCEEDED
, orFAILED
). You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.Type: String
Valid Values:
PENDING | EXECUTING | FAILED | SUCCEEDED | CANCELED | CANCELING
Required: Yes
-
- TaskId
-
The system-generated, unique 17-digit ID of the data repository task.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 128.
Pattern:
^(task-[0-9a-f]{17,})$
Required: Yes
- Type
-
The type of data repository task.
-
EXPORT_TO_REPOSITORY
tasks export from your Amazon FSx for Lustre file system to a linked data repository. -
IMPORT_METADATA_FROM_REPOSITORY
tasks import metadata changes from a linked S3 bucket to your Amazon FSx for Lustre file system. -
RELEASE_DATA_FROM_FILESYSTEM
tasks release files in your Amazon FSx for Lustre file system that have been exported to a linked S3 bucket and that meet your specified release criteria. -
AUTO_RELEASE_DATA
tasks automatically release files from an Amazon File Cache resource.
Type: String
Valid Values:
EXPORT_TO_REPOSITORY | IMPORT_METADATA_FROM_REPOSITORY | RELEASE_DATA_FROM_FILESYSTEM | AUTO_RELEASE_DATA
Required: Yes
-
- CapacityToRelease
-
Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
Type: Long
Valid Range: Minimum value of 1. Maximum value of 2147483647.
Required: No
- EndTime
-
The time the system completed processing the task, populated after the task is complete.
Type: Timestamp
Required: No
- FailureDetails
-
Failure message describing why the task failed, it is populated only when
Lifecycle
is set toFAILED
.Type: DataRepositoryTaskFailureDetails object
Required: No
- FileCacheId
-
The system-generated, unique ID of the cache.
Type: String
Length Constraints: Minimum length of 11. Maximum length of 21.
Pattern:
^(fc-[0-9a-f]{8,})$
Required: No
- FileSystemId
-
The globally unique ID of the file system.
Type: String
Length Constraints: Minimum length of 11. Maximum length of 21.
Pattern:
^(fs-[0-9a-f]{8,})$
Required: No
- Paths
-
An array of paths that specify the data for the data repository task to process. For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.
(Default) If
Paths
is not specified, Amazon FSx uses the file system root directory.Type: Array of strings
Array Members: Maximum number of 100 items.
Length Constraints: Minimum length of 0. Maximum length of 4096.
Pattern:
^[^\u0000\u0085\u2028\u2029\r\n]{0,4096}$
Required: No
- ReleaseConfiguration
-
The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.
Type: ReleaseConfiguration object
Required: No
- Report
-
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 reportPath
parameter. You can specify whether or not a report gets generated for a task using theEnabled
parameter.Type: CompletionReport object
Required: No
- ResourceARN
-
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify AWS resources. We require an ARN when you need to specify a resource unambiguously across all of AWS. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
Type: String
Length Constraints: Minimum length of 8. Maximum length of 512.
Pattern:
^arn:(?=[^:]+:fsx:[^:]+:\d{12}:)((|(?=[a-z0-9-.]{1,63})(?!\d{1,3}(\.\d{1,3}){3})(?![^:]*-{2})(?![^:]*-\.)(?![^:]*\.-)[a-z0-9].*(?<!-)):){4}(?!/).{0,1024}$
Required: No
- StartTime
-
The time the system began processing the task.
Type: Timestamp
Required: No
- Status
-
Provides the status of the number of files that the task has processed successfully and failed to process.
Type: DataRepositoryTaskStatus object
Required: No
- Tags
-
A list of
Tag
values, with a maximum of 50 elements.Type: Array of Tag objects
Array Members: Minimum number of 1 item. Maximum number of 50 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: