The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::FSX::CreateDataRepositoryTask - Arguments for method CreateDataRepositoryTask on Paws::FSX

DESCRIPTION

This class represents the parameters used for calling the method CreateDataRepositoryTask on the Amazon FSx service. Use the attributes of this class as arguments to method CreateDataRepositoryTask.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataRepositoryTask.

SYNOPSIS

    my $fsx = Paws->service('FSX');
    my $CreateDataRepositoryTaskResponse = $fsx->CreateDataRepositoryTask(
      FileSystemId => 'MyFileSystemId',
      Report       => {
        Enabled => 1,
        Format => 'REPORT_CSV_20191124', # values: REPORT_CSV_20191124; OPTIONAL
        Path   => 'MyArchivePath',       # min: 3, max: 4357; OPTIONAL
        Scope  => 'FAILED_FILES_ONLY',   # values: FAILED_FILES_ONLY; OPTIONAL
      },
      Type               => 'EXPORT_TO_REPOSITORY',
      ClientRequestToken => 'MyClientRequestToken',    # OPTIONAL
      Paths              => [
        'MyDataRepositoryTaskPath', ...                # max: 4096
      ],    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $DataRepositoryTask =
      $CreateDataRepositoryTaskResponse->DataRepositoryTask;

    # Returns a L<Paws::FSX::CreateDataRepositoryTaskResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/fsx/CreateDataRepositoryTask

ATTRIBUTES

ClientRequestToken => Str

REQUIRED FileSystemId => Str

Paths => ArrayRef[Str|Undef]

(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. The default path is the file system root directory. The paths you provide need to be relative to the mount point of the file system. If the mount point is /mnt/fsx and /mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to provide is path1. If a path that you provide isn't valid, the task fails.

REQUIRED Report => Paws::FSX::CompletionReport

Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the Scope parameter. For more information, see Working with Task Completion Reports (https://docs.aws.amazon.com/fsx/latest/LustreGuide/task-completion-report.html).

Tags => ArrayRef[Paws::FSX::Tag]

REQUIRED Type => Str

Specifies the type of data repository task to create.

Valid values are: "EXPORT_TO_REPOSITORY"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDataRepositoryTask in Paws::FSX

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues