Module Values.PutSynchronizationConfigurationRequestSource

Creates or updates the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.

Sourcetype nonrec t = {
  1. fileSystemId : FileSystemId.t;
    (*

    The ID or Amazon Resource Name (ARN) of the S3 File System to configure synchronization for.

    *)
  2. latestVersionNumber : Integer.t option;
    (*

    The version number of the current synchronization configuration. Omit this value when creating a synchronization configuration for the first time. For subsequent updates, provide this value for optimistic concurrency control. If the version number does not match the current configuration, the request fails with a ConflictException.

    *)
  3. importDataRules : PutSynchronizationConfigurationRequestImportDataRulesList.t;
    (*

    An array of import data rules that control how data is imported from S3 into the file system.

    *)
  4. expirationDataRules : PutSynchronizationConfigurationRequestExpirationDataRulesList.t;
    (*

    An array of expiration data rules that control when cached data expires from the file system.

    *)
}
Sourceval context_ : string
Sourceval make : ?latestVersionNumber:??? -> fileSystemId:FileSystemId.t -> importDataRules:PutSynchronizationConfigurationRequestImportDataRulesList.t -> expirationDataRules: PutSynchronizationConfigurationRequestExpirationDataRulesList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of ExpirationDataRuleDaysAfterLastAccessInteger.t | `Long of ImportDataRuleSizeLessThanLong.t | `String of ImportDataRulePrefixString.t ]) list ] list | `String of FileSystemId.t ]) 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