Module Values.CreateDataRepositoryAssociationResponseSource

Creates an Amazon FSx for Lustre data repository association (DRA). A data repository association is a link between a directory on the file system and an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository associations on a file system. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1 deployment type. Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see Linking your file system to an S3 bucket. CreateDataRepositoryAssociation isn't supported on Amazon File Cache resources. To create a DRA on Amazon File Cache, use the CreateFileCache operation.

Sourcetype nonrec t = {
  1. association : DataRepositoryAssociation.t option;
    (*

    The response object returned after the data repository association is created.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequest of BadRequest.t
  2. | `FileSystemNotFound of FileSystemNotFound.t
  3. | `IncompatibleParameterError of IncompatibleParameterError.t
  4. | `InternalServerError of InternalServerError.t
  5. | `ServiceLimitExceeded of ServiceLimitExceeded.t
  6. | `UnsupportedOperation of UnsupportedOperation.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?association:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequest of BadRequest.t | `FileSystemNotFound of FileSystemNotFound.t | `IncompatibleParameterError of IncompatibleParameterError.t | `InternalServerError of InternalServerError.t | `ServiceLimitExceeded of ServiceLimitExceeded.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequest of BadRequest.t | `FileSystemNotFound of FileSystemNotFound.t | `IncompatibleParameterError of IncompatibleParameterError.t | `InternalServerError of InternalServerError.t | `ServiceLimitExceeded of ServiceLimitExceeded.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of BatchImportMetaDataOnCreate.t | `Enum of string | `Integer of Megabytes.t | `List of [> `String of Namespace.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of DataRepositoryAssociationId.t | `Structure of (string * [> `Enum of string | `List of [> `String of IpAddress.t ] list | `String of ErrorMessage.t | `Structure of (string * [> `List of [> `Enum of string ] list ]) list ]) list | `Timestamp of CreationTime.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t