Smaws_Client_FSx.CreateVolumeFromBackupCreates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume backup.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BackupNotFound of Types.backup_not_found
| `BadRequest of Types.bad_request
| `FileSystemNotFound of Types.file_system_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `MissingVolumeConfiguration of Types.missing_volume_configuration
| `ServiceLimitExceeded of Types.service_limit_exceeded
| `StorageVirtualMachineNotFound of Types.storage_virtual_machine_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_volume_from_backup_request ->
(Types.create_volume_from_backup_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BackupNotFound of Types.backup_not_found
| `BadRequest of Types.bad_request
| `FileSystemNotFound of Types.file_system_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `MissingVolumeConfiguration of Types.missing_volume_configuration
| `ServiceLimitExceeded of Types.service_limit_exceeded
| `StorageVirtualMachineNotFound of Types.storage_virtual_machine_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_volume_from_backup_request ->
(Types.create_volume_from_backup_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BackupNotFound of Types.backup_not_found
| `BadRequest of Types.bad_request
| `FileSystemNotFound of Types.file_system_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `MissingVolumeConfiguration of Types.missing_volume_configuration
| `ServiceLimitExceeded of Types.service_limit_exceeded
| `StorageVirtualMachineNotFound of Types.storage_virtual_machine_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result