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.
Source code in docs_src/capo_datasync/_services/data_sync.py
862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 | |