def attach_to_instance(options = {})
      options = options.merge(volume_id: @id)
      resp = @client.attach_volume(options)
      resp.data
    end
def attach_to_instance(options = {})
      options = options.merge(volume_id: @id)
      resp = @client.attach_volume(options)
      resp.data
    end
@!group Actions
 @example Request syntax with placeholder values

   volume.attach_to_instance({
     device: "String", # required
     instance_id: "String", # required
     dry_run: false,
   })
 @param [Hash] options ({})
 @option options [required, String] :device
   The device name (for example, `/dev/sdh` or `xvdh`).
 @option options [required, String] :instance_id
   The ID of the instance.
 @option options [Boolean] :dry_run
   Checks whether you have the required permissions for the action,
   without actually making the request, and provides an error response.
   If you have the required permissions, the error response is
   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
 @return [Types::VolumeAttachment]