create_location_fsx_open_zfs
¶
create_location_fsx_open_zfs(
fsx_filesystem_arn: FsxFilesystemArn,
protocol: FsxProtocol,
security_group_arns: Ec2SecurityGroupArnList,
*,
config_overrides: Optional[DataSyncClientConfig] = None,
subdirectory: Optional[FsxOpenZfsSubdirectory] = None,
tags: Optional[InputTagList] = None,
) -> CreateLocationFsxOpenZfsResponse
Creates 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.
Parameters:
-
fsx_filesystem_arn(FsxFilesystemArn) –The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
-
protocol(FsxProtocol) –The type of protocol that DataSync uses to access your file system.
-
security_group_arns(Ec2SecurityGroupArnList) –The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
-
subdirectory(Optional[FsxOpenZfsSubdirectory], default:None) –A subdirectory in the location's path that must begin with
/fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location). -
tags(Optional[InputTagList], default:None) –The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
Raises:
-
InternalException–This exception is thrown when an error occurs in the DataSync service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
UnknownServiceError–The service returned an error code this client does not model.