Module Smaws_Client_StorageGateway.AttachVolume

Connects a volume to an iSCSI connection and then attaches the volume to the specified gateway. Detaching and attaching a volume enables you to recover your data from one gateway to a different gateway without creating a snapshot. It also makes it easier to move your volumes from an on-premises gateway to a gateway hosted on an Amazon EC2 instance.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `InvalidGatewayRequestException of Types.invalid_gateway_request_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.attach_volume_input -> (Types.attach_volume_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `InvalidGatewayRequestException of Types.invalid_gateway_request_exception ]) Stdlib.result