Values.CreateDataRepositoryAssociationResponseSourceCreates 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.
type nonrec t = {association : DataRepositoryAssociation.t option;The response object returned after the data repository association is created.
*)}type nonrec error = [ | `BadRequest of BadRequest.t| `FileSystemNotFound of FileSystemNotFound.t| `IncompatibleParameterError of IncompatibleParameterError.t| `InternalServerError of InternalServerError.t| `ServiceLimitExceeded of ServiceLimitExceeded.t| `UnsupportedOperation of UnsupportedOperation.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val 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 ]