Class: Aws::FSx::Types::CreateDataRepositoryTaskRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fsx/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_to_releaseInteger

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.

Returns:

  • (Integer)


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#file_system_idString

The globally unique ID of the file system, assigned by Amazon FSx.

Returns:

  • (String)


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#pathsArray<String>

A list of paths for the data repository task to use when the task is processed. If a path that you provide isn’t valid, the task fails.

  • For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the Amazon S3 bucket. 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`.

  • For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format ‘s3://myBucket/myPrefix` (where `myPrefix` is optional).

Returns:

  • (Array<String>)


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#reportTypes::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].

[1]: docs.aws.amazon.com/fsx/latest/LustreGuide/task-completion-report.html



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of ‘Tag` values, with a maximum of 50 elements.

Returns:



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Specifies the type of data repository task to create.

Returns:

  • (String)


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
# File 'lib/aws-sdk-fsx/types.rb', line 1031

class CreateDataRepositoryTaskRequest < Struct.new(
  :type,
  :paths,
  :file_system_id,
  :report,
  :client_request_token,
  :tags,
  :capacity_to_release)
  SENSITIVE = []
  include Aws::Structure
end