AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates an Amazon FSx for Lustre data repository task. A CreateDataRepositoryTask operation will fail if a data repository is not linked to the FSx file system.

You use import and export data repository tasks to perform bulk operations between your FSx for Lustre file system and its linked data repositories. An example of a data repository task is exporting any data and metadata changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) from your FSx file system to a linked data repository.

You use release data repository tasks to release data from your file system for files that are exported to S3. The metadata of released files remains on the file system so users or applications can still access released files by reading the files again, which will restore data from Amazon S3 to the FSx for Lustre file system.

To learn more about data repository tasks, see Data Repository Tasks. To learn more about linking a data repository to your file system, see Linking your file system to an S3 bucket.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateDataRepositoryTaskAsync.

Namespace: Amazon.FSx
Assembly: AWSSDK.FSx.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreateDataRepositoryTaskResponse CreateDataRepositoryTask(
         CreateDataRepositoryTaskRequest request
)

Parameters

request
Type: Amazon.FSx.Model.CreateDataRepositoryTaskRequest

Container for the necessary parameters to execute the CreateDataRepositoryTask service method.

Return Value


The response from the CreateDataRepositoryTask service method, as returned by FSx.

Exceptions

ExceptionCondition
BadRequestException A generic error indicating a failure with a client request.
DataRepositoryTaskExecutingException An existing data repository task is currently executing on the file system. Wait until the existing task has completed, then create the new task.
FileSystemNotFoundException No Amazon FSx file systems were found based upon supplied parameters.
IncompatibleParameterErrorException The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
InternalServerErrorException A generic error indicating a server-side failure.
ServiceLimitExceededException An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
UnsupportedOperationException The requested operation is not supported for this resource or API.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also