Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataRepositoryTask

import type { DataRepositoryTask } from "https://aws-api.deno.dev/v0.4/services/fsx.ts?docs=full";

A description of the data repository task. You use data repository tasks to perform bulk transfer operations between an Amazon FSx for Lustre file system and a linked data repository. An Amazon File Cache resource uses a task to automatically release files from the cache.

interface DataRepositoryTask {
CapacityToRelease?: number | null;
CreationTime: Date | number;
EndTime?: Date | number | null;
FailureDetails?: DataRepositoryTaskFailureDetails | null;
FileCacheId?: string | null;
FileSystemId?: string | null;
Paths?: string[] | null;
Report?: CompletionReport | null;
ResourceARN?: string | null;
StartTime?: Date | number | null;
Status?: DataRepositoryTaskStatus | null;
Tags?: Tag[] | null;
TaskId: string;
}

§Properties

§
CapacityToRelease?: number | null
[src]

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.

§
CreationTime: Date | number
[src]
§
EndTime?: Date | number | null
[src]

The time the system completed processing the task, populated after the task is complete.

§

Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

§
FileCacheId?: string | null
[src]

The system-generated, unique ID of the cache.

§
FileSystemId?: string | null
[src]

The globally unique ID of the file system.

§

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 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?: string[] | null
[src]

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.

§
Report?: CompletionReport | null
[src]
§
ResourceARN?: string | null
[src]
§
StartTime?: Date | number | null
[src]

The time the system began processing the task.

§

Provides the status of the number of files that the task has processed successfully and failed to process.

§
Tags?: Tag[] | null
[src]
§
TaskId: string
[src]

The system-generated, unique 17-digit ID of the data repository task.

§

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.
  • AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.