DataRepositoryTask
¶
Source code in docs_src/capo_fsx/types/data_repository_task.py
capacity_to_release
instance-attribute
¶
capacity_to_release: NotRequired[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.
end_time
instance-attribute
¶
end_time: NotRequired[EndTime]
The time the system completed processing the task, populated after the task is complete.
failure_details
instance-attribute
¶
failure_details: NotRequired[DataRepositoryTaskFailureDetails]
Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.
file_cache_id
instance-attribute
¶
file_cache_id: NotRequired[FileCacheId]
The system-generated, unique ID of the cache.
file_system_id
instance-attribute
¶
file_system_id: NotRequired[FileSystemId]
The globally unique ID of the file system.
lifecycle
instance-attribute
¶
lifecycle: NotRequired[DataRepositoryTaskLifecycle]
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.
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the PENDING or EXECUTING states. Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.
paths
instance-attribute
¶
paths: NotRequired[DataRepositoryTaskPaths]
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.
release_configuration
instance-attribute
¶
release_configuration: NotRequired[ReleaseConfiguration]
The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.
start_time
instance-attribute
¶
start_time: NotRequired[StartTime]
The time the system began processing the task.
status
instance-attribute
¶
status: NotRequired[DataRepositoryTaskStatus]
Provides the status of the number of files that the task has processed successfully and failed to process.
task_id
instance-attribute
¶
task_id: NotRequired[TaskId]
The system-generated, unique 17-digit ID of the data repository task.
type
instance-attribute
¶
type: NotRequired[DataRepositoryTaskType]
The type of data repository task.
-
EXPORT_TO_REPOSITORYtasks export from your Amazon FSx for Lustre file system to a linked data repository. -
IMPORT_METADATA_FROM_REPOSITORYtasks import metadata changes from a linked S3 bucket to your Amazon FSx for Lustre file system. -
RELEASE_DATA_FROM_FILESYSTEMtasks 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_DATAtasks automatically release files from an Amazon File Cache resource.