Skip to content

Update File Cache

fsx_update_file_cache R Documentation

Updates the configuration of an existing Amazon File Cache resource

Description

Updates the configuration of an existing Amazon File Cache resource. You can update multiple properties in a single request.

Usage

fsx_update_file_cache(FileCacheId, ClientRequestToken,
  LustreConfiguration)

Arguments

FileCacheId

[required] The ID of the cache that you are updating.

ClientRequestToken
LustreConfiguration

The configuration updates for an Amazon File Cache resource.

Value

A list with the following syntax:

list(
  FileCache = list(
    OwnerId = "string",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    FileCacheId = "string",
    FileCacheType = "LUSTRE",
    FileCacheTypeVersion = "string",
    Lifecycle = "AVAILABLE"|"CREATING"|"DELETING"|"UPDATING"|"FAILED",
    FailureDetails = list(
      Message = "string"
    ),
    StorageCapacity = 123,
    VpcId = "string",
    SubnetIds = list(
      "string"
    ),
    NetworkInterfaceIds = list(
      "string"
    ),
    DNSName = "string",
    KmsKeyId = "string",
    ResourceARN = "string",
    LustreConfiguration = list(
      PerUnitStorageThroughput = 123,
      DeploymentType = "CACHE_1",
      MountName = "string",
      WeeklyMaintenanceStartTime = "string",
      MetadataConfiguration = list(
        StorageCapacity = 123
      ),
      LogConfiguration = list(
        Level = "DISABLED"|"WARN_ONLY"|"ERROR_ONLY"|"WARN_ERROR",
        Destination = "string"
      )
    ),
    DataRepositoryAssociationIds = list(
      "string"
    )
  )
)

Request syntax

svc$update_file_cache(
  FileCacheId = "string",
  ClientRequestToken = "string",
  LustreConfiguration = list(
    WeeklyMaintenanceStartTime = "string"
  )
)