code: def attach_volume(self, volume_id, instance_id, device):
          
          query = self.query_factory(
              action="AttachVolume", creds=self.creds, endpoint=self.endpoint,
              other_params={"VolumeId": volume_id, "InstanceId": instance_id,
                            "Device": device})
          d = query.submit()
          return d.addCallback(self.parser.attach_volume)
docs: Attach the given volume to the specified instance at C{device}.