Module Values.UpdateFileSystemProtectionRequestSource

Updates protection on the file system. This operation requires permissions for the elasticfilesystem:UpdateFileSystemProtection action.

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

    The ID of the file system to update.

    *)
  2. replicationOverwriteProtection : ReplicationOverwriteProtection.t option;
    (*

    The status of the file system's replication overwrite protection. ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default. DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication. If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable.

    *)
}
Sourceval context_ : string
Sourceval make : ?replicationOverwriteProtection:??? -> fileSystemId:FileSystemId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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