Skip to content

Update Data Repository Association

fsx_update_data_repository_association R Documentation

Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system

Description

Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1 deployment type.

Usage

fsx_update_data_repository_association(AssociationId,
  ClientRequestToken, ImportedFileChunkSize, S3)

Arguments

AssociationId

[required] The ID of the data repository association that you are updating.

ClientRequestToken
ImportedFileChunkSize

For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.

S3

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

Value

A list with the following syntax:

list(
  Association = list(
    AssociationId = "string",
    ResourceARN = "string",
    FileSystemId = "string",
    Lifecycle = "CREATING"|"AVAILABLE"|"MISCONFIGURED"|"UPDATING"|"DELETING"|"FAILED",
    FailureDetails = list(
      Message = "string"
    ),
    FileSystemPath = "string",
    DataRepositoryPath = "string",
    BatchImportMetaDataOnCreate = TRUE|FALSE,
    ImportedFileChunkSize = 123,
    S3 = list(
      AutoImportPolicy = list(
        Events = list(
          "NEW"|"CHANGED"|"DELETED"
        )
      ),
      AutoExportPolicy = list(
        Events = list(
          "NEW"|"CHANGED"|"DELETED"
        )
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    FileCacheId = "string",
    FileCachePath = "string",
    DataRepositorySubdirectories = list(
      "string"
    ),
    NFS = list(
      Version = "NFS3",
      DnsIps = list(
        "string"
      ),
      AutoExportPolicy = list(
        Events = list(
          "NEW"|"CHANGED"|"DELETED"
        )
      )
    )
  )
)

Request syntax

svc$update_data_repository_association(
  AssociationId = "string",
  ClientRequestToken = "string",
  ImportedFileChunkSize = 123,
  S3 = list(
    AutoImportPolicy = list(
      Events = list(
        "NEW"|"CHANGED"|"DELETED"
      )
    ),
    AutoExportPolicy = list(
      Events = list(
        "NEW"|"CHANGED"|"DELETED"
      )
    )
  )
)