Smaws_Client_DataSync.CreateLocationFsxOpenZfsCreates a transfer location for an Amazon FSx for OpenZFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for OpenZFS file systems.
Request parameters related to SMB aren't supported with the CreateLocationFsxOpenZfs operation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalException of Types.internal_exception
| `InvalidRequestException of Types.invalid_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_location_fsx_open_zfs_request ->
(Types.create_location_fsx_open_zfs_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalException of Types.internal_exception
| `InvalidRequestException of Types.invalid_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_location_fsx_open_zfs_request ->
(Types.create_location_fsx_open_zfs_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalException of Types.internal_exception
| `InvalidRequestException of Types.invalid_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result