update_location_fsx_ontap
¶
update_location_fsx_ontap(
location_arn: LocationArn,
*,
config_overrides: Optional[DataSyncClientConfig] = None,
protocol: Optional[FsxUpdateProtocol] = None,
subdirectory: Optional[FsxOntapSubdirectory] = None,
) -> UpdateLocationFsxOntapResponse
Modifies the following configuration parameters of the Amazon FSx for NetApp ONTAP transfer location that you're using with DataSync.
For more information, see Configuring DataSync transfers with FSx for ONTAP.
Parameters:
-
location_arn(LocationArn) –Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer location that you're updating.
-
protocol(Optional[FsxUpdateProtocol], default:None) –Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
-
subdirectory(Optional[FsxOntapSubdirectory], default:None) –Specifies a path to the file share in the storage virtual machine (SVM) where you want to transfer data to or from.
You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be
/vol1,/vol1/tree1, or/share1.Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
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
3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 | |